Replaced deprecated method gst_x_overlay_set_xwindow_id() by gst_x_overlay_set_wind...
authorMrinmayee Hingolikar <mrinmayee@ti.com>
Sat, 12 Jan 2013 09:20:33 +0000 (14:50 +0530)
committerMrinmayee <mrinmayee@ubuntu.(none)>
Sat, 12 Jan 2013 09:20:33 +0000 (14:50 +0530)
src/gui.c

index 4c979eb77efe72c2e4aa191c7d34512fbbaeab47..a5dad615ba4f46bd8060c780e4abdc5053c1849e 100644 (file)
--- a/src/gui.c
+++ b/src/gui.c
@@ -988,7 +988,7 @@ static GstElement *createImageSinkFromWindow (GtkWidget * window, gchar *name)
     xid = gdk_x11_drawable_get_xid (drawable);                                   
                                                                                 
     /*link the gst sink element to the XID*/                                    
-    gst_x_overlay_set_xwindow_id (GST_X_OVERLAY (sinkElement),xid);                    
+    gst_x_overlay_set_window_handle (GST_X_OVERLAY (sinkElement),xid);                    
                                                                                 
 return_pos:                                                                     
     return sinkElement;