Re: [FFmpeg-devel] [PATCH] avformat/mpegts: respect program number when merging streams

2019-07-12 Thread Marton Balint
On Tue, 9 Jul 2019, Aman Gupta wrote: On Tue, Jul 9, 2019 at 2:07 PM Marton Balint wrote: merge_pmt_versions was not usable if multiple programs were present because when it was searching for candidate streams it did not make sure that the PMT was of the same program. This caused the stream

Re: [FFmpeg-devel] [PATCH] avformat/mpegts: respect program number when merging streams

2019-07-09 Thread Aman Gupta
On Tue, Jul 9, 2019 at 2:07 PM Marton Balint wrote: > merge_pmt_versions was not usable if multiple programs were present because > when it was searching for candidate streams it did not make sure that the > PMT was > of the same program. This caused the streams of all programs to get merged > in

[FFmpeg-devel] [PATCH] avformat/mpegts: respect program number when merging streams

2019-07-09 Thread Marton Balint
merge_pmt_versions was not usable if multiple programs were present because when it was searching for candidate streams it did not make sure that the PMT was of the same program. This caused the streams of all programs to get merged into a single (garbled) program. This patch makes sure that the