mario0alberto1 / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
0 stars 0 forks source link

Window going black when getting out of focus #723

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open a video with gnome-mplayer.
2. Set the focus on another window and you'll see a flashing black screen on 
the gnome-mplayer window.
3. If the video is paused, then the window goes black and stays this way until 
you choose to get the playback on again.

I'm using Fedora 20 64bit with an Nvidia GForce 550 Ti (proprietary drivers) 
and Gnome 3.10.2.

Here is what I've installed :
mplayer-common-1.1-22.20140414svn.fc20.x86_64
mplayer-1.1-22.20140414svn.fc20.x86_64
gnome-mplayer-common-1.0.9-1.fc20.x86_64
gnome-mplayer-1.0.9-1.fc20.x86_64
gtk2-2.24.22-2.fc20.x86_64
gtk3-3.10.9-1.fc20.x86_64

I've removed all the files in ~/.mplayer and it is the same.

Which is strange is that non of this happen when I'm only using mplayer.

I've tried setting gnome-mplayer to verbose. I get the following command :

mplayer -vo vdpau,gl,x11, -vc 
ffmpeg12vdpau,ffh264vdpau,ffwmv3vdpau,ffvc1vdpau,ffodivxvdpau, -channels 2 
-af-add export=/tmp/mplayer-af_exportvgttih:512 -quiet -slave -noidle 
-noconsolecontrols -nostop-xscreensaver -identify -volume 100 -softvol -ss 33 
-msglevel all=5 -osdlevel 0 -delay 0 -subdelay 0 -subpos 0 -sub-fuzziness 0 
-wid 0x2e00024 -brightness 0 -contrast 0 -hue 0 -saturation 0 -alang Zuni,zun 
-slang Zuni,zun -nomsgcolor -nomsgmodule -nokeepaspect -ass -embeddedfonts 
-ass-font-scale 2 -ass-color ffffff00 -cache 2000 VIDEOFILE

If I run it, removing just the "-wid 0x2e00024", which, I assume, tells mplayer 
where to send the video stream, everything works great. So, I think that the 
problem is related only to gnome-mplayer.

When I run it in non verbose mode, I get this message :
** (gnome-mplayer:27615): WARNING **: This property should not be modified!
GMLIB-Message: after init: position=0,000 length=0,000 start_time=0,000 
run_time=0,000 volume=0,00 player=dead media=unknown uri=

I Don't know if is related.

I tried changing the video output (x11, gl, vdpau), using hardware acceleration 
or not, it's the same.

I didn't have any kind of problems with Fedora 19.

So, if you have any idea about where it's coming from...

Thanks

Original issue reported on code.google.com by romain.j...@gmail.com on 21 Aug 2014 at 1:07

GoogleCodeExporter commented 8 years ago
Try changing your GTK theme. And if it works fine in F19, but not 20 with the 
same version. It is probably GTK related.

Original comment by kdeko...@gmail.com on 22 Aug 2014 at 6:06

GoogleCodeExporter commented 8 years ago
I tried changing my GTK theme and the problem is still there. And I don't think 
that the versions where exactly the same in F19. I'm good to see if I can find 
the versions of gnome-mplayer and GTK that I had in F19.

Original comment by romain.j...@gmail.com on 22 Aug 2014 at 6:14