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:
parent
37e975b8cc
commit
df5c772c44
@ -1294,6 +1294,8 @@ gst_ximagesink_xcontext_get (GstXImageSink * ximagesink)
|
|||||||
g_mutex_unlock (ximagesink->x_lock);
|
g_mutex_unlock (ximagesink->x_lock);
|
||||||
g_free (xcontext->par);
|
g_free (xcontext->par);
|
||||||
g_free (xcontext);
|
g_free (xcontext);
|
||||||
|
GST_ELEMENT_ERROR (ximagesink, RESOURCE, WRITE,
|
||||||
|
("Could not get supported pixmap formats"), (NULL));
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user