[FFmpeg-devel] [PATCH v3 0/5] avcodec/parser: fix fetch_timestamp in a scenario with unaligned packets

Nicolas Gaullier nicolas.gaullier at cji.paris
Mon Mar 4 19:32:14 EET 2024


Updated from v2:
patch 1: fix audio case where pts=AV_NOPTS_VALUE but dts exists (thanks to Michael)
    now pass fate with --assert-level=2
patch 5: add inline comments and moved a line to make it more easy to read (thanks to James)

Thank you for this review

Nicolas Gaullier (5):
  avcodec/parser: merge packets from the same frame
  avcodec/parser: reindent after previous commit
  avcodec/parser: fix fetch_timestamp in a scenario with unaligned
    packets
  avcodec/h264_parser: fix start of packet for some broken streams
  lavf/demux: duplicate side_data in parse_packet()

 libavcodec/h264_parser.c                      |  11 +-
 libavcodec/parser.c                           |  30 ++--
 libavformat/demux.c                           |  25 ++-
 tests/ref/fate/concat-demuxer-simple2-lavf-ts | 164 +++++++++---------
 tests/ref/fate/ts-demux                       |   8 +-
 5 files changed, 134 insertions(+), 104 deletions(-)

-- 
2.30.2



More information about the ffmpeg-devel mailing list