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:
parent
e77c520ddd
commit
389d2972f5
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user