Re: [FFmpeg-devel] [PATCH v2] avcodec/ccaption_dec: Make real-time latency configurable

2021-06-18 Thread Pavel Koshevoy
On Thu, Jun 17, 2021 at 7:07 PM Pavel Koshevoy wrote: > > > On Sun, Jun 13, 2021 at 3:49 PM Pavel Koshevoy > wrote: > >> >> >> On Sat, Jun 5, 2021 at 11:40 AM Pavel Koshevoy >> wrote: >> >>> Un-hardcode the 200ms minimum latency between emitting subtitle events >>> so that those that wish to

Re: [FFmpeg-devel] [PATCH v2] avcodec/ccaption_dec: Make real-time latency configurable

2021-06-17 Thread Pavel Koshevoy
On Sun, Jun 13, 2021 at 3:49 PM Pavel Koshevoy wrote: > > > On Sat, Jun 5, 2021 at 11:40 AM Pavel Koshevoy > wrote: > >> Un-hardcode the 200ms minimum latency between emitting subtitle events >> so that those that wish to receive a subtitle event for every screen >> change could do so. >> >>

Re: [FFmpeg-devel] [PATCH v2] avcodec/ccaption_dec: Make real-time latency configurable

2021-06-14 Thread Pavel Koshevoy
On Mon, Jun 14, 2021 at 10:04 AM Paul B Mahol wrote: > On Sun, Jun 13, 2021 at 11:50 PM Pavel Koshevoy > wrote: > > > On Sat, Jun 5, 2021 at 11:40 AM Pavel Koshevoy > > wrote: > > > > > Un-hardcode the 200ms minimum latency between emitting subtitle events > > > so that those that wish to

Re: [FFmpeg-devel] [PATCH v2] avcodec/ccaption_dec: Make real-time latency configurable

2021-06-14 Thread Paul B Mahol
On Sun, Jun 13, 2021 at 11:50 PM Pavel Koshevoy wrote: > On Sat, Jun 5, 2021 at 11:40 AM Pavel Koshevoy > wrote: > > > Un-hardcode the 200ms minimum latency between emitting subtitle events > > so that those that wish to receive a subtitle event for every screen > > change could do so. > > > >

Re: [FFmpeg-devel] [PATCH v2] avcodec/ccaption_dec: Make real-time latency configurable

2021-06-13 Thread Pavel Koshevoy
On Sat, Jun 5, 2021 at 11:40 AM Pavel Koshevoy wrote: > Un-hardcode the 200ms minimum latency between emitting subtitle events > so that those that wish to receive a subtitle event for every screen > change could do so. > > The problem with delaying realtime output by any amount is that it is >

[FFmpeg-devel] [PATCH v2] avcodec/ccaption_dec: Make real-time latency configurable

2021-06-05 Thread Pavel Koshevoy
Un-hardcode the 200ms minimum latency between emitting subtitle events so that those that wish to receive a subtitle event for every screen change could do so. The problem with delaying realtime output by any amount is that it is unknown when the next byte pair that would trigger output will