Commit 7d75fb38 authored by Rainer Hochecker's avatar Rainer Hochecker Committed by Michael Niedermayer

h264: do not discard NAL_SEI when skipping frames

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 8702a94e
...@@ -4757,8 +4757,7 @@ static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size, ...@@ -4757,8 +4757,7 @@ static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size,
first_slice = hx->nal_unit_type; first_slice = hx->nal_unit_type;
} }
// FIXME do not discard SEI id if (avctx->skip_frame >= AVDISCARD_NONREF && h->nal_ref_idc == 0 && h->nal_unit_type != NAL_SEI)
if (avctx->skip_frame >= AVDISCARD_NONREF && h->nal_ref_idc == 0)
continue; continue;
again: again:
......
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