camerabin: example: Update prepare-window-handle message
authorThiago Santos <thiago.sousa.santos@collabora.com>
Tue, 1 May 2012 16:15:25 +0000 (13:15 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Tue, 1 May 2012 18:20:49 +0000 (15:20 -0300)
Message name changed from prepare-xwindow-id to prepare-window-handle

tests/examples/camerabin2/gst-camera2.c

index ed53f8c90842cfcddc62c2d9ee5f54f40d7c4c64..fe913ee5364cd3a59b1faf75d10c7a0b14ad5270 100644 (file)
@@ -197,7 +197,7 @@ bus_sync_callback (GstBus * bus, GstMessage * message, gpointer data)
   if (GST_MESSAGE_TYPE (message) != GST_MESSAGE_ELEMENT)
     return GST_BUS_PASS;
 
-  if (!gst_message_has_name (message, "prepare-xwindow-id"))
+  if (!gst_message_has_name (message, "prepare-window-handle"))
     return GST_BUS_PASS;
 
   /* FIXME: make sure to get XID in main thread */