[maemo-developers] [maemo-developers] gtk, gstreamer movie window = problem

From: Eduardo Lima eblima at gmail.com
Date: Tue Oct 24 00:26:47 EEST 2006
On 10/23/06, cmonst <cmonst at gmail.com> wrote:
> Hi!
> In my gstreamer movie player I have connected gstreamer movie window
> with gtk menu (gstreamer window is inside gtk app window) using this
> code:
> static void
> cb_expose (GtkWidget * w, GdkEventExpose * ev, GstElement * e)
> {
>   if (GST_IS_X_OVERLAY (e) &&
>     gst_x_overlay_set_xwindow_id (GST_X_OVERLAY (e),
>         GDK_WINDOW_XWINDOW (w->window));
>         }
> }
> (...)
> g_signal_connect (content, "expose-event", G_CALLBACK (cb_expose),videosink );
> Everything is ok when I start app (movie window is in right place in
> app window) but when I click on some item on maemo system menu (right
> top border of the screen ) eg. volume control and I click back on my
> app, window with my gtk elements disappears (probably is killed) and
> gstreamer movie window is the only window left from my app (it looks
> like when you start raw pipeline with some movie, without any
> additional gtk elements).
> Do you have any ideas??? Please help me.

Are you sure your application is being killed? My advice is try to
check if it segfaults somehow by running it from xterm.

Regards, Etrunko.

Eduardo de Barros Lima
INdT - Instituto Nokia de Tecnologia
eblima at gmail.com

More information about the maemo-developers mailing list