diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-09-18 15:25:19 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-09-18 15:33:50 +0200 |
commit | 0812ad01c88a8352a13c91b9f5bc7b801229d4d0 (patch) | |
tree | a22754e00265e62128922a9fbb0f8054ec96a59c /libavcodec | |
parent | 86dd4b0495b64eb5741339902417d3e2124679f8 (diff) | |
download | ffmpeg-0812ad01c88a8352a13c91b9f5bc7b801229d4d0.tar.gz |
h264dec: Support CODEC_FLAG2_SHOW_ALL.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-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 33f70fe729..227c8904fa 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -3713,6 +3713,7 @@ static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size){ (hx->nal_unit_type == NAL_IDR_SLICE) || (h->sei_recovery_frame_cnt >= 0); h->sync |= !!s->current_picture_ptr->f.key_frame; + h->sync |= 3*!!(s->flags2 & CODEC_FLAG2_SHOW_ALL); s->current_picture_ptr->sync = h->sync; if (h->current_slice == 1) { |