platform/upstream/gstreamer.git
14 years agodivx: add const to fix compiler warnings
Stefan Kost [Thu, 25 Mar 2010 21:48:09 +0000 (23:48 +0200)]
divx: add const to fix compiler warnings

14 years agosignalprocessor: add boolean return to _process
Stefan Kost [Thu, 25 Mar 2010 21:30:29 +0000 (23:30 +0200)]
signalprocessor: add boolean return to _process

Avoid trying to push results if processing failed anyway.

14 years agosignalprocessor: remove useless g_assert
Stefan Kost [Thu, 25 Mar 2010 21:28:25 +0000 (23:28 +0200)]
signalprocessor: remove useless g_assert

g_malloc and co would terminate when out of memory. No need to check after it.

14 years agosignalprocessor: add more logging
Stefan Kost [Thu, 25 Mar 2010 21:24:36 +0000 (23:24 +0200)]
signalprocessor: add more logging

14 years agosignalprocessor: register function pointers just once
Stefan Kost [Thu, 25 Mar 2010 21:12:37 +0000 (23:12 +0200)]
signalprocessor: register function pointers just once

Avoid re-registering those for each wrapped ladpsa/lv2 element.

14 years agosignalprocessor: add rate to caps
Stefan Kost [Thu, 25 Mar 2010 21:07:46 +0000 (23:07 +0200)]
signalprocessor: add rate to caps

14 years agosignalprocessor: rename log category to be less ambigous
Stefan Kost [Thu, 25 Mar 2010 21:04:41 +0000 (23:04 +0200)]
signalprocessor: rename log category to be less ambigous

14 years agolv2: add more examples
Stefan Kost [Thu, 25 Mar 2010 20:59:18 +0000 (22:59 +0200)]
lv2: add more examples

14 years agodtmfdetect: if we tell that we handle gap flags, then do so
Stefan Kost [Thu, 25 Mar 2010 20:58:47 +0000 (22:58 +0200)]
dtmfdetect: if we tell that we handle gap flags, then do so

14 years agodtmfdetect: use glib types
Stefan Kost [Thu, 25 Mar 2010 20:55:32 +0000 (22:55 +0200)]
dtmfdetect: use glib types

14 years agodtmfdetect: fix classification
Stefan Kost [Thu, 25 Mar 2010 20:54:49 +0000 (22:54 +0200)]
dtmfdetect: fix classification

14 years agodtmfdetect: reformat message docs
Stefan Kost [Thu, 25 Mar 2010 20:53:20 +0000 (22:53 +0200)]
dtmfdetect: reformat message docs

Use a list like in other element docs as an untweaked docbook table look ugly.

14 years agoaudioparsers: remove unused GstBaseParseClassPrivate structure
Tim-Philipp Müller [Thu, 25 Mar 2010 17:09:17 +0000 (17:09 +0000)]
audioparsers: remove unused GstBaseParseClassPrivate structure

14 years agoflacparse: Make bitrate estimation more accurate
Arun Raghavan [Thu, 25 Mar 2010 12:55:02 +0000 (12:55 +0000)]
flacparse: Make bitrate estimation more accurate

This implements the get_frame_overhead() vfunc so that baseparse can
make more accurate bitrate estimates.

14 years agoaacparse: Fix bitrate calculation
Arun Raghavan [Thu, 25 Mar 2010 11:48:46 +0000 (11:48 +0000)]
aacparse: Fix bitrate calculation

This patch adds the get_frame_overhead() vfunc so that baseparse can
accurately calculate the min/avg/max bitrates for aacparse.

Note: The bitrate was being incorrectly calculated for ADTS streams
(it's not in the header as the code suggests).

14 years agoaudioparsers: Add bitrate calculation to baseparse
Arun Raghavan [Thu, 25 Mar 2010 11:22:58 +0000 (11:22 +0000)]
audioparsers: Add bitrate calculation to baseparse

This makes baseparse keep a running average of the stream bitrate, as
well as the minimum and maximum bitrates. Subclasses can override a
vfunc to make sure that per-frame overhead from the container is not
accounted for in the bitrate calculation.

We take care not to override the bitrate, minimum-bitrate, and
maximum-bitrate tags if they have been posted upstream. We also
rate-limit the emission of bitrate so that it is only triggered by a
change of >10 kbps.

14 years agotests: tagschecking: New tags tests
Thiago Santos [Tue, 23 Mar 2010 20:34:30 +0000 (17:34 -0300)]
tests: tagschecking: New tags tests

Adds new tags checking tests.

14 years agoqtmux: init debug category before using it
Tim-Philipp Müller [Thu, 25 Mar 2010 00:20:54 +0000 (00:20 +0000)]
qtmux: init debug category before using it

14 years agoAutomatic update of common submodule
Edward Hervey [Wed, 24 Mar 2010 17:54:57 +0000 (18:54 +0100)]
Automatic update of common submodule

From 55cd514 to c1d07dd

14 years agodshowvideosrc: Add support for YUY2 input format
Andoni Morales [Wed, 24 Mar 2010 16:05:14 +0000 (17:05 +0100)]
dshowvideosrc: Add support for YUY2 input format

Fix bug #613708

14 years agodocs: add photography iface to docs
Stefan Kost [Wed, 24 Mar 2010 14:15:37 +0000 (16:15 +0200)]
docs: add photography iface to docs

We normaly have separate libs docs, not done becasue of lazyness here yet.

14 years agojpegformat: add blank line to fix generated xml
Stefan Kost [Wed, 24 Mar 2010 14:05:20 +0000 (16:05 +0200)]
jpegformat: add blank line to fix generated xml

14 years agojack: fix element name in section doc blob
Stefan Kost [Wed, 24 Mar 2010 13:59:53 +0000 (15:59 +0200)]
jack: fix element name in section doc blob

14 years agomodplug: Define WORDS_BIGENDIAN to avoid undefined warning
Benjamin Otte [Wed, 24 Mar 2010 14:05:50 +0000 (15:05 +0100)]
modplug: Define WORDS_BIGENDIAN to avoid undefined warning

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

14 years agoUse pkgconfig to detect dvdnav
Benjamin Otte [Wed, 24 Mar 2010 11:16:07 +0000 (12:16 +0100)]
Use pkgconfig to detect dvdnav

The previously used dvdnav-config script was broken in a lot of distros.

14 years agokate: fix yet another compiler warning
Tim-Philipp Müller [Wed, 24 Mar 2010 00:27:34 +0000 (00:27 +0000)]
kate: fix yet another compiler warning

14 years agoosx: more compiler warning fixes
Tristan Matthews [Tue, 23 Mar 2010 23:56:48 +0000 (19:56 -0400)]
osx: more compiler warning fixes

Avoid new warnings.

Fixes #613758.

14 years agotests: faac: Fix build
Thiago Santos [Tue, 23 Mar 2010 17:15:53 +0000 (14:15 -0300)]
tests: faac: Fix build

Fixes build of faac due to functions not being static nor
having being declared in headers. (No previous prototype error)

Probably due to added -Wmissing-prototypes

14 years agoamrwbenc: Fix compiler warning
Sebastian Dröge [Tue, 23 Mar 2010 10:10:05 +0000 (11:10 +0100)]
amrwbenc: Fix compiler warning

14 years agocog: touch cog.orc to force regeneration of cogorc.[ch]
Tim-Philipp Müller [Tue, 23 Mar 2010 09:14:03 +0000 (09:14 +0000)]
cog: touch cog.orc to force regeneration of cogorc.[ch]

.. with new Makefile.am rules, which should fix the build
without the need to do a 'manual' make clean after updating.

14 years agowininet: Fix warnings
Benjamin Otte [Tue, 23 Mar 2010 00:41:31 +0000 (01:41 +0100)]
wininet: Fix warnings

14 years agodirectdraw: Fix warnings
Benjamin Otte [Tue, 23 Mar 2010 00:30:54 +0000 (01:30 +0100)]
directdraw: Fix warnings

14 years agoRemove -Wundef for Windows
Benjamin Otte [Tue, 23 Mar 2010 00:15:27 +0000 (01:15 +0100)]
Remove -Wundef for Windows

Windows headers tend to check _MSC_VER uncondtionally in some places,
but use #ifdef _MSC_VER in other places.

14 years agoAdd a bunch of warning flags
Benjamin Otte [Tue, 23 Mar 2010 00:14:33 +0000 (01:14 +0100)]
Add a bunch of warning flags

None of them trigger any warning

14 years agoFixes for -Waggregate-return
Benjamin Otte [Tue, 23 Mar 2010 00:11:42 +0000 (01:11 +0100)]
Fixes for -Waggregate-return

The flag wasn't added due to libexif using aggregate return values.

14 years agoi18n: build fixes: #if -> #ifdef for ENABLE_NLS
Stefan Kost [Mon, 22 Mar 2010 16:02:39 +0000 (18:02 +0200)]
i18n: build fixes: #if -> #ifdef for ENABLE_NLS

14 years agoi18n: fix the build
Stefan Kost [Mon, 22 Mar 2010 16:01:27 +0000 (18:01 +0200)]
i18n: fix the build

Don't include locale.h which we include in gettext.h if needed. Guard the
include like we do in the simillar headers in core.

14 years agoAdd -Wold-style-definition
Benjamin Otte [Mon, 22 Mar 2010 15:56:03 +0000 (16:56 +0100)]
Add -Wold-style-definition

and fix the warnings

14 years agoAdd -Wformat-nonliteral -Wformat-security flags
Benjamin Otte [Mon, 22 Mar 2010 15:21:31 +0000 (16:21 +0100)]
Add -Wformat-nonliteral -Wformat-security flags

and fix the warnings

14 years agooss4: Refactor code to make it look more modern
Benjamin Otte [Mon, 22 Mar 2010 15:13:12 +0000 (16:13 +0100)]
oss4: Refactor code to make it look more modern

A side effect is that it passes -Wformat-nonliteral and doesn't read
invalid memory in some cases, like when the mixer track contains
a % sign or there is a number but not a known mixer name.

14 years agooss4: Avoid g_quark_to_string (g_quark_from_string ()) madness
Benjamin Otte [Mon, 22 Mar 2010 13:09:24 +0000 (14:09 +0100)]
oss4: Avoid g_quark_to_string (g_quark_from_string ()) madness

We to the strdup inside gst_oss4_mixer_control_get_translated_name()
instead of in the only caller.

14 years agoladspa: Fix compiler warnings
Sebastian Dröge [Mon, 22 Mar 2010 12:50:30 +0000 (13:50 +0100)]
ladspa: Fix compiler warnings

14 years agompegvideoparse: Parse bitrate and emit as tag
Arun Raghavan [Tue, 2 Feb 2010 10:19:29 +0000 (15:49 +0530)]
mpegvideoparse: Parse bitrate and emit as tag

This patch picks up the bitrate for the stream from the MPEG sequence
header and emits it as a tag on the source pad.

Fixes #599298.

14 years agosoundtouch: build fixes: #if -> #ifdef
Tim-Philipp Müller [Mon, 22 Mar 2010 12:38:02 +0000 (12:38 +0000)]
soundtouch: build fixes: #if -> #ifdef

14 years agoAdd -Wwrite-strings
Benjamin Otte [Mon, 22 Mar 2010 12:16:33 +0000 (13:16 +0100)]
Add -Wwrite-strings

and fix its warnings

14 years agoAdd -Wundef
Benjamin Otte [Mon, 22 Mar 2010 11:30:01 +0000 (12:30 +0100)]
Add -Wundef

and fix the warnings

14 years agoUpdate .gitignore
Benjamin Otte [Mon, 22 Mar 2010 11:03:56 +0000 (12:03 +0100)]
Update .gitignore

14 years agoAdd -Wredundant-decls flag
Benjamin Otte [Mon, 22 Mar 2010 11:02:16 +0000 (12:02 +0100)]
Add -Wredundant-decls flag

and fix warnings from it

14 years agogme: Fix compiler warning
Sebastian Dröge [Mon, 22 Mar 2010 07:47:57 +0000 (08:47 +0100)]
gme: Fix compiler warning

14 years agovdpau: Fix compiler warnings
Sebastian Dröge [Mon, 22 Mar 2010 07:45:27 +0000 (08:45 +0100)]
vdpau: Fix compiler warnings

14 years agoorc: Fix warnings
Benjamin Otte [Sun, 21 Mar 2010 22:10:08 +0000 (23:10 +0100)]
orc: Fix warnings

14 years agoexamples: Fix warnings
Benjamin Otte [Sun, 21 Mar 2010 22:00:48 +0000 (23:00 +0100)]
examples: Fix warnings

14 years agodirectdraw: Fix warnings
Benjamin Otte [Sun, 21 Mar 2010 21:48:13 +0000 (22:48 +0100)]
directdraw: Fix warnings

14 years agogst-camera: Add a header declaring the functions from the ui file
Benjamin Otte [Sun, 21 Mar 2010 21:46:00 +0000 (22:46 +0100)]
gst-camera: Add a header declaring the functions from the ui file

14 years agotests: Add file I forgot to check in
Benjamin Otte [Sun, 21 Mar 2010 21:10:47 +0000 (22:10 +0100)]
tests: Add file I forgot to check in

14 years agoacmmp3dec: fix warnings
Benjamin Otte [Sun, 21 Mar 2010 21:09:20 +0000 (22:09 +0100)]
acmmp3dec: fix warnings

14 years agoFix acmenc for warning flags
Benjamin Otte [Sun, 21 Mar 2010 20:53:44 +0000 (21:53 +0100)]
Fix acmenc for warning flags

14 years agoAdd -Wmissing-declarations -Wmissing-prototypes to configure flags
Benjamin Otte [Sun, 21 Mar 2010 20:39:18 +0000 (21:39 +0100)]
Add -Wmissing-declarations -Wmissing-prototypes to configure flags

And fix all warnings

14 years agosiren: Run gst-indent script
Benjamin Otte [Sun, 21 Mar 2010 20:37:37 +0000 (21:37 +0100)]
siren: Run gst-indent script

Includes running dos2unix on decoder.c

14 years agotests: Fix kate test
Benjamin Otte [Sun, 21 Mar 2010 20:29:47 +0000 (21:29 +0100)]
tests: Fix kate test

It was failing due to the new buffer_metadata_writable checks added to
the core recently.

14 years agolegacyresample: remove unused file
Benjamin Otte [Sun, 21 Mar 2010 17:59:30 +0000 (18:59 +0100)]
legacyresample: remove unused file

14 years agoconfigure: s/GST_CVS/GST_GIT/
Benjamin Otte [Sun, 21 Mar 2010 16:54:26 +0000 (17:54 +0100)]
configure: s/GST_CVS/GST_GIT/

14 years agocog: Generate correct YUV->RGB tables
Sebastian Dröge [Fri, 19 Mar 2010 15:47:15 +0000 (16:47 +0100)]
cog: Generate correct YUV->RGB tables

Fixes: #613332.

14 years agosdpdemux: disable loop and auto multicast join
Wim Taymans [Fri, 19 Mar 2010 10:10:40 +0000 (11:10 +0100)]
sdpdemux: disable loop and auto multicast join

Disable loopback of packets.
Disable autojoin of multicast groups in the sink because the source already
does that on the shared socket.

14 years agogst_element_class_set_details => gst_element_class_set_details_simple
Benjamin Otte [Thu, 18 Mar 2010 16:30:26 +0000 (17:30 +0100)]
gst_element_class_set_details => gst_element_class_set_details_simple

14 years agovirtualdub: Remove
Benjamin Otte [Thu, 18 Mar 2010 16:11:59 +0000 (17:11 +0100)]
virtualdub: Remove

THe plugin is so hopelessly outdated, it's just not worth keeping.

14 years agoRemove xine plugin code
Benjamin Otte [Thu, 18 Mar 2010 16:04:59 +0000 (17:04 +0100)]
Remove xine plugin code

The plugin is unmaintained (even worse than Xine ;))

14 years agoRemove gob examples
Benjamin Otte [Thu, 18 Mar 2010 15:17:10 +0000 (16:17 +0100)]
Remove gob examples

They were outdated and wouldn't have compiled anymore.

14 years agocog: Fix off-by-one in 444->420 conversion
David Schleef [Wed, 17 Mar 2010 18:30:34 +0000 (11:30 -0700)]
cog: Fix off-by-one in 444->420 conversion

Fixes #613160.

14 years agocog: Use "(png_infopp) NULL" instead of png_infopp_NULL
Руслан Ижбулатов [Wed, 17 Mar 2010 11:29:31 +0000 (14:29 +0300)]
cog: Use "(png_infopp) NULL" instead of png_infopp_NULL

14 years agocog: Use png_get_io_ptr() instead of accessing io_ptr directly
Руслан Ижбулатов [Wed, 17 Mar 2010 11:23:41 +0000 (14:23 +0300)]
cog: Use png_get_io_ptr() instead of accessing io_ptr directly

14 years agocog: Check for libpng >= 1.2 instead of libpng12
Руслан Ижбулатов [Wed, 17 Mar 2010 11:21:53 +0000 (14:21 +0300)]
cog: Check for libpng >= 1.2 instead of libpng12

14 years agodocs: the xdgmime plugin was merged into typefinders
Stefan Kost [Tue, 16 Mar 2010 21:46:04 +0000 (23:46 +0200)]
docs: the xdgmime plugin was merged into typefinders

14 years agoneon,dvd: also use g_value_set_static_string() here for static strings
Stefan Kost [Tue, 16 Mar 2010 21:43:02 +0000 (23:43 +0200)]
neon,dvd: also use g_value_set_static_string() here for static strings

14 years agompegtsdemux: fix minor memory leak in property getter
Tim-Philipp Müller [Mon, 15 Mar 2010 10:13:19 +0000 (10:13 +0000)]
mpegtsdemux: fix minor memory leak in property getter

Don't leak the string returned by g_strjoinv(). While we're at it,
use GString to assemble the string to be returned.

14 years agodvbsrc: use g_value_set_static_string() where possible
Tim-Philipp Müller [Mon, 15 Mar 2010 09:24:17 +0000 (09:24 +0000)]
dvbsrc: use g_value_set_static_string() where possible

14 years agocog: disable code that causes an orcc crash
David Schleef [Mon, 15 Mar 2010 19:17:37 +0000 (12:17 -0700)]
cog: disable code that causes an orcc crash

Revert this after orc release and version bump.

14 years agoimagefreeze: Only start the task after a seek if a buffer was received already
Sebastian Dröge [Mon, 15 Mar 2010 10:54:02 +0000 (11:54 +0100)]
imagefreeze: Only start the task after a seek if a buffer was received already

