mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 22:16:22 +00:00
ges-launch: don't print random position/duration values at startup
This commit is contained in:
parent
639725c6ea
commit
967bb50814
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ ges_validate_print_action_types (const gchar ** types, gint num_types)
|
|||
static gboolean
|
||||
_print_position (GstElement * pipeline)
|
||||
{
|
||||
gint64 position, duration;
|
||||
gint64 position = 0, duration = -1;
|
||||
|
||||
if (pipeline) {
|
||||
gst_element_query_position (GST_ELEMENT (pipeline), GST_FORMAT_TIME,
|
||||
|
|
Loading…
Reference in a new issue