We use decodebin2 on windows now

This commit is contained in:
David Sansome 2010-05-25 22:25:04 +00:00
parent c59a819068
commit 3927d91cf1
1 changed files with 1 additions and 1 deletions

View File

@ -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);