overlay: fix compilation
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 27 Oct 2011 13:29:36 +0000 (15:29 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 27 Oct 2011 13:29:36 +0000 (15:29 +0200)
gst-libs/gst/interfaces/videooverlay.c

index ef8e216..0b43fbb 100644 (file)
@@ -390,7 +390,7 @@ gst_video_overlay_prepare_window_handle (GstVideoOverlay * overlay)
   g_return_if_fail (GST_IS_VIDEO_OVERLAY (overlay));
 
   GST_LOG_OBJECT (GST_OBJECT (overlay), "prepare window handle");
-  s = gst_structure_new ("prepare-window-handle", NULL);
+  s = gst_structure_empty_new ("prepare-window-handle");
   msg = gst_message_new_element (GST_OBJECT (overlay), s);
   gst_element_post_message (GST_ELEMENT (overlay), msg);
 }