platform/upstream/gstreamer.git
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

14 years agometadata: Remove _XMP_GEO_* tags
Thiago Santos [Thu, 11 Mar 2010 12:29:53 +0000 (09:29 -0300)]
metadata: Remove _XMP_GEO_* tags

Removes GST_TAG_XMP_GEO_LOCATION_COUNTRY,
GST_TAG_XMP_GEO_LOCATION_CITY and
GST_TAG_XMP_GEO_LOCATION_SUBLOCATION from metadata's
private tags as those are now present at -core tags.

Fixes #612410

14 years agoqtmux: fix GST_ELEMENT_ERROR usage
Tim-Philipp Müller [Thu, 11 Mar 2010 17:17:15 +0000 (17:17 +0000)]
qtmux: fix GST_ELEMENT_ERROR usage

We need to pass (NULL) rather than NULL for empty arguments.

14 years agojpegformat: Fix unitialized variables
Edward Hervey [Thu, 11 Mar 2010 16:58:25 +0000 (17:58 +0100)]
jpegformat: Fix unitialized variables

14 years agofix compile error with trace macro
Rob Clark [Wed, 10 Mar 2010 17:50:47 +0000 (11:50 -0600)]
fix compile error with trace macro

Note that this one isn't a problem with normal trace macros, but causes problems with
some replacement trace macros that I use, which expect the format string to be
appendable (ie "foo "fmt in the macro)

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

14 years agofix trace macro typo
Rob Clark [Wed, 10 Mar 2010 17:49:22 +0000 (11:49 -0600)]
fix trace macro typo

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

14 years agompeg4videoparse: fix compile error
Rob Clark [Wed, 10 Mar 2010 16:26:27 +0000 (10:26 -0600)]
mpeg4videoparse: fix compile error

gst/mpeg4videoparse/mpeg4videoparse.c:689: warning: comparison is always true due to limited range of data type

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

14 years agoqtmux: fix compile error
Rob Clark [Wed, 10 Mar 2010 16:23:23 +0000 (10:23 -0600)]
qtmux: fix compile error

gst/qtmux/gstqtmoovrecover.c:268: warning: format not a string literal and no format arguments

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

14 years agoAutomatic update of common submodule
Benjamin Otte [Thu, 11 Mar 2010 10:21:10 +0000 (11:21 +0100)]
Automatic update of common submodule

From df8a7c8 to e272f71

14 years agometadata: don't check for NULL when calling g_free.
Stefan Kost [Thu, 11 Mar 2010 09:29:16 +0000 (11:29 +0200)]
metadata: don't check for NULL when calling g_free.

g_free does the check already. Also small code logic cleanup and whitespace fix.

14 years agometadata: remove empty setter/getter vmethod implementations
Stefan Kost [Thu, 11 Mar 2010 09:28:14 +0000 (11:28 +0200)]
metadata: remove empty setter/getter vmethod implementations

14 years agoinvtelecine: inlcude stdlib.h for abs()
Stefan Kost [Thu, 11 Mar 2010 09:14:53 +0000 (11:14 +0200)]
invtelecine: inlcude stdlib.h for abs()

14 years agometadata: update bug status
Stefan Kost [Wed, 17 Feb 2010 11:11:18 +0000 (13:11 +0200)]
metadata: update bug status

14 years agocamerabin: refactor cropping and adapting captured images
Lasse Laukkanen [Tue, 8 Sep 2009 06:13:07 +0000 (09:13 +0300)]
camerabin: refactor cropping and adapting captured images

14 years agocamerabin: fix NULL -> READY state change failure handling.
Teemu Katajisto [Thu, 10 Sep 2009 10:41:40 +0000 (13:41 +0300)]
camerabin: fix NULL -> READY state change failure handling.

In some error situations the NULL -> READY state change failed
and camerabin elements were not destroyed.

14 years agocamerabin: don't use gst_bus_poll() when creating preview image
Lasse Laukkanen [Wed, 17 Feb 2010 09:51:26 +0000 (11:51 +0200)]
camerabin: don't use gst_bus_poll() when creating preview image

Avoid using gst_bus_poll() as the docs recommend. Use
gst_bus_timed_pop_filtered() instead.

14 years agoUpdate for recent changes to common submodule
Benjamin Otte [Wed, 10 Mar 2010 20:01:20 +0000 (21:01 +0100)]
Update for recent changes to common submodule

This just replaces every "$ERROR_CFLAGS" usage with a usage of
"$WARNING_CFLAGS $ERROR_CFLAGS" to get the same functionality as
previously.

Actually using that separation will happen later.

14 years agoAutomatic update of common submodule
Benjamin Otte [Wed, 10 Mar 2010 20:52:20 +0000 (21:52 +0100)]
Automatic update of common submodule

From 9720a7d to df8a7c8

14 years agoAutomatic update of common submodule
Benjamin Otte [Wed, 10 Mar 2010 19:44:07 +0000 (20:44 +0100)]
Automatic update of common submodule

From 0b6e072 to 9720a7d

14 years agoAutomatic update of common submodule
Benjamin Otte [Wed, 10 Mar 2010 15:10:06 +0000 (16:10 +0100)]
Automatic update of common submodule

From 7cc5eb4 to 0b6e072

14 years agodocs: Update to match recent commits
Benjamin Otte [Wed, 10 Mar 2010 10:33:10 +0000 (11:33 +0100)]
docs: Update to match recent commits

14 years agoAutomatic update of common submodule
Tim-Philipp Müller [Wed, 10 Mar 2010 01:10:27 +0000 (01:10 +0000)]
Automatic update of common submodule

From 7aa65b5 to 7cc5eb4

14 years agodc1394: list valid iso-speeds in help and validate speeds in set_property.
Tristan Matthews [Tue, 8 Dec 2009 21:36:16 +0000 (16:36 -0500)]
dc1394: list valid iso-speeds in help and validate speeds in set_property.

14 years agodc1394: check iso-speed values in set_property, ignore if invalid
Tristan Matthews [Tue, 8 Dec 2009 21:05:14 +0000 (16:05 -0500)]
dc1394: check iso-speed values in set_property, ignore if invalid

14 years agodc1394: add iso-speed property
Tristan Matthews [Tue, 8 Dec 2009 20:37:03 +0000 (15:37 -0500)]
dc1394: add iso-speed property

Add iso-speed property which allows for higher bandwidth dc video.
Automatically set to b-mode as needed.

Fixes #603745.

14 years agoinputselector: fix the LDFLAGS
Víctor Manuel Jáquez Leal [Tue, 9 Mar 2010 18:48:44 +0000 (19:48 +0100)]
inputselector: fix the LDFLAGS

14 years agoAutomatic update of common submodule
Sebastian Dröge [Tue, 9 Mar 2010 21:38:59 +0000 (21:38 +0000)]
Automatic update of common submodule

From 44ecce7 to 7aa65b5

14 years agoschroenc: Only enable framestats code with schro >= 1.0.9
Sebastian Dröge [Tue, 9 Mar 2010 21:26:14 +0000 (21:26 +0000)]
schroenc: Only enable framestats code with schro >= 1.0.9

14 years agofrei0r: Sync properties to the controller if one was set
Sebastian Dröge [Sun, 28 Feb 2010 09:42:38 +0000 (10:42 +0100)]
frei0r: Sync properties to the controller if one was set

14 years agofrei0r: Protect set/get property and processing functions from concurrent access
Sebastian Dröge [Sat, 27 Feb 2010 18:08:49 +0000 (19:08 +0100)]
frei0r: Protect set/get property and processing functions from concurrent access

The frei0r documentation says that these functions must not be called
on the same instance from different threads at the same time. All
other functions are guaranteed to be threadsafe.

14 years agobuild: Make some more rules silent if requested
Sebastian Dröge [Fri, 26 Feb 2010 15:40:25 +0000 (16:40 +0100)]
build: Make some more rules silent if requested

14 years agoconfigure: Use automake 1.11 silent rules instead of shave if available
Sebastian Dröge [Fri, 26 Feb 2010 14:45:57 +0000 (15:45 +0100)]
configure: Use automake 1.11 silent rules instead of shave if available

This makes sure that we use something that is still maintained and
also brings back libtool 1.5 support.