Commit 0812ad01 authored by Michael Niedermayer's avatar Michael Niedermayer

h264dec: Support CODEC_FLAG2_SHOW_ALL.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 86dd4b04
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment