platform/upstream/gst-plugins-base.git
13 years agoupdate po
Wim Taymans [Tue, 2 Aug 2011 10:53:15 +0000 (12:53 +0200)]
update po

13 years agoupdate ORC dist files
Wim Taymans [Tue, 2 Aug 2011 10:24:37 +0000 (12:24 +0200)]
update ORC dist files

13 years agovideoconvert: update ORC dist files
Wim Taymans [Tue, 2 Aug 2011 10:24:19 +0000 (12:24 +0200)]
videoconvert: update ORC dist files

13 years agodef: add new symbols
Wim Taymans [Tue, 2 Aug 2011 10:22:12 +0000 (12:22 +0200)]
def: add new symbols

13 years agoximage: add support for alignment bufferpool option
Wim Taymans [Mon, 1 Aug 2011 17:04:47 +0000 (19:04 +0200)]
ximage: add support for alignment bufferpool option

13 years agoxv: apply cropping on padded images
Wim Taymans [Mon, 1 Aug 2011 16:36:33 +0000 (18:36 +0200)]
xv: apply cropping on padded images

Store the dimensions of the unpadded image in the metadata and use that info to
display the valid region of the image.

13 years agoxvimage: add suport for video alignment
Wim Taymans [Mon, 1 Aug 2011 15:10:10 +0000 (17:10 +0200)]
xvimage: add suport for video alignment

Add support for the VideoAlignment option in the bufferpool. The extra
configuration options can be used to request special padding and alignment
requirements for the video buffers.

13 years agovideo: ensure sign in scale function
Wim Taymans [Mon, 1 Aug 2011 14:50:28 +0000 (16:50 +0200)]
video: ensure sign in scale function

13 years agovideopool: add implementation
Wim Taymans [Mon, 1 Aug 2011 14:48:46 +0000 (16:48 +0200)]
videopool: add implementation

Rename very long structure name to GstVideoAlignment
Add the implementation of the video alignment config setter and getters.

13 years agobase: update for new bufferpool API
Wim Taymans [Fri, 29 Jul 2011 15:15:39 +0000 (17:15 +0200)]
base: update for new bufferpool API

13 years agovideopool: add stuff related to bufferpools
Wim Taymans [Fri, 29 Jul 2011 15:14:07 +0000 (17:14 +0200)]
videopool: add stuff related to bufferpools

Add bufferpool options and extra config parameters.

13 years agox11: relax bufferpool checks
Wim Taymans [Fri, 29 Jul 2011 10:22:16 +0000 (12:22 +0200)]
x11: relax bufferpool checks

Check if the metadata belongs to us instead of checking the current bufferpool.
The bufferpool can change at any time when upstream wants to renegotiate.

13 years agovideo: add macro to access flags
Wim Taymans [Wed, 27 Jul 2011 14:55:45 +0000 (16:55 +0200)]
video: add macro to access flags

13 years agovideotestsrc: use local libgstvideo here as well
Tim-Philipp Müller [Thu, 28 Jul 2011 14:28:41 +0000 (15:28 +0100)]
videotestsrc: use local libgstvideo here as well

13 years agovideoconvert: link to local libgstvideo-0.11
Tim-Philipp Müller [Thu, 28 Jul 2011 13:18:34 +0000 (14:18 +0100)]
videoconvert: link to local libgstvideo-0.11

13 years agovideo: make GST_VIDEO_FORMATS_ALL define more readable
Tim-Philipp Müller [Thu, 28 Jul 2011 12:39:14 +0000 (13:39 +0100)]
video: make GST_VIDEO_FORMATS_ALL define more readable

We don't need all those quotes, strings will be parsed as strings
regardless, and g-i doesn't seem to like all those escaped quotes.

13 years agotests: update for query API changes
Tim-Philipp Müller [Wed, 27 Jul 2011 00:18:19 +0000 (01:18 +0100)]
tests: update for query API changes

13 years agoext,gst: update for query API changes
Tim-Philipp Müller [Wed, 27 Jul 2011 00:16:53 +0000 (01:16 +0100)]
ext,gst: update for query API changes

