resindvdbin: Also post missing element messages if any other element is missing

This commit is contained in:
Sebastian Dröge 2009-10-01 14:54:43 +02:00
parent b67bc258c8
commit 5d74676294

View file

@ -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;