You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
h264: remove reschange blocking
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -2743,11 +2743,6 @@ static int decode_slice_header(H264Context *h, H264Context *h0)
|
|||||||
|| h->cur_chroma_format_idc != h->sps.chroma_format_idc
|
|| h->cur_chroma_format_idc != h->sps.chroma_format_idc
|
||||||
|| av_cmp_q(h->sps.sar, s->avctx->sample_aspect_ratio)));
|
|| av_cmp_q(h->sps.sar, s->avctx->sample_aspect_ratio)));
|
||||||
|
|
||||||
if(must_reinit && (h != h0 || (s->avctx->active_thread_type & FF_THREAD_FRAME))) {
|
|
||||||
av_log_missing_feature(s->avctx,
|
|
||||||
"Width/height/bit depth/chroma idc changing with threads", 0);
|
|
||||||
return AVERROR_PATCHWELCOME; // width / height changed during parallelized decoding
|
|
||||||
}
|
|
||||||
|
|
||||||
s->mb_width = h->sps.mb_width;
|
s->mb_width = h->sps.mb_width;
|
||||||
s->mb_height = h->sps.mb_height * (2 - h->sps.frame_mbs_only_flag);
|
s->mb_height = h->sps.mb_height * (2 - h->sps.frame_mbs_only_flag);
|
||||||
|
Reference in New Issue
Block a user