Commit 967bb508 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠
Browse files

ges-launch: don't print random position/duration values at startup

parent 639725c6
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment