[totem] backend: Simplify audio-sink setting
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] backend: Simplify audio-sink setting
- Date: Tue, 3 Jul 2012 18:25:15 +0000 (UTC)
commit c6d84b7ee418b41208519d4bf333cdca3a997758
Author: Bastien Nocera <hadess hadess net>
Date: Tue Jul 3 15:53:37 2012 +0100
backend: Simplify audio-sink setting
src/backend/bacon-video-widget-gst-0.10.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/backend/bacon-video-widget-gst-0.10.c b/src/backend/bacon-video-widget-gst-0.10.c
index b486225..dfb78e3 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -6094,8 +6094,7 @@ bacon_video_widget_initable_init (GInitable *initable,
gst_object_unref (audio_pad);
/* And tell playbin */
- audio_sink = audio_bin;
- g_object_set (bvw->priv->play, "audio-sink", audio_sink, NULL);
+ g_object_set (bvw->priv->play, "audio-sink", audio_bin, NULL);
/* Set default connection speed */
g_object_set (bvw->priv->play, "connection-speed", MAX_NETWORK_SPEED, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]