mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
39 lines
1.3 KiB
Diff
39 lines
1.3 KiB
Diff
From 054925add713e715134f340dd7c873c928ad762f Mon Sep 17 00:00:00 2001
|
|
From: Jan de Groot <jgc@archlinux.org>
|
|
Date: Sun, 5 Feb 2017 13:10:30 +0000
|
|
Subject: [PATCH] Port to clutter-gst-3.0
|
|
|
|
---
|
|
configure.ac | 2 +-
|
|
plugins/visualizer/rb-visualizer-page.c | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 16afcfff6..effbd44d0 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -681,7 +681,7 @@ if test "x$enable_visualizer" != "xno"; then
|
|
PKG_CHECK_MODULES(CLUTTER,
|
|
clutter-1.0 >= 1.8 \
|
|
clutter-x11-1.0 >= 1.8 \
|
|
- clutter-gst-2.0 \
|
|
+ clutter-gst-3.0 \
|
|
clutter-gtk-1.0 >= 1.0 \
|
|
mx-1.0 >= 1.0.1,
|
|
have_clutter=yes,
|
|
diff --git a/plugins/visualizer/rb-visualizer-page.c b/plugins/visualizer/rb-visualizer-page.c
|
|
index 417984335..5b03e7748 100644
|
|
--- a/plugins/visualizer/rb-visualizer-page.c
|
|
+++ b/plugins/visualizer/rb-visualizer-page.c
|
|
@@ -352,7 +352,7 @@ impl_constructed (GObject *object)
|
|
g_object_ref (page->sink);
|
|
|
|
/* actual sink */
|
|
- realsink = gst_element_factory_make ("cluttersink", NULL);
|
|
+ realsink = GST_ELEMENT (clutter_gst_video_sink_new ());
|
|
g_object_set (realsink, "texture", page->texture, NULL);
|
|
|
|
videoconvert = gst_element_factory_make ("videoconvert", NULL);
|
|
--
|
|
2.11.1
|
|
|