mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 18:20:44 +00:00
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:
parent
0004301714
commit
1e061c54e1
1 changed files with 2 additions and 1 deletions
|
@ -389,7 +389,8 @@ error_element_missing:
|
||||||
}
|
}
|
||||||
error_link_pad:
|
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;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue