platform/upstream/gst-plugins-base.git
12 years agodecodebin2: Try harder to get initial topology caps
Edward Hervey [Thu, 5 Jan 2012 07:29:43 +0000 (08:29 +0100)]
decodebin2: Try harder to get initial topology caps

Since caps are no longer 'shared' between two pads (but forwarded from
source pad to sink pad) we end up with the first chain pad not having
specified caps (i.e. typefind:src).

This solves the issues by getting the pad's peer caps.

It is not optimal since it will (for most demuxers) return the pad
template caps, which might contain non-fixed caps (ex : with
qtdemux "video/quicktime; video/mj2; audio/x-m4a; application/x-3gp")

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

12 years agoFix playbin2 -> playbin in Makefile
Christian Fredrik Kalager Schaller [Fri, 6 Jan 2012 12:06:00 +0000 (12:06 +0000)]
Fix playbin2 -> playbin in Makefile

12 years agoaudio: expose API to convert channel array to a mask
Wim Taymans [Thu, 5 Jan 2012 12:59:32 +0000 (13:59 +0100)]
audio: expose API to convert channel array to a mask

12 years agovorbisdec: use right channel variable
Wim Taymans [Thu, 5 Jan 2012 11:32:06 +0000 (12:32 +0100)]
vorbisdec: use right channel variable

12 years agoriff: don't use NULL arrays
Wim Taymans [Thu, 5 Jan 2012 11:31:51 +0000 (12:31 +0100)]
riff: don't use NULL arrays

12 years agoaudio: Improve/fix handling of NONE layouts
Sebastian Dröge [Wed, 4 Jan 2012 13:48:33 +0000 (14:48 +0100)]
audio: Improve/fix handling of NONE layouts

12 years agoaudio: Add support again for more than 64 channels with NONE layouts
Sebastian Dröge [Wed, 4 Jan 2012 13:35:48 +0000 (14:35 +0100)]
audio: Add support again for more than 64 channels with NONE layouts

12 years agoaudiotestsrc: Fix channel-mask handling
Sebastian Dröge [Wed, 4 Jan 2012 09:26:47 +0000 (10:26 +0100)]
audiotestsrc: Fix channel-mask handling

12 years agoaudioconvert: Fix channel-mask handling
Sebastian Dröge [Wed, 4 Jan 2012 09:26:33 +0000 (10:26 +0100)]
audioconvert: Fix channel-mask handling

12 years agoaudio: Fix GST_AUDIO_CHANNEL_POSITION_MASK macro
Sebastian Dröge [Wed, 4 Jan 2012 08:54:56 +0000 (09:54 +0100)]
audio: Fix GST_AUDIO_CHANNEL_POSITION_MASK macro

12 years agoogg: Update for the libgstriff API changes
Sebastian Dröge [Sat, 31 Dec 2011 13:32:45 +0000 (14:32 +0100)]
ogg: Update for the libgstriff API changes

Still needs to handle the raw audio channel reordering.

12 years agogst: Add new layout field to all raw audio caps
Sebastian Dröge [Sat, 31 Dec 2011 13:31:08 +0000 (14:31 +0100)]
gst: Add new layout field to all raw audio caps

12 years agoext: Add new layout field to the raw audio caps
Sebastian Dröge [Sat, 31 Dec 2011 13:25:09 +0000 (14:25 +0100)]
ext: Add new layout field to the raw audio caps

12 years agogst: Add new layout field to the raw audio caps
Sebastian Dröge [Sat, 31 Dec 2011 13:21:27 +0000 (14:21 +0100)]
gst: Add new layout field to the raw audio caps

12 years agoriff: Return a channel reorder map for raw audio when creating the caps
Sebastian Dröge [Sat, 31 Dec 2011 13:15:41 +0000 (14:15 +0100)]
riff: Return a channel reorder map for raw audio when creating the caps

12 years agoriff: Add the layout field to the raw audio caps
Sebastian Dröge [Sat, 31 Dec 2011 12:50:04 +0000 (13:50 +0100)]
riff: Add the layout field to the raw audio caps

12 years agoaudioencoder: Proxy the channel mask field instead of the old channel-layout field
Sebastian Dröge [Sat, 31 Dec 2011 12:47:57 +0000 (13:47 +0100)]
audioencoder: Proxy the channel mask field instead of the old channel-layout field

12 years agoaudiocdsrc: Add the layout field to the caps
Sebastian Dröge [Sat, 31 Dec 2011 12:47:24 +0000 (13:47 +0100)]
audiocdsrc: Add the layout field to the caps

12 years agoaudio: Add "layout" field to the raw audio caps
Sebastian Dröge [Sat, 31 Dec 2011 12:46:53 +0000 (13:46 +0100)]
audio: Add "layout" field to the raw audio caps

This can be used to differentiate between interleaved
and non-interleaved audio and whatever comes in the future.

12 years agoaudio: Add function to reorder channel positions from any order to the GStreamer...
Sebastian Dröge [Sat, 31 Dec 2011 12:33:01 +0000 (13:33 +0100)]
audio: Add function to reorder channel positions from any order to the GStreamer order

12 years agoaudioringbuffer: Use new function to get a channel reordering map
Sebastian Dröge [Sat, 24 Dec 2011 09:54:20 +0000 (10:54 +0100)]
audioringbuffer: Use new function to get a channel reordering map

12 years agoaudio: Add documentation for the new functions
Sebastian Dröge [Sat, 24 Dec 2011 09:50:20 +0000 (10:50 +0100)]
audio: Add documentation for the new functions

12 years agoaudio: Add public functions to check channel positions validity and to get a reorder map
Sebastian Dröge [Sat, 24 Dec 2011 09:37:28 +0000 (10:37 +0100)]
audio: Add public functions to check channel positions validity and to get a reorder map

12 years agoriff: Port to the new multichannel caps
Sebastian Dröge [Tue, 20 Dec 2011 15:55:34 +0000 (16:55 +0100)]
riff: Port to the new multichannel caps

12 years agoaudio: Remove testchannels example
Sebastian Dröge [Tue, 20 Dec 2011 15:34:38 +0000 (16:34 +0100)]
audio: Remove testchannels example

It's not really relevant anymore

12 years agovorbis: Port to the new multichannel caps
Sebastian Dröge [Tue, 20 Dec 2011 11:08:53 +0000 (12:08 +0100)]
vorbis: Port to the new multichannel caps

12 years agoalsa: Port to the new multichannel caps
Sebastian Dröge [Tue, 20 Dec 2011 10:44:27 +0000 (11:44 +0100)]
alsa: Port to the new multichannel caps

12 years agoaudioconvert: Update unit test for the new multichannel caps
Sebastian Dröge [Mon, 19 Dec 2011 13:27:28 +0000 (14:27 +0100)]
audioconvert: Update unit test for the new multichannel caps

12 years agoaudioconvert: Port to the new multichannel caps
Sebastian Dröge [Mon, 19 Dec 2011 11:41:24 +0000 (12:41 +0100)]
audioconvert: Port to the new multichannel caps

audioconvert still needs support for mixing all the new
channel positions, see:
https://bugzilla.gnome.org/show_bug.cgi?id=666506

12 years agoaudioringbuffer: Add support for reordering of channels
Sebastian Dröge [Tue, 20 Dec 2011 15:20:06 +0000 (16:20 +0100)]
audioringbuffer: Add support for reordering of channels

12 years agoaudio: Add tests for the new multichannel caps and reordering function
Sebastian Dröge [Mon, 19 Dec 2011 09:04:30 +0000 (10:04 +0100)]
audio: Add tests for the new multichannel caps and reordering function

12 years agoaudio: Add new channel positions and simplify channel expression in the caps
Sebastian Dröge [Fri, 16 Dec 2011 09:55:13 +0000 (10:55 +0100)]
audio: Add new channel positions and simplify channel expression in the caps

The available channel positions are all channels from SMPTE 2036-2-2008
(in that order) and DTS Coherent Acoustics, which are basically all 28
channels that currently can appear.

The channels are now expressed in the caps as a channel-mask, which
describes which of the channels are present, and an optional
channel-reorder-map, which must only be used after negotiation for
fixated caps.

For negotiation only the channel-mask and the channel count is relevant
and all elements are expected to handle all reorder maps. Elements that
don't can use the new API to reorder an audio buffer from any order to
another order.

This simplifies negotiation a lot while still having as few reorderings
necassary as possible and still allow all kinds of channel layouts.

12 years agoAutomatic update of common submodule
Tim-Philipp Müller [Wed, 4 Jan 2012 19:50:58 +0000 (19:50 +0000)]
Automatic update of common submodule

