[rhythmbox/gstreamer-1.0: 20/22] rb-player-gst-xfade: Minor fixes
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox/gstreamer-1.0: 20/22] rb-player-gst-xfade: Minor fixes
- Date: Mon, 5 Nov 2012 23:08:36 +0000 (UTC)
commit 3b03d9cf82745394f8ff7b97b69feab5f538498f
Author: Edward Hervey <edward hervey collabora co uk>
Date: Tue Sep 11 10:47:04 2012 +0200
rb-player-gst-xfade: Minor fixes
backends/gstreamer/rb-player-gst-xfade.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/backends/gstreamer/rb-player-gst-xfade.c b/backends/gstreamer/rb-player-gst-xfade.c
index 49b91b0..b36c04f 100644
--- a/backends/gstreamer/rb-player-gst-xfade.c
+++ b/backends/gstreamer/rb-player-gst-xfade.c
@@ -1133,7 +1133,7 @@ link_and_unblock_stream (RBXFadeStream *stream, GError **error)
if (stream->src_blocked) {
GstStateChangeReturn state_ret;
- g_mutex_lock (stream->lock);
+ g_mutex_lock (&stream->lock);
rb_debug ("stream %s is unblocked -> FADING_IN | PLAYING", stream->uri);
stream->src_blocked = FALSE;
@@ -1142,7 +1142,7 @@ link_and_unblock_stream (RBXFadeStream *stream, GError **error)
else
stream->state = PLAYING;
- g_mutex_unlock (stream->lock);
+ g_mutex_unlock (&stream->lock);
adjust_stream_base_time (stream);
@@ -2101,6 +2101,7 @@ create_stream (RBPlayerGstXFade *player, const char *uri, gpointer stream_data,
GstCaps *caps;
GArray *stream_filters = NULL;
GstElement *tail;
+ gint i;
rb_debug ("creating new stream for %s (stream data %p)", uri, stream_data);
stream = g_object_new (RB_TYPE_XFADE_STREAM, NULL, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]