vaapidecodebin: post an error message if fails

If the construction of the bin fails, post an error message in the bus.

Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>

https://bugzilla.gnome.org/show_bug.cgi?id=749554
This commit is contained in:
Víctor Manuel Jáquez Leal 2015-08-06 12:39:52 +02:00
parent 0004301714
commit 1e061c54e1

View file

@ -389,7 +389,8 @@ error_element_missing:
}
error_link_pad:
{
GST_ERROR_OBJECT (vaapidecbin, "Failed to link the child elements");
GST_ELEMENT_ERROR (vaapidecbin, CORE, PAD,
(NULL), ("Failed to configure the vaapidecodebin."));
return FALSE;
}
}