summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/totem-object.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/totem-object.c b/src/totem-object.c
index e89662fff..c8e6a8209 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -47,6 +47,7 @@
#include <string.h>
+#include "gst/totem-gst-helpers.h"
#include "totem.h"
#include "totem-private.h"
#include "totem-options.h"
@@ -4249,6 +4250,9 @@ video_widget_create (TotemObject *totem)
{
GError *err = NULL;
+ if (g_settings_get_boolean (totem->settings, "force-software-decoders"))
+ totem_gst_disable_hardware_decoders ();
+
if (!bacon_video_widget_check_init (totem->bvw, &err)) {
totem_object_show_error_and_exit (_("Totem could not startup."), err != NULL ? err->message : _("No reason."), totem);
if (err != NULL)