summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtpmpapay.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2008-10-30 10:31:35 +0000
committerWim Taymans <wim.taymans@gmail.com>2008-10-30 10:31:35 +0000
commitd1dc70efd8cd171a671fd077b4b824d432eb5edf (patch)
tree3d071a6eec69be8841a23b052b9c084a0933b637 /gst/rtp/gstrtpmpapay.c
parent38eac47ec90296a1f3f3a09ec15633b20b672616 (diff)
gst/rtp/: Narrow down the caps of the mpeg audio pay/depayloaders to only accept mpeg version 1. Fixes #558427.
Original commit message from CVS: * gst/rtp/gstrtpmpadepay.c: (gst_rtp_mpa_depay_setcaps): * gst/rtp/gstrtpmpapay.c: Narrow down the caps of the mpeg audio pay/depayloaders to only accept mpeg version 1. Fixes #558427.
Diffstat (limited to 'gst/rtp/gstrtpmpapay.c')
-rw-r--r--gst/rtp/gstrtpmpapay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtp/gstrtpmpapay.c b/gst/rtp/gstrtpmpapay.c
index 200ef382..7b510772 100644
--- a/gst/rtp/gstrtpmpapay.c
+++ b/gst/rtp/gstrtpmpapay.c
@@ -38,7 +38,7 @@ static GstStaticPadTemplate gst_rtp_mpa_pay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
- GST_STATIC_CAPS ("audio/mpeg")
+ GST_STATIC_CAPS ("audio/mpeg, " "mpegversion = (int) 1")
);
static GstStaticPadTemplate gst_rtp_mpa_pay_src_template =