Commit d381109c authored by Stefano Sabatini's avatar Stefano Sabatini

lavc/h264_slice: clarify informational message in case of disabled slice multi-threaded decoding

Also suggest what can be done to workaround the limitation.
parent 8c443767
......@@ -1884,7 +1884,10 @@ int ff_h264_decode_slice_header(H264Context *h, H264Context *h0)
h0->max_contexts = 1;
if (!h0->single_decode_warning) {
av_log(h->avctx, AV_LOG_INFO,
"Cannot parallelize deblocking type 1, decoding such frames in sequential order\n");
"Cannot parallelize slice decoding with deblocking filter type 1, decoding such frames in sequential order\n"
"To parallelize slice decoding you need video encoded with disable_deblocking_filter_idc set to 2 (deblock only edges that do not cross slices).\n"
"Setting the flags2 libavcodec option to +fast (-flags2 +fast) will disable deblocking across slices and enable parallel slice decoding "
"but will generate non-standard-compliant output.\n");
h0->single_decode_warning = 1;
}
if (h != h0) {
......
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