From a62f3d4 to 0807187

12 years agomultifdsink: use pad caps for streamheader
Wim Taymans [Wed, 4 Jan 2012 16:57:39 +0000 (17:57 +0100)]
multifdsink: use pad caps for streamheader

Instead of using the caps on the buffer, use the caps on the pad.

12 years agotests: port and enable more unit tests
Wim Taymans [Wed, 4 Jan 2012 15:41:53 +0000 (16:41 +0100)]
tests: port and enable more unit tests

12 years agovideo: add macro to check interlaced
Wim Taymans [Tue, 3 Jan 2012 09:41:51 +0000 (10:41 +0100)]
video: add macro to check interlaced

Add a convenience macro to check if the video is interlaced.

12 years agodefs: update
Wim Taymans [Mon, 2 Jan 2012 17:31:16 +0000 (18:31 +0100)]
defs: update

12 years agotests: small cleanup
Wim Taymans [Mon, 2 Jan 2012 17:31:05 +0000 (18:31 +0100)]
tests: small cleanup

12 years agostreamcombiner: fix srcpad query caps
Wim Taymans [Mon, 2 Jan 2012 17:28:46 +0000 (18:28 +0100)]
streamcombiner: fix srcpad query caps

The caps query on the srcpad should return the template caps instead of
forwarding the query.

12 years agovideorate: chain up to parent event function
Wim Taymans [Mon, 2 Jan 2012 16:42:11 +0000 (17:42 +0100)]
videorate: chain up to parent event function

12 years agovideorate: fix caps negotiation function
Wim Taymans [Mon, 2 Jan 2012 16:28:12 +0000 (17:28 +0100)]
videorate: fix caps negotiation function

12 years agovideofilter: use caps of the allocation query
Wim Taymans [Mon, 2 Jan 2012 15:13:51 +0000 (16:13 +0100)]
videofilter: use caps of the allocation query

Use the caps from the allocation query to propose a video bufferpool instead of
our own negotiated caps.

12 years agoaudioresample: truncate in fixation
Wim Taymans [Mon, 2 Jan 2012 14:59:09 +0000 (15:59 +0100)]
audioresample: truncate in fixation

12 years agotests: fix a unit test
Wim Taymans [Mon, 2 Jan 2012 14:40:35 +0000 (15:40 +0100)]
tests: fix a unit test

The ogg muxer now has video and audio pads

12 years agoaudioencoder: turn assert into a real error
Wim Taymans [Mon, 2 Jan 2012 14:39:58 +0000 (15:39 +0100)]
audioencoder: turn assert into a real error

Post a real error instead of just asserting. Fixes a unit test.

12 years agoplayback, mixerutils: gst_registry_get_default() -> gst_registry_get()
Tim-Philipp Müller [Mon, 2 Jan 2012 14:30:53 +0000 (14:30 +0000)]
playback, mixerutils: gst_registry_get_default() -> gst_registry_get()

12 years agoaudioconvert: handle unpositioned channels
Wim Taymans [Mon, 2 Jan 2012 14:03:54 +0000 (15:03 +0100)]
audioconvert: handle unpositioned channels

Refuse to convert between unpositioned layouts.

12 years agoaudio: add flag for unpositioned layout
Wim Taymans [Mon, 2 Jan 2012 14:01:58 +0000 (15:01 +0100)]
audio: add flag for unpositioned layout

Check if thr layout is explicitly unpositioned and set a flag in the
audio info structure.

12 years agotests: remove unsupported formats
Wim Taymans [Mon, 2 Jan 2012 14:00:51 +0000 (15:00 +0100)]
tests: remove unsupported formats

Remove tests for a format that is no longer supported

12 years agovideo: fix some video formats
Wim Taymans [Mon, 2 Jan 2012 12:30:53 +0000 (13:30 +0100)]
video: fix some video formats

Rename the offset field in GstVideoFormatInfo to poffset to avoid confusion with
the offset of the plane in the buffer. The poffset is the offset in the plane
where the first byte of the component data can be found.
Properly implement the COMP_OFFSET calculations.
Fix YV12 and YVU9, simply use the same offsets as the regular I420 and YUV9
variants, we use the plane info to reorder components already.
Improve the unit test.

