Use mp4mux instead of ffmux_mp4 when transcoding to aac
(cherry picked from commit d9c4e0844de12c973b9d9730c59bda91a55210b4)
This commit is contained in:
parent
cced6cfc49
commit
a6e3b2210e
@ -82,10 +82,10 @@ GstElement* Transcoder::CreateElementForMimeType(const QString& element_type,
|
|||||||
GstElement* bin) {
|
GstElement* bin) {
|
||||||
if (mime_type.isEmpty()) return nullptr;
|
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") {
|
if (mime_type == "audio/mp4") {
|
||||||
LogLine(QString("Using '%1' (rank %2)").arg("ffmux_mp4").arg(-1));
|
LogLine(QString("Using '%1' (rank %2)").arg("mp4mux").arg(-1));
|
||||||
return CreateElement("ffmux_mp4", bin);
|
return CreateElement("mp4mux", bin);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Keep track of all the suitable elements we find and figure out which
|
// Keep track of all the suitable elements we find and figure out which
|
||||||
|
Loading…
x
Reference in New Issue
Block a user