pycousin / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
GNU General Public License v2.0
0 stars 0 forks source link

Disable screenshot filter using vaapi #365

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Open any video able to be accelerated by vaapi and watch cpu usage (eg.
h264 mkv). 

What is the expected output? What do you see instead?
The video should be decoded by the gpu, using almost no cpu time (<10%, to
put some numbers on it). Using mplayer from the command line, it works.
Using the options gnome-mplayer uses, it doesn't, and cpu rises (like any
non-accelerated video format). Removing "-vf-add screenshot" it works again.

What version of the product are you using? On what operating system?
Arch Linux x86_64
gnome-mplayer 0.9.9.2-1
libva-sds 0.31.0_1_10-2
xvba-video 0.6.9-1

Please provide any additional information below.

The solution is simply adding vaapi to the conditions to disable the
screenshot filter. I attached a quick patch which works on both 0.9.9.2 and
trunk right now. It's quite simple. Works here :)

Original issue reported on code.google.com by jesus...@gmail.com on 2 Mar 2010 at 1:40

Attachments:

GoogleCodeExporter commented 8 years ago
Added vaapi to list of supported vo's in addition to this patch.

Original comment by kdeko...@gmail.com on 2 Mar 2010 at 1:51

GoogleCodeExporter commented 8 years ago
Works great, thanks!

Original comment by jesus...@gmail.com on 2 Mar 2010 at 2:13