Re: [FFmpeg-devel] [PATCH] hlsenc: intialize only on ref_pkt and drop all packets

2017-02-13 Thread Michael Niedermayer
On Mon, Feb 13, 2017 at 08:56:19AM +0100, Miroslav Slugeň wrote: > Dne 12.2.2017 v 23:35 Michael Niedermayer napsal(a): > >On Sun, Feb 12, 2017 at 07:31:43PM +0100, Miroslav Slugeň wrote: > >>This patch will fix cutting hls segments into exactly same length. > >>Because it will intialize only on

Re: [FFmpeg-devel] [PATCH] hlsenc: intialize only on ref_pkt and drop all packets

2017-02-12 Thread Miroslav Slugeň
Dne 12.2.2017 v 23:35 Michael Niedermayer napsal(a): On Sun, Feb 12, 2017 at 07:31:43PM +0100, Miroslav Slugeň wrote: This patch will fix cutting hls segments into exactly same length. Because it will intialize only on first ref_packet, which is video frame, not audio frame (old behavior) It

Re: [FFmpeg-devel] [PATCH] hlsenc: intialize only on ref_pkt and drop all packets

2017-02-12 Thread Michael Niedermayer
On Sun, Feb 12, 2017 at 07:31:43PM +0100, Miroslav Slugeň wrote: > This patch will fix cutting hls segments into exactly same length. > Because it will intialize only on first ref_packet, which is video > frame, not audio frame (old behavior) > > It will also drop all packets without PTS, drop

[FFmpeg-devel] [PATCH] hlsenc: intialize only on ref_pkt and drop all packets

2017-02-12 Thread Miroslav Slugeň
This patch will fix cutting hls segments into exactly same length. Because it will intialize only on first ref_packet, which is video frame, not audio frame (old behavior) It will also drop all packets without PTS, drop all packets before initialization and drop all packets before first