platform/upstream/gstreamer.git
11 years agosbc: port decoder to GstAudioDecoder
Tim-Philipp Müller [Tue, 26 Mar 2013 13:55:32 +0000 (13:55 +0000)]
sbc: port decoder to GstAudioDecoder

https://bugzilla.gnome.org/show_bug.cgi?id=690582

11 years agosbc: import sbc decoder/encoder from bluez and port to 1.0
Tim-Philipp Müller [Wed, 16 Jan 2013 11:36:25 +0000 (11:36 +0000)]
sbc: import sbc decoder/encoder from bluez and port to 1.0

https://bugzilla.gnome.org/show_bug.cgi?id=690582

11 years agoMerge SBC decoder and encoder from bluez
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

11 years agowatchdog: new element
David Schleef [Tue, 26 Mar 2013 23:50:42 +0000 (16:50 -0700)]
watchdog: new element

11 years agosbc: remove parser in favour of new GstBaseParse-based sbcparse in -good
Tim-Philipp Müller [Wed, 27 Mar 2013 00:56:31 +0000 (00:56 +0000)]
sbc: remove parser in favour of new GstBaseParse-based sbcparse in -good

11 years agosbc: sbcdec: make decoder more performant
Wim Taymans [Tue, 8 Jan 2013 09:19:39 +0000 (10:19 +0100)]
sbc: sbcdec: make decoder more performant

Use an adapter to accumulate input buffers.
Decode all input in one output buffer when possible to reduce the amount of push
operations.

11 years agosbc: sbcdec: skip the frame on decoding error
Wim Taymans [Tue, 30 Oct 2012 18:41:56 +0000 (18:41 +0000)]
sbc: sbcdec: skip the frame on decoding error

11 years agosbc: sbcdec: set DISCONT on outgoing buffers.
Wim Taymans [Mon, 29 Oct 2012 17:22:28 +0000 (17:22 +0000)]
sbc: sbcdec: set DISCONT on outgoing buffers.

11 years agosbc: sbcdec: handle DISCONT and timestamps
Wim Taymans [Mon, 29 Oct 2012 17:19:50 +0000 (17:19 +0000)]
sbc: sbcdec: handle DISCONT and timestamps

Reset state on discont.
Interpollate timestamps.

11 years agosbc: audio: Make the sbcdec element copy buffer metadata
Arun Raghavan [Wed, 3 Oct 2012 07:17:14 +0000 (12:47 +0530)]
sbc: audio: Make the sbcdec element copy buffer metadata

Makes sure we don't lose timestamps, etc.

11 years agosbc: enc: sbc_get_frame_duration is in milliseconds
Wim Taymans [Mon, 29 Oct 2012 12:49:53 +0000 (12:49 +0000)]
sbc: enc: sbc_get_frame_duration is in milliseconds

11 years agosbc: dec: chain up to parent before downward state change
Wim Taymans [Mon, 29 Oct 2012 12:37:09 +0000 (12:37 +0000)]
sbc: dec: chain up to parent before downward state change

11 years agosbc: audio: Fix a leak in sbcdec
Arun Raghavan [Fri, 12 Oct 2012 13:23:16 +0000 (18:53 +0530)]
sbc: audio: Fix a leak in sbcdec

11 years agosbc: audio: Initialise SBC data before use in sbcparse element
Arun Raghavan [Wed, 26 Sep 2012 01:54:01 +0000 (09:54 +0800)]
sbc: audio: Initialise SBC data before use in sbcparse element

11 years agosbc: Fix trivial coding style issues on pointer declarations and casting
Anderson Lizardo [Tue, 21 Aug 2012 15:49:24 +0000 (11:49 -0400)]
sbc: Fix trivial coding style issues on pointer declarations and casting

Avoid using C++ style pointer declarations like "char* ptr", as most
BlueZ code uses "char *ptr".

11 years agosbc: audio: Fix newline before EOF
Syam Sidhardhan [Thu, 12 Apr 2012 15:03:06 +0000 (20:33 +0530)]
sbc: audio: Fix newline before EOF

11 years agosbc: Fix common misspelled words
Lucas De Marchi [Sat, 2 Jul 2011 15:32:40 +0000 (12:32 -0300)]
sbc: Fix common misspelled words

Accounting of misspelled words, as detected by codespell:

acording      2
ancilliary    1
appropiate    1
atribute      1
cant          1
comming       2
gracefull     1
lenght        1
mispelled     1
occured       1
occurences    1
ocurred       3
prefered      1
presense      1
reponse       1
seperate      1
succesful     1
successully   1
sucessfull    1
sucessfully   1

11 years agosbc: audio: Remove workaround for compiler warnings
Marcel Holtmann [Mon, 14 Feb 2011 01:51:45 +0000 (17:51 -0800)]
sbc: audio: Remove workaround for compiler warnings

11 years agosbc: Add pragma based workaround for GStreamer warnings
Marcel Holtmann [Wed, 19 May 2010 14:59:30 +0000 (16:59 +0200)]
sbc: Add pragma based workaround for GStreamer warnings

11 years agosbc: Update copyright information
Marcel Holtmann [Sat, 2 Jan 2010 01:08:17 +0000 (17:08 -0800)]
sbc: Update copyright information

11 years agosbc: Remove unused variable.
Luiz Augusto von Dentz [Wed, 1 Apr 2009 13:45:30 +0000 (10:45 -0300)]
sbc: Remove unused variable.

11 years agosbc: Remove unused variable.
Luiz Augusto von Dentz [Wed, 1 Apr 2009 13:29:31 +0000 (10:29 -0300)]
sbc: Remove unused variable.

11 years agosbc: Fix signed/unsigned comparison issue within GStreamer plugin
Marcel Holtmann [Thu, 29 Jan 2009 23:31:15 +0000 (00:31 +0100)]
sbc: Fix signed/unsigned comparison issue within GStreamer plugin

11 years agosbc: Use native byte order for audio in GStreamer and ALSA plugins
Siarhei Siamashka [Mon, 19 Jan 2009 08:26:28 +0000 (10:26 +0200)]
sbc: Use native byte order for audio in GStreamer and ALSA plugins

This fixes endianness inconsistency between default SBC
configuration and GStreamer/ALSA.

11 years agosbc: Update copyright information
Marcel Holtmann [Thu, 1 Jan 2009 18:33:20 +0000 (19:33 +0100)]
sbc: Update copyright information

11 years agosbc: First attempt in fixing compiler warnings (still needs cleanup)
Marcel Holtmann [Tue, 23 Dec 2008 04:25:50 +0000 (05:25 +0100)]
sbc: First attempt in fixing compiler warnings (still needs cleanup)

11 years agosbc: Assign variables after declarations
Marcel Holtmann [Tue, 23 Dec 2008 03:21:57 +0000 (04:21 +0100)]
sbc: Assign variables after declarations

11 years agosbc: More coding style fixes
Johan Hedberg [Sat, 20 Dec 2008 19:42:49 +0000 (21:42 +0200)]
sbc: More coding style fixes

11 years agosbc: Fix runtime warnings of gstreamer plugin.
Luiz Augusto von Dentz [Wed, 20 Feb 2008 13:37:00 +0000 (13:37 +0000)]
sbc: Fix runtime warnings of gstreamer plugin.

11 years agosbc: Update gstreamer plugin to use new sbc API.
Luiz Augusto von Dentz [Tue, 19 Feb 2008 19:49:24 +0000 (19:49 +0000)]
sbc: Update gstreamer plugin to use new sbc API.

11 years agosbc: Make use of parameters selected in alsa plugin and fix auto selection.
Luiz Augusto von Dentz [Thu, 14 Feb 2008 21:22:38 +0000 (21:22 +0000)]
sbc: Make use of parameters selected in alsa plugin and fix auto selection.

11 years agosbc: Update copyright information
Marcel Holtmann [Sat, 2 Feb 2008 03:37:05 +0000 (03:37 +0000)]
sbc: Update copyright information

