From d6a1611cc259b94162904267e070a3d58aba7e7a Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Tue, 14 Jul 2009 23:12:43 +0000 Subject: Set subtitle type in DVB subtitle decoder. Patch by Janne Grunau . Originally committed as revision 19432 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/dvbsubdec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/dvbsubdec.c b/libavcodec/dvbsubdec.c index a0d0eb976d..ac6bd1393f 100644 --- a/libavcodec/dvbsubdec.c +++ b/libavcodec/dvbsubdec.c @@ -1305,6 +1305,7 @@ static int dvbsub_display_end_segment(AVCodecContext *avctx, const uint8_t *buf, 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); -- cgit v1.2.3