[gthumb] slideshow: no need to specify autoaudiosink as audio-sink



commit e8f58834e141046dfc49ac7cc00f5b9f4d59270f
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Mon Aug 7 12:16:51 2017 +0200

    slideshow: no need to specify autoaudiosink as audio-sink
    
    It is already the default audio sink.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=785612#c2

 extensions/slideshow/gth-slideshow.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/extensions/slideshow/gth-slideshow.c b/extensions/slideshow/gth-slideshow.c
index f1dc0de..02b7393 100644
--- a/extensions/slideshow/gth-slideshow.c
+++ b/extensions/slideshow/gth-slideshow.c
@@ -434,7 +434,6 @@ gth_slideshow_show_cb (GtkWidget    *widget,
 
                        self->priv->playbin = gst_element_factory_make ("playbin", "playbin");
                        g_object_set (self->priv->playbin,
-                                     "audio-sink", gst_element_factory_make ("autoaudiosink", "audiosink"),
                                      "flags", _GST_PLAY_FLAG_AUDIO,
                                      "volume", 1.0,
                                      NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]