summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/faad/gstfaad.c1
-rw-r--r--ext/mplex/gstmplex.cc1
-rw-r--r--ext/shout/gstshout.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c
index 56f38a4e..3be8fd92 100644
--- a/ext/faad/gstfaad.c
+++ b/ext/faad/gstfaad.c
@@ -404,6 +404,7 @@ gst_faad_chain (GstPad *pad,
gst_buffer_unref (buf);
return;
}
+
if (info.samplerate != faad->samplerate ||
info.channels != faad->channels) {
faad->samplerate = info.samplerate;
diff --git a/ext/mplex/gstmplex.cc b/ext/mplex/gstmplex.cc
index ecf0ac2e..c63d1801 100644
--- a/ext/mplex/gstmplex.cc
+++ b/ext/mplex/gstmplex.cc
@@ -87,6 +87,7 @@ GST_PAD_TEMPLATE_FACTORY (audio_sink_factory,
GST_CAPS_NEW (
"sink_audio",
"audio/mpeg",
+ "mpegversion", GST_PROPS_INT (1),
"layer", GST_PROPS_INT_RANGE (1, 3)
)
)
diff --git a/ext/shout/gstshout.c b/ext/shout/gstshout.c
index 2af0bc99..144835fe 100644
--- a/ext/shout/gstshout.c
+++ b/ext/shout/gstshout.c
@@ -77,6 +77,7 @@ sink_template_factory (void)
"icecastsend_sink",
"audio/mpeg",
gst_props_new (
+ "mpegversion", GST_PROPS_INT (1),
"layer", GST_PROPS_INT_RANGE (1, 3),
NULL
)),