[longomatch] Use gconfvideo sink to let the user choose the ouput method
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [longomatch] Use gconfvideo sink to let the user choose the ouput method
- Date: Sun, 16 Aug 2009 15:10:43 +0000 (UTC)
commit beba36f0d1f766875f92e768463929114b5fb931
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Sun Aug 16 17:09:49 2009 +0200
Use gconfvideo sink to let the user choose the ouput method
libcesarplayer/src/bacon-video-widget-gst-0.10.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libcesarplayer/src/bacon-video-widget-gst-0.10.c b/libcesarplayer/src/bacon-video-widget-gst-0.10.c
index 564203a..69a40f0 100644
--- a/libcesarplayer/src/bacon-video-widget-gst-0.10.c
+++ b/libcesarplayer/src/bacon-video-widget-gst-0.10.c
@@ -63,7 +63,7 @@
#define DEFAULT_VIDEO_SINK "directdrawsink"
#else
#include <gdk/gdkx.h>
- #define DEFAULT_VIDEO_SINK "xvimagesink"
+ #define DEFAULT_VIDEO_SINK "gconfvideosink"
#endif
#include <gtk/gtk.h>
#include <gio/gio.h>
@@ -5420,7 +5420,7 @@ bacon_video_widget_new (int width, int height,
video_sink = gst_element_factory_make (DEFAULT_VIDEO_SINK, "video-sink");
if (video_sink == NULL) {
- g_warning ("Could not create element 'autovideosink'");
+ g_warning ("Could not create element '%s'",DEFAULT_VIDEO_SINK);
/* Try to fallback on ximagesink */
video_sink = gst_element_factory_make ("ximagesink", "video-sink");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]