Commit 9025072e authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/h264_slice: support skipping loop filtering for non key frames

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 9140d37a
......@@ -1856,6 +1856,8 @@ int ff_h264_decode_slice_header(H264Context *h, H264Context *h0)
}
if (h->avctx->skip_loop_filter >= AVDISCARD_ALL ||
(h->avctx->skip_loop_filter >= AVDISCARD_NONKEY &&
h->nal_unit_type != NAL_IDR_SLICE) ||
(h->avctx->skip_loop_filter >= AVDISCARD_NONINTRA &&
h->slice_type_nos != AV_PICTURE_TYPE_I) ||
(h->avctx->skip_loop_filter >= AVDISCARD_BIDIR &&
......
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