On Sun, May 07, 2023 at 03:32:46PM +0200, Anton Khirnov wrote:
> H.264 and mpeg12 parsers need to be adjusted at the same time to stop
> using the value of AVCodecContext.ticks_per_frame, because it is not set
> correctly unless the codec has been opened. Previously this would result
> in both the parser and lavf seeing the same incorrect value, which would
> cancel out.
> Updating lavf and not the parsers would result in correct value in lavf,
> but the wrong one in parsers, which would break some tests.
> ---
>  libavcodec/h264_parser.c      |  4 ++--
>  libavcodec/mpegvideo_parser.c |  2 +-
>  libavformat/avformat.c        |  9 ++++++---
>  libavformat/demux.c           | 29 +++++++++++++++++++----------
>  libavformat/internal.h        |  3 +++
>  5 files changed, 31 insertions(+), 16 deletions(-)

breaks:
 ./ffmpeg -i ~/tickets/104/cartonfold.avi -bitexact -f framecrc -

fps and timestamps look strange 
 
 
[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is what and why we do it that matters, not just one of them.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to