diff options
author | Edward Hervey <bilboed@bilboed.com> | 2006-02-06 18:21:53 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2006-02-06 18:21:53 +0000 |
commit | 2150a6344600487a50fd26a5f29c836662ba5e7b (patch) | |
tree | 1f1b123ca4164cff61e8b616f7b2bd855f6fa454 /ext/bz2/gstbz2enc.c | |
parent | 9ed9318af7289c191035567477e7f12f5db4022e (diff) | |
download | gst-plugins-bad-2150a6344600487a50fd26a5f29c836662ba5e7b.tar.gz gst-plugins-bad-2150a6344600487a50fd26a5f29c836662ba5e7b.tar.bz2 gst-plugins-bad-2150a6344600487a50fd26a5f29c836662ba5e7b.zip |
ext/bz2/gstbz2enc.c: Accepd "ANY" caps. Use "x-bzip" instead of "x-bz2".
Original commit message from CVS:
Reviewed by: Edward Hervey <edward@fluendo.com>
* ext/bz2/gstbz2enc.c: Accepd "ANY" caps. Use "x-bzip" instead of
"x-bz2".
* ext/bz2/gstbz2dec.c: Use "x-bzip" instead of "x-bz2". Initial
caps are "ANY".
(gst_bz2dec_chain): Configure the source pad if we can figure out
the mime type of the decompressed data.
(gst_bz2dec_[get,set]_property):
(gst_bz2dec_class_init: New property "first_buffer_size".
Diffstat (limited to 'ext/bz2/gstbz2enc.c')
-rw-r--r-- | ext/bz2/gstbz2enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bz2/gstbz2enc.c b/ext/bz2/gstbz2enc.c index 34a5e256..63231f34 100644 --- a/ext/bz2/gstbz2enc.c +++ b/ext/bz2/gstbz2enc.c @@ -32,10 +32,10 @@ static GstElementDetails bz2enc_details = GST_ELEMENT_DETAILS ("BZ2 encoder", static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, - GST_STATIC_CAPS ("application/octet-stream")); + GST_STATIC_CAPS ("ANY")); static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS, - GST_STATIC_CAPS ("application/x-bz2")); + GST_STATIC_CAPS ("application/x-bzip")); #define DEFAULT_BLOCK_SIZE 6 #define DEFAULT_BUFFER_SIZE 1024 |