From df5c772c44ef798b5d4b56b4b860f064e61ae243 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 10 May 2010 12:28:29 +0200 Subject: [PATCH] ximagesink: Post an error message on the bus if no supported pixmap formats can be found Might fix bug #615851. --- sys/ximage/ximagesink.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/ximage/ximagesink.c b/sys/ximage/ximagesink.c index 58b0d5f..713615c 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; } -- 2.7.4