[FFmpeg-devel] [PATCH] avcodec: Fix time reporting for DFPWM streams

Jack Bruienne jackbruienne at gmail.com
Sat Jun 11 00:30:14 EEST 2022


This adds the exact bits per sample for DFPWM to 
av_get_exact_bits_per_sample.
Previously, the DTS and PTS were set to 0 because the codec never 
reported them, but adding this allows libavformat to automatically
set DTS and PTS from the byte position of the stream.

Signed-off-by: Jack Bruienne <jackbruienne at gmail.com>
---
  libavcodec/utils.c | 2 ++
  1 file changed, 2 insertions(+)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avcodec-Fix-time-reporting-for-DFPWM-streams.patch
Type: text/x-patch
Size: 460 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20220610/e4cc3e5b/attachment.bin>


More information about the ffmpeg-devel mailing list