12 years agocontroller: port to latest API changes
Stefan Sauer [Fri, 30 Dec 2011 17:36:37 +0000 (18:36 +0100)]
controller: port to latest API changes

12 years agovideo: add some padding to GstVideoFilter
Tim-Philipp Müller [Fri, 30 Dec 2011 19:26:24 +0000 (19:26 +0000)]
video: add some padding to GstVideoFilter

12 years agodocs: make gtk-doc happier
Tim-Philipp Müller [Fri, 30 Dec 2011 19:24:09 +0000 (19:24 +0000)]
docs: make gtk-doc happier

12 years agotests: disable direct structure access in audiocd test
Tim-Philipp Müller [Fri, 30 Dec 2011 16:47:13 +0000 (16:47 +0000)]
tests: disable direct structure access in audiocd test

12 years agoaudiocdsrc: remove some probing-related vfuncs
Tim-Philipp Müller [Fri, 30 Dec 2011 16:26:47 +0000 (16:26 +0000)]
audiocdsrc: remove some probing-related vfuncs

GstPropertyProbe was removed, so these aren't actually used
and we probably want something different for the new API.

12 years agoaudiocdsrc: update for GstIndex removal
Tim-Philipp Müller [Fri, 30 Dec 2011 16:18:39 +0000 (16:18 +0000)]
audiocdsrc: update for GstIndex removal

12 years agoaudiocdsrc: make private bits private
Tim-Philipp Müller [Fri, 30 Dec 2011 16:12:30 +0000 (16:12 +0000)]
audiocdsrc: make private bits private

12 years agoMerge remote-tracking branch 'origin/master' into 0.11
Edward Hervey [Fri, 30 Dec 2011 12:21:35 +0000 (13:21 +0100)]
Merge remote-tracking branch 'origin/master' into 0.11

Conflicts:
ext/theora/gsttheoraenc.c
gst-libs/gst/tag/gstexiftag.c
gst/adder/gstadder.c
gst/adder/gstadder.h
gst/playback/gstdecodebin2.c
gst/playback/gstsubtitleoverlay.c
tests/check/libs/tag.c

12 years agocheck/video: Caps have "interlace-mode=progressive" by default
Edward Hervey [Wed, 28 Dec 2011 15:25:37 +0000 (16:25 +0100)]
check/video: Caps have "interlace-mode=progressive" by default

12 years agocheck/decodebin: Fix callback signature
Edward Hervey [Wed, 28 Dec 2011 15:24:53 +0000 (16:24 +0100)]
check/decodebin: Fix callback signature

The "gboolean last" argument is gone.

12 years agopbutils/descriptions: Handle "video/x-raw" without specified format
Edward Hervey [Wed, 28 Dec 2011 15:23:26 +0000 (16:23 +0100)]
pbutils/descriptions: Handle "video/x-raw" without specified format

Without having it raise an assertion, which is valid when asking for
the description of the format.

12 years agovideopool: add support for custom allocators
Wim Taymans [Sun, 25 Dec 2011 17:07:10 +0000 (18:07 +0100)]
videopool: add support for custom allocators

12 years agooggmux: fix leak when initializing pads
Thiago Santos [Tue, 27 Dec 2011 17:37:26 +0000 (14:37 -0300)]
oggmux: fix leak when initializing pads

Pads are initialized twice: when requesting pads and when
initializing collectpads. Avoid double initialization by
checking if collectpads are still going to be initialized when
creating request pads.

12 years agogdp: move dataprotocol library into gdp plugin and make private
Tim-Philipp Müller [Sun, 25 Dec 2011 23:19:57 +0000 (23:19 +0000)]
gdp: move dataprotocol library into gdp plugin and make private

We have removed things like protocol=gdp in the tcp elements
in favour of explicit gdppay/depay elements, so there's no need
to keep a public API and library for now. We can still add it
back later. Someone needs to think hard about 0.11 and gdp
anyway one of these days.

12 years agoMerge branch 'merge-dataprotocol-library-into-gdp-plugin' into 0.11
Tim-Philipp Müller [Sun, 25 Dec 2011 23:25:34 +0000 (23:25 +0000)]
Merge branch 'merge-dataprotocol-library-into-gdp-plugin' into 0.11

12 years agotcp: remove some dataprotocol cruft
Tim-Philipp Müller [Sun, 25 Dec 2011 23:10:23 +0000 (23:10 +0000)]
tcp: remove some dataprotocol cruft

