Re: [FFmpeg-devel] [PATCH] libavcodec/hevc_mp4toannexb_bsf: ignore extra data if possible

2021-10-07 Thread Xiang, Haihao
On Wed, 2021-09-22 at 04:37 +, Xiang, Haihao wrote: > > LGTM. > > Thanks for reviewing the patch. Could someone please merge this patch if no > more > comment ? Ping again, Thanks Haihao > > Regards > Haihao > > > > > On Fri, 10 Sept 2021 at 05:10, Haihao Xiang wrote: > > > > > > It i

Re: [FFmpeg-devel] [PATCH] libavcodec/hevc_mp4toannexb_bsf: ignore extra data if possible

2021-09-21 Thread Xiang, Haihao
> LGTM. Thanks for reviewing the patch. Could someone please merge this patch if no more comment ? Regards Haihao > > On Fri, 10 Sept 2021 at 05:10, Haihao Xiang wrote: > > > > It is possible that an IRAP frame in input AVPacket has SPS and PPS, and > > these headers should take effect. Hen

Re: [FFmpeg-devel] [PATCH] libavcodec/hevc_mp4toannexb_bsf: ignore extra data if possible

2021-09-13 Thread Artem Galin
LGTM. On Fri, 10 Sept 2021 at 05:10, Haihao Xiang wrote: > > It is possible that an IRAP frame in input AVPacket has SPS and PPS, and > these headers should take effect. Hence we should not prepend extra data > to IRAP frame in this case, otherwise an IRAP frame in output AVPacket > will have 2 S

[FFmpeg-devel] [PATCH] libavcodec/hevc_mp4toannexb_bsf: ignore extra data if possible

2021-09-09 Thread Haihao Xiang
It is possible that an IRAP frame in input AVPacket has SPS and PPS, and these headers should take effect. Hence we should not prepend extra data to IRAP frame in this case, otherwise an IRAP frame in output AVPacket will have 2 SPS/PPS when extra data also has SPS and PPS, the second SPS/PPS will