Use mp4mux instead of ffmux_mp4 when transcoding to aac

This commit is contained in:
Mattias Andersson 2016-01-12 15:59:23 +01:00
parent c4c094aa71
commit d9c4e0844d
1 changed files with 3 additions and 3 deletions

View File

@ -82,10 +82,10 @@ GstElement* Transcoder::CreateElementForMimeType(const QString& element_type,
GstElement* bin) {
if (mime_type.isEmpty()) return nullptr;
// HACK: Force ffmux_mp4 because it doesn't set any useful src caps
// HACK: Force mp4mux because it doesn't set any useful src caps
if (mime_type == "audio/mp4") {
LogLine(QString("Using '%1' (rank %2)").arg("ffmux_mp4").arg(-1));
return CreateElement("ffmux_mp4", bin);
LogLine(QString("Using '%1' (rank %2)").arg("mp4mux").arg(-1));
return CreateElement("mp4mux", bin);
}
// Keep track of all the suitable elements we find and figure out which