diff options
author | hakuya <erikmiranda@gmail.com> | 2012-04-15 21:58:40 -0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-04-30 19:48:21 +0200 |
commit | 79e5902cf163dcb8b6539618936ff0ce28f742e4 (patch) | |
tree | be00c4d77d86f5106cd802e72eb0bd59d5f23302 /libavcodec/dvdsubdec.c | |
parent | 1f46b50a9591f68b697e943f829c79a4f4829dd6 (diff) | |
download | ffmpeg-79e5902cf163dcb8b6539618936ff0ce28f742e4.tar.gz |
Exposing forced flag for DVD and PGS subtitles
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dvdsubdec.c')
-rw-r--r-- | libavcodec/dvdsubdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/dvdsubdec.c b/libavcodec/dvdsubdec.c index 08d1db9c9e..ec86b259ce 100644 --- a/libavcodec/dvdsubdec.c +++ b/libavcodec/dvdsubdec.c @@ -356,6 +356,7 @@ static int decode_dvd_subtitles(DVDSubContext *ctx, AVSubtitle *sub_header, sub_header->rects[0]->h = h; sub_header->rects[0]->type = SUBTITLE_BITMAP; sub_header->rects[0]->pict.linesize[0] = w; + sub_header->rects[0]->forced = is_menu; } } if (next_cmd_pos < cmd_pos) { |