1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-31 03:27:40 +01:00

Use decodebin in the transcoder (decodebin2 doesn't exist in gst-1.0).

This commit is contained in:
David Sansome 2014-09-25 23:08:17 +10:00
parent e77c520ddd
commit 389d2972f5

View File

@ -407,7 +407,7 @@ bool Transcoder::StartJob(const Job& job) {
// Create all the elements
GstElement* src = CreateElement("filesrc", state->pipeline_);
GstElement* decode = CreateElement("decodebin2", state->pipeline_);
GstElement* decode = CreateElement("decodebin", state->pipeline_);
GstElement* convert = CreateElement("audioconvert", state->pipeline_);
GstElement* resample = CreateElement("audioresample", state->pipeline_);
GstElement* codec = CreateElementForMimeType(