platform/upstream/gst-plugins-base.git
13 years ago[MOVED FROM BAD 01/68] Duplicate the ext/hermes colorspace plugin, and remove Hermes...
David Schleef [Thu, 15 Jan 2004 08:58:22 +0000 (08:58 +0000)]
[MOVED FROM BAD 01/68] Duplicate the ext/hermes colorspace plugin, and remove Hermes code and GPL code.  Fix for new caps negotiation.  Rewr...

Original commit message from CVS:
* configure.ac:
* gst/colorspace/Makefile.am:
* gst/colorspace/gstcolorspace.c:
* gst/colorspace/gstcolorspace.h:
* gst/colorspace/yuv2rgb.c:
* gst/colorspace/yuv2rgb.h:
Duplicate the ext/hermes colorspace plugin, and remove Hermes
code and GPL code.  Fix for new caps negotiation.  Rewrite
much of the format handling code, and some of the conversion
code.  Basically, rewrote almost everything.  This element
handles I420, YV12 to RGB conversions.
* ext/hermes/Makefile.am:
* ext/hermes/gsthermescolorspace.c:
Rename colorspace to hermescolorspace.  Fix negotiation issues.
Remove non-Hermes related code.  This element handles lots of
RGB to RGB conversions, but no YUV.
* ext/hermes/gstcolorspace.c:
* ext/hermes/gstcolorspace.h:
* ext/hermes/rgb2yuv.c:
* ext/hermes/yuv2rgb.c:
* ext/hermes/yuv2rgb.h:
* ext/hermes/yuv2rgb_mmx16.s:
* ext/hermes/yuv2yuv.c:
* ext/hermes/yuv2yuv.h:
Remove old code.

13 years agoseek: cleanup and use playbin after rename
Wim Taymans [Wed, 15 Jun 2011 11:01:34 +0000 (13:01 +0200)]
seek: cleanup and use playbin after rename

Remove the static pipelines and other unused things
Use playbin

13 years agodocs: add more media type
Wim Taymans [Wed, 15 Jun 2011 10:48:04 +0000 (12:48 +0200)]
docs: add more media type

13 years agognomevfs: remove GnomeVFS plugin
Tim-Philipp Müller [Tue, 14 Jun 2011 23:52:47 +0000 (00:52 +0100)]
gnomevfs: remove GnomeVFS plugin

The gio plugin replaces it.

13 years agotests: fix up unit tests for playbin2/decodebin2 renames and updates
Tim-Philipp Müller [Tue, 14 Jun 2011 23:35:58 +0000 (00:35 +0100)]
tests: fix up unit tests for playbin2/decodebin2 renames and updates

Even if they don't work yet.

13 years agouridecodebin, decodebin: remove new-decoded-pad and removed-decoded-pad signals
Tim-Philipp Müller [Tue, 14 Jun 2011 23:32:23 +0000 (00:32 +0100)]
uridecodebin, decodebin: remove new-decoded-pad and removed-decoded-pad signals

They were deprecated, use "pad-added" and "pad-removed" instead.

13 years agoplayback: rename playbin2 to playbin
Tim-Philipp Müller [Tue, 14 Jun 2011 23:06:09 +0000 (00:06 +0100)]
playback: rename playbin2 to playbin

But keep source file name as-is for now.

13 years agoplayback: merge playbin and decodebin plugins into one single playback plugin again
Tim-Philipp Müller [Tue, 14 Jun 2011 23:02:13 +0000 (00:02 +0100)]
playback: merge playbin and decodebin plugins into one single playback plugin again

13 years agodecodebin2: rename decodebin2 to decodebin
Tim-Philipp Müller [Tue, 14 Jun 2011 22:51:29 +0000 (23:51 +0100)]
decodebin2: rename decodebin2 to decodebin

But don't rename source file for now, which hopefully
makes merging from master easier.

13 years agoplayback: remove old playbin and decodebin elements
Tim-Philipp Müller [Tue, 14 Jun 2011 22:42:27 +0000 (23:42 +0100)]
playback: remove old playbin and decodebin elements

13 years agoRemove unused but set variables
Debarshi Ray [Tue, 14 Jun 2011 20:25:31 +0000 (01:55 +0530)]
Remove unused but set variables

This is needed to satisfy the new -Wunused-but-set-variable added in
GCC 4.6: http://gcc.gnu.org/gcc-4.6/changes.html

13 years agodocs: add beginnings of new media types design doc
Wim Taymans [Tue, 14 Jun 2011 16:25:47 +0000 (18:25 +0200)]
docs: add beginnings of new media types design doc

Start with new video media types and properties

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Tue, 14 Jun 2011 13:20:37 +0000 (15:20 +0200)]
Merge branch 'master' into 0.11

13 years agocodec-utils: restore 7350 as a valid sampling frequency for AAC
Debarshi Ray [Tue, 14 Jun 2011 05:01:18 +0000 (10:31 +0530)]
codec-utils: restore 7350 as a valid sampling frequency for AAC

This was lost during c77f88cac675a1dbb89e40da8e3c28320523bfca.

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Mon, 13 Jun 2011 17:09:05 +0000 (19:09 +0200)]
Merge branch 'master' into 0.11

13 years ago-base: update for buffer API change
Wim Taymans [Mon, 13 Jun 2011 14:32:56 +0000 (16:32 +0200)]
-base: update for buffer API change

13 years agobasertppayload: cleanup header
Wim Taymans [Mon, 13 Jun 2011 14:28:58 +0000 (16:28 +0200)]
basertppayload: cleanup header

13 years agotheoradec: use _check_reconfigure method
Wim Taymans [Mon, 13 Jun 2011 10:15:33 +0000 (12:15 +0200)]
theoradec: use _check_reconfigure method

13 years agovideotestsrc: use baseclass allocator negotiation logic
Wim Taymans [Mon, 13 Jun 2011 10:09:34 +0000 (12:09 +0200)]
videotestsrc: use baseclass allocator negotiation logic

Let the baseclass implement the negotiation of the allocators.
Influence the allocator buffersize.
Use the fill vmethod to fill the buffer with data.

13 years agoximage: fix alignment and size
Wim Taymans [Sat, 11 Jun 2011 18:47:01 +0000 (20:47 +0200)]
ximage: fix alignment and size

Set the right alignment and size in the bufferpool.

13 years agoupdate for bufferpool api change
Wim Taymans [Sat, 11 Jun 2011 16:54:44 +0000 (18:54 +0200)]
update for bufferpool api change

13 years agoconvert M_PI to G_PI, for msvc
David Schleef [Wed, 1 Jun 2011 05:14:09 +0000 (22:14 -0700)]
convert M_PI to G_PI, for msvc

13 years agooggmux: refactor how EOS is determined
David Schleef [Wed, 8 Jun 2011 04:30:18 +0000 (21:30 -0700)]
oggmux: refactor how EOS is determined

This decreases the number of buffers held on each pad by one,
eliminating next_buffer.  Simplifies the logic by relying solely
on CollectPads to let us know when a pad is in EOS.  As a side
benefit, the collect pads related code is structured more like
other CollectPad users.

The previous code would occasionally mark the wrong pad as EOS,
causing the code to get in a state where all the streams were
finished, but EOS hadn't been sent to the source pad.

13 years agoupdate for alignment change
Wim Taymans [Fri, 10 Jun 2011 16:04:29 +0000 (18:04 +0200)]
update for alignment change

13 years agooggdemux: small cleanups
Wim Taymans [Fri, 10 Jun 2011 15:58:48 +0000 (17:58 +0200)]
oggdemux: small cleanups

13 years agovideotestsrc: fix for alignment value change
Wim Taymans [Fri, 10 Jun 2011 15:58:26 +0000 (17:58 +0200)]
videotestsrc: fix for alignment value change

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Fri, 10 Jun 2011 10:14:57 +0000 (12:14 +0200)]
Merge branch 'master' into 0.11

Conflicts:
tests/examples/audio/Makefile.am
tests/examples/v4l/Makefile.am

13 years ago-base: fix for flush_stop event API change
Wim Taymans [Fri, 10 Jun 2011 09:59:53 +0000 (11:59 +0200)]
-base: fix for flush_stop event API change

13 years agolibs: replace G_CONST_RETURN with 'const'
Tim-Philipp Müller [Thu, 9 Jun 2011 17:30:33 +0000 (18:30 +0100)]
libs: replace G_CONST_RETURN with 'const'

G_CONST_RETURN will be deprecated soon.

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

13 years agotag: xmp: Fix LocationShown syntax
Thiago Santos [Thu, 9 Jun 2011 03:02:07 +0000 (00:02 -0300)]
tag: xmp: Fix LocationShown syntax

According to the specification, the LocationShown requires its
struct fields to be inside a Bag type.

13 years agovisual: small improvements
Wim Taymans [Thu, 9 Jun 2011 09:52:32 +0000 (11:52 +0200)]
visual: small improvements

13 years agotag: xmp: Add room for extra namespace definitions
Thiago Santos [Wed, 8 Jun 2011 17:21:40 +0000 (14:21 -0300)]
tag: xmp: Add room for extra namespace definitions

Adds an extra field to the namespace definitions of the schemas
so they can add the namespace of any array/struct fields they
might use internally.

13 years agoplayback: changes for message API changes
Wim Taymans [Wed, 8 Jun 2011 11:43:28 +0000 (13:43 +0200)]
playback: changes for message API changes

13 years agoGST_PLUGINS_BASE_LIBS is not defined in -base.
Tim-Philipp Müller [Wed, 8 Jun 2011 11:21:43 +0000 (12:21 +0100)]
GST_PLUGINS_BASE_LIBS is not defined in -base.

13 years agoexamples: don't link testchannels example with system libgstaudio
Christophe Fergeau [Wed, 8 Jun 2011 09:33:07 +0000 (11:33 +0200)]
examples: don't link testchannels example with system libgstaudio

The testchannels audio test program is using -lgstaudio-0.10 to link
with libgstaudio which won't use the gstaudio library that was just
built but the one from the system. This is an issue since it means
we won't be testing the code from the current source tree, and it
also breaks the build when building on a system which don't have
a libgstaudio yet.

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

13 years agodocs: add some text about parser/decoder autoplugging issues
Tim-Philipp Müller [Wed, 8 Jun 2011 10:11:05 +0000 (11:11 +0100)]
docs: add some text about parser/decoder autoplugging issues

13 years agoRemove v4l plugin
Tim-Philipp Müller [Tue, 7 Jun 2011 19:43:24 +0000 (20:43 +0100)]
Remove v4l plugin

The old v4l interface has been deprecated for years and even
been removed from the kernel headers. If anyone still needs
this plugin, they can resurrect it in gst-plugins-bad, there's
no reason for it to be in -base.

13 years agortp: use new memory alloc API
Wim Taymans [Tue, 7 Jun 2011 14:18:40 +0000 (16:18 +0200)]
rtp: use new memory alloc API

13 years agoevent: fix some event leaks
Wim Taymans [Tue, 7 Jun 2011 10:06:22 +0000 (12:06 +0200)]
event: fix some event leaks

13 years ago-base: use caps event
Wim Taymans [Tue, 7 Jun 2011 09:55:36 +0000 (11:55 +0200)]
-base: use caps event

Remove uses of setcaps function and use the caps event.

13 years ago-base: use caps event instead of setcapsfunction
Wim Taymans [Tue, 7 Jun 2011 08:58:27 +0000 (10:58 +0200)]
-base: use caps event instead of setcapsfunction

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Mon, 6 Jun 2011 14:27:12 +0000 (16:27 +0200)]
Merge branch 'master' into 0.11

Conflicts:
ext/theora/gsttheoraenc.c

13 years agovideotestsrc: remove deprecated peer-alloc property
Wim Taymans [Mon, 6 Jun 2011 10:03:50 +0000 (12:03 +0200)]
videotestsrc: remove deprecated peer-alloc property

Remove the peer-alloc property, it's not used anymore because pad-alloc is gone.

13 years agoconfigure: also define GST_DISABLE_XML for now to fix subparse build
Tim-Philipp Müller [Mon, 6 Jun 2011 13:30:03 +0000 (14:30 +0100)]
configure: also define GST_DISABLE_XML for now to fix subparse build

13 years agotagdemux: no input data implies no type can be found
Mark Nauwelaerts [Mon, 6 Jun 2011 12:41:41 +0000 (14:41 +0200)]
tagdemux: no input data implies no type can be found

... and posting a proper error message to this effect is appropriately
informative and prevents auto-plugging otherwise stalling.

13 years agooggmux: determine granulepos metadata using stream mapper whenever possible
Mark Nauwelaerts [Mon, 6 Jun 2011 10:48:23 +0000 (12:48 +0200)]
oggmux: determine granulepos metadata using stream mapper whenever possible

... which unfortunately is not the case for all types, but at least so for
most common ones.

13 years agooggmux: convert incoming buffer timestamp to running time
Mark Nauwelaerts [Mon, 6 Jun 2011 10:46:05 +0000 (12:46 +0200)]
oggmux: convert incoming buffer timestamp to running time

... so all subsequent manipulation can take place in the proper timeline
without further ado.

13 years agooggmux: remove superfluous code
Mark Nauwelaerts [Wed, 1 Jun 2011 18:48:44 +0000 (20:48 +0200)]
oggmux: remove superfluous code

... since there is nothing in oggstream that cares (or even should)
about granulepos for what is being asked from it.

13 years agopo: update for removed translatable strings
Tim-Philipp Müller [Sun, 5 Jun 2011 22:47:37 +0000 (23:47 +0100)]
po: update for removed translatable strings

13 years agosubparse: fix indentation
Tim-Philipp Müller [Sun, 5 Jun 2011 22:47:58 +0000 (23:47 +0100)]
subparse: fix indentation

13 years agoconfigure: define USE_XML conditional used by subparse as FALSE for now
Tim-Philipp Müller [Sun, 5 Jun 2011 22:44:47 +0000 (23:44 +0100)]
configure: define USE_XML conditional used by subparse as FALSE for now

The subparse plugin needs to be split and/or moved to ext/ for the
libxml2 dependency. The media type needs to be format-specific instead
of a catch-all format. Maybe add a base class or line-based adapter.

13 years agoadder: Work around changes in g_atomic API
David Schleef [Sat, 4 Jun 2011 20:36:55 +0000 (13:36 -0700)]
adder: Work around changes in g_atomic API

See #651514 for details.

13 years agodiscoverer: fix c99-ism
David Schleef [Wed, 1 Jun 2011 03:38:56 +0000 (20:38 -0700)]
discoverer: fix c99-ism

13 years agotheora: separate encode and push block in chain, into own function.
Luis de Bethencourt [Fri, 3 Jun 2011 14:29:00 +0000 (16:29 +0200)]
theora: separate encode and push block in chain, into own function.

13 years agocheck/vorbistag: Convert to new probe API
Edward Hervey [Fri, 3 Jun 2011 17:10:33 +0000 (19:10 +0200)]
check/vorbistag: Convert to new probe API

13 years agocheck/vorbisenc: Convert to new probe API
Edward Hervey [Fri, 3 Jun 2011 17:07:44 +0000 (19:07 +0200)]
check/vorbisenc: Convert to new probe API

13 years agocheck/oggmux: Convert to new probe API
Edward Hervey [Fri, 3 Jun 2011 17:00:23 +0000 (19:00 +0200)]
check/oggmux: Convert to new probe API

13 years agocheck/playbin2: Update for caps and structure API changes
Edward Hervey [Fri, 3 Jun 2011 13:51:08 +0000 (15:51 +0200)]
check/playbin2: Update for caps and structure API changes

13 years agocheck: Use new gst_event_new_segment() API
Edward Hervey [Fri, 3 Jun 2011 10:19:49 +0000 (12:19 +0200)]
check: Use new gst_event_new_segment() API

13 years agoexamples: Link against proper libgstaudio
Edward Hervey [Fri, 3 Jun 2011 09:48:43 +0000 (11:48 +0200)]
examples: Link against proper libgstaudio

It was previously attempting to link against the non-local one.

13 years agooggmux: Use the GstPad (and not the GstOggPadData for GstPad functions
Edward Hervey [Fri, 3 Jun 2011 17:00:39 +0000 (19:00 +0200)]
oggmux: Use the GstPad (and not the GstOggPadData for GstPad functions

For those willing, renaming that 'pad' variable to something more obvious
would be nice to avoid such bugs...

13 years agothoeraenc: port to 0.11
Wim Taymans [Fri, 3 Jun 2011 11:35:49 +0000 (13:35 +0200)]
thoeraenc: port to 0.11

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Fri, 3 Jun 2011 11:31:42 +0000 (13:31 +0200)]
Merge branch 'master' into 0.11

Conflicts:
ext/theora/gsttheoraenc.c

13 years agotypefind: fix after merge
Wim Taymans [Fri, 3 Jun 2011 11:16:09 +0000 (13:16 +0200)]
typefind: fix after merge

13 years agoplayback: fix compilation after ghostpad setcaps removal
Wim Taymans [Fri, 3 Jun 2011 11:12:31 +0000 (13:12 +0200)]
playback: fix compilation after ghostpad setcaps removal

13 years agotheora: use fixed src cap pads
Luis de Bethencourt [Thu, 2 Jun 2011 17:08:41 +0000 (19:08 +0200)]
theora: use fixed src cap pads

13 years agotheora: set the width/height/par on the srcpad caps
Luis de Bethencourt [Thu, 2 Jun 2011 16:57:05 +0000 (18:57 +0200)]
theora: set the width/height/par on the srcpad caps

13 years agotheora: get sink caps info from downstream element pad
Luis de Bethencourt [Thu, 2 Jun 2011 15:29:53 +0000 (17:29 +0200)]
theora: get sink caps info from downstream element pad

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

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Thu, 2 Jun 2011 17:26:33 +0000 (19:26 +0200)]
Merge branch 'master' into 0.11

13 years agobasertp: use caps event instead of setcaps function
Wim Taymans [Thu, 2 Jun 2011 17:21:24 +0000 (19:21 +0200)]
basertp: use caps event instead of setcaps function

Use the caps event instead of the setcaps function to configure caps.
Use a default event handler for the base rtp payloader instead of the awkward
way of handling the return value.

13 years agopbutils: add description for wbmp images.
Patrick McCarty [Fri, 27 May 2011 21:41:39 +0000 (14:41 -0700)]
pbutils: add description for wbmp images.

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

13 years agotypefinding: add typefinder for WAP WBMP bitmaps
Tim-Philipp Müller [Wed, 1 Jun 2011 23:55:41 +0000 (00:55 +0100)]
typefinding: add typefinder for WAP WBMP bitmaps

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

13 years agovideo: fix header after merge
Wim Taymans [Thu, 2 Jun 2011 10:21:28 +0000 (12:21 +0200)]
video: fix header after merge

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Thu, 2 Jun 2011 10:18:13 +0000 (12:18 +0200)]
Merge branch 'master' into 0.11

Conflicts:
gst-libs/gst/video/video.h
gst/playback/gstplaysinkaudioconvert.c
gst/playback/gstplaysinkvideoconvert.c
tests/check/libs/rtp.c

13 years agoplaysinconvert: clear the probe id when removing
Wim Taymans [Thu, 2 Jun 2011 10:12:04 +0000 (12:12 +0200)]
playsinconvert: clear the probe id when removing

13 years agoplaysink: refactor block/unblock code a little
Wim Taymans [Thu, 2 Jun 2011 10:08:22 +0000 (12:08 +0200)]
playsink: refactor block/unblock code a little

13 years agoplaysink: Fix deadlock in the audio/video converter bins when linking fails
Sebastian Dröge [Thu, 2 Jun 2011 09:53:10 +0000 (11:53 +0200)]
playsink: Fix deadlock in the audio/video converter bins when linking fails

13 years agoprobes: port to new API for blocking and probes
Wim Taymans [Wed, 1 Jun 2011 17:34:54 +0000 (19:34 +0200)]
probes: port to new API for blocking and probes

13 years agocheck: ... and don't forget to add the new arm header
Edward Hervey [Wed, 1 Jun 2011 15:31:35 +0000 (17:31 +0200)]
check: ... and don't forget to add the new arm header

Forgot it in my previous commit

13 years agolibsabi: Add structure sizes for arm
Edward Hervey [Wed, 1 Jun 2011 15:24:30 +0000 (17:24 +0200)]
libsabi: Add structure sizes for arm

13 years agofft: s/M_PI/G_PI/ for MSVC
David Schleef [Wed, 1 Jun 2011 02:57:57 +0000 (19:57 -0700)]
fft: s/M_PI/G_PI/ for MSVC

13 years agovolume: Fix handling of volume>=4.0 for 8 and 16 bit integer formats
Sebastian Dröge [Tue, 31 May 2011 09:05:03 +0000 (11:05 +0200)]
volume: Fix handling of volume>=4.0 for 8 and 16 bit integer formats

Also add a unit test for this. Previously volumes bigger than 4.0
would have resulted in overflows in the fixed point processing.

Fixes bug #649642.

13 years agoplaybin: fixed for new pad block API
Wim Taymans [Mon, 30 May 2011 16:36:14 +0000 (18:36 +0200)]
playbin: fixed for new pad block API

13 years agooggdemux: activate pad before pushing things
Wim Taymans [Mon, 30 May 2011 15:14:48 +0000 (17:14 +0200)]
oggdemux: activate pad before pushing things

Activate the pad before pushing things on it or else we get errors.

13 years agotests: fix some more unused-but-set-variable warnings with gcc 4.6
Tim-Philipp Müller [Sun, 29 May 2011 12:32:04 +0000 (13:32 +0100)]
tests: fix some more unused-but-set-variable warnings with gcc 4.6

13 years agowin32: update .def file for new API
Tim-Philipp Müller [Sat, 28 May 2011 15:14:23 +0000 (16:14 +0100)]
win32: update .def file for new API

13 years agoIgnore new playbin2-compress test binary
Tim-Philipp Müller [Sat, 28 May 2011 11:39:06 +0000 (12:39 +0100)]
Ignore new playbin2-compress test binary

And add old testchannels binary to CRUFT_FILES.

13 years agovideo: sprinkle some G_GNUC_CONST
Tim-Philipp Müller [Fri, 27 May 2011 22:31:27 +0000 (23:31 +0100)]
video: sprinkle some G_GNUC_CONST

Mark functions that have no effect besides their return value and
only inspect their input arguments with G_GNUC_CONST. (We just
ignore the g_return_val_if_fail() guards for this)

13 years agovideo: clean up header file
Tim-Philipp Müller [Fri, 27 May 2011 22:25:00 +0000 (23:25 +0100)]
video: clean up header file

Sprinkle some spaces and newlines here and there.

13 years agovideoscale: Optimize transform_caps()
Sebastian Dröge [Fri, 27 May 2011 12:30:19 +0000 (14:30 +0200)]
videoscale: Optimize transform_caps()

If the second and next caps structures are a subset of the already existing
transformed caps we can safely skip them because we would transform them to
the same caps again.

13 years agoffmpegcolorspace: Optimize transform_caps()
Sebastian Dröge [Fri, 27 May 2011 12:28:46 +0000 (14:28 +0200)]
ffmpegcolorspace: Optimize transform_caps()

If the second and next caps structures are a subset of the already existing
transformed caps we can safely skip them because we would transform them to
the same caps again.

13 years agoaudioresample: Optimize transform_caps()
Sebastian Dröge [Fri, 27 May 2011 12:20:08 +0000 (14:20 +0200)]
audioresample: Optimize transform_caps()

If the second and next caps structures are a subset of the already existing
transformed caps we can safely skip them because we would transform them to
the same caps again.

13 years agoaudioconvert: Use new gst_caps_is_subset_structure() API
Sebastian Dröge [Fri, 27 May 2011 12:10:50 +0000 (14:10 +0200)]
audioconvert: Use new gst_caps_is_subset_structure() API

This prevents one copy of every structure and creating a new caps
instance.

13 years agoaudio: move testchannels example to 'tests/examples' dir
Stefan Kost [Fri, 27 May 2011 12:03:19 +0000 (15:03 +0300)]
audio: move testchannels example to 'tests/examples' dir

Also fix it up a little to not include 'c' file but link to the libs instead.

13 years agoMerge branch 'master' into 0.11
Sebastian Dröge [Fri, 27 May 2011 11:58:41 +0000 (13:58 +0200)]
Merge branch 'master' into 0.11

13 years agoaudioconvert: Optimize transform_caps()
Sebastian Dröge [Fri, 27 May 2011 11:13:42 +0000 (13:13 +0200)]
audioconvert: Optimize transform_caps()

If the second and next caps structures are a subset of the already existing
transformed caps we can safely skip them because we would transform them to
the same caps again.

This makes gst_pad_get_caps() on an audiotestsrc ! audioconvert !
audioconvert ! audioconvert ! fakesink pipeline about 1.7 times faster.

13 years agoaudioconvert: Fix audioconvert unit test to work again
Sebastian Dröge [Fri, 27 May 2011 10:13:32 +0000 (12:13 +0200)]
audioconvert: Fix audioconvert unit test to work again

13 years agogst: Update for the GstBaseTransform::transform_caps() changes
Sebastian Dröge [Fri, 27 May 2011 10:13:14 +0000 (12:13 +0200)]
gst: Update for the GstBaseTransform::transform_caps() changes

13 years agocode-utile: fix level descriptions for fgs
Stefan Kost [Fri, 27 May 2011 08:39:21 +0000 (11:39 +0300)]
code-utile: fix level descriptions for fgs

fgs levels range from 8-13 and are mapped to 0-5.

13 years agocodec-utils: fix mpeg4 level verification
Stefan Kost [Wed, 25 May 2011 11:38:21 +0000 (14:38 +0300)]
codec-utils: fix mpeg4 level verification

The current condition would never be true. As levels<6 are asp and levels>7 and
<14 are fgs, we should return NULL for cases 6,7,14,15.