Closed GoogleCodeExporter closed 8 years ago
this is a gnome-mplayer bug, and so should be in the gnome-mplayer bug
tracker...
but try this patch..
Index: src/gui.c
===================================================================
--- src/gui.c (revision 1803)
+++ src/gui.c (working copy)
@@ -7258,6 +7258,9 @@
controls_box = gtk_vbox_new(FALSE, 0);
fixed = gtk_fixed_new();
drawing_area = gtk_socket_new();
+#ifdef GTK2_18_ENABLED
+ gtk_widget_set_has_window(GTK_WIDGET(drawing_area), TRUE);
+#endif
g_signal_connect(drawing_area, "realize", G_CALLBACK(drawing_area_realized), NULL);
cover_art = gtk_image_new();
Original comment by kdeko...@gmail.com
on 15 Dec 2010 at 3:03
It seems to help a little bit, but sometimes (less than usual) it still shows
black screen, and "Gtk-CRITICAL **: gtk_widget_set_size_request: assertion
`GTK_IS_WIDGET (widget)' failed" in xterm
Original comment by ksquirrel.iv@gmail.com
on 15 Dec 2010 at 9:44
Hum, I did a large amount of similar testing on my own machines here, and was
never able to duplicate the problem before or after the patch, I though this
patch might help some and it appears it did, but the error is still odd.
You could try debugging it by opening a terminal
setting
export G_DEBUG=fatal_warnings
and then running gnome-mplayer under gdb
when it crashes, type 'bt' and post the output.
Original comment by kdeko...@gmail.com
on 15 Dec 2010 at 9:49
It doesn't crash, I can see player controls and progress bar is running. But a
black screen instead of video.
Original comment by ksquirrel.iv@gmail.com
on 15 Dec 2010 at 9:54
When the G_DEBUG is set, it will crash on the Gtk-CRITICAL error, that is what
that flag does.
Does resizing the window make the video appear?
Original comment by kdeko...@gmail.com
on 15 Dec 2010 at 9:58
I'll try that.
No, If I resize this window, I can see only assertions I mentioned above (one
assert per one resize event I think). The video frame remains black.
Original comment by ksquirrel.iv@gmail.com
on 15 Dec 2010 at 10:02
Got another assert during testing -
** CRITICAL **: dbus_g_proxy_disconnect_signal: assertion
`!DBUS_G_PROXY_DESTROYED (proxy)' failed
aborting...
Original comment by ksquirrel.iv@gmail.com
on 15 Dec 2010 at 10:14
Seen that error on occasion, it seems to be harmless and is no way related to a
blank screen.
Original comment by kdeko...@gmail.com
on 15 Dec 2010 at 10:21
What version of GTK are you using?
Original comment by kdeko...@gmail.com
on 15 Dec 2010 at 10:21
Might want to try SVN r1809 and see if that is any better. Next time you get
the Gtk-CRITICAL **: gtk_widget_set_size_request: assertion `GTK_IS_WIDGET
(widget)' failed"
Error please post the full gnome-mplayer -v output, I want to see that flags
that are being passed to mplayer.
Original comment by kdeko...@gmail.com
on 15 Dec 2010 at 10:28
Is that a log from the r1809 version? Also are you building inside of a build
services, or vm or anything else?
Also you have not answered what version of GTK you are using?
It also appears you have problems with your sound devices or the configuration
of them.
Original comment by kdeko...@gmail.com
on 15 Dec 2010 at 10:55
it's previous revision, 1808.
>>Also are you building inside of a build services
I am building on a separate build server with the same distro as host system
>>Also you have not answered what version of GTK you are using?
2.20.1 from Debian: http://packages.debian.org/squeeze/libgtk2.0-0
>>It also appears you have problems with your sound devices or the
configuration of them.
It seems that gnome-mplayer sometimes doesn't kill mplayer slave, so I have
several unused mplayer processes running.
Original comment by ksquirrel.iv@gmail.com
on 15 Dec 2010 at 11:46
I had a case a couple of weeks ago where the build server created a
gnome-mplayer binary that crashed alot. So you might want to look into
compiling directly from source.
The output looks pretty similar to what you are getting
http://code.google.com/p/gnome-mplayer/issues/detail?id=419&can=1&q=build
If mplayer doesn't kill the slave, you need to upgrade mplayer. I'm using
mplayer SVN-r32678, your rc3 is quite old according the mplayer website
Original comment by kdeko...@gmail.com
on 15 Dec 2010 at 11:55
>>So you might want to look into compiling directly from source.
It's my own build server with standard Debian installed, I built gnome-mplayer
and gecko-mediaplayer on it from source
Original comment by ksquirrel.iv@gmail.com
on 16 Dec 2010 at 12:39
In the current SVN code the mplayer backend and window handling code has been
completely reworked. Testing the video here seems to work pretty well. Let me
know if it works for you.
Original comment by kdeko...@gmail.com
on 31 May 2011 at 2:50
Original issue reported on code.google.com by
ksquirrel.iv@gmail.com
on 15 Dec 2010 at 2:30