From 389d2972f5a48fa53986f5a200fac6cc0909c805 Mon Sep 17 00:00:00 2001 From: David Sansome Date: Thu, 25 Sep 2014 23:08:17 +1000 Subject: [PATCH] Use decodebin in the transcoder (decodebin2 doesn't exist in gst-1.0). --- src/transcoder/transcoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transcoder/transcoder.cpp b/src/transcoder/transcoder.cpp index 7457e6a76..fcb9a75ca 100644 --- a/src/transcoder/transcoder.cpp +++ b/src/transcoder/transcoder.cpp @@ -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(