mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
rtpmp4adepay: output should be framed already
This commit is contained in:
parent
11a8aa91b8
commit
6e5f789fa0
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
GST_PAD_SRC,
|
GST_PAD_SRC,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS ("audio/mpeg,"
|
GST_STATIC_CAPS ("audio/mpeg,"
|
||||||
"mpegversion = (int) 4," "framed = (boolean) false")
|
"mpegversion = (int) 4," "framed = (boolean) true")
|
||||||
);
|
);
|
||||||
|
|
||||||
static GstStaticPadTemplate gst_rtp_mp4a_depay_sink_template =
|
static GstStaticPadTemplate gst_rtp_mp4a_depay_sink_template =
|
||||||
|
@ -156,7 +156,7 @@ gst_rtp_mp4a_depay_setcaps (GstBaseRTPDepayload * depayload, GstCaps * caps)
|
||||||
|
|
||||||
srccaps = gst_caps_new_simple ("audio/mpeg",
|
srccaps = gst_caps_new_simple ("audio/mpeg",
|
||||||
"mpegversion", G_TYPE_INT, 4,
|
"mpegversion", G_TYPE_INT, 4,
|
||||||
"framed", G_TYPE_BOOLEAN, FALSE, "channels", G_TYPE_INT, channels, NULL);
|
"framed", G_TYPE_BOOLEAN, TRUE, "channels", G_TYPE_INT, channels, NULL);
|
||||||
|
|
||||||
if ((str = gst_structure_get_string (structure, "config"))) {
|
if ((str = gst_structure_get_string (structure, "config"))) {
|
||||||
GValue v = { 0 };
|
GValue v = { 0 };
|
||||||
|
|
Loading…
Reference in a new issue