[FFmpeg-devel] [PATCH] libavcodec/qsvdec_h264.c bug fixed: decoder fails after restart on non-annex-b content.
Ivan Uskov
ivan.uskov at nablet.com
Sat Jul 25 11:37:25 CEST 2015
Hello Michael,
Friday, July 24, 2015, 11:24:30 PM, you wrote:
MN> it should be possible to add a parameter (passed through args)
MN> which disables extradata mangling to h264_mp4toannexb_bsf
I'm sorry, I do not see this possibility.
The h264_extradata_to_annexb() into h264_mp4toannexb_bsf replaces
extradata unconditionally.
This function calls by h264_mp4toannexb_filter() under simple
condition:
if (!ctx->extradata_parsed) {
ret = h264_extradata_to_annexb(ctx, avctx, FF_INPUT_BUFFER_PADDING_SIZE);
<...>
ctx->extradata_parsed = 1;
}
Looks like no any parameters to avoid extradata substitution by h264_mp4toannexb_bsf.
--
Best regards,
Ivan mailto:ivan.uskov at nablet.com
More information about the ffmpeg-devel
mailing list