Vincent Penquerc'h [Wed, 28 Jan 2015 16:43:59 +0000 (16:43 +0000)]
opusenc: change audio property to audio-type
This is now an enum with values generic (default) and voice.
https://bugzilla.gnome.org/show_bug.cgi?id=740891
Thiago Santos [Thu, 18 Dec 2014 00:52:13 +0000 (21:52 -0300)]
opusenc: plug ref leak of template caps
the pad template caps is already a new ref. No need to copy.
Vincent Penquerc'h [Tue, 10 Jun 2014 08:33:40 +0000 (09:33 +0100)]
opusenc: update output segment stop time to match clipped samples
This will let oggmux generate a granpos on the last page that properly
represents the clipped samples at the end of the stream.
Tim-Philipp Müller [Wed, 10 Sep 2014 16:24:39 +0000 (17:24 +0100)]
Fix up one-element lists in template caps
Sebastian Rasmussen [Fri, 8 Aug 2014 12:08:19 +0000 (14:08 +0200)]
opusenc: Unref pad template caps after usage
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734517
Sebastian Rasmussen [Sat, 9 Aug 2014 12:24:59 +0000 (14:24 +0200)]
opus: Improve annotation of internal function
https://bugzilla.gnome.org/show_bug.cgi?id=734543
Philip Withnall [Thu, 10 Jul 2014 14:52:46 +0000 (15:52 +0100)]
opus: Fix a double-unref in the Opus header code
The headers were never getting reffed when being added to the headers
list, which is later unreffed-and-freed by the caller (e.g.
gst_opus_parse_parse_frame()).
https://bugzilla.gnome.org/show_bug.cgi?id=733013
Miguel París Díaz [Sat, 10 May 2014 16:32:28 +0000 (18:32 +0200)]
opusenc: Use aux vars to minimize critical region
This avoid dead lock between gst_audio_encoder_finish_frame() and
gst_opus_enc_get_property().
Also, now bytes var is set into protected section.
https://bugzilla.gnome.org/show_bug.cgi?id=729882
Vincent Penquerc'h [Wed, 9 Apr 2014 10:02:00 +0000 (11:02 +0100)]
opus: add missing va_end in variadic function
Coverity 1139944
Sebastian Dröge [Sat, 8 Feb 2014 19:08:29 +0000 (20:08 +0100)]
opus: Remove unused variable from unit test
Vincent Penquerc'h [Fri, 27 Dec 2013 14:29:46 +0000 (14:29 +0000)]
opusenc: increase max payload size to 4000 bytes
1275 is the maximum size of a frame, but the encoder may return
up to 3 frames, and we need a few extra bytes for TOC, etc. We
use 4000, which is a bit more, and suggested in the libopus docs.
Sebastian Dröge [Thu, 5 Dec 2013 11:04:59 +0000 (12:04 +0100)]
opusdec: Require caps to be set before any data processing
Sebastian Dröge [Wed, 15 May 2013 08:18:01 +0000 (10:18 +0200)]
opus: Fix event handling in unit test
Sebastian Dröge [Wed, 24 Oct 2012 10:16:39 +0000 (12:16 +0200)]
gst: Add better support for static plugins
Tim-Philipp Müller [Wed, 27 Mar 2013 22:24:03 +0000 (22:24 +0000)]
Merge SBC decoder and encoder from bluez
https://bugzilla.gnome.org/show_bug.cgi?id=690582
Marcel Holtmann [Thu, 23 Aug 2007 19:12:23 +0000 (19:12 +0000)]
sbc: Add SBC encoder and decoder skeletons for GStreamer
Wim Taymans [Mon, 11 Feb 2013 10:06:32 +0000 (11:06 +0100)]
opusdec: clear the state of the decoder
Set the channels and rate back to their default values in _stop because they
are used to renegotiate when needed.
See https://bugzilla.gnome.org/show_bug.cgi?id=692950
Tim-Philipp Müller [Mon, 28 Jan 2013 14:12:56 +0000 (14:12 +0000)]
opusenc: fix crash when setting "cbr" property when encoder is not running yet
https://bugzilla.gnome.org/show_bug.cgi?id=692698
Thijs Vermeir [Tue, 18 Dec 2012 15:56:28 +0000 (16:56 +0100)]
opus: use appropriate printf format for gsize
Tim-Philipp Müller [Sat, 3 Nov 2012 20:38:00 +0000 (20:38 +0000)]
Fix FSF address
https://bugzilla.gnome.org/show_bug.cgi?id=687520
Carlos Rafael Giani [Wed, 24 Oct 2012 21:40:20 +0000 (23:40 +0200)]
opusdec: fixed buffer unmapping bug
When the decoder received a NULL buffer, it tried to
unmap a not mapped buffer.
https://bugzilla.gnome.org/show_bug.cgi?id=686829
Tim-Philipp Müller [Wed, 17 Oct 2012 16:34:26 +0000 (17:34 +0100)]
Use gst_element_class_set_static_metadata()
where possible. Avoids some string copies. Also re-indent
some stuff. Also some indent fixes here and there.
Olivier Crête [Thu, 20 Sep 2012 22:42:50 +0000 (18:42 -0400)]
opusenc: Rank as Primary
Mark Nauwelaerts [Fri, 14 Sep 2012 15:08:49 +0000 (17:08 +0200)]
replace gst_element_class_set_details_simple with gst_element_class_set_metadata
Peter Korsgaard [Wed, 12 Sep 2012 07:10:35 +0000 (09:10 +0200)]
opus + jpegformat: unbreak non-debug build
opus + jpegformat plugin builds fail when gstreamer is configured with
--disable-gst-debug as they are checking the GST_DISABLE_DEBUG symbol
instead of GST_DISABLE_GST_DEBUG.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
https://bugzilla.gnome.org/show_bug.cgi?id=683850
Olivier Crête [Tue, 11 Sep 2012 22:02:28 +0000 (18:02 -0400)]
test: Flush opus encoder between tests
Olivier Crête [Tue, 11 Sep 2012 22:01:58 +0000 (18:01 -0400)]
test: Flush opus encoder between tests
Mark Nauwelaerts [Tue, 11 Sep 2012 12:31:49 +0000 (14:31 +0200)]
opusenc: port to the new GLib thread API
Tim-Philipp Müller [Sat, 4 Aug 2012 15:31:30 +0000 (16:31 +0100)]
gst_tag_list_free -> gst_tag_list_unref
Vincent Penquerc'h [Fri, 15 Jun 2012 09:32:39 +0000 (10:32 +0100)]
opusenc: add missing mutex unlock on error path
Vincent Penquerc'h [Fri, 15 Jun 2012 09:24:24 +0000 (10:24 +0100)]
opus: set author to myself, and update copyright notices
because as slomo noted, in fact pretty much all the code in there is mine.
Vincent Penquerc'h [Tue, 29 May 2012 16:24:02 +0000 (17:24 +0100)]
opusdec: read gain from the right place in the header
It's at byte offset 16, not 14.
Vincent Penquerc'h [Sun, 27 May 2012 22:41:24 +0000 (23:41 +0100)]
opusdec: do not assert on bad header, error out instead
Vincent Penquerc'h [Thu, 24 May 2012 21:12:56 +0000 (22:12 +0100)]
opus: reject major version number above what we grok
Vincent Penquerc'h [Thu, 24 May 2012 20:58:44 +0000 (21:58 +0100)]
opus: bump written version from 0 to 0x01
as per the spec update at https://wiki.xiph.org/OggOpus#ID_Header
Vincent Penquerc'h [Mon, 30 Apr 2012 13:40:02 +0000 (14:40 +0100)]
opusdec: fix lost packet handling for FEC/PLC
The base audio decoder sends zero size packets, not NULL buffers,
to signal dropped packets.
Edward Hervey [Wed, 4 Apr 2012 09:51:28 +0000 (11:51 +0200)]
opus: Handle GstByteWriter return values
Mark Nauwelaerts [Tue, 10 Apr 2012 15:24:05 +0000 (17:24 +0200)]
tests: port some more to 1.0
Mark Nauwelaerts [Tue, 10 Apr 2012 15:22:44 +0000 (17:22 +0200)]
opusdec: tweak caps negotiation
... so as to avoid leaking caps or manipulating NULL caps.
Mark Nauwelaerts [Fri, 6 Apr 2012 12:52:12 +0000 (14:52 +0200)]
Merge remote-tracking branch 'origin/0.10'
Conflicts:
gst/h264parse/gsth264parse.c
gst/videoparsers/gsth264parse.c
Thibault Saunier [Thu, 5 Apr 2012 21:15:11 +0000 (17:15 -0400)]
Merge remote-tracking branch 'origin/0.10'
Sebastian Dröge [Thu, 5 Apr 2012 16:02:56 +0000 (18:02 +0200)]
gst: Update for GST_PLUGIN_DEFINE() API changes
Sebastian Dröge [Wed, 4 Apr 2012 12:41:22 +0000 (14:41 +0200)]
gst: Update versioning
Sebastian Dröge [Wed, 4 Apr 2012 10:06:08 +0000 (12:06 +0200)]
Merge remote-tracking branch 'origin/0.10'
Sebastian Dröge [Mon, 2 Apr 2012 13:31:38 +0000 (15:31 +0200)]
Merge remote-tracking branch 'origin/0.10'
Conflicts:
gst/mpegtsdemux/tsdemux.c
Mark Nauwelaerts [Fri, 30 Mar 2012 15:09:34 +0000 (17:09 +0200)]
opusenc: fixup merge
Sebastian Dröge [Fri, 30 Mar 2012 10:22:48 +0000 (12:22 +0200)]
ext: Update for GstAudioEncoder API changes
Sebastian Dröge [Thu, 29 Mar 2012 16:04:36 +0000 (18:04 +0200)]
Merge branch 'master' of ssh://git.freedesktop.org/git/gstreamer/gst-plugins-bad
Sebastian Dröge [Thu, 29 Mar 2012 15:41:53 +0000 (17:41 +0200)]
Merge remote-tracking branch 'origin/0.10'
Conflicts:
NEWS
RELEASE
common
configure.ac
docs/libs/gst-plugins-bad-libs-sections.txt
docs/plugins/gst-plugins-bad-plugins.args
docs/plugins/gst-plugins-bad-plugins.hierarchy
docs/plugins/gst-plugins-bad-plugins.interfaces
docs/plugins/inspect/plugin-adpcmdec.xml
docs/plugins/inspect/plugin-adpcmenc.xml
docs/plugins/inspect/plugin-assrender.xml
docs/plugins/inspect/plugin-audiovisualizers.xml
docs/plugins/inspect/plugin-autoconvert.xml
docs/plugins/inspect/plugin-bayer.xml
docs/plugins/inspect/plugin-bz2.xml
docs/plugins/inspect/plugin-camerabin2.xml
docs/plugins/inspect/plugin-celt.xml
docs/plugins/inspect/plugin-dataurisrc.xml
docs/plugins/inspect/plugin-debugutilsbad.xml
docs/plugins/inspect/plugin-dtmf.xml
docs/plugins/inspect/plugin-dtsdec.xml
docs/plugins/inspect/plugin-dvbsuboverlay.xml
docs/plugins/inspect/plugin-dvdspu.xml
docs/plugins/inspect/plugin-faac.xml
docs/plugins/inspect/plugin-faad.xml
docs/plugins/inspect/plugin-gsm.xml
docs/plugins/inspect/plugin-h264parse.xml
docs/plugins/inspect/plugin-mms.xml
docs/plugins/inspect/plugin-modplug.xml
docs/plugins/inspect/plugin-mpeg2enc.xml
docs/plugins/inspect/plugin-mpegdemux2.xml
docs/plugins/inspect/plugin-mpegtsdemux.xml
docs/plugins/inspect/plugin-mpegvideoparse.xml
docs/plugins/inspect/plugin-mplex.xml
docs/plugins/inspect/plugin-pcapparse.xml
docs/plugins/inspect/plugin-rawparse.xml
docs/plugins/inspect/plugin-rtpmux.xml
docs/plugins/inspect/plugin-rtpvp8.xml
docs/plugins/inspect/plugin-scaletempo.xml
docs/plugins/inspect/plugin-schro.xml
docs/plugins/inspect/plugin-sdp.xml
docs/plugins/inspect/plugin-segmentclip.xml
docs/plugins/inspect/plugin-shm.xml
docs/plugins/inspect/plugin-videomaxrate.xml
docs/plugins/inspect/plugin-videoparsersbad.xml
docs/plugins/inspect/plugin-vp8.xml
docs/plugins/inspect/plugin-y4mdec.xml
ext/celt/gstceltdec.c
ext/dts/gstdtsdec.c
ext/modplug/gstmodplug.cc
ext/opus/gstopusenc.c
gst-libs/gst/video/gstbasevideocodec.c
gst-libs/gst/video/gstbasevideocodec.h
gst-libs/gst/video/gstbasevideodecoder.c
gst-libs/gst/video/gstbasevideodecoder.h
gst-libs/gst/video/gstbasevideoencoder.c
gst-libs/gst/video/gstbasevideoencoder.h
gst/adpcmdec/Makefile.am
gst/audiovisualizers/gstbaseaudiovisualizer.c
gst/h264parse/gsth264parse.c
gst/mpegdemux/mpegtsparse.c
gst/mpegtsdemux/mpegtsbase.c
gst/mpegtsdemux/mpegtspacketizer.c
gst/mpegtsdemux/mpegtsparse.c
gst/mpegtsdemux/tsdemux.c
gst/mpegtsdemux/tsdemux.h
gst/mxf/mxfdemux.c
gst/rawparse/gstaudioparse.c
gst/videoparsers/gsth263parse.c
gst/videoparsers/gsth264parse.c
sys/d3dvideosink/d3dvideosink.c
sys/decklink/gstdecklinksink.cpp
sys/dvb/gstdvbsrc.c
sys/shm/gstshmsrc.c
sys/vdpau/h264/gstvdph264dec.c
sys/vdpau/mpeg/gstvdpmpegdec.c
tests/examples/opencv/gst_element_print_properties.c
win32/common/config.h
Olivier Crête [Tue, 27 Mar 2012 19:13:24 +0000 (15:13 -0400)]
opus: Rank rtp pay/depay
This way they can be auto-plugged.
Wim Taymans [Mon, 12 Mar 2012 16:06:11 +0000 (17:06 +0100)]
opusdec: fix for caps api change
Wim Taymans [Thu, 8 Mar 2012 10:32:27 +0000 (11:32 +0100)]
tests: fix more caps
Mark Nauwelaerts [Wed, 7 Mar 2012 16:14:29 +0000 (17:14 +0100)]
opus: port to updated 0.11
Mark Nauwelaerts [Wed, 7 Mar 2012 11:59:28 +0000 (12:59 +0100)]
opusenc: only request and process 1 frame at a time
... since it is specified in _finish_frame that input buffer may be invalidated
after calling it, and is as such not reliably available for further encoding.
Also, requesting or allowing several frames is only useful if subclass intends
to process these "in 1 run" (as in, 1 output buffer), not for having another
(inner) loop in subclass where the baseclass one will do just fine.
Mark Nauwelaerts [Wed, 7 Mar 2012 11:55:43 +0000 (12:55 +0100)]
opusenc: configure baseclass requested samples really in samples
... as opposed to bytes.
Wim Taymans [Mon, 27 Feb 2012 12:13:14 +0000 (13:13 +0100)]
audioencoders: chain up to parent event handler
Wim Taymans [Tue, 21 Feb 2012 09:06:16 +0000 (10:06 +0100)]
Merge branch 'master' into 0.11
Conflicts:
gst/colorspace/colorspace.c
Wim Taymans [Mon, 20 Feb 2012 15:07:50 +0000 (16:07 +0100)]
Merge branch 'master' into 0.11
Conflicts:
ext/opus/gstopusparse.c
gst/colorspace/colorspace.c
Wim Taymans [Fri, 17 Feb 2012 08:01:56 +0000 (09:01 +0100)]
Merge branch 'master' into 0.11
Wim Taymans [Thu, 16 Feb 2012 13:33:20 +0000 (14:33 +0100)]
Merge branch 'master' into 0.11
Conflicts:
gst/mpegtsdemux/mpegtsbase.c
gst/mpegtsdemux/mpegtspacketizer.c
gst/mpegtsdemux/tsdemux.c
gst/mve/gstmvedemux.c
Mark Nauwelaerts [Wed, 15 Feb 2012 16:14:34 +0000 (17:14 +0100)]
Merge branch 'master' into 0.11
Wim Taymans [Tue, 14 Feb 2012 10:19:04 +0000 (11:19 +0100)]
Merge branch 'master' into 0.11
Wim Taymans [Fri, 10 Feb 2012 15:46:50 +0000 (16:46 +0100)]
Merge branch 'master' into 0.11
Conflicts:
ext/chromaprint/gstchromaprint.c
ext/mpeg2enc/Makefile.am
ext/voaacenc/gstvoaacenc.c
gst/dvbsuboverlay/gstdvbsuboverlay.c
gst/mpegtsdemux/mpegtsbase.c
gst/sdp/gstsdpdemux.c
gst/videoparsers/gsth264parse.c
sys/d3dvideosink/d3dvideosink.c
tests/examples/camerabin/gst-camera-perf.c
tests/examples/camerabin/gst-camerabin-test.c
tests/examples/camerabin2/gst-camerabin2-test.c
tests/examples/mxf/mxfdemux-structure.c
tests/examples/scaletempo/demo-main.c
Tim-Philipp Müller [Fri, 3 Feb 2012 00:50:33 +0000 (00:50 +0000)]
build: fix CFLAGS order and LIBS order
_BAD_CFLAGS should always come first, then GST_PLUGINS_BASE_CFLAGS,
then GST_BASE_CFLAGS then GST_CFLAGS. Same for libs: first plugins
base libs, then GST_BASE_LIB then GST_LIBS.
Vincent Penquerc'h [Fri, 27 Jan 2012 14:49:58 +0000 (14:49 +0000)]
plenty: fixup glib deprecations
Sebastian Dröge [Wed, 25 Jan 2012 12:22:43 +0000 (13:22 +0100)]
Merge branch 'master' into 0.11
Conflicts:
configure.ac
ext/kate/gstkateenc.c
gst/colorspace/colorspace.c
gst/mpegvideoparse/mpegvideoparse.c
Tim-Philipp Müller [Fri, 13 Jan 2012 00:11:54 +0000 (00:11 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11
Vincent Penquerc'h [Wed, 11 Jan 2012 13:32:36 +0000 (13:32 +0000)]
tests: fix buffer leaks in opus tests
Sebastian Dröge [Tue, 10 Jan 2012 14:50:37 +0000 (15:50 +0100)]
Merge branch 'master' into 0.11
Conflicts:
gst/mpegtsdemux/tsdemux.c
gst/videoparsers/gsth264parse.c
tests/check/elements/camerabin2.c
Vincent Penquerc'h [Tue, 10 Jan 2012 13:38:50 +0000 (13:38 +0000)]
opusenc: fix slist leak
Vincent Penquerc'h [Tue, 10 Jan 2012 13:38:42 +0000 (13:38 +0000)]
opusenc: fix caps leak
Edward Hervey [Fri, 30 Dec 2011 10:49:27 +0000 (11:49 +0100)]
Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
tests/examples/camerabin2/Makefile.am
Edward Hervey [Fri, 30 Dec 2011 10:41:17 +0000 (11:41 +0100)]
Merge remote-tracking branch 'origin/master' into 0.11-premerge
Conflicts:
docs/libs/Makefile.am
ext/kate/gstkatetiger.c
ext/opus/gstopusdec.c
ext/xvid/gstxvidenc.c
gst-libs/gst/basecamerabinsrc/Makefile.am
gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.c
gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.h
gst-libs/gst/video/gstbasevideocodec.c
gst-libs/gst/video/gstbasevideocodec.h
gst-libs/gst/video/gstbasevideodecoder.c
gst-libs/gst/video/gstbasevideoencoder.c
gst/asfmux/gstasfmux.c
gst/audiovisualizers/gstwavescope.c
gst/camerabin2/gstcamerabin2.c
gst/debugutils/gstcompare.c
gst/frei0r/gstfrei0rmixer.c
gst/mpegpsmux/mpegpsmux.c
gst/mpegtsmux/mpegtsmux.c
gst/mxf/mxfmux.c
gst/videomeasure/gstvideomeasure_ssim.c
gst/videoparsers/gsth264parse.c
gst/videoparsers/gstmpeg4videoparse.c
Vincent Penquerc'h [Thu, 15 Dec 2011 16:42:20 +0000 (16:42 +0000)]
opus: fix bad merge (stray unmap, undeclared var)
Vincent Penquerc'h [Fri, 9 Dec 2011 17:25:41 +0000 (17:25 +0000)]
opusenc: add upstream negotiation for multistream ability
This will help elements that cannot deal with multistream,
such as the RTP payloader.
The caps now do not include a "streams" field anymore, but
a "multistream" boolean, since we have no real use for knowing
the exact amount of streams.
https://bugzilla.gnome.org/show_bug.cgi?id=665078
Danilo Cesar Lemes de Paula [Wed, 7 Dec 2011 17:13:11 +0000 (15:13 -0200)]
Adding opus RTP payloader/depayloader element
Adding OPUS RTP module based on the current draft:
http://tools.ietf.org/id/draft-spittka-payload-rtp-opus-00.txt
https://bugzilla.gnome.org/show_bug.cgi?id=664817
Vincent Penquerc'h [Thu, 8 Dec 2011 19:47:55 +0000 (19:47 +0000)]
opus: include streams count in caps
https://bugzilla.gnome.org/show_bug.cgi?id=665078
Vincent Penquerc'h [Thu, 8 Dec 2011 18:45:27 +0000 (18:45 +0000)]
opus: properly create channel mapping tables
There are two of them, unintuitively enough; the one passed
to the encoder should not be the one that gets written to the
file. The former maps the input to an ordering which puts
paired channels first, while the latter moves the channels
to Vorbis order. So add code to calculate both, and we now
have properly paired channels where appropriate.
https://bugzilla.gnome.org/show_bug.cgi?id=665078
Olivier Crête [Wed, 7 Dec 2011 05:06:11 +0000 (00:06 -0500)]
opusdec: header cleanup
https://bugzilla.gnome.org/show_bug.cgi?id=665078
Olivier Crête [Wed, 7 Dec 2011 05:06:11 +0000 (00:06 -0500)]
opusdec: Truncate caps first
https://bugzilla.gnome.org/show_bug.cgi?id=665078
Vincent Penquerc'h [Mon, 28 Nov 2011 19:47:34 +0000 (19:47 +0000)]
opusdec: default to stereo 48000 Hz if possible when no headers seen
https://bugzilla.gnome.org/show_bug.cgi?id=665078
Vincent Penquerc'h [Mon, 28 Nov 2011 19:38:34 +0000 (19:38 +0000)]
opusdec: guard against decoding 0 samples
https://bugzilla.gnome.org/show_bug.cgi?id=665078
Tim-Philipp Müller [Mon, 28 Nov 2011 23:20:58 +0000 (23:20 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11
Tim-Philipp Müller [Mon, 28 Nov 2011 23:20:32 +0000 (23:20 +0000)]
Tim-Philipp Müller [Mon, 28 Nov 2011 23:20:02 +0000 (23:20 +0000)]
Merge commit '
26d6add9457f00ce8ec13844368466f0e3816e5d' into 0.11
Conflicts:
ext/rtmp/gstrtmpsink.c
Vincent Penquerc'h [Mon, 28 Nov 2011 13:08:27 +0000 (13:08 +0000)]
various: fix pad template ref leaks
https://bugzilla.gnome.org/show_bug.cgi?id=662664
Tim-Philipp Müller [Sun, 27 Nov 2011 23:33:45 +0000 (23:33 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11
Tim-Philipp Müller [Sat, 26 Nov 2011 15:37:25 +0000 (15:37 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
ext/opus/gstopusdec.c
ext/opus/gstopusparse.c
gst-libs/gst/video/gstbasevideodecoder.c
gst-libs/gst/video/gstbasevideodecoder.h
Danilo Cesar Lemes de Paula [Fri, 25 Nov 2011 13:41:19 +0000 (11:41 -0200)]
opusenc: Fixing "Unused var" compiling error for opus codec
https://bugzilla.gnome.org/show_bug.cgi?id=664815
Vincent Penquerc'h [Fri, 25 Nov 2011 14:00:18 +0000 (14:00 +0000)]
opusenc: only use mono streams for > 2 channels
I'm getting odd results with packing streams into stereo
streams, and using only mono streams is enough in all cases.
Vincent Penquerc'h [Fri, 25 Nov 2011 12:47:42 +0000 (12:47 +0000)]
opus: add some more debug information about channel mapping
Vincent Penquerc'h [Fri, 25 Nov 2011 12:40:31 +0000 (12:40 +0000)]
opusenc: do not cause the decoder to apply the channel mapping again
Since we already reorder channels, we do not want to write that
reordering in the header, or the decoder will do it again.
Vincent Penquerc'h [Fri, 25 Nov 2011 12:39:20 +0000 (12:39 +0000)]
opusdec: fix bogus assertion
Edward Hervey [Fri, 25 Nov 2011 11:48:58 +0000 (12:48 +0100)]
Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
ext/faac/gstfaac.c
ext/opus/gstopusdec.c
ext/opus/gstopusenc.c
gst/audiovisualizers/gstspacescope.c
gst/colorspace/colorspace.c
Vincent Penquerc'h [Thu, 24 Nov 2011 13:38:59 +0000 (13:38 +0000)]
opus: pre-skip and output gain are little endian, remove reminder note
Vincent Penquerc'h [Thu, 24 Nov 2011 13:29:56 +0000 (13:29 +0000)]
opus: multichannel support
Vincent Penquerc'h [Wed, 23 Nov 2011 17:49:58 +0000 (17:49 +0000)]
opus: switch to multistream API
It's very similar to the basic API, and is a superset ot it,
which will allow encoding and decoding more than 2 channels.
Vincent Penquerc'h [Wed, 23 Nov 2011 17:32:03 +0000 (17:32 +0000)]
opusdec: shuffle supported sample rates to favor 48000
Vincent Penquerc'h [Wed, 23 Nov 2011 16:36:54 +0000 (16:36 +0000)]
opusenc: remove useless setup field
Vincent Penquerc'h [Wed, 23 Nov 2011 13:22:12 +0000 (13:22 +0000)]
opusdec: implement replay gain
It would ideally be better to leave this to a rgvolume element,
but we don't control the pipeline. So do it by default, and allow
disabling it via a property, so the correct volume should always
be output.