[FFmpeg-devel] [PATCH] avformat: PTS/DTS timestamps get broken in concat

2015-10-13 Thread Jaroslav Snajdr
Another attempt at trac #4924: use cat->avf->start_time to setup opened file structure in concatdec.c. This field always contains the correct timestamp. --- libavformat/concatdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/concatdec.c b/libavformat/concatd

Re: [FFmpeg-devel] [PATCH] avformat: PTS/DTS timestamps get broken in concat

2015-10-12 Thread Marton Balint
On Mon, 12 Oct 2015, Jaroslav Šnajdr wrote: This fixes trac #4924, most likely not 100% correct. Well, it is not, because file_start_time is the start timestamp of the input, not the calculated start timestamp of the output... I'd say if you want to use the concat demuxer this way, extend

[FFmpeg-devel] [PATCH] avformat: PTS/DTS timestamps get broken in concat

2015-10-12 Thread Jaroslav Šnajdr
This fixes trac #4924, most likely not 100% correct. --- libavformat/concatdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/concatdec.c b/libavformat/concatdec.c index 832b7f4..1151b10 100644 --- a/libavformat/concatdec.c +++ b/libavformat/concatdec.c @@ -580,7