mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
fdkaacenc: set transmux on the fdkaac lib
Not doing so will fail to decode in a simple fdkaacenc ! fdkaacdec pipeline, though would work if this goes through a file. https://bugzilla.gnome.org/show_bug.cgi?id=772067
This commit is contained in:
parent
fed624a208
commit
28a5826fa4
1 changed files with 6 additions and 0 deletions
|
@ -406,6 +406,12 @@ gst_fdkaacenc_set_format (GstAudioEncoder * enc, GstAudioInfo * info)
|
|||
}
|
||||
}
|
||||
|
||||
if ((err = aacEncoder_SetParam (self->enc, AACENC_TRANSMUX,
|
||||
transmux)) != AACENC_OK) {
|
||||
GST_ERROR_OBJECT (self, "Unable to set transmux %d: %d", transmux, err);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if ((err = aacEncoder_SetParam (self->enc, AACENC_BITRATE,
|
||||
bitrate)) != AACENC_OK) {
|
||||
GST_ERROR_OBJECT (self, "Unable to set bitrate %d: %d", bitrate, err);
|
||||
|
|
Loading…
Reference in a new issue