[MPlayer-dev-eng] [PATCH] Switch audio control in OGG demuxer
ubitux
ubitux at gmail.com
Mon Apr 12 23:45:24 CEST 2010
On Mon, Apr 12, 2010 at 07:10:18PM +0200, Reimar Döffinger wrote:
> On Mon, Apr 12, 2010 at 06:03:27PM +0200, ubitux wrote:
> > - The passed int arg seems to point on the audio stream id, and not the
> > stream id. Do I have to update this argument? If I do this, the audio
> > is disabled (some decoding errors).
>
> You need to update it, otherwise the whole reinitialization is not done and
> you won't be able to switch between streams with different codecs.
> The ogg demuxer probably does not set up all audio streams correctly, e.g.
> fixup_vorbis_wf seems to only be called on the auto-selected one, so not
> other vorbis streams can be played.
>
When I update it with the final demuxer->audio->id value, the audio switch
produce decode errors, and it switches to a mute-like stream. What am I
missing here? Have you a sample with audio streams using different codecs?
--
ubitux
More information about the MPlayer-dev-eng
mailing list