The protocol=gdp property has been removed in favour
of explicit gdppay/depay.

12 years agogdp: fix header files
Wim Taymans [Fri, 11 Nov 2011 16:17:43 +0000 (17:17 +0100)]
gdp: fix header files

Ensure correct indentation and retab
Make sure all structure have padding

12 years agogdp: rename buffer PREROLL -> LIVE flag
Wim Taymans [Tue, 16 Aug 2011 15:32:20 +0000 (17:32 +0200)]
gdp: rename buffer PREROLL -> LIVE flag

Rename the GST_BUFFER_FLAG_PREROLL to GST_BUFFER_FLAG_LIVE and give the new flag
a meaning. The old PREROLL flag never had a clear meaning.

12 years agogdp: make new _buffer_allocate method
Wim Taymans [Fri, 10 Jun 2011 11:40:57 +0000 (13:40 +0200)]
gdp: make new _buffer_allocate method

Make a new method to allocate a buffer + memory that takes the allocator and the
alignment as parameters. Provide a macro for the old method but prefer to use
the new method to encourage plugins to negotiate the allocator properly.

12 years agogdp: Rework GstSegment handling
Wim Taymans [Fri, 13 May 2011 16:07:24 +0000 (18:07 +0200)]
gdp: Rework GstSegment handling

Improve GstSegment, rename some fields. The idea is to have the GstSegment
structure represent the timing structure of the buffers as they are generated by
the source or demuxer element.
gst_segment_set_seek() -> gst_segment_do_seek()
Rename the NEWSEGMENT event to SEGMENT.
Make parsing of the SEGMENT event into a GstSegment structure.
Pass a GstSegment structure when making a new SEGMENT event. This allows us to
pass the timing info directly to the next element. No accumulation is needed in
the receiving element, all the info is inside the element.
Remove gst_segment_set_newsegment(): This function as used to accumulate
segments received from upstream, which is now not needed anymore because the
segment event contains the complete timing information.

12 years agogdp: Hide the GstStructure in GstEvent
Wim Taymans [Tue, 10 May 2011 09:50:16 +0000 (11:50 +0200)]
gdp: Hide the GstStructure in GstEvent

Hide the GstStructure of the event in the implementation specific part so that
we can change it.
Add methods to check and make the event writable.
Add a new method to get a writable GstStructure of the element.
Avoid directly accising the event structure.

12 years agogdp: add docs for GstDPPacketizer
Stefan Kost [Mon, 2 May 2011 13:00:52 +0000 (16:00 +0300)]
gdp: add docs for GstDPPacketizer

12 years agogdp: port code to new buffer data API
Wim Taymans [Mon, 21 Mar 2011 17:13:55 +0000 (18:13 +0100)]
gdp: port code to new buffer data API

12 years agogdp: remove deprecated code
Wim Taymans [Mon, 6 Dec 2010 18:40:03 +0000 (19:40 +0100)]
gdp: remove deprecated code

12 years agogdp: make public enum _get_type() functions thread-safe
Tim-Philipp Müller [Fri, 8 Oct 2010 08:34:47 +0000 (09:34 +0100)]
gdp: make public enum _get_type() functions thread-safe

Not that it is likely to matter in practice, but since these are public
API they should probably be thread-safe.

12 years agogdp: dataprotocol, lfocontrolsource: fix enum value name in enums that are public API
Tim-Philipp Müller [Thu, 7 Oct 2010 23:38:39 +0000 (00:38 +0100)]
gdp: dataprotocol, lfocontrolsource: fix enum value name in enums that are public API

