[vlc-devel] [PATCH] Add an access-demux which can retrieve raw subtitles
Rémi Denis-Courmont
remi at remlab.net
Tue Mar 23 18:17:24 CET 2010
On Tue, 23 Mar 2010 18:10:07 +0100, Pierre Ynard <linkfanel at yahoo.fr>
wrote:
>> > Agreed, that's what I tried to do at first. But the stream layer
>> > totally screws up the particular purpose of this module: reading and
>> > displaying subtitles that are "injected" into the stream in real
>> > time. First, starting the input blocks VLC at pre-buffering stage,
>> > since there is nothing to buffer yet. Since the data is sparse and
>> > arriving at a seemingly random pace, it cannot flow through the
>> > buffer nicely, and the demux only gets out-of-date data. And then it
>> > messes up further with synchronization and pace control.
>>
>> The fact that the SMF demux works proves this statement wrong.
>
> No, it doesn't. MIDI files typically come as a file already available
> on the disk,
Except when it's HTTP.
> and they are entirely read, buffered, and preparsed at opening.
Except when it's SMF type 0.
This does not belong in an access_demux. Full point.
--
Rémi Denis-Courmont
http://www.remlab.net
http://fi.linkedin.com/in/remidenis
More information about the vlc-devel
mailing list