[vdr] mplayer.sh and AID 0
Juri Haberland
list-linux.vdr at koschikode.com
Thu Jun 30 09:31:24 CEST 2005
"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.
Cheers,
Juri
More information about the vdr
mailing list