ximagesink: Post an error message on the bus if no supported pixmap formats can be found

Might fix bug #615851.
This commit is contained in:
Sebastian Dröge 2010-05-10 12:28:29 +02:00
parent 37e975b8cc
commit df5c772c44

View 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;
}