summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2010-05-10 12:28:29 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2010-05-10 12:28:29 +0200
commitdf5c772c44ef798b5d4b56b4b860f064e61ae243 (patch)
tree305e50038827b312ae61a7ea44945f2a06736198
parent37e975b8cc4891f24679405b73c5ab2f657bd825 (diff)
ximagesink: Post an error message on the bus if no supported pixmap formats can be found
Might fix bug #615851.
-rw-r--r--sys/ximage/ximagesink.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/ximage/ximagesink.c b/sys/ximage/ximagesink.c
index 58b0d5f59..713615c4e 100644
--- a/sys/ximage/ximagesink.c
+++ b/sys/ximage/ximagesink.c
@@ -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;
}