mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-31 11:35:24 +01:00
We use decodebin2 on windows now
This commit is contained in:
parent
c59a819068
commit
3927d91cf1
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user