mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
ges: Print initialize error reasons
This commit is contained in:
parent
23845faa90
commit
d623411a26
1 changed files with 7 additions and 2 deletions
|
@ -78,11 +78,16 @@ ges_init_post (GOptionContext * context, GOptionGroup * group, gpointer data,
|
|||
}
|
||||
|
||||
uriasset_klass = g_type_class_ref (GES_TYPE_URI_CLIP_ASSET);
|
||||
if (!uriasset_klass || !uriasset_klass->discoverer)
|
||||
if (!uriasset_klass || !uriasset_klass->discoverer) {
|
||||
GST_ERROR ("missing uri asset class %p or discoverer %p", uriasset_klass,
|
||||
uriasset_klass ? uriasset_klass->discoverer : NULL);
|
||||
goto failed;
|
||||
}
|
||||
|
||||
if (!uriasset_klass->sync_discoverer)
|
||||
if (!uriasset_klass->sync_discoverer) {
|
||||
GST_ERROR ("missing sync discoverer");
|
||||
goto failed;
|
||||
}
|
||||
|
||||
nlecomposition_factory = gst_element_factory_find ("nlecomposition");
|
||||
if (!nlecomposition_factory) {
|
||||
|
|
Loading…
Reference in a new issue