diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2010-05-10 12:28:29 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2010-05-10 12:28:29 +0200 |
commit | df5c772c44ef798b5d4b56b4b860f064e61ae243 (patch) | |
tree | 305e50038827b312ae61a7ea44945f2a06736198 | |
parent | 37e975b8cc4891f24679405b73c5ab2f657bd825 (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.c | 2 |
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; } |