11 years agosbc: Add bitpool property and others fixes for gstreamer plugin.
Luiz Augusto von Dentz [Fri, 1 Feb 2008 19:28:37 +0000 (19:28 +0000)]
sbc: Add bitpool property and others fixes for gstreamer plugin.

11 years agosbc: Enable gstreamer plugin to use autoconnect flag.
Luiz Augusto von Dentz [Wed, 30 Jan 2008 17:30:27 +0000 (17:30 +0000)]
sbc: Enable gstreamer plugin to use autoconnect flag.

11 years agosbc: Fixes gstreamer caps and code cleanup.
Luiz Augusto von Dentz [Wed, 30 Jan 2008 14:21:43 +0000 (14:21 +0000)]
sbc: Fixes gstreamer caps and code cleanup.

11 years agosbc: Fix gtreamer payloader sending fragmented frames.
Luiz Augusto von Dentz [Thu, 24 Jan 2008 14:25:29 +0000 (14:25 +0000)]
sbc: Fix gtreamer payloader sending fragmented frames.

11 years agosbc: Add mp3 support for gstreamer plugin.
Luiz Augusto von Dentz [Wed, 23 Jan 2008 13:19:32 +0000 (13:19 +0000)]
sbc: Add mp3 support for gstreamer plugin.

11 years agosbc: Make a2dpsink to act like a bin and split the payloader.
Luiz Augusto von Dentz [Wed, 23 Jan 2008 13:14:02 +0000 (13:14 +0000)]
sbc: Make a2dpsink to act like a bin and split the payloader.

11 years agosbc: Code cleanup.
Luiz Augusto von Dentz [Fri, 23 Nov 2007 17:00:13 +0000 (17:00 +0000)]
sbc: Code cleanup.

11 years agosbc: Integrate new ipc API implementation.
Luiz Augusto von Dentz [Wed, 21 Nov 2007 20:24:11 +0000 (20:24 +0000)]
sbc: Integrate new ipc API implementation.

11 years agosbc: Add sbc_reinit.
Luiz Augusto von Dentz [Tue, 13 Nov 2007 20:04:12 +0000 (20:04 +0000)]
sbc: Add sbc_reinit.

11 years agosbc: Fix bug in sbcenc when changing encoder parameters.
Luiz Augusto von Dentz [Mon, 12 Nov 2007 22:21:45 +0000 (22:21 +0000)]
sbc: Fix bug in sbcenc when changing encoder parameters.

11 years agosbc: Make sbc codec to write directly in application buffers and so avoiding memcpys.
Luiz Augusto von Dentz [Mon, 12 Nov 2007 18:15:59 +0000 (18:15 +0000)]
sbc: Make sbc codec to write directly in application buffers and so avoiding memcpys.

11 years agosbc: Fix sbc negotiation and improves buffer handling by using GstAdapter.
Luiz Augusto von Dentz [Thu, 1 Nov 2007 19:45:00 +0000 (19:45 +0000)]
sbc: Fix sbc negotiation and improves buffer handling by using GstAdapter.

11 years agosbc: Fix buffers timestamps in sbcenc.
Luiz Augusto von Dentz [Thu, 1 Nov 2007 13:56:51 +0000 (13:56 +0000)]
sbc: Fix buffers timestamps in sbcenc.

11 years agosbc: Add bitpool capability.
Luiz Augusto von Dentz [Mon, 29 Oct 2007 15:02:26 +0000 (15:02 +0000)]
sbc: Add bitpool capability.

11 years agosbc: Some more coding style changes
Marcel Holtmann [Wed, 24 Oct 2007 21:51:37 +0000 (21:51 +0000)]
sbc: Some more coding style changes

11 years agosbc: Don't forget to include the config options
Marcel Holtmann [Wed, 24 Oct 2007 21:36:29 +0000 (21:36 +0000)]
sbc: Don't forget to include the config options

11 years agosbc: Fix coding style issues
Marcel Holtmann [Wed, 24 Oct 2007 21:33:18 +0000 (21:33 +0000)]
sbc: Fix coding style issues

11 years agosbc: Fix coding style issues.
Luiz Augusto von Dentz [Thu, 18 Oct 2007 22:46:12 +0000 (22:46 +0000)]
sbc: Fix coding style issues.

11 years agosbc: Fixes sbcparser element.
Luiz Augusto von Dentz [Thu, 18 Oct 2007 21:47:53 +0000 (21:47 +0000)]
sbc: Fixes sbcparser element.

11 years agosbc: Fixes for gstsbcenc.
Luiz Augusto von Dentz [Thu, 18 Oct 2007 21:46:49 +0000 (21:46 +0000)]
sbc: Fixes for gstsbcenc.

11 years agosbc: Add gstsbcutil.c and gstsbcutil.h.
Luiz Augusto von Dentz [Thu, 18 Oct 2007 21:45:14 +0000 (21:45 +0000)]
sbc: Add gstsbcutil.c and gstsbcutil.h.

11 years agosbc: Force LITTLE_ENDIAN instead of BYTE_ORDER for now
Marcel Holtmann [Mon, 27 Aug 2007 14:10:00 +0000 (14:10 +0000)]
sbc: Force LITTLE_ENDIAN instead of BYTE_ORDER for now

11 years agosbc: Implement full parsing support
Marcel Holtmann [Sun, 26 Aug 2007 13:59:05 +0000 (13:59 +0000)]
sbc: Implement full parsing support

11 years agosbc: Add mode property to the encoder
Marcel Holtmann [Sun, 26 Aug 2007 13:12:47 +0000 (13:12 +0000)]
sbc: Add mode property to the encoder

11 years agosbc: Implement full encoding support
Marcel Holtmann [Sat, 25 Aug 2007 19:32:03 +0000 (19:32 +0000)]
sbc: Implement full encoding support

11 years agosbc: Fix class variable naming
Marcel Holtmann [Sat, 25 Aug 2007 18:50:28 +0000 (18:50 +0000)]
sbc: Fix class variable naming

11 years agosbc: Limit the supported output rates
Marcel Holtmann [Sat, 25 Aug 2007 17:37:05 +0000 (17:37 +0000)]
sbc: Limit the supported output rates

11 years agosbc: Implement full decoding support
Marcel Holtmann [Sat, 25 Aug 2007 17:03:03 +0000 (17:03 +0000)]
sbc: Implement full decoding support

11 years agosbc: Add SBC encoder and decoder skeletons for GStreamer
Marcel Holtmann [Thu, 23 Aug 2007 19:12:23 +0000 (19:12 +0000)]
sbc: Add SBC encoder and decoder skeletons for GStreamer

11 years agod3dvideosink: Make sure that all buffers in our pool contain our own memory
Sebastian Dröge [Wed, 27 Mar 2013 08:08:40 +0000 (09:08 +0100)]
d3dvideosink: Make sure that all buffers in our pool contain our own memory

11 years agowasapi: Initial port to 1.0
Sebastian Dröge [Tue, 26 Mar 2013 14:22:16 +0000 (15:22 +0100)]
wasapi: Initial port to 1.0

This should really use GstAudioSink and GstAudioSrc.

11 years agowasapi: Include config.h before anything else
Sebastian Dröge [Tue, 26 Mar 2013 14:01:08 +0000 (15:01 +0100)]
wasapi: Include config.h before anything else

11 years agod3dvideosink: Add support for crop meta
Sebastian Dröge [Tue, 26 Mar 2013 13:15:41 +0000 (14:15 +0100)]
d3dvideosink: Add support for crop meta

11 years agobuild: we need a recent-enough gnutls for hls
Tim-Philipp Müller [Tue, 26 Mar 2013 13:22:22 +0000 (13:22 +0000)]
build: we need a recent-enough gnutls for hls

https://bugzilla.gnome.org/show_bug.cgi?id=696597

11 years agod3dvideosink: Implement a buffer pool that shares D3D surfaces with upstream
Sebastian Dröge [Sat, 22 Dec 2012 20:59:03 +0000 (21:59 +0100)]
d3dvideosink: Implement a buffer pool that shares D3D surfaces with upstream

11 years agod3dvideosink: Allocate a new offscreen surface for every buffer
Sebastian Dröge [Sat, 22 Dec 2012 18:12:34 +0000 (19:12 +0100)]
d3dvideosink: Allocate a new offscreen surface for every buffer

This is a preparation for implementing a buffer pool.

11 years agomxfdemux: Use %03u for format in gst_pad_create_stream_id_printf()
David Schleef [Tue, 26 Mar 2013 01:04:09 +0000 (18:04 -0700)]
mxfdemux: Use %03u for format in gst_pad_create_stream_id_printf()

11 years agosrtp: Fix filter handling in caps negotiation to keep filter content
Olivier Crête [Mon, 25 Mar 2013 17:48:20 +0000 (13:48 -0400)]
srtp: Fix filter handling in caps negotiation to keep filter content

11 years agoapplemedia: fix build for objc
Thiago Santos [Mon, 25 Mar 2013 12:45:30 +0000 (09:45 -0300)]
applemedia: fix build for objc

The obj-c api version option is required to get applemedia to
build for ios, otherwise it won't find some symbols during linking

11 years agointerlaced: set both DTS and PTS
Wim Taymans [Mon, 25 Mar 2013 09:10:28 +0000 (10:10 +0100)]
interlaced: set both DTS and PTS

Handle both dts and pts on output buffers.

11 years agotsdemux: remove unused current_program_number field
Douglas Bagnall [Sat, 9 Mar 2013 23:17:05 +0000 (12:17 +1300)]
tsdemux: remove unused current_program_number field

https://bugzilla.gnome.org/show_bug.cgi?id=690934

11 years agorawparse: send segment event in time format also in push mode
Tim-Philipp Müller [Fri, 22 Mar 2013 19:40:58 +0000 (19:40 +0000)]
rawparse: send segment event in time format also in push mode

When converting the incoming segment from byte to time format,
don't just convert the start/stop/time values, but also change
the segment format to TIME.

https://bugzilla.gnome.org/show_bug.cgi?id=696361

11 years agoconfigure: fix build if gnutls is not present
Tim-Philipp Müller [Fri, 22 Mar 2013 15:30:32 +0000 (15:30 +0000)]
configure: fix build if gnutls is not present

Skip build of hls plugin if gnutls headers can't be found.

https://bugzilla.gnome.org/show_bug.cgi?id=696392

11 years agoy4mdec: Use the correct strides as used by y4m and convert to GStreamer strides if...
Sebastian Dröge [Fri, 22 Mar 2013 14:49:18 +0000 (15:49 +0100)]
y4mdec: Use the correct strides as used by y4m and convert to GStreamer strides if necessary

https://bugzilla.gnome.org/show_bug.cgi?id=696361

11 years agofluidsynth: rename to fluiddec
Wim Taymans [Fri, 22 Mar 2013 14:19:32 +0000 (15:19 +0100)]
fluidsynth: rename to fluiddec

Rename the fluidsynth plugin to fluidsynthmidi and the decoder
to fluiddec to avoid conflicts with buzztard.

11 years agoy4mdec: Use the default event/query handlers for the default handling
Sebastian Dröge [Fri, 22 Mar 2013 13:52:54 +0000 (14:52 +0100)]
y4mdec: Use the default event/query handlers for the default handling

Especially don't forward caps events from the sinkpad to the srcpad.

https://bugzilla.gnome.org/show_bug.cgi?id=696282

11 years agoy4mdec: Properly handle segment and time values of -1
Sebastian Dröge [Fri, 22 Mar 2013 13:37:37 +0000 (14:37 +0100)]
y4mdec: Properly handle segment and time values of -1

11 years agomidi: set midi parser rank primary
Wim Taymans [Fri, 22 Mar 2013 13:48:52 +0000 (14:48 +0100)]
midi: set midi parser rank primary

Now that it supports seeking and all, mark it primary

11 years agomidiparse: always seek back to beginning
Wim Taymans [Fri, 22 Mar 2013 12:49:49 +0000 (13:49 +0100)]
midiparse: always seek back to beginning

We always need to seek back to the beginning because when we do a flushing seek,
we might have lost events downstream.

11 years agofluidsynth: fix debug of segment structure
Wim Taymans [Fri, 22 Mar 2013 12:48:26 +0000 (13:48 +0100)]
fluidsynth: fix debug of segment structure

11 years agofluidsynth: handle discont
Wim Taymans [Fri, 22 Mar 2013 12:48:03 +0000 (13:48 +0100)]
fluidsynth: handle discont

11 years agomidiparse: implement seeking
Wim Taymans [Fri, 22 Mar 2013 11:25:16 +0000 (12:25 +0100)]
midiparse: implement seeking

Seek back to 0 for backward seeking and let things run and clip for forwards
seeking.

11 years agofluidsynth: reset on flush and state change
Wim Taymans [Fri, 22 Mar 2013 11:16:45 +0000 (12:16 +0100)]
fluidsynth: reset on flush and state change

11 years agofluidsynth: add properties
Wim Taymans [Fri, 22 Mar 2013 10:04:10 +0000 (11:04 +0100)]
fluidsynth: add properties

Add properties.
Try to find a good default soundfont when not specified.

11 years agofluidsynth: log midi tick event
Wim Taymans [Fri, 22 Mar 2013 07:54:54 +0000 (08:54 +0100)]
fluidsynth: log midi tick event

11 years agofluidsynth: redirect logging to gst logging functions
Wim Taymans [Fri, 22 Mar 2013 07:54:32 +0000 (08:54 +0100)]
fluidsynth: redirect logging to gst logging functions

11 years agomidiparse: simplify the callbacks
Wim Taymans [Thu, 21 Mar 2013 17:18:29 +0000 (18:18 +0100)]
midiparse: simplify the callbacks

We only need one callback to send bytes out.

11 years agofluidsynth: improve debug
Wim Taymans [Thu, 21 Mar 2013 17:17:40 +0000 (18:17 +0100)]
fluidsynth: improve debug

11 years agomidiparse: clean up tracks
Wim Taymans [Thu, 21 Mar 2013 16:25:32 +0000 (17:25 +0100)]
midiparse: clean up tracks

11 years agomidiparse: don't leak midi data
Wim Taymans [Thu, 21 Mar 2013 16:16:24 +0000 (17:16 +0100)]
midiparse: don't leak midi data

11 years agofluidsynth: produce more accurate timestamps
Wim Taymans [Thu, 21 Mar 2013 16:05:36 +0000 (17:05 +0100)]
fluidsynth: produce more accurate timestamps

11 years agomidiparse: small cleanups in error paths
Wim Taymans [Thu, 21 Mar 2013 15:05:41 +0000 (16:05 +0100)]
midiparse: small cleanups in error paths

11 years agomidiparse: duration is max of all track durations
Wim Taymans [Thu, 21 Mar 2013 15:05:00 +0000 (16:05 +0100)]
midiparse: duration is max of all track durations

11 years agomidiparse: fix klass
Wim Taymans [Thu, 21 Mar 2013 15:04:32 +0000 (16:04 +0100)]
midiparse: fix klass

11 years agoopensles: Include string.h for memcpy()
Sebastian Dröge [Thu, 21 Mar 2013 14:43:12 +0000 (15:43 +0100)]
opensles: Include string.h for memcpy()

11 years agomidiparse: Update duration
Wim Taymans [Thu, 21 Mar 2013 14:00:16 +0000 (15:00 +0100)]
midiparse: Update duration

Rework things a bit so that we can run over the midi events and fire callbacks
for each of them. We can then use that for calculating the duration and also for
doing playback.
Only parse as many tracks as specified in the header.
Fix default tempo;
Send MIDI tick events every 10ms

11 years agofluidsynth: add more debug
Wim Taymans [Thu, 21 Mar 2013 13:57:43 +0000 (14:57 +0100)]
fluidsynth: add more debug

11 years agomidiparse: handle midi in RIFF
Wim Taymans [Thu, 21 Mar 2013 08:30:41 +0000 (09:30 +0100)]
midiparse: handle midi in RIFF