From 91c3a2396396be493632d14b034ed29aa0c303e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 11 Sep 2009 15:11:41 +0200 Subject: [PATCH] playbin2: Implement GstStreamVolume interface --- gst/playback/gstplaybin2.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c index e6843bdfd2..8020393c2b 100644 --- a/gst/playback/gstplaybin2.c +++ b/gst/playback/gstplaybin2.c @@ -225,6 +225,7 @@ #include #include +#include #include "gstplay-enum.h" #include "gstplay-marshal.h" @@ -581,9 +582,15 @@ gst_play_bin_get_type (void) (GInstanceInitFunc) gst_play_bin_init, NULL }; + static const GInterfaceInfo svol_info = { + NULL, NULL, NULL + }; gst_play_bin_type = g_type_register_static (GST_TYPE_PIPELINE, "GstPlayBin2", &gst_play_bin_info, 0); + + g_type_add_interface_static (gst_play_bin_type, GST_TYPE_STREAM_VOLUME, + &svol_info); } return gst_play_bin_type;