ximagesink: Post an error message on the bus if no supported pixmap formats can be...
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 10 May 2010 10:28:29 +0000 (12:28 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 10 May 2010 10:28:29 +0000 (12:28 +0200)
Might fix bug #615851.

sys/ximage/ximagesink.c

index 58b0d5f..713615c 100644 (file)
@@ -1294,6 +1294,8 @@ gst_ximagesink_xcontext_get (GstXImageSink * ximagesink)
     g_mutex_unlock (ximagesink->x_lock);
     g_free (xcontext->par);
     g_free (xcontext);
+    GST_ELEMENT_ERROR (ximagesink, RESOURCE, WRITE,
+        ("Could not get supported pixmap formats"), (NULL));
     return NULL;
   }