getting the output on the windows ui using xoverlay

padam skaromana at wp.pl
Fri May 4 01:42:11 PDT 2012


I use dshowvideosink

static GstBusSyncReply create_window (GstBus * bus, GstMessage * message,
void *user_data)
{
	if (GST_MESSAGE_TYPE (message) != GST_MESSAGE_ELEMENT)
		return GST_BUS_PASS;

	if (!gst_structure_has_name (message->structure, "prepare-xwindow-id"))
		return GST_BUS_PASS;

	if(Player.HANDLE != -1)
		gst_x_overlay_set_xwindow_id(GST_X_OVERLAY (Player.sink), Player.HANDLE);
 gst_message_unref (message);

 return GST_BUS_DROP;
}

You don't need to create Xoverlay as you can see.

--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/getting-the-output-on-the-windows-ui-using-xoverlay-tp4591879p4608112.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list