diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-07-16 09:47:55 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-16 12:18:30 +0200 |
commit | 8dad213143e34b477f034ada4addf2ed2b1c983d (patch) | |
tree | 9bc4101735fa4a55d58003abf00f662b09d76c87 /libavcodec/h264.c | |
parent | 7aafac976fe2806c9519d4154b5f0d5b6767fbe2 (diff) | |
download | ffmpeg-8dad213143e34b477f034ada4addf2ed2b1c983d.tar.gz |
lavc: Add properties field to AVCodecContext.
The new field can hold information about losslessness and closed captions for now.
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index f62ad6a2f3..eb834f13b4 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -886,6 +886,7 @@ static void decode_postinit(H264Context *h, int setup_finished) memcpy(sd->data, h->a53_caption, h->a53_caption_size); av_freep(&h->a53_caption); h->a53_caption_size = 0; + h->avctx->properties |= FF_CODEC_PROPERTY_CLOSED_CAPTIONS; } cur->mmco_reset = h->mmco_reset; |