[FFmpeg-cvslog] r19432 - trunk/libavcodec/dvbsubdec.c

stefano subversion
Wed Jul 15 01:12:43 CEST 2009


Author: stefano
Date: Wed Jul 15 01:12:43 2009
New Revision: 19432

Log:
Set subtitle type in DVB subtitle decoder.

Patch by Janne Grunau <j?nne-f?mpeg at jannau?net>.

Modified:
   trunk/libavcodec/dvbsubdec.c

Modified: trunk/libavcodec/dvbsubdec.c
==============================================================================
--- trunk/libavcodec/dvbsubdec.c	Tue Jul 14 16:02:09 2009	(r19431)
+++ trunk/libavcodec/dvbsubdec.c	Wed Jul 15 01:12:43 2009	(r19432)
@@ -1305,6 +1305,7 @@ static int dvbsub_display_end_segment(AV
         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-cvslog mailing list