mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Merge commit '71cabb521ac397db3903011d2de7afd3e0fc7ab6'
* commit '71cabb521ac397db3903011d2de7afd3e0fc7ab6':
h264: do not discard NAL_SEI when skipping frames
Conflicts:
libavcodec/h264.c
See: 7d75fb381b
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
d195e6e410
@ -4757,7 +4757,9 @@ 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
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 &&
|
||||||
|
h->nal_unit_type != NAL_SEI)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
again:
|
again:
|
||||||
|
Loading…
Reference in New Issue
Block a user