summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-08-24 13:01:46 +0300
committerSebastian Dröge <sebastian@centricular.com>2016-08-24 13:38:53 +0300
commitc3619078732323044c52a4eb22ca83f790c4e046 (patch)
tree170b3f75f209764194c76a35bb74ed6eba2c287d
parentc611c6c6c0cfc30c39e483d3f277f0aa88246e7c (diff)
player: Ensure that rate is initialized to 1.0
-rw-r--r--gst-libs/gst/player/gstplayer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/player/gstplayer.c b/gst-libs/gst/player/gstplayer.c
index 2158e0933..5906bbb85 100644
--- a/gst-libs/gst/player/gstplayer.c
+++ b/gst-libs/gst/player/gstplayer.c
@@ -2653,6 +2653,7 @@ gst_player_main (gpointer data)
self->buffering = 100;
self->is_eos = FALSE;
self->is_live = FALSE;
+ self->rate = 1.0;
GST_TRACE_OBJECT (self, "Starting main loop");
g_main_loop_run (self->loop);