Re: [FFmpeg-devel] [PATCH] prompeg_write() must report data all was written

2020-06-08 Thread myp...@gmail.com
On Mon, Jun 8, 2020 at 7:03 PM Michael Niedermayer wrote: > > On Mon, Jun 08, 2020 at 04:56:04PM +0800, myp...@gmail.com wrote: > > On Tue, Apr 2, 2019 at 5:20 AM Michael Niedermayer > > wrote: > > > > > > On Sun, Mar 31, 2019 at 02:32:34AM +0100, David Holroyd wrote: > > > > Previously, prompeg_

Re: [FFmpeg-devel] [PATCH] prompeg_write() must report data all was written

2020-06-08 Thread Michael Niedermayer
On Mon, Jun 08, 2020 at 04:56:04PM +0800, myp...@gmail.com wrote: > On Tue, Apr 2, 2019 at 5:20 AM Michael Niedermayer > wrote: > > > > On Sun, Mar 31, 2019 at 02:32:34AM +0100, David Holroyd wrote: > > > Previously, prompeg_write() would only report to caller that bytes we > > > written when a FE

Re: [FFmpeg-devel] [PATCH] prompeg_write() must report data all was written

2020-06-08 Thread myp...@gmail.com
On Tue, Apr 2, 2019 at 5:20 AM Michael Niedermayer wrote: > > On Sun, Mar 31, 2019 at 02:32:34AM +0100, David Holroyd wrote: > > Previously, prompeg_write() would only report to caller that bytes we > > written when a FEC packet was actually created. Not all RTP packets are > > expected to genera

Re: [FFmpeg-devel] [PATCH] prompeg_write() must report data all was written

2019-04-01 Thread Michael Niedermayer
On Sun, Mar 31, 2019 at 02:32:34AM +0100, David Holroyd wrote: > Previously, prompeg_write() would only report to caller that bytes we > written when a FEC packet was actually created. Not all RTP packets are > expected to generate a FEC packet however, so this behavior was causing > avio to retry

[FFmpeg-devel] [PATCH] prompeg_write() must report data all was written

2019-03-30 Thread David Holroyd
Previously, prompeg_write() would only report to caller that bytes we written when a FEC packet was actually created. Not all RTP packets are expected to generate a FEC packet however, so this behavior was causing avio to retry writing the RTP packet, eventually forcing the FEC state machine to se