added mozplugger package
[hdw-linux/hdw-linux.git] / packages / multimedia / mozplugger / mozpluggerrc.patch
1 --- ./mozpluggerrc.orig 2005-09-07 15:15:18.000000000 +0200
2 +++ ./mozpluggerrc      2005-09-07 15:16:01.000000000 +0200
3 @@ -36,7 +36,7 @@
4  
5  ### MPlayer
6  
7 -define(MP_CMD,[mplayer -really-quiet -nojoystick -nofs -zoom -vo xv,x11 -ao esd,alsa,oss,arts,null -osdlevel 0 $1 </dev/null])
8 +define(MP_CMD,[mplayer_plugin -really-quiet -nojoystick -nofs -zoom -vo xv,x11 -ao esd,alsa,oss,arts,null -osdlevel 0 $1 </dev/null])
9  
10  define(MP_EMBED,[embed noisy ignore_errors: MP_CMD(-xy $width -wid $window $1)])
11  
12 @@ -45,9 +45,9 @@
13  define(MP_VIDEO_STREAM,[stream MP_EMBED($1 "$file")
14         stream MP_NOEMBED($1 "$file")])
15  
16 -define(MP_AUDIO_STREAM,[controls stream noisy ignore_errors: mplayer -really-quiet -nojoystick "$file" </dev/null])
17 +define(MP_AUDIO_STREAM,[controls stream noisy ignore_errors: mplayer_plugin -really-quiet -nojoystick "$file" </dev/null])
18  
19 -ifelse(esyscmd([mplayer -afm help 2>&1 | grep vorbis]),[],[
20 +ifelse(esyscmd([mplayer_plugin -afm help 2>&1 | grep vorbis]),[],[
21    define(MP_NO_VORBIS)
22  ],[
23    define(MP_VORBIS)