From 3927d91cf11ca83d675835e26f37a865ec78189a Mon Sep 17 00:00:00 2001 From: David Sansome Date: Tue, 25 May 2010 22:25:04 +0000 Subject: [PATCH] We use decodebin2 on windows now --- src/engines/gstengine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engines/gstengine.cpp b/src/engines/gstengine.cpp index 41249d862..a8134abdf 100644 --- a/src/engines/gstengine.cpp +++ b/src/engines/gstengine.cpp @@ -158,7 +158,7 @@ bool GstEngine::CanDecode(const QUrl &url) { boost::bind(gst_object_unref, _1)); if (!pipeline) return false; GstElement* src = CreateElement("giosrc", pipeline.get()); if (!src) return false; - GstElement* bin = CreateElement("decodebin", pipeline.get()); if (!bin) return false; + GstElement* bin = CreateElement("decodebin2", pipeline.get()); if (!bin) return false; gst_element_link(src, bin); g_signal_connect(G_OBJECT(bin), "new-decoded-pad", G_CALLBACK(CanDecodeNewPadCallback), this);