mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-23 17:14:23 +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
|
static gboolean
|
||||||
_print_position (GstElement * pipeline)
|
_print_position (GstElement * pipeline)
|
||||||
{
|
{
|
||||||
gint64 position, duration;
|
gint64 position = 0, duration = -1;
|
||||||
|
|
||||||
if (pipeline) {
|
if (pipeline) {
|
||||||
gst_element_query_position (GST_ELEMENT (pipeline), GST_FORMAT_TIME,
|
gst_element_query_position (GST_ELEMENT (pipeline), GST_FORMAT_TIME,
|
||||||
|
|
Loading…
Reference in a new issue