mplayer.sh and AID 0

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

 



I was just debugging mplayer.sh because I could not get it to play a .vdr file
with an audio track set to "0", then I realized that if the AID is set to 0, the
mplayer plugin does not actually specify 0 for the AID track (it just leaves it
blank).  The following changes to mplayer.sh fix the problem.

while shift; do
  if [ "$1" = "SLAVE" ]; then
    declare SLAVE="$1"
  elif [ "$1" = "AID" ]; then
    declare AID="-aid $2"
    shift
  fi
  if [ "$AID" = "" ]; then
    declare AID="-aid 0"
  fi
done


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