summaryrefslogtreecommitdiff
path: root/tools/gst-play.c
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2013-08-21 16:02:00 +0100
committerTim-Philipp Müller <tim@centricular.net>2013-08-21 16:02:00 +0100
commit716f992c17988cdccdba3d573b673d8aabf3ed3d (patch)
tree0b7021d4384e77d6a10d74cc92a299c1b2e0a58d /tools/gst-play.c
parentfd873b1067fc206b6587ff32909d08fa8041b966 (diff)
gst-play: move current playlist index along in about-to-finish
Diffstat (limited to 'tools/gst-play.c')
-rw-r--r--tools/gst-play.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gst-play.c b/tools/gst-play.c
index 34e0d3072..5958e1e7d 100644
--- a/tools/gst-play.c
+++ b/tools/gst-play.c
@@ -372,6 +372,7 @@ play_about_to_finish (GstElement * playbin, gpointer user_data)
g_free (loc);
g_object_set (play->playbin, "uri", next_uri, NULL);
+ play->cur_idx = next_idx;
}
static void