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
Christian Fredrik Kalager Schaller [Fri, 6 Jan 2012 12:06:00 +0000 (12:06 +0000)]
Fix playbin2 -> playbin in Makefile
Wim Taymans [Thu, 5 Jan 2012 12:59:32 +0000 (13:59 +0100)]
audio: expose API to convert channel array to a mask
Wim Taymans [Thu, 5 Jan 2012 11:32:06 +0000 (12:32 +0100)]
vorbisdec: use right channel variable
Wim Taymans [Thu, 5 Jan 2012 11:31:51 +0000 (12:31 +0100)]
riff: don't use NULL arrays
Sebastian Dröge [Wed, 4 Jan 2012 13:48:33 +0000 (14:48 +0100)]
audio: Improve/fix handling of 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
Sebastian Dröge [Wed, 4 Jan 2012 09:26:47 +0000 (10:26 +0100)]
audiotestsrc: Fix channel-mask handling
Sebastian Dröge [Wed, 4 Jan 2012 09:26:33 +0000 (10:26 +0100)]
audioconvert: Fix channel-mask handling
Sebastian Dröge [Wed, 4 Jan 2012 08:54:56 +0000 (09:54 +0100)]
audio: Fix GST_AUDIO_CHANNEL_POSITION_MASK macro
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.
Sebastian Dröge [Sat, 31 Dec 2011 13:31:08 +0000 (14:31 +0100)]
gst: Add new layout field to all 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
Sebastian Dröge [Sat, 31 Dec 2011 13:21:27 +0000 (14:21 +0100)]
gst: Add new layout field to the raw audio 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
Sebastian Dröge [Sat, 31 Dec 2011 12:50:04 +0000 (13:50 +0100)]
riff: Add the layout field to the raw audio caps
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
Sebastian Dröge [Sat, 31 Dec 2011 12:47:24 +0000 (13:47 +0100)]
audiocdsrc: Add the layout field to the 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.
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
Sebastian Dröge [Sat, 24 Dec 2011 09:54:20 +0000 (10:54 +0100)]
audioringbuffer: Use new function to get a channel reordering map
Sebastian Dröge [Sat, 24 Dec 2011 09:50:20 +0000 (10:50 +0100)]
audio: Add documentation for the new functions
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
Sebastian Dröge [Tue, 20 Dec 2011 15:55:34 +0000 (16:55 +0100)]
riff: Port to the new multichannel caps
Sebastian Dröge [Tue, 20 Dec 2011 15:34:38 +0000 (16:34 +0100)]
audio: Remove testchannels example
It's not really relevant anymore
Sebastian Dröge [Tue, 20 Dec 2011 11:08:53 +0000 (12:08 +0100)]
vorbis: 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
Sebastian Dröge [Mon, 19 Dec 2011 13:27:28 +0000 (14:27 +0100)]
audioconvert: Update unit test for 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
Sebastian Dröge [Tue, 20 Dec 2011 15:20:06 +0000 (16:20 +0100)]
audioringbuffer: Add support for reordering of channels
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
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.
Tim-Philipp Müller [Wed, 4 Jan 2012 19:50:58 +0000 (19:50 +0000)]
Automatic update of common submodule
From a62f3d4 to 0807187
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.
Wim Taymans [Wed, 4 Jan 2012 15:41:53 +0000 (16:41 +0100)]
tests: port and enable more unit tests
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.
Wim Taymans [Mon, 2 Jan 2012 17:31:16 +0000 (18:31 +0100)]
defs: update
Wim Taymans [Mon, 2 Jan 2012 17:31:05 +0000 (18:31 +0100)]
tests: small cleanup
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.
Wim Taymans [Mon, 2 Jan 2012 16:42:11 +0000 (17:42 +0100)]
videorate: chain up to parent event function
Wim Taymans [Mon, 2 Jan 2012 16:28:12 +0000 (17:28 +0100)]
videorate: fix caps negotiation function
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.
Wim Taymans [Mon, 2 Jan 2012 14:59:09 +0000 (15:59 +0100)]
audioresample: truncate in fixation
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
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.
Tim-Philipp Müller [Mon, 2 Jan 2012 14:30:53 +0000 (14:30 +0000)]
playback, mixerutils: gst_registry_get_default() -> gst_registry_get()
Wim Taymans [Mon, 2 Jan 2012 14:03:54 +0000 (15:03 +0100)]
audioconvert: handle unpositioned channels
Refuse to convert between unpositioned layouts.
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.
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
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.
Stefan Sauer [Fri, 30 Dec 2011 17:36:37 +0000 (18:36 +0100)]
controller: port to latest API changes
Tim-Philipp Müller [Fri, 30 Dec 2011 19:26:24 +0000 (19:26 +0000)]
video: add some padding to GstVideoFilter
Tim-Philipp Müller [Fri, 30 Dec 2011 19:24:09 +0000 (19:24 +0000)]
docs: make gtk-doc happier
Tim-Philipp Müller [Fri, 30 Dec 2011 16:47:13 +0000 (16:47 +0000)]
tests: disable direct structure access in audiocd test
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.
Tim-Philipp Müller [Fri, 30 Dec 2011 16:18:39 +0000 (16:18 +0000)]
audiocdsrc: update for GstIndex removal
Tim-Philipp Müller [Fri, 30 Dec 2011 16:12:30 +0000 (16:12 +0000)]
audiocdsrc: make private bits private
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
Edward Hervey [Wed, 28 Dec 2011 15:25:37 +0000 (16:25 +0100)]
check/video: Caps have "interlace-mode=progressive" by default
Edward Hervey [Wed, 28 Dec 2011 15:24:53 +0000 (16:24 +0100)]
check/decodebin: Fix callback signature
The "gboolean last" argument is gone.
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.
Wim Taymans [Sun, 25 Dec 2011 17:07:10 +0000 (18:07 +0100)]
videopool: add support for custom allocators
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.
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.
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
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.
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
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.
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.
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.
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.
Stefan Kost [Mon, 2 May 2011 13:00:52 +0000 (16:00 +0300)]
gdp: add docs for GstDPPacketizer
Wim Taymans [Mon, 21 Mar 2011 17:13:55 +0000 (18:13 +0100)]
gdp: port code to new buffer data API
Wim Taymans [Mon, 6 Dec 2010 18:40:03 +0000 (19:40 +0100)]
gdp: remove deprecated code
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.
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
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
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
Stefan Kost [Fri, 27 Nov 2009 14:39:37 +0000 (16:39 +0200)]
gdp: fix broken xrefs in docs
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.
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.
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.
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.
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().
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.
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..
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
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.
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)
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
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
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
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
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
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
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
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
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.
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.
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.