Re: [FFmpeg-devel] [PATCH] avformat/mpegtsenc: Always output a minimum of 32 packets.

2022-11-29 Thread Derek Buitenhuis
On 11/28/2022 10:25 PM, Marton Balint wrote: > This looks like a demuxer bug, which should be fixed in the demuxer, and > not in the muxer. +1. I had to re-read the commit message twice because I coulndn't figure out why the muxer would care about lavf specific demuxer probing. - Derek

Re: [FFmpeg-devel] [PATCH] avformat/mpegtsenc: Always output a minimum of 32 packets.

2022-11-28 Thread Marton Balint
On Mon, 28 Nov 2022, James Almer wrote: From: Thierry Foucu Otherwise, if you just output a PAT/PMT and a single TS packets, the demuxer will not be able to detect TS. This looks like a demuxer bug, which should be fixed in the demuxer, and not in the muxer. Regards, Marton

[FFmpeg-devel] [PATCH] avformat/mpegtsenc: Always output a minimum of 32 packets.

2022-11-28 Thread James Almer
From: Thierry Foucu Otherwise, if you just output a PAT/PMT and a single TS packets, the demuxer will not be able to detect TS. Signed-off-by: James Almer --- libavformat/mpegtsenc.c | 11 --- tests/ref/acodec/s302m | 4 ++-- tests/ref/lavf/ts | 4 ++-- 3 files changed, 8