summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
Diffstat (limited to 'gst')
-rw-r--r--gst/mpegaudioparse/gstmpegaudioparse.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gst/mpegaudioparse/gstmpegaudioparse.c b/gst/mpegaudioparse/gstmpegaudioparse.c
index 0ce2942d..2dc68932 100644
--- a/gst/mpegaudioparse/gstmpegaudioparse.c
+++ b/gst/mpegaudioparse/gstmpegaudioparse.c
@@ -60,11 +60,12 @@ mp3_sink_factory (void)
"sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
- gst_caps_new (
+ GST_CAPS_NEW (
"mp3parse_sink",
"audio/mpeg",
- NULL),
- NULL);
+ "mpegversion", GST_PROPS_INT (1)
+ )
+ );
};
/* GstMPEGAudioParse signals and args */