diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/backend/bacon-video-widget-gst-0.10.c | 4 |
2 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2007-04-11 Bastien Nocera <hadess@hadess.net> + + * src/backend/bacon-video-widget-gst-0.10.c: + (bacon_video_widget_new): Follow the profiles set in the + control-center if available (Closes: #428675) + ============ Version 2.16.6 2007-03-19 Bastien Nocera <hadess@hadess.net> diff --git a/src/backend/bacon-video-widget-gst-0.10.c b/src/backend/bacon-video-widget-gst-0.10.c index d1991272b..3083af4b7 100644 --- a/src/backend/bacon-video-widget-gst-0.10.c +++ b/src/backend/bacon-video-widget-gst-0.10.c @@ -4324,6 +4324,10 @@ bacon_video_widget_new (int width, int height, g_warning ("Could not create element 'gconfaudiosink'"); /* Try to fallback on autoaudiosink */ audio_sink = gst_element_factory_make ("autoaudiosink", "audio-sink"); + } else { + /* set the profile property on the gconfaudiosink to "music and movies" */ + if (g_object_class_find_property (G_OBJECT_GET_CLASS (audio_sink), "profile")) + g_object_set (G_OBJECT (audio_sink), "profile", 1, NULL); } } else { audio_sink = gst_element_factory_make ("fakesink", "audio-fake-sink"); |