gst_x_overlay_expose ()??
akaChella
durgas1987 at gmail.com
Mon Dec 19 22:03:51 PST 2011
Hi,
Whenever we want to use the callback function for "expose-event" this is the
syntax, say...
static gboolean expose_cb(GtkWidget* widget, GdkEventExpose* event,
GstElement* videosink)
{
gst_x_overlay_expose (GST_X_OVERLAY (videosink));
return FALSE;
}
But i dont have a widget...!! I have drectly created an x window. So what
should i pass in the place of widget?? When i passed the xwindow id, like
this,
g_signal_connect(XWindow_id, "expose-event",
G_CALLBACK(expose_event),videosink);
static gboolean expose_cb(Window win, GdkEventExpose* event, GstElement*
videosink)
{
gst_x_overlay_expose (GST_X_OVERLAY (videosink));
return FALSE;
}
it was throwing some error :( any idea??
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gst-x-overlay-expose-tp4213172p4216773.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list