[totem/wip/hadess/properties-vaapi-crash-fix: 10/10] properties: Fix possible crash when VA-API is installed



commit 46ad3b0b671f7606afcaef734da3249cffbf6e9a
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Jan 10 13:36:28 2019 +0100

    properties: Fix possible crash when VA-API is installed
    
    Use totem_gst_disable_display_decoders() to disable a number of decoders
    that would cause crashes in nautilus under some circumstances.
    
    Closes: #281
    See: https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/issues/128

 src/totem-properties-main.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/totem-properties-main.c b/src/totem-properties-main.c
index 124a37ac..4a60489a 100644
--- a/src/totem-properties-main.c
+++ b/src/totem-properties-main.c
@@ -30,6 +30,7 @@
 #define GST_USE_UNSTABLE_API 1
 #include <gst/gst.h>
 
+#include "gst/totem-gst-helpers.h"
 #include "totem-properties-view.h"
 #include <libnautilus-extension/nautilus-extension-types.h>
 #include <libnautilus-extension/nautilus-property-page-provider.h>
@@ -82,6 +83,7 @@ static gpointer
 init_backend (gpointer data)
 {
        gst_init (NULL, NULL);
+       totem_gst_disable_display_decoders ();
        return NULL;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]