Haven't been paying attention to the 1.6 developments for a while. Just
noticed that it is to be released real soon now. Thought maybe I should
post my patch for mplayer.py to profit from the hardware decoding in the
VIA chipsets.
maybe it is too late for the upcoming release, it case maybe it will
benefit someone somewhere.
Paul

in local_conf.py:

MPLAYER_VO_DEV_HWACCEL = "xvmc"
MPLAYER_HWACCEL_SUFFIX=["mpeg","mpg","vob"]
MPLAYER_VO_DEV = "xvidix"
MPLAYER_VO_DEV_OPTS_HWACCEL='-vc ffmpeg12mc'


diff mplayer.py mplayer.py.bak
183,188d182
<       #XXX PS
<       VODEV=config.MPLAYER_VO_DEV
<       VODEVOPTS=config.MPLAYER_VO_DEV_OPTS
<       if item.mimetype in config.MPLAYER_HWACCEL_SUFFIX:
<               VODEV=config.MPLAYER_VO_DEV_HWACCEL
<               VODEVOPTS=config.MPLAYER_VO_DEV_OPTS_HWACCEL
226,227d219
<           VODEV=config.MPLAYER_VO_DEV_HWACCEL
<           VODEVOPTS=config.MPLAYER_VO_DEV_OPTS_HWACCEL
280,282c272,273
<         command += [ '-v', '-vo',
<                      VODEV]
<       command += VODEVOPTS.split(' ')
---
>         command += [ '-v', '-vo', config.MPLAYER_VO_DEV +
>                      config.MPLAYER_VO_DEV_OPTS ]
358,359c349,350
<
<       rc.app(self)
---
>
>         rc.app(self)

-- 
Paul Sijben             mailto:[EMAIL PROTECTED]
Amersfoort, NL          http://www.sijben.net
tel:+31 334557522       fax:+31 33 4557523


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to