14 years agocog: comment on previous bad commit message
David Schleef [Mon, 15 Mar 2010 08:46:45 +0000 (01:46 -0700)]
cog: comment on previous bad commit message

The recent commit "logoinsert checkpoint FIXME" should
actually read:  Fix logoinsert variable names.

14 years agocog: implement chroma-site
David Schleef [Mon, 15 Mar 2010 08:26:25 +0000 (01:26 -0700)]
cog: implement chroma-site

Determine chroma site position from the caps and use it when
upsampling/downsampling chroma.

14 years agocogcolorspace: implement color-matrix handling
David Schleef [Mon, 15 Mar 2010 01:56:06 +0000 (18:56 -0700)]
cogcolorspace: implement color-matrix handling

14 years agocog: logoinsert checkpoint FIXME
David Schleef [Thu, 8 Oct 2009 22:18:41 +0000 (15:18 -0700)]
cog: logoinsert checkpoint FIXME

14 years agocog: Add n_taps to chroma upsampling
David Schleef [Fri, 30 Oct 2009 22:35:36 +0000 (15:35 -0700)]
cog: Add n_taps to chroma upsampling

14 years agoasfmux: fix typo in property description
Tim-Philipp Müller [Sat, 13 Mar 2010 18:54:05 +0000 (18:54 +0000)]
asfmux: fix typo in property description

14 years agompegvideoparse: Update caps when the sequence header changes
Raimo Järvi [Sat, 13 Mar 2010 05:03:32 +0000 (06:03 +0100)]
mpegvideoparse: Update caps when the sequence header changes

Fixes bug #612687.

14 years agocamerabin: activate video bin before feeding data to it
Mark Nauwelaerts [Fri, 12 Mar 2010 18:30:48 +0000 (19:30 +0100)]
camerabin: activate video bin before feeding data to it

Fixes #612615.

14 years agotests: tagschecking: Improvements and new geo-location tests
Thiago Santos [Fri, 12 Mar 2010 14:28:51 +0000 (11:28 -0300)]
tests: tagschecking: Improvements and new geo-location tests

Makes some improvements to tagschecking.c, making it use
fakesrc instead of videotestsrc and allowing to set input
caps so that more muxers can be used. Previously we could
only use those that accepted raw video caps.

Also adds some tests for geo-location tags

14 years agoqtmux: Use xmp on mp4mux and gppmux too
Thiago Santos [Fri, 12 Mar 2010 13:53:36 +0000 (10:53 -0300)]
qtmux: Use xmp on mp4mux and gppmux too

Do not restrict xmp to qtmux, but use it too
on mp4mux and gppmux

14 years agoAutomatic update of common submodule
Edward Hervey [Fri, 12 Mar 2010 12:59:12 +0000 (13:59 +0100)]
Automatic update of common submodule

From e272f71 to 55cd514

14 years agojpegparse: Fix unitialized variable on macosx 10.5
Edward Hervey [Fri, 12 Mar 2010 08:52:57 +0000 (09:52 +0100)]
jpegparse: Fix unitialized variable on macosx 10.5

14 years agojpegformat: add xmp reading and writing support
Stefan Kost [Thu, 11 Mar 2010 19:32:28 +0000 (21:32 +0200)]
jpegformat: add xmp reading and writing support

Bump needed base version for new xmp helper library. Use xmp helpers in
jpegparse and jifmux.

14 years agoconfigure: Fix merge mistake
Sebastian Dröge [Fri, 12 Mar 2010 08:23:46 +0000 (08:23 +0000)]
configure: Fix merge mistake

14 years agosegmentclip: Add audio/video buffer segment clip elements
Sebastian Dröge [Sun, 28 Feb 2010 18:41:02 +0000 (19:41 +0100)]
segmentclip: Add audio/video buffer segment clip elements

These elements clip the audio/video buffers to the configured segment
for the case when the upstream elements don't do this correctly.

14 years agoimagefreeze: Add some unit tests
Sebastian Dröge [Sun, 28 Feb 2010 15:08:14 +0000 (16:08 +0100)]
imagefreeze: Add some unit tests

14 years agoimagefreeze: Set undefined framerate in sink getcaps function
Sebastian Dröge [Sun, 28 Feb 2010 15:04:31 +0000 (16:04 +0100)]
imagefreeze: Set undefined framerate in sink getcaps function

14 years agoimagefreeze: Implement reverse playback and set buffer offsets
Sebastian Dröge [Sun, 28 Feb 2010 14:02:02 +0000 (15:02 +0100)]
imagefreeze: Implement reverse playback and set buffer offsets

14 years agoimagefreeze: Add to the docs
Sebastian Dröge [Sat, 27 Feb 2010 16:37:22 +0000 (17:37 +0100)]
imagefreeze: Add to the docs

14 years agoimagefreeze: Add still frame stream generator element
Sebastian Dröge [Sat, 27 Feb 2010 16:33:05 +0000 (17:33 +0100)]
imagefreeze: Add still frame stream generator element

14 years agocheck: tagschecking: tests for tags serialization in muxers
Thiago Santos [Fri, 5 Mar 2010 16:33:37 +0000 (13:33 -0300)]
check: tagschecking: tests for tags serialization in muxers

Adds a check unit test that aims to test tags serialization
and deserialization consistency (in muxers). It provides a
basic function that allows one to easily specify tags, a
muxer and a demuxer and a test will be done to check if
the tags have been consistently muxed and demuxed

14 years agoqtmux: add xmp support
Thiago Santos [Mon, 22 Feb 2010 19:45:34 +0000 (16:45 -0300)]
qtmux: add xmp support

Adds xmp metatags adding to qtmux.

Fixes #609539