From: Sebastian Dröge Date: Mon, 10 May 2010 10:28:29 +0000 (+0200) Subject: ximagesink: Post an error message on the bus if no supported pixmap formats can be... X-Git-Tag: 1.19.3~511^2~8460 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=df5c772c44ef798b5d4b56b4b860f064e61ae243;p=platform%2Fupstream%2Fgstreamer.git ximagesink: Post an error message on the bus if no supported pixmap formats can be found Might fix bug #615851. --- diff --git a/sys/ximage/ximagesink.c b/sys/ximage/ximagesink.c index 58b0d5f590..713615c4e6 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; }