summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2019-02-12 13:41:32 +0100
committerCarlos Soriano <csoriano1618+gnome@gmail.com>2019-02-13 10:17:54 +0000
commit3d9d2ef8d1627d2efe56b6bad5c8f6e540f07ec4 (patch)
tree354af63ebcd351f30f57aae537772bfca0d9e7e0 /extensions
parentf826da0fb2fb34d71a5755a78f7bffc3404641df (diff)
downloadnautilus-3d9d2ef8d1627d2efe56b6bad5c8f6e540f07ec4.tar.gz
audio-video-properties: Use totem_gst_disable_display_decoders()
Diffstat (limited to 'extensions')
-rw-r--r--extensions/audio-video-properties/test-properties-page.c2
-rw-r--r--extensions/audio-video-properties/totem-properties-main.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/extensions/audio-video-properties/test-properties-page.c b/extensions/audio-video-properties/test-properties-page.c
index 124f6db8e..21be43a34 100644
--- a/extensions/audio-video-properties/test-properties-page.c
+++ b/extensions/audio-video-properties/test-properties-page.c
@@ -22,6 +22,7 @@
#define GST_USE_UNSTABLE_API 1
#include <gst/gst.h>
#include <glib/gi18n-lib.h>
+#include "totem-gst-helpers.h"
#include "totem-properties-view.h"
static GtkWidget *window, *props, *label;
@@ -55,6 +56,7 @@ int main (int argc, char **argv)
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
+ totem_gst_disable_display_decoders ();
gst_init (&argc, &argv);
gtk_init (&argc, &argv);
diff --git a/extensions/audio-video-properties/totem-properties-main.c b/extensions/audio-video-properties/totem-properties-main.c
index 576198ea8..2bbd520c3 100644
--- a/extensions/audio-video-properties/totem-properties-main.c
+++ b/extensions/audio-video-properties/totem-properties-main.c
@@ -26,6 +26,7 @@
#include <gst/gst.h>
#include "totem-properties-view.h"
+#include "totem-gst-helpers.h"
#include <nautilus-extension.h>
#define WANT_MIME_TYPES 1
@@ -76,6 +77,7 @@ static gpointer
init_backend (gpointer data)
{
gst_init (NULL, NULL);
+ totem_gst_disable_display_decoders ();
return NULL;
}