mplayer.sh and AID 0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Juri Haberland wrote:
> "C.Y.M" <syphir@xxxxxxxxxxxxxxxx> wrote:
> 
>>Juri Haberland wrote:
> 
> 
>>>Yeah, I haven't implemented this yet and I might not do this in the
>>>future as mplayer now seems to be able to switch audio on the fly - this
>>>just needs to be supported by the mplayer-plugin (hint, hint!).
>>>
>>>This AID stuff has more problems of that kind that you encountered, too:
>>>If you have a VOB file with AC3 sound the audio ids are again different
>>>and if the VOB file has PCM audio you need a different aid again...
>>
>>I think the main problem with the AID 0 is this line:
>>
>>player-mplayer.c:    if(MPlayerAid>0) snprintf(aid,sizeof(aid)," AID
>>%d",MPlayerAid);
>>
>>So, if the AID is not > 0, it does not specify the ID.
>>
>>It should be:
>>
>>player-mplayer.c:    if(MPlayerAid>=0) snprintf(aid,sizeof(aid)," AID
>>%d",MPlayerAid);
> 
> 
> Oh, I misread that part of your initial mail. I thought the problem is
> in mplayer.sh where I didn't implemented the AID logic.
> 

Well, it could be fixed in either place.  I was just saying that either new
logic needs to be added to mplayer.sh (the patch I posted above) when the
mplayer plugin returns nothing for AID 0, or, fix the mplayer plugin to return
AID 0.

Regards,
C.


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux