platform/upstream/gstreamer.git
11 years agotests: fix compilation of dtmf test in uninstalled setup
Tim-Philipp Müller [Mon, 11 Feb 2013 12:34:47 +0000 (12:34 +0000)]
tests: fix compilation of dtmf test in uninstalled setup

11 years agogdp: actually log generic dataprotocol stuff to gdp category
Tim-Philipp Müller [Mon, 11 Feb 2013 12:34:24 +0000 (12:34 +0000)]
gdp: actually log generic dataprotocol stuff to gdp category

11 years agointer: don't use deprecated GLib threading API
Tim-Philipp Müller [Sat, 9 Feb 2013 20:22:09 +0000 (20:22 +0000)]
inter: don't use deprecated GLib threading API

11 years agoliveadder: don't use deprecated GLib threading API
Tim-Philipp Müller [Sat, 9 Feb 2013 19:53:51 +0000 (19:53 +0000)]
liveadder: don't use deprecated GLib threading API

11 years agoshm: don't use deprecated threading API
Tim-Philipp Müller [Sat, 9 Feb 2013 19:49:08 +0000 (19:49 +0000)]
shm: don't use deprecated threading API

11 years agoopusdec: clear the state of the decoder
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

11 years agorsvgoverlay: deprecated GStaticMutex -> GMutex
Marc Leeman [Thu, 7 Feb 2013 10:52:23 +0000 (11:52 +0100)]
rsvgoverlay: deprecated GStaticMutex -> GMutex

Element needs porting though.

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

11 years agomfc: fix compilation with newer GLib versions
Tim-Philipp Müller [Sat, 9 Feb 2013 18:46:48 +0000 (18:46 +0000)]
mfc: fix compilation with newer GLib versions

that don't include pthread.h any more from public headers.
We could just fix this by including pthread.h ourselves,
but we may just as well use atomic ops for this and
simplify the code a little.

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

11 years agomxfdemux: deprecated GStaticRWLock -> GRWLock
Marc Leeman [Thu, 7 Feb 2013 10:54:38 +0000 (11:54 +0100)]
mxfdemux: deprecated GStaticRWLock -> GRWLock

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

11 years agochromahold: deprecated GStaticMutex -> GMutex
Marc Leeman [Thu, 7 Feb 2013 10:54:06 +0000 (11:54 +0100)]
chromahold: deprecated GStaticMutex -> GMutex

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

11 years agogst-app-maker: convert to 1.0
David Schleef [Thu, 7 Feb 2013 18:52:57 +0000 (10:52 -0800)]
gst-app-maker: convert to 1.0

11 years agogdppay: fix buffer leak when new caps are same as old caps
Tim 'mithro' Ansell [Thu, 7 Feb 2013 13:06:16 +0000 (00:06 +1100)]
gdppay: fix buffer leak when new caps are same as old caps

The leak occurs when you got a message with identical caps to the ones you
already had.

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

11 years agocodecparsers: h264: add profile enums.
Gwenole Beauchesne [Tue, 2 Oct 2012 09:02:32 +0000 (11:02 +0200)]
codecparsers: h264: add profile enums.

Add all useful profiles from AVC, MVC and SVC specifications.

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

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agodvdspu: Fix the rendering of PGS windows with left != 0
Jan Schmidt [Thu, 7 Feb 2013 11:26:15 +0000 (22:26 +1100)]
dvdspu: Fix the rendering of PGS windows with left != 0

When rendering a PGS window area where the left edge is not at
pixel 0, the chroma was being rendered in the wrong place since
commit 4dc648d3430b67592cf1413ccef415f70889d71e

11 years agointer: fix leaks in test
Tim Ansell [Thu, 7 Feb 2013 11:31:12 +0000 (11:31 +0000)]
inter: fix leaks in test

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

11 years agofreeverb: port to 1.0
Stefan Sauer [Thu, 7 Feb 2013 07:41:25 +0000 (08:41 +0100)]
freeverb: port to 1.0

11 years agoaudiovisualizers: add comments for monoscope porting
Stefan Sauer [Wed, 9 Jan 2013 12:31:47 +0000 (13:31 +0100)]
audiovisualizers: add comments for monoscope porting

11 years agointerlace: fix negotiation for true interlaced modes
David Schleef [Wed, 6 Feb 2013 23:48:06 +0000 (15:48 -0800)]
interlace: fix negotiation for true interlaced modes

11 years agoelement-maker: Update somewhat for 1.0
David Schleef [Wed, 6 Feb 2013 20:35:36 +0000 (12:35 -0800)]
element-maker: Update somewhat for 1.0

Only converted basetransform for the moment.  It's probably easier
to write templates from scratch from the documentation.

11 years agocodecparsers: mpeg2: add helpers to convert quantization matrices.
Gwenole Beauchesne [Tue, 5 Feb 2013 10:56:46 +0000 (11:56 +0100)]
codecparsers: mpeg2: add helpers to convert quantization matrices.

Add utility functions to convert quantization matrices from zigzag scan
order (as encoded in the bitstream) into raster scan order. Also provide
another function to reverse the operation.

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

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agocodecparsers: mpeg2: store quantization matrices in zigzag scan order.
Cong Zhong [Thu, 31 Jan 2013 08:13:22 +0000 (16:13 +0800)]
codecparsers: mpeg2: store quantization matrices in zigzag scan order.

Quantizer matrices are encoded in zigzag scan order in the bitstream,
but they are stored in raster scan order when they are parsed. However,
default matrices were also prepared in zigzag scan order, hence the
mismatch. i.e. the matrices were presented either in raster scan order
if they are explicitly present in the bitstream, or they were presented
in zigzag scan order if the default definitions were to be used instead.

One way to solve this problem is to always expose the quantization
matrices in zigzag scan order, since this is the role of the parser to
not build up stories from the source bitstream and just present what
is in there.

Utility functions will be provided to convert quantization matrices in
either scan order.

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

Signed-off-by: Cong Zhong <congx.zhong@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agotsdemux: expose VC1 streams with missing descriptor.
Josep Torra [Tue, 5 Feb 2013 22:07:12 +0000 (23:07 +0100)]
tsdemux: expose VC1 streams with missing descriptor.

Fixes playback of VC1 streams when the descriptor is missing.

11 years agodvbsrc: handle EINTR from poll
Wim Taymans [Tue, 5 Feb 2013 16:34:28 +0000 (17:34 +0100)]
dvbsrc: handle EINTR from poll

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

11 years agointerlace: Add support for more telecine patterns
Robert Swain [Mon, 27 Dec 2010 22:21:10 +0000 (23:21 +0100)]
interlace: Add support for more telecine patterns

11 years agointerlace: Add more verbose hints about field patterns
Robert Swain [Mon, 10 Jan 2011 09:36:43 +0000 (10:36 +0100)]
interlace: Add more verbose hints about field patterns

11 years agotsdemux: Add descriptors for SMPTE 302m audio
David Schleef [Tue, 5 Feb 2013 02:07:17 +0000 (18:07 -0800)]
tsdemux: Add descriptors for SMPTE 302m audio

11 years agoh264parse: separate fields for distinct functional uses of codec_data field
Mark Nauwelaerts [Sat, 2 Feb 2013 17:44:11 +0000 (18:44 +0100)]
h264parse: separate fields for distinct functional uses of codec_data field

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

11 years agoopuspay: fix timestamps
Wim Taymans [Thu, 31 Jan 2013 11:30:49 +0000 (12:30 +0100)]
opuspay: fix timestamps

Copy timestamps to payloaded buffer.
Avoid input buffer memory leak.

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

11 years agoautogen.sh: allow calling from out-of-tree
Benjamin Gaignard [Wed, 30 Jan 2013 08:33:49 +0000 (09:33 +0100)]
autogen.sh: allow calling from out-of-tree

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
https://bugzilla.gnome.org/show_bug.cgi?id=692859

11 years agoAutomatic update of common submodule
Stefan Sauer [Mon, 28 Jan 2013 19:42:49 +0000 (20:42 +0100)]
Automatic update of common submodule

From a942293 to 2de221c

11 years agoopusenc: fix crash when setting "cbr" property when encoder is not running yet
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

11 years agortpdtmfsrc: fix compiler warning
Tim-Philipp Müller [Sat, 26 Jan 2013 22:58:29 +0000 (22:58 +0000)]
rtpdtmfsrc: fix compiler warning

gstrtpdtmfsrc.c: In function 'gst_dtmf_src_prepare_message.isra.1':
gstrtpdtmfsrc.c:669:3: error: 's' may be used uninitialized in this function

11 years agortpdtmfdepay: Fix missing work in doc
Olivier Crête [Sat, 26 Jan 2013 02:06:05 +0000 (21:06 -0500)]
rtpdtmfdepay: Fix missing work in doc

11 years agotests: Add test for rtpdtmfdepay and rtpdtmfsrc
Olivier Crête [Fri, 25 Jan 2013 02:00:08 +0000 (21:00 -0500)]
tests: Add test for rtpdtmfdepay and rtpdtmfsrc

11 years agortpdtmfsrc: Post the messages after the clock wait
Olivier Crête [Sat, 26 Jan 2013 01:39:33 +0000 (20:39 -0500)]
rtpdtmfsrc: Post the messages after the clock wait

This way, the messages will be closer in time to when the packets are sent out

11 years agortpdtmfsrc: Only set the duration when starting to send
Olivier Crête [Sat, 26 Jan 2013 01:37:53 +0000 (20:37 -0500)]
rtpdtmfsrc: Only set the duration when starting to send

The duration depends on the clock rate, which could change due to renegotiation

11 years agortpdtmfsrc: remove "ssrc" from caps
Olivier Crête [Sat, 26 Jan 2013 01:37:09 +0000 (20:37 -0500)]
rtpdtmfsrc: remove "ssrc" from caps

ssrc is uint and we don't have a uint range type

11 years agobuild: fix insertbin build in uninstalled setup
Tim-Philipp Müller [Fri, 25 Jan 2013 15:44:39 +0000 (15:44 +0000)]
build: fix insertbin build in uninstalled setup

Make sure pkg-config in gst-libs/gst/insertbin/ can find
the uninstalled core/base properly. Fixes build of
insertbin in uninstalled setup if there arn't any
installed gir files to fall back to.

11 years agoinsertbin, tests: fix printf format compiler warnings
Tim-Philipp Müller [Fri, 25 Jan 2013 12:24:55 +0000 (12:24 +0000)]
insertbin, tests: fix printf format compiler warnings

11 years agocodecparsers: vc1: fix bitplanes decoding (DIFF6 or NORM6 residual bytes).
Gwenole Beauchesne [Thu, 24 Jan 2013 17:14:28 +0000 (18:14 +0100)]
codecparsers: vc1: fix bitplanes decoding (DIFF6 or NORM6 residual bytes).

Fix parsing of residual bytes. This is a two-step process. First,
remaining colums of full vertical resolution (<height>) need to be
processed. Next, remaining bytes in the first row can be processed,
while taking into account the fact that we may have filled in the
first columns already. So, this is not full horizontal resolution.

The following figure helps in understanding the expected order of
operations, for a 8x5 MBs bitplane.

    5 5 6 6 6 6 6 6
    5 5 1 1 1 2 2 2
    5 5 1 1 1 2 2 2
    5 5 3 3 3 4 4 4
    5 5 3 3 3 4 4 4

So, after tiles 1 to 4 are decoded, vertical tile 5 needs to be
processed (2x5 MBs) and then the horizontal tile 6 (6x1 MBs).

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

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agocodecparsers: vc1: fix bitplanes decoding (DIFF6 or NORM6).
Gwenole Beauchesne [Thu, 24 Jan 2013 16:28:22 +0000 (17:28 +0100)]
codecparsers: vc1: fix bitplanes decoding (DIFF6 or NORM6).

Fix decoding of DIFF6 or NORM6 bitplanes with an odd number of lines
(3x2 "horizontal" tiles). In this case, we have to skip the first line
of macroblocks but <width> number of bytes was used to do so, instead
of the actual <stride> size.

This fixes decoding for the video sample attached to:
https://bugzilla.gnome.org/show_bug.cgi?id=668565

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

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agoinsertbin: Add bin to dynamically insert elements in a running pipeline
Olivier Crête [Thu, 15 Mar 2012 18:12:21 +0000 (14:12 -0400)]
insertbin: Add bin to dynamically insert elements in a running pipeline

This element automatically links in any element added using it's
action signals. These elements must have a single source pad and a single
sink pad.

11 years agocodecparsers: vc1: add API to parse slice headers.
Gwenole Beauchesne [Wed, 23 Jan 2013 13:47:58 +0000 (14:47 +0100)]
codecparsers: vc1: add API to parse slice headers.

Add gst_vc1_parse_slice_header() function to parse slice headers as
described in 7.1.2. Slice layers are optional and allowed in advanced
profile mode only. Picture header, if available (PIC_HEADER_FLAG),
is parsed but not recorded because it shall be the same as that was
previously parsed with gst_vc1_parse_frame_header().

This fixes SA00049.vc1 conformance test.

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

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agocodecparsers: vc1: fix bitplanes decoding.
Gwenole Beauchesne [Tue, 22 Jan 2013 17:01:24 +0000 (18:01 +0100)]
codecparsers: vc1: fix bitplanes decoding.

Fix decoding of DIFF2 or NORM2 bitplanes with an odd number of macroblocks.
In particular, account for the first bit that was already parsed so that to
avoid a buffer overflow after all pairs are parsed.

This fixes SA00040.vc1 conformance test.

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

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agoconfigure.ac: disable MFC if some v4l2 PIX_FMT missing
Mark Nauwelaerts [Tue, 22 Jan 2013 18:31:02 +0000 (19:31 +0100)]
configure.ac: disable MFC if some v4l2 PIX_FMT missing

11 years agocodecparsers: vc1: simplify GstVC1VopDquant structure.
Gwenole Beauchesne [Tue, 22 Jan 2013 10:42:49 +0000 (11:42 +0100)]
codecparsers: vc1: simplify GstVC1VopDquant structure.

Rename dqsbedge to dqbedge. The intent is that we can only have a single
boundary edge selector, depending on the value of dqprofile. So, dqbedge
represents DQSBEDGE if dqprofile == GST_VC1_DQPROFILE_SINGLE_EDGE, or
DQDBEDGE if dqprofile == GST_VC1_DQPROFILE_DOUBLE_EDGE.

The former dqbedge field is marked as unused and can be removed on the
next gst-plugins-bad version that allows ABI changes.

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

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agocurltlssink: set correct level of SSL for the transfer
Patricia Muscalu [Fri, 18 Jan 2013 13:55:40 +0000 (14:55 +0100)]
curltlssink: set correct level of SSL for the transfer

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

11 years agocodecparsers: vc1: fix VOPDQUANT parser for DQUANT == 2.
Gwenole Beauchesne [Tue, 22 Jan 2013 09:48:39 +0000 (10:48 +0100)]
codecparsers: vc1: fix VOPDQUANT parser for DQUANT == 2.

Fix parsing of VOPDQUANT when DQUANT == 2. In particular, DQUANTFRM is
not present in the bitstream in this case and it shall be derived to
the default value of zero (7.1.1.31.1).

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

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agocodecparsers: vc1: fix calculation of ALTPQUANT.
Gwenole Beauchesne [Tue, 22 Jan 2013 09:38:20 +0000 (10:38 +0100)]
codecparsers: vc1: fix calculation of ALTPQUANT.

Fix calculation of ALTPQUANT when DQUANT == 1. PQDIFF alters ALTPQUANT
in any case. See 7.1.1.31.6.

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

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agocodecparsers: vc1: fix parser for DQPROFILE in VOPDQUANT.
Gwenole Beauchesne [Tue, 22 Jan 2013 09:11:34 +0000 (10:11 +0100)]
codecparsers: vc1: fix parser for DQPROFILE in VOPDQUANT.

Fix parse_vopdquant() to correctly parse DQPROFILE, which is 2 bits
instead of a single bit.

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

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agocodecparsers: h264: add inferred value for slice_beta_offset_div2.
Gwenole Beauchesne [Sun, 6 Jan 2013 17:54:52 +0000 (18:54 +0100)]
codecparsers: h264: add inferred value for slice_beta_offset_div2.

The standard specifies that when slice_beta_offset_div2 is not present
in the slice header, then the value of slice_beta_offset_div2 shall be
inferred to be equal to 0.

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

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agoassrender: reenable unit tests and up rank to primary again
Arnaud Vrac [Thu, 17 Jan 2013 18:02:48 +0000 (19:02 +0100)]
assrender: reenable unit tests and up rank to primary again

11 years agoassrender: use overlay composition to blit subtitles on video frames
Arnaud Vrac [Fri, 18 Jan 2013 15:14:03 +0000 (16:14 +0100)]
assrender: use overlay composition to blit subtitles on video frames

Re-uses existing blitting code and also means we can support
a lot more video formats out of the box, hence avoid unnecessary
pixel format or colour space conversions.

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

11 years agoassrender: render overlay composition if supported downstream
Arnaud Vrac [Thu, 17 Jan 2013 17:48:12 +0000 (18:48 +0100)]
assrender: render overlay composition if supported downstream

This allows rendering ASS subtitles on top of video when
using hardware-accelerated video decoders based on e.g.
VA-API or VDPAU.

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

11 years agoassrender: add wait-text property
Arnaud Vrac [Mon, 21 Jan 2013 09:35:49 +0000 (10:35 +0100)]
assrender: add wait-text property

This is the same property as in the pango element, to allow waiting for
text on the text pad before rendering the video.

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

11 years agoassrender: fix some subtitles being ignored
Arnaud Vrac [Fri, 18 Jan 2013 14:25:48 +0000 (15:25 +0100)]
assrender: fix some subtitles being ignored

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

11 years agoassrender: refactor code to avoid duplication
Arnaud Vrac [Thu, 17 Jan 2013 17:33:11 +0000 (18:33 +0100)]
assrender: refactor code to avoid duplication

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

11 years agoassrender: proxy allocations on video pad
Arnaud Vrac [Thu, 17 Jan 2013 17:26:08 +0000 (18:26 +0100)]
assrender: proxy allocations on video pad

Forward allocation queries on video sink pad instead
of discarding them.

This allows the upstream elements to use the allocation
parameters or pools from the downstream elements like
videosink.

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

11 years agobluez: clean up GValue handling a little
Tim-Philipp Müller [Sun, 20 Jan 2013 17:43:13 +0000 (17:43 +0000)]
bluez: clean up GValue handling a little

Allocate GValues on the stack, and unset/free them properly, fixing
a few leaks in the process. Also use gst_structure_take_value()
where appropriate to avoid unnecessary list copies.

11 years agobluez: update SBC caps for renamed fields
Tim-Philipp Müller [Sun, 20 Jan 2013 17:17:27 +0000 (17:17 +0000)]
bluez: update SBC caps for renamed fields

mode -> channel-mode
allocation -> allocation-method

11 years agoshm: Initialize shm_area_buf to invalid value
Olivier Crête [Fri, 18 Jan 2013 00:29:31 +0000 (19:29 -0500)]
shm: Initialize shm_area_buf to invalid value

11 years agoshm: apply shm area permissions to shmpipe control socket
Roland Elek [Mon, 7 Jan 2013 12:32:06 +0000 (13:32 +0100)]
shm: apply shm area permissions to shmpipe control socket

Apply shared memory area permissions to the control socket (more
precisely, the path it is bound to) as well.

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

11 years agouvch264: Define LIBUSB_CLASS_VIDEO if using an old version of libusb
Youness Alaoui [Wed, 16 Jan 2013 19:40:11 +0000 (14:40 -0500)]
uvch264: Define LIBUSB_CLASS_VIDEO if using an old version of libusb

11 years agouvch264: Prevent temporary elements from going to playing
Olivier Crête [Wed, 16 Jan 2013 19:48:46 +0000 (14:48 -0500)]
uvch264: Prevent temporary elements from going to playing

11 years agouvch264: do not double-unref if transform_caps fails
Youness Alaoui [Wed, 16 Jan 2013 19:42:38 +0000 (14:42 -0500)]
uvch264: do not double-unref if transform_caps fails

11 years agouvch264: Add a fakesink to the transform_caps
Youness Alaoui [Wed, 16 Jan 2013 19:41:08 +0000 (14:41 -0500)]
uvch264: Add a fakesink to the transform_caps
Some version of basetransform will return the template caps if the src
pad is not linked, so the capsfilter will return ANY. Linking it to
fakesink allows us to return the right caps in the capsfilter and have
them transformed by the colorspace converter.

11 years agotests: use _1_0 variants for the various registry variables
Martin Pitt [Tue, 15 Jan 2013 14:02:37 +0000 (15:02 +0100)]
tests: use _1_0 variants for the various registry variables

These override the variants without version suffix. Makes 'make check' work
properly in environments that set the suffixed variant for 1.0, such as
jhbuild.

11 years agocodecparsers: h264: zero-initialize SPS VUI parameters
Mark Nauwelaerts [Sat, 12 Jan 2013 12:15:02 +0000 (13:15 +0100)]
codecparsers: h264: zero-initialize SPS VUI parameters

... so all 'present' flags indicate no presence of optional parts
in case VUI parameters end up not being parsed.

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

11 years agoAutomatic update of common submodule
Tim-Philipp Müller [Tue, 15 Jan 2013 15:05:54 +0000 (15:05 +0000)]
Automatic update of common submodule

From a72faea to a942293

11 years agoAdd two latest plugins to spec file
Christian Fredrik Kalager Schaller [Sat, 12 Jan 2013 17:10:35 +0000 (18:10 +0100)]
Add two latest plugins to spec file

11 years agodtmf/spandsp: Move dtmfdetect to use libspandsp
Olivier Crête [Thu, 10 Jan 2013 00:59:16 +0000 (19:59 -0500)]
dtmf/spandsp: Move dtmfdetect to use libspandsp

Remove our copy of the tone_detect.c file and use the original
from libspandsp. Also move the element to the spandsp plugin.

11 years agobluez: use GLib defines to check for byte order
Tim-Philipp Müller [Thu, 10 Jan 2013 00:31:25 +0000 (00:31 +0000)]
bluez: use GLib defines to check for byte order

11 years agobluez: add new plugin to build system, but disable for now
Tim-Philipp Müller [Wed, 9 Jan 2013 18:10:30 +0000 (18:10 +0000)]
bluez: add new plugin to build system, but disable for now

Disable until it has been tested and works.

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

11 years agobluez: make bluez elements compile with 1.0
Tim-Philipp Müller [Wed, 9 Jan 2013 18:02:11 +0000 (18:02 +0000)]
bluez: make bluez elements compile with 1.0

Builds, but very likely doesn't work yet at all. Some
things are still commented out.

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

11 years agobluez: avinfo: Replace definitions with a2dp-codecs.h's
Chan-yeol Park [Tue, 9 Oct 2012 11:35:45 +0000 (20:35 +0900)]
bluez: avinfo: Replace definitions with a2dp-codecs.h's

11 years agobluez: audio: Add check for vendor specific A2DP codec
Chan-yeol Park [Tue, 9 Oct 2012 11:35:44 +0000 (20:35 +0900)]
bluez: audio: Add check for vendor specific A2DP codec

This patch adds checks(vendor ID, vendor specific codec ID) to make sure of
vendor specific A2DP codec selection.

11 years agobluez: gstavdtpsink: Free the D-Bus error on reply failure
Syam Sidhardhan [Fri, 14 Sep 2012 16:10:10 +0000 (21:40 +0530)]
bluez: gstavdtpsink: Free the D-Bus error on reply failure

If D-Bus error is set we should free it.

11 years agobluez: Fix trivial coding style issues on pointer declarations and casting
Anderson Lizardo [Tue, 21 Aug 2012 15:49:24 +0000 (11:49 -0400)]
bluez: 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 agobluez: audio: Remove internal audio IPC
Luiz Augusto von Dentz [Mon, 25 Jun 2012 09:06:17 +0000 (12:06 +0300)]
bluez: audio: Remove internal audio IPC

With unix socket and ALSA removed there is no longer any use for the
internal IPC.

11 years agobluez: Remove compatibility check for DBUS_TYPE_UNIX_FD
Anderson Lizardo [Wed, 30 May 2012 21:16:19 +0000 (17:16 -0400)]
bluez: Remove compatibility check for DBUS_TYPE_UNIX_FD

Since commit c89b589a586e97ad875fbdd1d41f03979157ebb0, D-Bus >= 1.4.0 is
required. This version already contains Unix FD passing support,
therefore code that checks for DBUS_TYPE_UNIX_FD definition is
unnecessary.

11 years agobluez: avdtp: Fix incorrect gchar buffer allocation
Anderson Lizardo [Fri, 18 May 2012 13:46:29 +0000 (09:46 -0400)]
bluez: avdtp: Fix incorrect gchar buffer allocation

The code was allocating an array of gchar pointers, where an array of
gchar is expected.

11 years agobluez: audio: Add SBC NULL check for GST AVDTP signaling
Chan-yeol Park [Mon, 16 Apr 2012 02:59:59 +0000 (11:59 +0900)]
bluez: audio: Add SBC NULL check for GST AVDTP signaling

Due to RF condition or headset malfunctioning, gst audio plug-in could
not get SBC (mandatory codec) information.

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

11 years agobluez: gstavdtpsink: Fix D-Bus memory leak in audio
Syam Sidhardhan [Thu, 12 Apr 2012 15:02:55 +0000 (20:32 +0530)]
bluez: gstavdtpsink: Fix D-Bus memory leak in audio

11 years agobluez: AVDTP: Fix closing invalid FD on error
Anderson Lizardo [Thu, 17 Nov 2011 17:29:06 +0000 (13:29 -0400)]
bluez: AVDTP: Fix closing invalid FD on error

In gst_avdtp_sink_start(), if bt_audio_service_open() failed, there was
an attempt to close an invalid file descriptor (through
bt_audio_service_close()).

11 years agobluez: Fix return value check for bt_audio_service_open()
Anderson Lizardo [Wed, 16 Nov 2011 13:20:04 +0000 (09:20 -0400)]
bluez: Fix return value check for bt_audio_service_open()

Only negative values (namely -1) are errors for this function.

11 years agobluez: AVDTP: Fix errno handling convention
Anderson Lizardo [Wed, 16 Nov 2011 13:19:49 +0000 (09:19 -0400)]
bluez: AVDTP: Fix errno handling convention

Variables which are assigned to the errno variable (usually called
"err") should be negative, and "-err" should be used where a positive
value is needed.

11 years agobluez: audio: Update license for shared header files
Marcel Holtmann [Fri, 26 Aug 2011 18:18:54 +0000 (11:18 -0700)]
bluez: audio: Update license for shared header files

The header files with constants and structures for audio specific
interaction with Pulseaudio are suppose to be under LGPL license.

For some odd reason a2dp-codecs.h ended up being under GPL license
which is against the intention of this being shared and re-used by
non-GPL programs. Fix this now to avoid any future confusion.

11 years agobluez: Fix common misspelled words
Lucas De Marchi [Sat, 2 Jul 2011 15:32:40 +0000 (12:32 -0300)]
bluez: 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 agobluez: Fix garbage return value in gst_avdtp_sink_audioservice_recv
Szymon Janc [Mon, 9 May 2011 13:26:07 +0000 (15:26 +0200)]
bluez: Fix garbage return value in gst_avdtp_sink_audioservice_recv

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

11 years agobluez: Update a2dpsink to use new Acquire API
Luiz Augusto von Dentz [Thu, 20 Jan 2011 09:29:41 +0000 (11:29 +0200)]
bluez: Update a2dpsink to use new Acquire API

11 years agobluez: Fix use of deprecated glib on audio plugin
Luiz Augusto von Dentz [Wed, 19 Jan 2011 08:04:49 +0000 (10:04 +0200)]
bluez: Fix use of deprecated glib on audio plugin

11 years agobluez: Add support for media transport in gstreamer plugin
Luiz Augusto von Dentz [Thu, 6 May 2010 14:14:14 +0000 (17:14 +0300)]
bluez: Add support for media transport in gstreamer plugin

11 years agobluez: Fix crash on gstreamer plugin if device doesn't support sbc
Luiz Augusto von Dentz [Mon, 13 Sep 2010 12:40:11 +0000 (15:40 +0300)]
bluez: Fix crash on gstreamer plugin if device doesn't support sbc

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

11 years agobluez: Revert "Fix build issues with latest GStreamer updates"
Marcel Holtmann [Wed, 19 May 2010 14:10:26 +0000 (16:10 +0200)]
bluez: Revert "Fix build issues with latest GStreamer updates"

11 years agobluez: Fix build issues with latest GStreamer updates
Marcel Holtmann [Mon, 17 May 2010 20:31:28 +0000 (22:31 +0200)]
bluez: Fix build issues with latest GStreamer updates

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

11 years agobluez: Fix codec selection on gstream plugin.
Luiz Augusto von Dentz [Mon, 5 Oct 2009 20:51:14 +0000 (22:51 +0200)]
bluez: Fix codec selection on gstream plugin.