mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
fdkaacenc: set framed=true on src caps
This fixes muxing in MPEG TS. https://bugzilla.gnome.org/show_bug.cgi?id=772108
This commit is contained in:
parent
b75ec0c433
commit
20caebe6a1
1 changed files with 2 additions and 1 deletions
|
@ -131,7 +131,7 @@ static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src",
|
|||
"rate = (int) { " SAMPLE_RATES " }, "
|
||||
"channels = (int) {1, 2, 3, 4, 5, 6, 8}, "
|
||||
"stream-format = (string) { adts, adif, raw }, "
|
||||
"base-profile = (string) lc")
|
||||
"base-profile = (string) lc, " "framed = (boolean) true")
|
||||
);
|
||||
|
||||
GST_DEBUG_CATEGORY_STATIC (gst_fdkaacenc_debug);
|
||||
|
@ -438,6 +438,7 @@ gst_fdkaacenc_set_format (GstAudioEncoder * enc, GstAudioInfo * info)
|
|||
src_caps = gst_caps_new_simple ("audio/mpeg",
|
||||
"mpegversion", G_TYPE_INT, mpegversion,
|
||||
"channels", G_TYPE_INT, GST_AUDIO_INFO_CHANNELS (info),
|
||||
"framed", G_TYPE_BOOLEAN, TRUE,
|
||||
"rate", G_TYPE_INT, GST_AUDIO_INFO_RATE (info), NULL);
|
||||
|
||||
/* raw */
|
||||
|
|
Loading…
Reference in a new issue