mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
validate: Avoid depending on Gst 1.4
Summary: Depends on D117 Reviewers: Mathieu_Du Differential Revision: http://phabricator.freedesktop.org/D165
This commit is contained in:
parent
b5d3622b31
commit
2548eafd11
1 changed files with 2 additions and 1 deletions
|
@ -615,7 +615,8 @@ _execute_pause (GstValidateScenario * scenario, GstValidateAction * action)
|
|||
GstClockTime duration = 0;
|
||||
GstStateChangeReturn ret;
|
||||
|
||||
gst_structure_get_uint64 (action->structure, "duration", &duration);
|
||||
gst_structure_get (action->structure, "duration", G_TYPE_UINT64, &duration,
|
||||
NULL);
|
||||
gst_structure_set (action->structure, "state", G_TYPE_STRING, "paused", NULL);
|
||||
|
||||
GST_INFO_OBJECT (scenario, "Pausing for %" GST_TIME_FORMAT,
|
||||
|
|
Loading…
Reference in a new issue