mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
validate: Add missing action execution printing
This commit is contained in:
parent
b7daa03a6e
commit
8e3790495f
1 changed files with 11 additions and 1 deletions
|
@ -236,6 +236,8 @@ _add_layer (GstValidateScenario * scenario, GstValidateAction * action)
|
||||||
layer = ges_layer_new ();
|
layer = ges_layer_new ();
|
||||||
g_object_set (layer, "priority", priority, "auto-transition", auto_transition,
|
g_object_set (layer, "priority", priority, "auto-transition", auto_transition,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
|
gst_validate_printf (action, "Adding layer with priority %d\n", priority);
|
||||||
res = ges_timeline_add_layer (timeline, layer);
|
res = ges_timeline_add_layer (timeline, layer);
|
||||||
|
|
||||||
beach:
|
beach:
|
||||||
|
@ -501,12 +503,18 @@ _set_track_restriction_caps (GstValidateScenario * scenario,
|
||||||
GESTrack *track = tmp->data;
|
GESTrack *track = tmp->data;
|
||||||
|
|
||||||
if (track->type & track_types) {
|
if (track->type & track_types) {
|
||||||
|
gchar *str;
|
||||||
|
|
||||||
|
str = gst_caps_to_string (caps);
|
||||||
|
gst_validate_printf (action, "Setting restriction caps %s on track: %s\n",
|
||||||
|
str, GST_ELEMENT_NAME (track));
|
||||||
|
g_free (str);
|
||||||
|
|
||||||
ges_track_set_restriction_caps (track, caps);
|
ges_track_set_restriction_caps (track, caps);
|
||||||
|
|
||||||
res = TRUE;
|
res = TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
gst_caps_unref (caps);
|
gst_caps_unref (caps);
|
||||||
gst_object_unref (timeline);
|
gst_object_unref (timeline);
|
||||||
|
|
||||||
|
@ -688,6 +696,8 @@ _set_control_source (GstValidateScenario * scenario, GstValidateAction * action)
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gst_validate_printf (action, "Setting control source on %s:%s\n",
|
||||||
|
element_name, property_name);
|
||||||
ret = ges_track_element_set_control_source (element,
|
ret = ges_track_element_set_control_source (element,
|
||||||
source, property_name, binding_type);
|
source, property_name, binding_type);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue