Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhakuya <erikmiranda@gmail.com>2012-04-16 05:58:40 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-04-30 21:48:21 +0400
commit79e5902cf163dcb8b6539618936ff0ce28f742e4 (patch)
treebe00c4d77d86f5106cd802e72eb0bd59d5f23302 /libavcodec/dvdsubdec.c
parent1f46b50a9591f68b697e943f829c79a4f4829dd6 (diff)
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.c1
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) {