summaryrefslogtreecommitdiffstats
path: root/ext/wavpack/gstwavpackparse.c
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2007-03-22 15:52:51 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2007-03-22 15:52:51 +0000
commit20dd20b2e9e9fb2f395572928ad1ab7b63810120 (patch)
tree46f9644f21b9683ad534163302e69a9a7b8fd550 /ext/wavpack/gstwavpackparse.c
parentbc6a9a97da39273585d7e10ea53a54ee7d65861c (diff)
ext/wavpack/gstwavpackenc.c: Send the new segment event in time format instead of bytes. This allows "wavpackenc ! wa...
Original commit message from CVS: * ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_push_block): Send the new segment event in time format instead of bytes. This allows "wavpackenc ! wavpackdec ! someaudiosink" pipelines. * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_plugin_init): Accept framed and non-framed input, wavpackparse doesn't care. To prevent "wavpackparse ! wavpackparse ! ..." pipelines lower the rank of wavpackparse by one. This allows "wavpackenc ! wavpackparse ! ..." pipelines.
Diffstat (limited to 'ext/wavpack/gstwavpackparse.c')
-rw-r--r--ext/wavpack/gstwavpackparse.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/wavpack/gstwavpackparse.c b/ext/wavpack/gstwavpackparse.c
index c484a10d..7d72f063 100644
--- a/ext/wavpack/gstwavpackparse.c
+++ b/ext/wavpack/gstwavpackparse.c
@@ -56,9 +56,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_wavpack_parse_debug);
static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
- GST_STATIC_CAPS ("audio/x-wavpack, "
- "framed = (boolean) false; "
- "audio/x-wavpack-correction, " "framed = (boolean) false")
+ GST_STATIC_CAPS ("audio/x-wavpack; " "audio/x-wavpack-correction")
);
static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
@@ -1173,7 +1171,7 @@ gboolean
gst_wavpack_parse_plugin_init (GstPlugin * plugin)
{
if (!gst_element_register (plugin, "wavpackparse",
- GST_RANK_PRIMARY, GST_TYPE_WAVPACK_PARSE)) {
+ GST_RANK_PRIMARY - 1, GST_TYPE_WAVPACK_PARSE)) {
return FALSE;
}