mplayer.sh and AID 0

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

 



On 30 Jun 2005 "C.Y.M" <syphir@xxxxxxxxxxxxxxxx> wrote:

> 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);

In this case, you can obmit the check completely. The value never
can be <0.

The idea is, to have a "default mode" where mplayer selects the
right AID. AID=0 was used to flag default mode, which now seems
to be a bad definition.

Further problem is, that you cannot enter a value <0 in VDR's
cEditIntItem. I'm investigating a solution.

Regards.

-- 
Stefan Huelswitt
s.huelswitt@xxxxxx  | http://www.muempf.de/


[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