13 years agogst-libs: update for query API changes
Tim-Philipp Müller [Wed, 27 Jul 2011 00:16:08 +0000 (01:16 +0100)]
gst-libs: update for query API changes

13 years agox11: let old pool drain
Wim Taymans [Tue, 26 Jul 2011 12:10:33 +0000 (14:10 +0200)]
x11: let old pool drain

Let the old pool drain without deactivating it, some elements might still be
using it.

13 years agox11: use new setup_allocation vmethod
Wim Taymans [Tue, 26 Jul 2011 11:17:20 +0000 (13:17 +0200)]
x11: use new setup_allocation vmethod

13 years agogiosink: use new query vmethod
Wim Taymans [Tue, 26 Jul 2011 10:47:38 +0000 (12:47 +0200)]
giosink: use new query vmethod

13 years agobaseaudiosink: chain up to parent_class correctly
Wim Taymans [Tue, 26 Jul 2011 10:42:22 +0000 (12:42 +0200)]
baseaudiosink: chain up to parent_class correctly

13 years agobaseaudiosink: use new basesink query vmethod
Wim Taymans [Tue, 26 Jul 2011 10:37:04 +0000 (12:37 +0200)]
baseaudiosink: use new basesink query vmethod

13 years agovideo: add pack and unpack functions
Wim Taymans [Mon, 25 Jul 2011 16:35:01 +0000 (18:35 +0200)]
video: add pack and unpack functions

Add pack and unpack function to handle complex formats in the future.

13 years agovideo: add more info in the format structure
Wim Taymans [Mon, 25 Jul 2011 16:08:24 +0000 (18:08 +0200)]
video: add more info in the format structure

Add a field to describe how many bits are used to pack items.
Specify the shift for each component.
Add some more flags to better describe the format.

13 years agoaudioresample: fix for event handler change
Wim Taymans [Fri, 22 Jul 2011 19:19:08 +0000 (21:19 +0200)]
audioresample: fix for event handler change

13 years agothe
Wim Taymans [Tue, 19 Jul 2011 17:31:23 +0000 (18:31 +0100)]
the

13 years agotheoradec: make sure our buffer is big enough
Wim Taymans [Tue, 19 Jul 2011 17:21:42 +0000 (18:21 +0100)]
theoradec: make sure our buffer is big enough

Make sure we allocate a buffer that is big enough.

13 years agox11: call parent set_config
Wim Taymans [Mon, 18 Jul 2011 16:46:01 +0000 (18:46 +0200)]
x11: call parent set_config

Call the parent set_config method to make it aware of the current config so that
its default methods can do preallocation.

13 years agox11: improve allocation parameters
Wim Taymans [Mon, 18 Jul 2011 14:48:25 +0000 (16:48 +0200)]
x11: improve allocation parameters

Set the min-buffers to 2 because our base class will hold on to 1 buffer for the
last-buffer property.

13 years agoX11: also check the bufferpool
Wim Taymans [Fri, 15 Jul 2011 14:34:02 +0000 (16:34 +0200)]
X11: also check the bufferpool

Don't just check the availability of the metadata but also if the buffer is
really from our bufferpool.

13 years agodiscoverer: decodebin2 is dead, long live decodebin
Edward Hervey [Fri, 15 Jul 2011 10:32:25 +0000 (12:32 +0200)]
discoverer: decodebin2 is dead, long live decodebin

13 years agometavideo: fix for API change
Wim Taymans [Mon, 11 Jul 2011 16:21:49 +0000 (18:21 +0200)]
metavideo: fix for API change

13 years agovideo: init video info to some sensible defaults
Mark Nauwelaerts [Sun, 10 Jul 2011 19:47:12 +0000 (21:47 +0200)]
video: init video info to some sensible defaults

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Sun, 10 Jul 2011 11:49:14 +0000 (13:49 +0200)]
Merge branch 'master' into 0.11

13 years agovideo: add macros for par and fps
Wim Taymans [Sun, 10 Jul 2011 11:39:31 +0000 (13:39 +0200)]
video: add macros for par and fps

13 years agooggmux: check for EOS on both current and best pad
David Schleef [Sun, 10 Jul 2011 01:33:38 +0000 (18:33 -0700)]
oggmux: check for EOS on both current and best pad

Oops, need both.  Fixes #654270.

13 years agooggmux: check for EOS on current pad, not best
David Schleef [Sun, 10 Jul 2011 01:24:26 +0000 (18:24 -0700)]
oggmux: check for EOS on current pad, not best

Fixes #654270.

13 years agotypefind: fixed detection of audio/x-sap
Piotr Fusik [Sat, 9 Jul 2011 09:59:42 +0000 (11:59 +0200)]
typefind: fixed detection of audio/x-sap

Fixes: #654295.

Signed-off-by: David Schleef <ds@schleef.org>
13 years agortcpbuffer: provide a WRITE map with maximum available size
Mark Nauwelaerts [Wed, 6 Jul 2011 15:03:08 +0000 (17:03 +0200)]
rtcpbuffer: provide a WRITE map with maximum available size

... which allows adding additional packets and may be needed to counteract
the shrink that implicitly occurred during a map/unmap cycle when adding
a previous packet.

13 years agogdppay: parse caps event and payload caps
Tim-Philipp Müller [Fri, 8 Jul 2011 19:02:25 +0000 (20:02 +0100)]
gdppay: parse caps event and payload caps

Which makes it actually output stuff.

13 years agotests: make adder test and libgstvideo test compile, disable some tests
Tim-Philipp Müller [Thu, 7 Jul 2011 22:57:33 +0000 (23:57 +0100)]
tests: make adder test and libgstvideo test compile, disable some tests

Don't fully work yet though

13 years agoffmpegcolorspace -> videoconvert
Tim-Philipp Müller [Thu, 7 Jul 2011 20:24:38 +0000 (21:24 +0100)]
ffmpegcolorspace -> videoconvert

13 years agotests: remove tests from ancient times
Tim-Philipp Müller [Thu, 7 Jul 2011 20:04:47 +0000 (21:04 +0100)]
tests: remove tests from ancient times

They're just noise.

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Thu, 7 Jul 2011 09:10:39 +0000 (11:10 +0200)]
Merge branch 'master' into 0.11

Conflicts:
gst-libs/gst/tag/gstxmptag.c
gst/encoding/gststreamsplitter.c

13 years agoaudioconvert: update orc dist files
Wim Taymans [Thu, 7 Jul 2011 08:28:08 +0000 (10:28 +0200)]
audioconvert: update orc dist files

13 years agoaudioconvert: don't use .init function
Wim Taymans [Thu, 7 Jul 2011 08:20:19 +0000 (10:20 +0200)]
audioconvert: don't use .init function

Don't use the .init function but compile all functions when needed instead of
when the plugin is registered.

13 years agotests: update netbuffer and tag tests for gst_buffer_take_memory() API change
Tim-Philipp Müller [Wed, 6 Jul 2011 11:54:40 +0000 (12:54 +0100)]
tests: update netbuffer and tag tests for gst_buffer_take_memory() API change

13 years agotests: update libs/pbutils test for GstMessage API changes
Tim-Philipp Müller [Wed, 6 Jul 2011 11:51:03 +0000 (12:51 +0100)]
tests: update libs/pbutils test for GstMessage API changes

Can't access msg->structure directly any more.

13 years agotests: fix libs/mixer test for GstImplementsInterface removal
Tim-Philipp Müller [Wed, 6 Jul 2011 11:47:01 +0000 (12:47 +0100)]
tests: fix libs/mixer test for GstImplementsInterface removal

Not sure if we want to keep the GstMixer API in its current form
though..

13 years agotests: update theoraenc test for new pad probe API
Tim-Philipp Müller [Wed, 6 Jul 2011 11:42:36 +0000 (12:42 +0100)]
tests: update theoraenc test for new pad probe API

Compiles now, but fails.

13 years agotests: update typefindfunctions test for latest API changes
Tim-Philipp Müller [Wed, 6 Jul 2011 11:38:10 +0000 (12:38 +0100)]
tests: update typefindfunctions test for latest API changes

13 years agotests: update libs/audio test for latest API changes
Tim-Philipp Müller [Wed, 6 Jul 2011 11:36:37 +0000 (12:36 +0100)]
tests: update libs/audio test for latest API changes

13 years agowin32: update exports for new libgstvideo API
Tim-Philipp Müller [Wed, 6 Jul 2011 09:27:50 +0000 (10:27 +0100)]
win32: update exports for new libgstvideo API

13 years agodocs: add -DGST_USE_UNSTABLE_API also to GTKDOC_CFLAGS
Tim-Philipp Müller [Wed, 6 Jul 2011 09:27:02 +0000 (10:27 +0100)]
docs: add -DGST_USE_UNSTABLE_API also to GTKDOC_CFLAGS

To avoid warnings

13 years agovideo: update docs
Wim Taymans [Tue, 5 Jul 2011 14:58:04 +0000 (16:58 +0200)]
video: update docs

13 years agoAdd -DGST_USE_UNSTABLE_API to the compiler flags to avoid warnings
Tim-Philipp Müller [Tue, 5 Jul 2011 09:07:08 +0000 (10:07 +0100)]
Add -DGST_USE_UNSTABLE_API to the compiler flags to avoid warnings

13 years agotheoraenc: remove some unused code that caused a compiler warning
Tim-Philipp Müller [Tue, 5 Jul 2011 09:04:42 +0000 (10:04 +0100)]
theoraenc: remove some unused code that caused a compiler warning

The video format is set up in the sink pad's setcaps() function.

13 years agovideo: add macro to get frame size
Wim Taymans [Mon, 4 Jul 2011 16:08:25 +0000 (18:08 +0200)]
video: add macro to get frame size

13 years agovideo: add some more macros
Wim Taymans [Mon, 4 Jul 2011 14:27:50 +0000 (16:27 +0200)]
video: add some more macros

Add macros to get the plane and offset of a component.

13 years agovideo: More video helper library improvements
Wim Taymans [Mon, 4 Jul 2011 08:19:13 +0000 (10:19 +0200)]
video: More video helper library improvements

Make a new GstVideoFormatinfo structure that contains the specific information
related to a format such as the number of planes, components, subsampling,
pixel stride etc. The result is that we are now able to introduce the concept of
components again in the API.
Use tables to specify the formats and its properties.
Use macros to get information about the video format description.
Move code to set strides, offsets and size into one function.
Remove methods that are not handled with the structures.
Add methods to retrieve pointers and strides to the components in the video.

13 years agoencodebin: fix compiler warning
Luis de Bethencourt [Thu, 30 Jun 2011 18:33:36 +0000 (20:33 +0200)]
encodebin: fix compiler warning

cspace and cspace2 may run uninitialized.

13 years agoencodebin: Add flags to disable conversion elements
Robert Swain [Wed, 29 Jun 2011 11:12:49 +0000 (13:12 +0200)]
encodebin: Add flags to disable conversion elements

Add a flags property and two flags to allow one to disable the
conversion elements within encodebin. Doing so insists that the
uncompressed input to encodebin for the appropriate stream type is
sufficient to meet the caps requirements of the encoders, muxers and
encodebin target.

This is mostly beneficial to bypass slow caps negotiations in the
conversion elements.

13 years agotag: xmp: Remove extra chars from end of xmp packet
Thiago Santos [Wed, 29 Jun 2011 12:59:05 +0000 (09:59 -0300)]
tag: xmp: Remove extra chars from end of xmp packet

Windows picture viewer is unhappy with extra trailing chars at the
end of the xmppacket footer. So remove them as they aren't needed.

13 years agostreamsplitter: Fix getcaps src pad caps merge
Robert Swain [Wed, 29 Jun 2011 09:30:51 +0000 (11:30 +0200)]
streamsplitter: Fix getcaps src pad caps merge

Caps returned from gst_pad_peer_get_caps_reffed () may not be writable.
If they are not is should cause an assertion in gst_caps_merge (),
however, sometimes assertions are disabled in binary builds of -base and
it's safer to just be sure the caps are writable. Also, check that the
reffed caps pointer is not NULL.

13 years agoplaysink: only unset initialized GValue
Mark Nauwelaerts [Tue, 28 Jun 2011 17:03:23 +0000 (19:03 +0200)]
playsink: only unset initialized GValue

13 years agotypefind: NULL check in degas_type_find
Philip Jägenstedt [Wed, 15 Jun 2011 11:51:31 +0000 (13:51 +0200)]
typefind: NULL check in degas_type_find

The length check isn't sufficient, an source might
report the correct length, but then still fail to
read the requested number of bytes for some reason.

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

13 years agovideoconvert: fix unused-but-set-variable compiler warning
Tim-Philipp Müller [Sun, 26 Jun 2011 22:17:03 +0000 (23:17 +0100)]
videoconvert: fix unused-but-set-variable compiler warning

13 years agogst, sys: remove GstImplementsInterface usage
Tim-Philipp Müller [Sun, 26 Jun 2011 22:16:08 +0000 (23:16 +0100)]
gst, sys: remove GstImplementsInterface usage

13 years agoalsa: don't use GstImplementsInterface
Tim-Philipp Müller [Sun, 26 Jun 2011 21:58:17 +0000 (22:58 +0100)]
alsa: don't use GstImplementsInterface

13 years agogst-libs: remove GstImplementsInterface usage
Tim-Philipp Müller [Sun, 26 Jun 2011 20:46:08 +0000 (21:46 +0100)]
gst-libs: remove GstImplementsInterface usage

Will need to add replacement API for some of these.

13 years agoMerge remote-tracking branch 'origin/master' into 0.11
Tim-Philipp Müller [Sun, 26 Jun 2011 20:27:28 +0000 (21:27 +0100)]
Merge remote-tracking branch 'origin/master' into 0.11

13 years agodocs: minor addition to decodebin2 design doc
Tim-Philipp Müller [Sun, 26 Jun 2011 00:06:58 +0000 (01:06 +0100)]
docs: minor addition to decodebin2 design doc

13 years agotests: the navigation interface isn't GstImplementsInterface-wrapped
Tim-Philipp Müller [Sun, 26 Jun 2011 00:06:19 +0000 (01:06 +0100)]
tests: the navigation interface isn't GstImplementsInterface-wrapped

13 years agointerfaces: GstStreamVolume isn't wrapped by GstImplementsInterface
Tim-Philipp Müller [Sat, 25 Jun 2011 23:49:46 +0000 (00:49 +0100)]
interfaces: GstStreamVolume isn't wrapped by GstImplementsInterface

This interface depends on properties and isn't per-instance.

13 years agortsp: GstRTSPExtension isn't wrapped by GstImplementsInterface
Tim-Philipp Müller [Sat, 25 Jun 2011 23:40:20 +0000 (00:40 +0100)]
rtsp: GstRTSPExtension isn't wrapped by GstImplementsInterface

Fix copy'n'paste error in headers, GstRTSPExtension isn't
something that's per-instance.

13 years agotag: GstXmpWriter doesn't use the GstImplementsInterface
Tim-Philipp Müller [Sat, 25 Jun 2011 23:36:36 +0000 (00:36 +0100)]
tag: GstXmpWriter doesn't use the GstImplementsInterface

No need for per-instance checking of interface implementation here,
presumably just a copy'n'paste issue.

13 years agoencoding-target: set names on audio and video profiles
Jonathan Matthew [Sat, 11 Jun 2011 09:03:57 +0000 (19:03 +1000)]
encoding-target: set names on audio and video profiles

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

13 years agoAutomatic update of common submodule
David Schleef [Thu, 23 Jun 2011 18:28:04 +0000 (11:28 -0700)]
Automatic update of common submodule

From 69b981f to 605cd9a

13 years agotheoradec: use cropping metadata
Wim Taymans [Thu, 23 Jun 2011 16:02:40 +0000 (18:02 +0200)]
theoradec: use cropping metadata

13 years agox11: let upstream know we support cropping
Wim Taymans [Thu, 23 Jun 2011 14:31:21 +0000 (16:31 +0200)]
x11: let upstream know we support cropping

13 years agox11: add image cropping
Wim Taymans [Thu, 23 Jun 2011 10:55:13 +0000 (12:55 +0200)]
x11: add image cropping

Use the cropping metadata to crop the image.
Remove deprecated display-region property to set a clipping rectangle.

13 years agometa: add some docs
Wim Taymans [Thu, 23 Jun 2011 07:55:27 +0000 (09:55 +0200)]
meta: add some docs

13 years agometa: add video crop metadata
Wim Taymans [Thu, 23 Jun 2011 07:30:19 +0000 (09:30 +0200)]
meta: add video crop metadata

13 years agoxvimagesink: handle unknown formats
Wim Taymans [Wed, 22 Jun 2011 17:35:16 +0000 (19:35 +0200)]
xvimagesink: handle unknown formats

13 years agofix for uri changes
Wim Taymans [Wed, 22 Jun 2011 14:38:48 +0000 (16:38 +0200)]
fix for uri changes

13 years agox11: use frame copy functions
Wim Taymans [Wed, 22 Jun 2011 13:38:24 +0000 (15:38 +0200)]
x11: use frame copy functions

13 years agovideo: add video copy function
Wim Taymans [Wed, 22 Jun 2011 13:25:35 +0000 (15:25 +0200)]
video: add video copy function

Add a function to copy a video frame, taking care of source and destination
strides.

13 years agoseek: wait for the spinbutton widget
Wim Taymans [Wed, 22 Jun 2011 10:57:46 +0000 (12:57 +0200)]
seek: wait for the spinbutton widget

Wait for the spinbutton widget before trying to update it when the volume
changed callback is called.

13 years agortp: fix for allocator name change
Wim Taymans [Wed, 22 Jun 2011 09:45:58 +0000 (11:45 +0200)]
rtp: fix for allocator name change

13 years agoaudio: clean up headers
Wim Taymans [Tue, 21 Jun 2011 16:17:59 +0000 (18:17 +0200)]
audio: clean up headers

13 years agoaudio: clean up audiosink headers
Wim Taymans [Tue, 21 Jun 2011 16:13:48 +0000 (18:13 +0200)]
audio: clean up audiosink headers

13 years agoaudio: clean up ringbuffer header
Wim Taymans [Tue, 21 Jun 2011 16:08:12 +0000 (18:08 +0200)]
audio: clean up ringbuffer header

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Tue, 21 Jun 2011 15:57:56 +0000 (17:57 +0200)]
Merge branch 'master' into 0.11

Conflicts:
configure.ac
docs/plugins/inspect/plugin-gnomevfs.xml

13 years agovideotestsrc: port to video helpers
Wim Taymans [Tue, 21 Jun 2011 15:33:27 +0000 (17:33 +0200)]
videotestsrc: port to video helpers

Port videotestsrc to use the video helper functions to parse caps and handle
video frames.
Enable GstMetaVideo to make us handle strided video.

13 years agovideo: use gint to make parsing easier
Wim Taymans [Tue, 21 Jun 2011 15:31:17 +0000 (17:31 +0200)]
video: use gint to make parsing easier

Use gint for with/height etc to make it easier to pass the variables to various
caps and structure parsing functions.

13 years agovideotestsrc: small cleanups
Wim Taymans [Tue, 21 Jun 2011 10:52:23 +0000 (12:52 +0200)]
videotestsrc: small cleanups

13 years agovideoscale: activate Video meta
Wim Taymans [Mon, 20 Jun 2011 15:49:13 +0000 (17:49 +0200)]
videoscale: activate Video meta

Configure the allocator with GstMetaVideo because we can handle that using the
GstVideoFrame helpers.

13 years agox11: delay pool activation
Wim Taymans [Mon, 20 Jun 2011 15:36:24 +0000 (17:36 +0200)]
x11: delay pool activation

don't activate the pool we return in the ALLOCATION query because upstream might
still want to configure it