So run-time bindings can introspect the names correctly (we abuse this
field as description field only in elements, not for public API
(where the description belongs into the gtk-doc chunk).

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

12 years agogdp: Fixes for -Wmissing-declarations -Wmissing-prototypes
Benjamin Otte [Tue, 2 Mar 2010 21:58:06 +0000 (22:58 +0100)]
gdp: Fixes for -Wmissing-declarations -Wmissing-prototypes

Also adds those flags to the configure warning flags

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

12 years agogdp: Make code safe for -Wredundant-decls
Benjamin Otte [Tue, 2 Mar 2010 22:51:18 +0000 (23:51 +0100)]
gdp: Make code safe for -Wredundant-decls

Adds that warning to configure.ac

Includes a tiny change of the GST_BOILERPLATE_FULL() macro:
The get_type() function is no longer declared before being defined.

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

12 years agogdp: fix broken xrefs in docs
Stefan Kost [Fri, 27 Nov 2009 14:39:37 +0000 (16:39 +0200)]
gdp: fix broken xrefs in docs

12 years agogdp: Don't write to the same region of memory as a uint64 and uint16 as this breaks ...
Sebastian Dröge [Mon, 30 Jun 2008 09:38:45 +0000 (09:38 +0000)]
gdp: Don't write to the same region of memory as a uint64 and uint16 as this breaks ...

Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
Don't write to the same region of memory as a uint64 and uint16
as this breaks strict aliasing rules and apparantly breaks on PPC
and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.

12 years agogdp: When calculating GDP body CRC, use the correct pointer.
Michael Smith [Thu, 27 Mar 2008 15:23:55 +0000 (15:23 +0000)]
gdp: When calculating GDP body CRC, use the correct pointer.

Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_packet_from_event_1_0):
When calculating GDP body CRC, use the correct pointer.
Fixes part of #522401.

12 years agogdp: Correct all relevant warnings found by the sparse semantic code analyzer. This...
Sebastian Dröge [Fri, 29 Feb 2008 12:41:33 +0000 (12:41 +0000)]
gdp: Correct all relevant warnings found by the sparse semantic code analyzer. This include marking several symbols static...

Original commit message from CVS:
* gst/gstconfig.h.in:
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
* libs/gst/check/gstcheck.c: (gst_check_log_message_func),
(gst_check_log_critical_func), (gst_check_drop_buffers),
(gst_check_element_push_buffer_list):
* libs/gst/controller/gstcontroller.c: (gst_controller_get),
(gst_controller_get_type):
* libs/gst/controller/gsthelper.c: (gst_object_control_properties),
(gst_object_get_controller), (gst_object_get_control_source):
* libs/gst/controller/gstinterpolationcontrolsource.c:
(gst_interpolation_control_source_new):
* libs/gst/controller/gstlfocontrolsource.c:
(gst_lfo_control_source_new):
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_event_from_packet_0_2):
* plugins/elements/gstfdsrc.c:
* plugins/elements/gstmultiqueue.c:
* plugins/elements/gsttee.c:
* plugins/elements/gsttypefindelement.c:
* plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
(gst_file_index_add_association):
* plugins/indexers/gstmemindex.c:
* tests/benchmarks/gstpollstress.c: (mess_some_more):
* tests/check/elements/queue.c: (setup_queue):
* tests/check/gst/gstpipeline.c:
* tests/check/libs/collectpads.c: (setup), (teardown),
(gst_collect_pads_suite):
* tests/examples/adapter/adapter_test.c:
* tests/examples/metadata/read-metadata.c: (make_pipeline):
* tests/examples/xml/createxml.c:
* tests/examples/xml/runxml.c:
* tools/gst-inspect.c:
* tools/gst-run.c:
Correct all relevant warnings found by the sparse semantic code
analyzer. This include marking several symbols static, using
NULL instead of 0 for pointers, not using variable sized arrays
on the stack, moving variable declarations to the beginning of
a block and using "foo (void)" instead of "foo ()" for declarations.

12 years agogdp: Fix empty prototypes. Fixes bug #507957.
Damien Lespiau [Tue, 8 Jan 2008 02:07:38 +0000 (02:07 +0000)]
gdp: Fix empty prototypes. Fixes bug #507957.

Original commit message from CVS:
Patch by: Damien Lespiau <damien.lespiau@gmail.com>
* libs/gst/controller/gstcontroller.h:
* libs/gst/controller/gstcontrolsource.h:
* libs/gst/controller/gstinterpolationcontrolsource.h:
* libs/gst/controller/gstlfocontrolsource.h:
* libs/gst/dataprotocol/dataprotocol.h:
Fix empty prototypes.  Fixes bug #507957.

12 years agogdp: g_type_class_ref() other types as well, see #349410 and #64764.
Tim-Philipp Müller [Thu, 1 Nov 2007 21:50:05 +0000 (21:50 +0000)]
gdp: g_type_class_ref() other types as well, see #349410 and #64764.

