[vdr] mplayer.sh and AID 0

C.Y.M syphir at syphir.sytes.net
Thu Jun 30 14:28:58 CEST 2005


Juri Haberland wrote:
> "C.Y.M" <syphir at syphir.sytes.net> 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.



More information about the vdr mailing list