totem/0001-downstream-patch-Reduce-gstreamer-version-requiremen.patch

66 lines
2.3 KiB
Diff

From 63bb7b4b34f77fbb0639cf415954e9dc07d377f2 Mon Sep 17 00:00:00 2001
From: Kalev Lember <kalevlember@gmail.com>
Date: Fri, 20 Feb 2015 16:52:25 +0100
Subject: [PATCH] downstream patch: Reduce gstreamer version requirement
We carry backported gstreamer1-plugins-base patches that add the
required new symbols.
https://bugzilla.gnome.org/show_bug.cgi?id=744610
---
src/backend/bacon-video-widget-gst-missing-plugins.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/backend/bacon-video-widget-gst-missing-plugins.c b/src/backend/bacon-video-widget-gst-missing-plugins.c
index c717566..0c7ac98 100644
--- a/src/backend/bacon-video-widget-gst-missing-plugins.c
+++ b/src/backend/bacon-video-widget-gst-missing-plugins.c
@@ -239,7 +239,7 @@ on_plugin_installation_done (GstInstallPluginsReturn res, gpointer user_data)
}
#ifdef GDK_WINDOWING_X11
-#if GST_CHECK_VERSION (1, 5, 0)
+#if GST_CHECK_VERSION (1, 4, 5)
static gchar *
set_startup_notification_id (GstInstallPluginsContext *install_ctx)
{
@@ -265,7 +265,7 @@ bacon_video_widget_start_plugin_installation (TotemCodecInstallContext *ctx,
#endif
install_ctx = gst_install_plugins_context_new ();
-#if GST_CHECK_VERSION (1, 5, 0)
+#if GST_CHECK_VERSION (1, 4, 5)
gst_install_plugins_context_set_desktop_id (install_ctx, "org.gnome.Totem.desktop");
gst_install_plugins_context_set_confirm_search (install_ctx, confirm_search);
#endif
@@ -279,7 +279,7 @@ bacon_video_widget_start_plugin_installation (TotemCodecInstallContext *ctx,
{
gulong xid = 0;
-#if GST_CHECK_VERSION (1, 5, 0)
+#if GST_CHECK_VERSION (1, 4, 5)
set_startup_notification_id (install_ctx);
#endif
@@ -313,7 +313,7 @@ bacon_video_widget_start_plugin_installation (TotemCodecInstallContext *ctx,
return TRUE;
}
-#if GST_CHECK_VERSION (1, 5, 0)
+#if GST_CHECK_VERSION (1, 4, 5)
static void
codec_confirmation_dialog_response_cb (GtkDialog *dialog,
GtkResponseType response_type,
@@ -398,7 +398,7 @@ on_packagekit_proxy_ready (GObject *source_object,
goto out;
}
-#if GST_CHECK_VERSION (1, 5, 0)
+#if GST_CHECK_VERSION (1, 4, 5)
if (packagekit_proxy != NULL) {
property = g_dbus_proxy_get_cached_property (packagekit_proxy, "DisplayName");
if (property != NULL) {
--
2.1.0