Re: [FFmpeg-devel] [PATCH] avformat/pcmdec: add pts and dts calculation for pcmdec

2024-05-15 Thread Hiccup Zhu
Andreas: > > Hiccup Zhu: > > The purpose of this patch is to calculate pts and dts when using pcmdemux. > > Is there anything wrong with doing this, or do you have any suggestions for > > improvement? > > > > 1. Don't top-post on this list. > 2. PTS and DTS are already produced with this demuxer. A

Re: [FFmpeg-devel] [PATCH] avformat/pcmdec: add pts and dts calculation for pcmdec

2024-05-14 Thread Andreas Rheinhardt
Hiccup Zhu: > The purpose of this patch is to calculate pts and dts when using pcmdemux. > Is there anything wrong with doing this, or do you have any suggestions for > improvement? > 1. Don't top-post on this list. 2. PTS and DTS are already produced with this demuxer. As has been said: If it is

Re: [FFmpeg-devel] [PATCH] avformat/pcmdec: add pts and dts calculation for pcmdec

2024-05-14 Thread Hiccup Zhu
The purpose of this patch is to calculate pts and dts when using pcmdemux. Is there anything wrong with doing this, or do you have any suggestions for improvement? Andreas Rheinhardt 于2024年5月14日周二 19:41写道: > Shiqi Zhu: > > Signed-off-by: Shiqi Zhu > > --- > > libavformat/pcmdec.c | 37

Re: [FFmpeg-devel] [PATCH] avformat/pcmdec: add pts and dts calculation for pcmdec

2024-05-14 Thread Andreas Rheinhardt
Shiqi Zhu: > Signed-off-by: Shiqi Zhu > --- > libavformat/pcmdec.c | 37 +++-- > 1 file changed, 35 insertions(+), 2 deletions(-) > > diff --git a/libavformat/pcmdec.c b/libavformat/pcmdec.c > index 2f6508b75a..d879aefaad 100644 > --- a/libavformat/pcmdec.c > +++

[FFmpeg-devel] [PATCH] avformat/pcmdec: add pts and dts calculation for pcmdec

2024-05-14 Thread Shiqi Zhu
Signed-off-by: Shiqi Zhu --- libavformat/pcmdec.c | 37 +++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/libavformat/pcmdec.c b/libavformat/pcmdec.c index 2f6508b75a..d879aefaad 100644 --- a/libavformat/pcmdec.c +++ b/libavformat/pcmdec.c @@ -36