[FFmpeg-devel] [PATCH] Set subtitle type in DVB subtitle decoder

Janne Grunau janne-ffmpeg
Tue Jul 7 15:18:36 CEST 2009


Hi,

${subject}

Index: libavcodec/dvbsubdec.c
===================================================================
--- a/libavcodec/dvbsubdec.c
+++ b/libavcodec/dvbsubdec.c
@@ -1325,6 +1325,7 @@
         rect->w = region->width;
         rect->h = region->height;
         rect->nb_colors = 16;
+        rect->type      = SUBTITLE_BITMAP;
         rect->pict.linesize[0] = region->width;

         clut = get_clut(ctx, region->clut);



More information about the ffmpeg-devel mailing list