[clutter-gst] sink: Only accept video/x-surface with opengl support
- From: Damien Lespiau <dlespiau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter-gst] sink: Only accept video/x-surface with opengl support
- Date: Mon, 7 Nov 2011 17:24:08 +0000 (UTC)
commit 6808a8654d77ddb761c680ed70acbc43446efcc6
Author: Nicolas Dufresne <nicolas dufresne collabora co uk>
Date: Sun Nov 6 23:48:41 2011 -0500
sink: Only accept video/x-surface with opengl support
clutter-gst/clutter-gst-video-sink.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/clutter-gst/clutter-gst-video-sink.c b/clutter-gst/clutter-gst-video-sink.c
index 77aa1c1..5a3af7f 100644
--- a/clutter-gst/clutter-gst-video-sink.c
+++ b/clutter-gst/clutter-gst-video-sink.c
@@ -120,7 +120,7 @@ static gchar *yv12_to_rgba_shader = \
GST_VIDEO_CAPS_BGR
#ifdef HAVE_HW_DECODER_SUPPORT
-#define SINK_CAPS GST_VIDEO_CAPS_SURFACE ";" BASE_SINK_CAPS
+#define SINK_CAPS GST_VIDEO_CAPS_SURFACE ", opengl = true;" BASE_SINK_CAPS
#else
#define SINK_CAPS BASE_SINK_CAPS
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]