mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
resindvdbin: Also post missing element messages if any other element is missing
This commit is contained in:
parent
b67bc258c8
commit
5d74676294
1 changed files with 2 additions and 0 deletions
|
@ -326,6 +326,8 @@ try_create_piece (RsnDvdBin * dvdbin, gint index,
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
create_failed:
|
create_failed:
|
||||||
|
gst_element_post_message (GST_ELEMENT_CAST (dvdbin),
|
||||||
|
gst_missing_element_message_new (GST_ELEMENT_CAST (dvdbin), factory));
|
||||||
GST_ELEMENT_ERROR (dvdbin, CORE, MISSING_PLUGIN, (NULL),
|
GST_ELEMENT_ERROR (dvdbin, CORE, MISSING_PLUGIN, (NULL),
|
||||||
("Could not create %s element '%s'", descr, factory));
|
("Could not create %s element '%s'", descr, factory));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in a new issue