[vlc-devel] Re: mpga initialization patch
markus-kern at gmx.net
Sun Nov 14 19:01:59 CET 2004
On Sunday, November 14, 2004, 5:41:30 PM Gildas Bazin <gbazin at altern.org> wrote:
> On Sunday 14 November 2004 18:26, Markus Kern wrote:
>> Ah ok, that's bad. Would it be possible to call the packetizer once in
>> Open to get the information and then rewind everything?
> You could do that. You wouldn't even have to "rewind" anything.
I'll give that a try. I suppose you don't want a patch of such a hack?
> But I don't really see the point in doing this. Why do you want the
> "audio-es" variable to be updated before the playback begins ?
I have a small wrapper around libVLC which I use in my application. It
raises a callback to the application when the playback state changes.
I have some vaguely defined 'open' state which is supposed to be set
once a file/stream/etc has been opened and is ready to be played.
However since a lot of the initializing happens asynchronously in
separate threads after the input state has been changed to PLAYING_S
it's all a bit hackish.
The specific reason I want to use "audio-es" is that I want to make
decisions based on whether the input has audio and/or video. I'd like
to add goom if there is only audio and no video stream for example.
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel