diff options
author | Janne Grunau <janne-ffmpeg@jannau.net> | 2009-07-14 23:12:43 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-07-14 23:12:43 +0000 |
commit | d6a1611cc259b94162904267e070a3d58aba7e7a (patch) | |
tree | c4cb83e1b8f80f6d753d9cbd7d65194f045becff /libavcodec | |
parent | f4c13872492b1b5ea3d1d06b7b70f4d3562aa985 (diff) | |
download | ffmpeg-d6a1611cc259b94162904267e070a3d58aba7e7a.tar.gz |
Set subtitle type in DVB subtitle decoder.
Patch by Janne Grunau <j?nne-f?mpeg@jannau?net>.
Originally committed as revision 19432 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/dvbsubdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |