platform/upstream/gstreamer.git
11 years agoinsertbin: fix up gtk-doc chunk and add since markers
Tim-Philipp Müller [Thu, 14 Feb 2013 09:02:53 +0000 (09:02 +0000)]
insertbin: fix up gtk-doc chunk and add since markers

11 years agotests: port uvch264 test to 1.0
Tim-Philipp Müller [Wed, 13 Feb 2013 15:00:09 +0000 (15:00 +0000)]
tests: port uvch264 test to 1.0

Fixes 'make check' build.

11 years agoeglglessink: Close the dispman display on RPi after usage
Sebastian Dröge [Wed, 13 Feb 2013 14:20:39 +0000 (15:20 +0100)]
eglglessink: Close the dispman display on RPi after usage

11 years agoeglglessink: For RPi, initialize bcm_host in plugin_init()
Sebastian Dröge [Wed, 13 Feb 2013 14:09:35 +0000 (15:09 +0100)]
eglglessink: For RPi, initialize bcm_host in plugin_init()

11 years agoeglglessink: Also check for all the required libraries and headers for RPi
Sebastian Dröge [Wed, 13 Feb 2013 14:06:48 +0000 (15:06 +0100)]
eglglessink: Also check for all the required libraries and headers for RPi

11 years agovideoparsers: Use complete and valid caps in the tests
Sebastian Dröge [Wed, 13 Feb 2013 11:51:58 +0000 (12:51 +0100)]
videoparsers: Use complete and valid caps in the tests

11 years agoeglglessink: Add bcm/Raspberry Pi support.
Julian Scheel [Tue, 12 Feb 2013 17:36:10 +0000 (18:36 +0100)]
eglglessink: Add bcm/Raspberry Pi support.

This adds a video platform backend for the dispmanx display manager used by
broadcom and the Raspberry Pi.

Signed-off-by: Julian Scheel <julian@jusst.de>
11 years agopngparse: Declare the width/height outside the loop
Olivier Crête [Tue, 12 Feb 2013 23:11:34 +0000 (18:11 -0500)]
pngparse: Declare the width/height outside the loop

Also initialize them to make gcc happy

11 years agovideoparsers: Add png file parser
Olivier Crête [Tue, 29 Jan 2013 03:42:44 +0000 (22:42 -0500)]
videoparsers: Add png file parser

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

11 years agoUnrevert: mpegvideoparse: set timestamp based on pic offset
David Schleef [Tue, 12 Feb 2013 00:35:48 +0000 (16:35 -0800)]
Unrevert: mpegvideoparse: set timestamp based on pic offset

API is now in baseparse in gstreamer.

Timestamps in MPEG-TS streams are based on the last timestamp
before the start code of the picture.  GstBaseParse sets the
timestamp based on the beginning of the sequence header, if
one exists before the picture.  This fixes the case where the
timestamp occurs in the MPEG-TS stream between the seq header
and picture start code.

11 years agoyadif: Add mode property
David Schleef [Thu, 7 Feb 2013 23:42:54 +0000 (15:42 -0800)]
yadif: Add mode property

Copy mode from deinterlace element.  Isn't actually implemented
in yadif, every frame is deinterlaced, so effectively mode=1.

11 years agoyadif: Fix non-x86_64 builds
David Schleef [Tue, 12 Feb 2013 19:47:50 +0000 (11:47 -0800)]
yadif: Fix non-x86_64 builds

11 years agompegdemux: add parsed=false to mpeg2 caps
David Schleef [Tue, 12 Feb 2013 19:24:44 +0000 (11:24 -0800)]
mpegdemux: add parsed=false to mpeg2 caps

11 years agoglib-compat-private.h: remove old GStaticRecMutex stuff
Tim-Philipp Müller [Tue, 12 Feb 2013 10:39:44 +0000 (10:39 +0000)]
glib-compat-private.h: remove old GStaticRecMutex stuff

Breaks the build with newer GLibs ("unknown type GStaticRecMutex")
and is not needed any more.

11 years agoRevert "mpegvideoparse: set timestamp based on pic offset"
Tim-Philipp Müller [Tue, 12 Feb 2013 09:38:35 +0000 (09:38 +0000)]
Revert "mpegvideoparse: set timestamp based on pic offset"

This reverts commit 63718da919b6a3daa04a66da1be4db54e0778898.

The required baseparse API addition has not been pushed yet,
which breaks the build.

11 years agompegvideoparser: increase min size for picture coding ext
David Schleef [Tue, 12 Feb 2013 01:58:31 +0000 (17:58 -0800)]
mpegvideoparser: increase min size for picture coding ext

This could use additional work.  The parsing code overruns the
end of buffers during normal operation, triggering GST_WARNINGs.

11 years agomfc: quiet debugging when mfc device doesn't exist
David Schleef [Tue, 12 Feb 2013 01:39:24 +0000 (17:39 -0800)]
mfc: quiet debugging when mfc device doesn't exist

Avoid registering the element if the mfc device doesn't work,
but allow plugin loading to succeed.

11 years agompegvideoparse: set timestamp based on pic offset
David Schleef [Tue, 12 Feb 2013 00:35:48 +0000 (16:35 -0800)]
mpegvideoparse: set timestamp based on pic offset

Timestamps in MPEG-TS streams are based on the last timestamp
before the start code of the picture.  GstBaseParse sets the
timestamp based on the beginning of the sequence header, if
one exists before the picture.  This fixes the case where the
timestamp occurs in the MPEG-TS stream between the seq header
and picture start code.

11 years agoyadif: fix distcheck
Tim-Philipp Müller [Mon, 11 Feb 2013 23:46:27 +0000 (23:46 +0000)]
yadif: fix distcheck

11 years agoswfdec: remove
Tim-Philipp Müller [Mon, 11 Feb 2013 23:29:59 +0000 (23:29 +0000)]
swfdec: remove

The swfdec project is dead, and this plugin was
never really useful because of the way swf works.
Remove it before someone accidentally ports it.

11 years agoAdd cog to cruft list and remove some more leftover files
Tim-Philipp Müller [Mon, 11 Feb 2013 22:50:15 +0000 (22:50 +0000)]
Add cog to cruft list and remove some more leftover files

11 years agoyadif: fix build in uninstalled setup
Tim-Philipp Müller [Mon, 11 Feb 2013 22:40:35 +0000 (22:40 +0000)]
yadif: fix build in uninstalled setup

11 years agouvch264 test: Use string instead of fourcc in glade caps
Sjoerd Simons [Sun, 3 Feb 2013 13:32:27 +0000 (14:32 +0100)]
uvch264 test: Use string instead of fourcc in glade caps

11 years agouvch264: Remove custom renegotiate event
Sjoerd Simons [Sun, 3 Feb 2013 13:31:50 +0000 (14:31 +0100)]
uvch264: Remove custom renegotiate event

11 years agouvch264: Add image/jpg to vfsrc and vidsrc caps
Sjoerd Simons [Sun, 3 Feb 2013 13:31:13 +0000 (14:31 +0100)]
uvch264: Add image/jpg to vfsrc and vidsrc caps

11 years agouvch264: Fix NV21 vs NV12 typo
Sjoerd Simons [Sun, 3 Feb 2013 13:30:36 +0000 (14:30 +0100)]
uvch264: Fix NV21 vs NV12 typo

11 years agouvch264: Pass through the filter on the caps query
Sjoerd Simons [Sat, 2 Feb 2013 13:16:40 +0000 (14:16 +0100)]
uvch264: Pass through the filter on the caps query

11 years agouvch264: Remove the _ from the element names
Sjoerd Simons [Fri, 18 Jan 2013 22:23:56 +0000 (23:23 +0100)]
uvch264: Remove the _ from the element names

Rename uvch264_src to uvch264src and uvch264_mjpgdemux to
uvch264mjpgdemux

11 years agoconfigure: Mark uvch264 as ported
Sjoerd Simons [Fri, 18 Jan 2013 22:16:31 +0000 (23:16 +0100)]
configure: Mark uvch264 as ported

11 years agouvch264: Port test to gstreamer 1.0
Sjoerd Simons [Fri, 18 Jan 2013 22:14:27 +0000 (23:14 +0100)]
uvch264: Port test to gstreamer 1.0

11 years agouvch264src: Port to gstreamer 1.0
Sjoerd Simons [Fri, 18 Jan 2013 21:49:19 +0000 (22:49 +0100)]
uvch264src: Port to gstreamer 1.0

11 years agobasecamerabinsrc: Add auto-start property to basecamerabin
Youness Alaoui [Fri, 4 May 2012 00:36:27 +0000 (20:36 -0400)]
basecamerabinsrc: Add auto-start property to basecamerabin

11 years agocog: remove last remnants
David Schleef [Mon, 11 Feb 2013 20:51:04 +0000 (12:51 -0800)]
cog: remove last remnants

11 years agoyadif: Add YADIF deinterlacing filter
David Schleef [Thu, 7 Feb 2013 23:09:51 +0000 (15:09 -0800)]
yadif: Add YADIF deinterlacing filter

Code copied from Libav, commit 26e4f0c70.  Will eventually be
moved to -ugly because underlying code is GPL.

11 years agofieldanalysis: Add Y42B and Y444 formats
David Schleef [Thu, 7 Feb 2013 22:33:24 +0000 (14:33 -0800)]
fieldanalysis: Add Y42B and Y444 formats

11 years agogst-app-maker/gst-element-maker: 1.0 updates
David Schleef [Thu, 7 Feb 2013 19:15:01 +0000 (11:15 -0800)]
gst-app-maker/gst-element-maker: 1.0 updates

11 years agocog: remove cog plugin
David Schleef [Mon, 11 Feb 2013 20:25:05 +0000 (12:25 -0800)]
cog: remove cog plugin

Everything has been merged into other elements.

11 years agomxfdemux: fix taglist leak
Tim-Philipp Müller [Mon, 11 Feb 2013 20:24:14 +0000 (20:24 +0000)]
mxfdemux: fix taglist leak

Don't leak demuxer tag list.

11 years agotests: fix mxfdemux pull unit test hanging forever
Tim-Philipp Müller [Mon, 11 Feb 2013 20:17:58 +0000 (20:17 +0000)]
tests: fix mxfdemux pull unit test hanging forever

Our test source pad needs to answer SCHEDULING queries
properly for mxfdemux to activate in pull mode.

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

11 years agomxfdemux: fix push mode unit test failure
Tim-Philipp Müller [Mon, 11 Feb 2013 19:53:39 +0000 (19:53 +0000)]
mxfdemux: fix push mode unit test failure

In the sink event handler we end up sending multiple EOS
events per pad. Don't return FALSE when sending the
second EOS on an already-EOS pad fails. Not sure if there
was a reason for sending a second EOS, so leaving the
code in there for now, but assume all went fine if there
are source pads, which is slightly less wrong than before.
This function needs work.

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