initialise GStreamer if we want to use it ;) (Patch by Christophe Fergeau

2004-03-01  Bastien Nocera  <hadess@hadess.net>

	* actions/acme-volume-gstreamer.c:
	(acme_volume_gstreamer_class_init): initialise GStreamer if we
	want to use it ;) (Patch by Christophe Fergeau
	<teuf@users.sourceforge.net>) (Closes: #131316)
This commit is contained in:
Bastien Nocera 2004-03-01 13:38:36 +00:00 committed by Bastien Nocera
parent e7928dbfa4
commit c1f9cb3926
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2004-03-01 Bastien Nocera <hadess@hadess.net>
* actions/acme-volume-gstreamer.c:
(acme_volume_gstreamer_class_init): initialise GStreamer if we
want to use it ;) (Patch by Christophe Fergeau
<teuf@users.sourceforge.net>) (Closes: #131316)
2004-02-29 Bastien Nocera <hadess@hadess.net>
* actions/acme-volume-alsa.c: (acme_volume_alsa_get_volume),

View file

@ -244,6 +244,8 @@ acme_volume_gstreamer_class_init (AcmeVolumeGStreamerClass *klass)
AcmeVolumeClass *volume_class = ACME_VOLUME_CLASS (klass);
G_OBJECT_CLASS (klass)->finalize = acme_volume_gstreamer_finalize;
gst_init (NULL, NULL);
parent_class = g_type_class_peek_parent (klass);
volume_class->set_volume = acme_volume_gstreamer_set_volume;