Original commit message from CVS:
* gst/gst.c: (init_post):
* gst/gstevent.c: (_gst_event_initialize):
* gst/gstquery.c: (_gst_query_initialize):
* libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
g_type_class_ref() other types as well, see #349410 and #64764.
* gst/gstbuffer.c: (_gst_buffer_initialize):
* gst/gstmessage.c: (_gst_message_initialize):
Simplify existing g_type_class_ref().

12 years agogdp: Printf fixes.
Tim-Philipp Müller [Thu, 5 Oct 2006 14:26:08 +0000 (14:26 +0000)]
gdp: Printf fixes.

Original commit message from CVS:
* gst/gstpad.c: (pre_activate):
* gst/gstregistry.c: (gst_registry_scan_path_level):
* gst/gstregistryxml.c: (load_plugin):
* libs/gst/controller/gstcontroller.c:
(gst_controlled_property_set_interpolation_mode):
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_packet_from_event_1_0):
* libs/gst/net/gstnetclientclock.c:
(gst_net_client_clock_observe_times):
* plugins/elements/gstfdsrc.c: (gst_fd_src_create):
Printf fixes.

12 years agogdp: GST_DISABLE_DEPRECATED is only for users of API that don't want to see deprecate...
Andy Wingo [Fri, 11 Aug 2006 15:26:33 +0000 (15:26 +0000)]
gdp: GST_DISABLE_DEPRECATED is only for users of API that don't want to see deprecated functions in the headers; people th...

Original commit message from CVS:
2006-08-11  Andy Wingo  <wingo@pobox.com>

* configure.ac:
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
* tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
is only for users of API that don't want to see deprecated
functions in the headers; people that want to compile out
deprecated code should pass -DGST_REMOVE_DEPRECATED into the
CFLAGS. Fixes the build of multifdsink, or will soon..

12 years agogdp: add gst_object_{s,g}et_control_rate(), add private data section, fix docs
Stefan Kost [Thu, 10 Aug 2006 19:46:14 +0000 (19:46 +0000)]
gdp: add gst_object_{s,g}et_control_rate(), add private data section, fix docs

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/controller/gstcontroller.c:
(_gst_controller_get_property), (_gst_controller_set_property),
(_gst_controller_init), (_gst_controller_class_init):
* libs/gst/controller/gstcontroller.h:
* libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
(gst_object_set_control_rate):
API: add gst_object_{s,g}et_control_rate(), add private data section,
fix docs
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
* libs/gst/dataprotocol/dataprotocol.h:
add deprecation guards to make gtk-doc happy and allow disabling cruft

12 years agogdp: Make debug category static
Wim Taymans [Wed, 2 Aug 2006 15:19:30 +0000 (15:19 +0000)]
gdp: Make debug category static

Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
(gst_dp_crc), (gst_dp_header_payload_length),
(gst_dp_header_payload_type), (gst_dp_packet_from_event),
(gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
(gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
(gst_dp_event_from_packet), (gst_dp_validate_header),
(gst_dp_validate_payload):
Make debug category static
Constify the crc table.
Do some more arg checking in public functions.
Fix some docs and do some small cleanups.
* tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
Add some more checks to see if GDP deals with bogus input.

12 years agogdp: fix failure to deserialize event packets with empty payload (only ev...
Thomas Vander Stichele [Thu, 13 Jul 2006 14:02:16 +0000 (14:02 +0000)]
gdp: fix failure to deserialize event packets with empty payload (only ev...

Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_event_from_packet_1_0):
Fixes #347337: failure to deserialize event packets with
empty payload (only event type)

12 years agogdp: add a gdp image to the docs
Thomas Vander Stichele [Tue, 13 Jun 2006 19:24:34 +0000 (19:24 +0000)]
gdp: add a gdp image to the docs

Original commit message from CVS:

* docs/README:
* docs/images/gdp-header.svg:
add a gdp image
* docs/libs/Makefile.am:
* docs/libs/gdp-header.png:
* libs/gst/dataprotocol/dataprotocol.c:
add it to the API docs
* docs/manual/intro-motivation.xml:
fix typo

12 years agogdp: add note to docs about GDP versioning; remove tmpl file
Thomas Vander Stichele [Tue, 6 Jun 2006 14:29:54 +0000 (14:29 +0000)]
gdp: add note to docs about GDP versioning; remove tmpl file

Original commit message from CVS:
add note to docs about GDP versioning; remove tmpl file

12 years agogdp: add a GstDPPacketizer object, and create/free functions
Thomas Vander Stichele [Tue, 6 Jun 2006 14:24:00 +0000 (14:24 +0000)]
gdp: add a GstDPPacketizer object, and create/free functions

Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
(gst_dp_version_get_type), (gst_dp_init),
(gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
(gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
(gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
(gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
(gst_dp_event_from_packet), (gst_dp_packetizer_new),
(gst_dp_packetizer_free):
* libs/gst/dataprotocol/dataprotocol.h:
API: add a GstDPPacketizer object, and create/free functions
API: add GstDPVersion enum
Add 1.0 event function that uses the string serialization
Serialize more useful buffer flags
Fixes #343988

12 years agogdp: factor out CRC code
Thomas Vander Stichele [Fri, 2 Jun 2006 16:46:19 +0000 (16:46 +0000)]
gdp: factor out CRC code

Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
(gst_dp_packet_from_event):
factor out CRC code

12 years agogdp: factor out some common header init code
Thomas Vander Stichele [Fri, 2 Jun 2006 10:58:47 +0000 (10:58 +0000)]
gdp: factor out some common header init code

Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
(gst_dp_packet_from_event):
factor out some common header init code

12 years agogdp: make gst_dp_crc() public
Thomas Vander Stichele [Fri, 2 Jun 2006 10:08:31 +0000 (10:08 +0000)]
gdp: make gst_dp_crc() public

Original commit message from CVS:

* docs/libs/gstreamer-libs-sections.txt:
* docs/libs/tmpl/gstdataprotocol.sgml:
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
* libs/gst/dataprotocol/dataprotocol.h:
API: make gst_dp_crc() public

12 years agogdp: make sure we zero the whole ABI-compatible area
Thomas Vander Stichele [Thu, 1 Jun 2006 11:13:44 +0000 (11:13 +0000)]
gdp: make sure we zero the whole ABI-compatible area

Original commit message from CVS:

* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_header_from_buffer):
make sure we zero the whole ABI-compatible area

12 years agogdp: whitespace, comment, doc fixup
Thomas Vander Stichele [Mon, 8 May 2006 15:53:12 +0000 (15:53 +0000)]
gdp: whitespace, comment, doc fixup

Original commit message from CVS:
whitespace, comment, doc fixup

12 years agogdp: Fixes in reading/writing events over GDP (not currently used?) - dereferencing ...
Michael Smith [Fri, 28 Apr 2006 13:40:15 +0000 (13:40 +0000)]
gdp: Fixes in reading/writing events over GDP (not currently used?) - dereferencing ...

Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
(gst_dp_event_from_packet):
Fixes in reading/writing events over GDP (not currently used?) -
dereferencing NULL events for unknown/invalid event types, memory
leak, and change g_warning to GST_WARNING.

12 years agogdp: Fix docs for dataprocotol to not get the return types completely wrong for a...
Michael Smith [Fri, 10 Mar 2006 15:30:27 +0000 (15:30 +0000)]
gdp: Fix docs for dataprocotol to not get the return types completely wrong for a fe...

Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
Fix docs for dataprocotol to not get the return types completely
wrong for a few functions.

12 years agogdp: Documentation updates.
Wim Taymans [Sun, 18 Dec 2005 16:04:41 +0000 (16:04 +0000)]
gdp: Documentation updates.

Original commit message from CVS:
* libs/gst/base/gstadapter.c:
* libs/gst/base/gstadapter.h:
* libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
(gst_base_sink_get_position):
* libs/gst/base/gstbasesink.h:
* libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
(gst_base_src_default_query), (gst_base_src_default_do_seek),
(gst_base_src_do_seek), (gst_base_src_perform_seek),
(gst_base_src_send_event), (gst_base_src_update_length),
(gst_base_src_get_range), (gst_base_src_loop),
(gst_base_src_start):
* libs/gst/base/gstbasesrc.h:
* libs/gst/base/gstbasetransform.h:
* libs/gst/base/gstcollectpads.h:
* libs/gst/base/gstpushsrc.c:
* libs/gst/base/gstpushsrc.h:
* libs/gst/dataprotocol/dataprotocol.c:
* libs/gst/dataprotocol/dataprotocol.h:
* libs/gst/net/gstnetclientclock.h:
* libs/gst/net/gstnettimeprovider.h:
Documentation updates.