diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/backend/bacon-video-widget-gst-0.10.c | 20 |
2 files changed, 16 insertions, 10 deletions
@@ -1,3 +1,9 @@ +2007-01-10 Tim-Philipp Müller <tim at centricular dot net> + + * src/backend/bacon-video-widget-gst-0.10.c: + (bacon_video_widget_new): + Use BVW_ERROR_AUDIO_PLUGIN error for audio plugins, not VIDEO. + 2007-01-09 Bastien Nocera <hadess@hadess.net> * src/plparse/totem-disc.c: (canonicalize_filename), diff --git a/src/backend/bacon-video-widget-gst-0.10.c b/src/backend/bacon-video-widget-gst-0.10.c index f2557a481..90e227963 100644 --- a/src/backend/bacon-video-widget-gst-0.10.c +++ b/src/backend/bacon-video-widget-gst-0.10.c @@ -4422,20 +4422,20 @@ bacon_video_widget_new (int width, int height, audio_sink = gst_element_factory_make ("fakesink", "audio-sink"); if (audio_sink == NULL) { if (err && !*err) { - g_warning ("Should have gotten an error message, please file a bug."); - g_set_error (err, BVW_ERROR, BVW_ERROR_VIDEO_PLUGIN, - _("Failed to open audio output. You may not have " - "permission to open the sound device, or the sound " - "server may not be running. " - "Please select another audio output in the Multimedia " - "Systems Selector.")); - } - goto sink_error; + g_warning ("Should have gotten an error message, please file a bug."); + g_set_error (err, BVW_ERROR, BVW_ERROR_AUDIO_PLUGIN, + _("Failed to open audio output. You may not have " + "permission to open the sound device, or the sound " + "server may not be running. " + "Please select another audio output in the Multimedia " + "Systems Selector.")); + } + goto sink_error; } bvw->priv->uses_fakesink = TRUE; } } else { - g_set_error (err, BVW_ERROR, BVW_ERROR_VIDEO_PLUGIN, + g_set_error (err, BVW_ERROR, BVW_ERROR_AUDIO_PLUGIN, _("Could not find the audio output. " "You may need to install additional GStreamer plugins, or " "select another audio output in the Multimedia Systems " |