Commit 3d9d2ef8 authored by Bastien Nocera's avatar Bastien Nocera Committed by Carlos Soriano

audio-video-properties: Use totem_gst_disable_display_decoders()

parent f826da0f
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#define GST_USE_UNSTABLE_API 1 #define GST_USE_UNSTABLE_API 1
#include <gst/gst.h> #include <gst/gst.h>
#include <glib/gi18n-lib.h> #include <glib/gi18n-lib.h>
#include "totem-gst-helpers.h"
#include "totem-properties-view.h" #include "totem-properties-view.h"
static GtkWidget *window, *props, *label; static GtkWidget *window, *props, *label;
...@@ -55,6 +56,7 @@ int main (int argc, char **argv) ...@@ -55,6 +56,7 @@ int main (int argc, char **argv)
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE); textdomain (GETTEXT_PACKAGE);
totem_gst_disable_display_decoders ();
gst_init (&argc, &argv); gst_init (&argc, &argv);
gtk_init (&argc, &argv); gtk_init (&argc, &argv);
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include <gst/gst.h> #include <gst/gst.h>
#include "totem-properties-view.h" #include "totem-properties-view.h"
#include "totem-gst-helpers.h"
#include <nautilus-extension.h> #include <nautilus-extension.h>
#define WANT_MIME_TYPES 1 #define WANT_MIME_TYPES 1
...@@ -76,6 +77,7 @@ static gpointer ...@@ -76,6 +77,7 @@ static gpointer
init_backend (gpointer data) init_backend (gpointer data)
{ {
gst_init (NULL, NULL); gst_init (NULL, NULL);
totem_gst_disable_display_decoders ();
return NULL; return NULL;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment