Руслан Ижбулатов [Wed, 25 May 2011 08:47:51 +0000 (12:47 +0400)]
poll: Fix WAKE_EVENT() to behave posixly on Windows
Stefan Kost [Tue, 24 May 2011 17:28:18 +0000 (20:28 +0300)]
registrybinary: small cleanups
Remove unneeded braces from string define. Small doc improvement.
Stefan Kost [Tue, 24 May 2011 17:27:02 +0000 (20:27 +0300)]
preset: use guint for the version number parts
Use unsigned integers for extra safety (like we do in plugin version parsing).
Debarshi Ray [Tue, 24 May 2011 14:13:58 +0000 (19:43 +0530)]
check: add fail_unless_equals_int64
https://bugzilla.gnome.org/show_bug.cgi?id=650973
Sebastian Dröge [Tue, 24 May 2011 11:28:00 +0000 (13:28 +0200)]
Revert "debugutils: Fix for GstIterator API changes"
This reverts commit
e1cc3176d6fb8023bbe0c733615b2a8c420a2077.
This is not the 0.11 branch...
Sebastian Dröge [Tue, 24 May 2011 11:27:09 +0000 (13:27 +0200)]
debugutils: Fix for GstIterator API changes
Kipp Cannon [Mon, 23 May 2011 21:26:40 +0000 (00:26 +0300)]
clock: improve the GST_TIME_FORMAT/ARGS docs
Stefan Kost [Mon, 23 May 2011 20:40:20 +0000 (23:40 +0300)]
docs: hide this from the docs
Stefan Kost [Fri, 20 May 2011 12:50:05 +0000 (15:50 +0300)]
win32: add new api
Stefan Kost [Fri, 20 May 2011 12:48:09 +0000 (15:48 +0300)]
deprecation-guards: fixup for commit
9ff4ec3104d2510b8f379ff38c671682ff795e33
Remove the deprecation guards for GST_PLUGIN_DEFINE_STATIC again (even though it
is deprecated) as we use it in the tests. Remove "_" for intlinkfunc.
Sebastian Dröge [Fri, 20 May 2011 11:03:51 +0000 (13:03 +0200)]
basesink: Only reinit the cached GstClockID if it is for the same clock
The clock might have changed since the clock ID was created and in
that case we have to request a new one.
Stefan Kost [Thu, 19 May 2011 21:39:10 +0000 (00:39 +0300)]
preset: include cleanup
Only have include in the installed header we need to use it. Move the includes
needed by the implementation to the c file.
Stefan Kost [Thu, 19 May 2011 20:19:30 +0000 (23:19 +0300)]
docs: update plugin introspection data
Now more files are merged and produced in a canonical fashion, which hopefully
creates less or no delta in the future.
Stefan Kost [Thu, 19 May 2011 19:56:28 +0000 (22:56 +0300)]
Automatic update of common submodule
From 9e5bbd5 to 69b981f
Stefan Kost [Wed, 18 May 2011 13:09:19 +0000 (16:09 +0300)]
Automatic update of common submodule
From fd35073 to 9e5bbd5
Stefan Kost [Wed, 18 May 2011 12:04:48 +0000 (15:04 +0300)]
docs: remove GstProxyPad from private section
Stefan Kost [Wed, 18 May 2011 12:02:02 +0000 (15:02 +0300)]
docs: use the same name for the argument in prototype and docs
Stefan Kost [Wed, 18 May 2011 11:59:45 +0000 (14:59 +0300)]
manual: put generated sources to BUILT_SOURCES and clean them on make clean
Stefan Kost [Wed, 18 May 2011 11:10:12 +0000 (14:10 +0300)]
manual: reinsert missing space to fix previous commit
Stefan Kost [Wed, 18 May 2011 10:54:42 +0000 (13:54 +0300)]
manual: simplify the snipet extraction rules
Use $< instead of repeating the name of the dependency.
Stefan Kost [Wed, 18 May 2011 07:59:38 +0000 (10:59 +0300)]
manual: don't extract the xml example anymore, its gone
As a followup for commit
cda5a353d27326c0272a79c92c11c221a4092da4 don't try
extracting an example that has been removed.
Stefan Kost [Wed, 18 May 2011 09:23:39 +0000 (12:23 +0300)]
Automatic update of common submodule
From 46dfcea to fd35073
Mark Nauwelaerts [Tue, 17 May 2011 20:17:14 +0000 (22:17 +0200)]
baseparse: maintain frame state during frame parsing round
See #650093.
Mark Nauwelaerts [Thu, 12 May 2011 09:55:20 +0000 (11:55 +0200)]
baseparse: provide latency query support
Mark Nauwelaerts [Tue, 17 May 2011 20:15:38 +0000 (22:15 +0200)]
baseparse: make minimum frame size handling more efficient and convenient
While some formats allow subclass to determine a specific subsequent
needed frame size, others may to need to scan for markers and can only
request 'additional data' by whatever reasonable available step.
In push mode, trying to minimize additional latency leads to step size
being the next input buffer. In pull mode, any reasonable step size
(such as already used by buffer caching) can be applied.
Mark Nauwelaerts [Tue, 17 May 2011 20:38:14 +0000 (22:38 +0200)]
baseparse: set correct buffer size
Stefan Kost [Fri, 6 May 2011 07:54:08 +0000 (10:54 +0300)]
inspect: show flags the same way they need to be entered
The (de)serialisation uses "+" and not " | ".
Stefan Kost [Thu, 28 Apr 2011 08:34:39 +0000 (11:34 +0300)]
pluginfeature: avoid duplicating feature->name
The feature name is not supposed to change over time anyway. In order to enforce
this parentize features to the registry and make the feature->name pointing to
GstObject:name. In 0.11 we could consider of removing the feature->name variable
(FIXME comment added).
Fixes: #459466
Stefan Kost [Mon, 2 May 2011 12:36:14 +0000 (15:36 +0300)]
docs: add deprecation guards
Move GstPadIntLinkFunction to private header to avoid a dozen #ifdefs. Use a
gpointer in public header instead.
Tim-Philipp Müller [Mon, 16 May 2011 12:39:25 +0000 (13:39 +0100)]
miniobject: delay private data initialisation until actually needed
We only use the private instance data for weak references for now,
so can delay initialisation until actually needed (microoptimisation)
Sebastian Dröge [Tue, 17 May 2011 07:35:54 +0000 (09:35 +0200)]
structure: Make both parameters to gst_structure_is_equal() const
Sebastian Dröge [Tue, 17 May 2011 07:33:47 +0000 (09:33 +0200)]
structure: Update Since markers to the correct version
Sebastian Dröge [Tue, 17 May 2011 07:33:04 +0000 (09:33 +0200)]
structure: Add gst_structure_intersect()
API: gst_structure_intersect()
Edward Hervey [Fri, 10 Sep 2010 16:33:34 +0000 (18:33 +0200)]
gststructure: Add gst_structure_can_intersect API
Allows checking if two structures can intersect without having to
go through GstCaps
API: gst_structure_can_intersect
https://bugzilla.gnome.org/show_bug.cgi?id=629300
Edward Hervey [Fri, 10 Sep 2010 16:14:05 +0000 (18:14 +0200)]
gstructure: New API: gst_structure_is_equal
Allows checking equality of GstStructure without having to create
intermediary GstCaps.
API: gst_structure_is_equal
https://bugzilla.gnome.org/show_bug.cgi?id=629300
Mark Nauwelaerts [Tue, 19 Apr 2011 18:05:07 +0000 (20:05 +0200)]
queue2: adjust input data rate estimation
... being aware of possible initial higher burst rate.
Tim-Philipp Müller [Sat, 14 May 2011 13:02:06 +0000 (14:02 +0100)]
docs: fix up some Since markers and update for new multiqueue args
Sebastian Dröge [Thu, 12 May 2011 14:48:41 +0000 (16:48 +0200)]
bin: Don't interprete pipelines without sink elements as always being in EOS state
Some tests (e.g. elements/capsfilter) have pipelines with dangling
sinkpads and without a sink element. These pipelines can never post
an EOS message (because this is only valid by a sink) and as such
should never get an EOS message posted by the bin.
Sebastian Dröge [Thu, 12 May 2011 13:51:22 +0000 (15:51 +0200)]
systemclock: Only retry writing to the socket for EAGAIN, EWOULDBLOCK and EINTR
Fixes infinite loop in some cases, bug #650002.
Sebastian Dröge [Thu, 12 May 2011 07:59:20 +0000 (09:59 +0200)]
miniobject: Add new miniobject weak ref/unref functions to the docs
Sebastian Dröge [Thu, 12 May 2011 07:55:45 +0000 (09:55 +0200)]
miniobject: Minor cleanup of last commit
José Alburquerque [Wed, 11 May 2011 17:09:19 +0000 (13:09 -0400)]
miniobject: Add weak referencing functionality
API: gst_mini_object_weak_ref()
API: gst_mini_object_weak_unref()
Add weak referencing functionality to GstMiniObject, which
allows to get notifications when an mini object is destroyed
but doesn't increase the real refcount. This is mostly
useful for bindings.
Fixes bug #609473.
Sebastian Dröge [Sat, 19 Mar 2011 09:28:49 +0000 (10:28 +0100)]
inputselector: Add sync mode that syncs inactive pads to the running time of the active pad
Fixes bug #645017.
Sebastian Dröge [Tue, 22 Mar 2011 12:19:47 +0000 (13:19 +0100)]
multiqueue: Add mode to synchronize deactivated/not-linked streams by the running time
Fixes bug #645107, #600648.
Sebastian Dröge [Mon, 18 Apr 2011 12:26:33 +0000 (14:26 +0200)]
bin: Only post EOS messages after reaching the PLAYING state
Fixes bug #647756.
Sebastian Dröge [Tue, 10 May 2011 14:37:44 +0000 (16:37 +0200)]
element: Add GstElement::state_changed vfunc
API: GstElement::state_changed
This is always called when the state of an element has changed and
before the corresponding state-changed message is posted on the bus.
Sebastian Dröge [Fri, 6 May 2011 14:44:29 +0000 (16:44 +0200)]
ghostpad: Add docs for all the new, public functions
Sebastian Dröge [Fri, 6 May 2011 14:15:51 +0000 (16:15 +0200)]
ghostpad: Add guards against invalid parameters to the new, public functions
Sebastian Dröge [Fri, 6 May 2011 14:00:22 +0000 (16:00 +0200)]
ghostpad: Rename ghostpad/proxypad default functions
API: gst_ghost_pad_activate_pull_default
API: gst_ghost_pad_activate_push_default
API: gst_ghost_pad_internal_activate_pull_default
API: gst_ghost_pad_internal_activate_push_default
API: gst_ghost_pad_link_default
API: gst_ghost_pad_setcaps_default
API: gst_ghost_pad_unlink_default
API: gst_proxy_pad_acceptcaps_default
API: gst_proxy_pad_bufferalloc_default
API: gst_proxy_pad_chain_default
API: gst_proxy_pad_chain_list_default
API: gst_proxy_pad_checkgetrange_default
API: gst_proxy_pad_event_default
API: gst_proxy_pad_fixatecaps_default
API: gst_proxy_pad_getcaps_default
API: gst_proxy_pad_getrange_default
API: gst_proxy_pad_iterate_internal_links_default
API: gst_proxy_pad_query_default
API: gst_proxy_pad_query_type_default
API: gst_proxy_pad_setcaps_default
Sebastian Dröge [Fri, 6 May 2011 13:50:20 +0000 (15:50 +0200)]
ghostpad: Make all the internal caps functions public
This is useful if ghostpad/proxypads should be used but
additional code should be executed, e.g. for tracking
segments in the event function.
Sebastian Dröge [Fri, 6 May 2011 13:25:04 +0000 (15:25 +0200)]
ghostpad: Only implement the iterate_internal_links function on proxypads
ghostpads inherit it from their parent class. Also make it threadsafe.
Sebastian Dröge [Fri, 6 May 2011 13:16:09 +0000 (15:16 +0200)]
ghostpad: API: Expose gst_proxy_pad_get_internal()
This allows to get the internal pad of ghostpads and
proxypads without using gst_pad_iterate_internal_links()
and is much more convenient.
The internal pad of a ghostpad is the pad of the opposite direction
that is used to link to the ghostpad target.
Sebastian Dröge [Thu, 5 May 2011 15:54:56 +0000 (17:54 +0200)]
basetransform: When trying to fixate the sink suggestion prefer its structure order
Sebastian Dröge [Thu, 5 May 2011 09:28:38 +0000 (11:28 +0200)]
caps: Merge structures when intersecting instead of appending them
This prevents adding duplicates over and over again to the resulting
caps if they already describe the new intersection result.
While this changes intersection from O(n*m) to O(n^2*m), it results in
smaller caps, which in the end will decrease further processing times.
For example in an audioconvert ! audioconvert ! audioconvert pipeline,
when forwarding the downstream caps preference in basetransform
(see
e26da72de25a91c3eaad9f7c8b2f53ba888a0394) this results in
16 instead of 191 caps structures.
Sebastian Dröge [Wed, 4 May 2011 09:29:15 +0000 (11:29 +0200)]
basetransform: In getcaps() prefer the caps order and caps of downstream if possible
Sebastian Dröge [Tue, 3 May 2011 15:26:53 +0000 (17:26 +0200)]
basetransform: Prefer caps order given by the subclass of the template caps order
Miguel Angel Cabrera Moya [Wed, 20 Apr 2011 20:52:36 +0000 (22:52 +0200)]
parse: don't unescape inside quotes
Escaped characters inside quoted strings are supposed to be unescaped by
deserialization functions, not by parsing functions.
https://bugzilla.gnome.org/show_bug.cgi?id=648025
Sebastian Dröge [Mon, 18 Apr 2011 08:04:24 +0000 (10:04 +0200)]
pad: Remove unnecessary FIXME
Resetting the result is not necessary when resyncing because
pads that previously got the event will be skipped and we
need to consider the results of the previous pushes.
Sebastian Dröge [Mon, 18 Apr 2011 07:53:55 +0000 (09:53 +0200)]
element: If activating one pad failed error out early instead of trying to activate the next pads
If one pad fails to activate the complete activation process will fail
anyway and trying to activate the other pads only wastes time.
Sebastian Dröge [Mon, 18 Apr 2011 07:49:04 +0000 (09:49 +0200)]
bin: If activating one pad failed error out early instead of trying to activate the next pads
If one pad fails to activate the complete activation process will fail
anyway and trying to activate the other pads only wastes time.
Tim-Philipp Müller [Sat, 14 May 2011 08:31:33 +0000 (09:31 +0100)]
Back to development
Tim-Philipp Müller [Sat, 14 May 2011 00:00:23 +0000 (01:00 +0100)]
Release 0.10.34
Vincent Penquerc'h [Wed, 4 May 2011 12:31:56 +0000 (15:31 +0300)]
basesrc: do not set first buffer timestamp to 0 for live sources
Doing so avoids a large timestamp gap between first and second buffer
for live sources which take time to start up.
The first buffer now has a "live" timestamp based on the running time,
as other buffers do.
https://bugzilla.gnome.org/show_bug.cgi?id=649369
Mark Nauwelaerts [Tue, 10 May 2011 09:11:15 +0000 (11:11 +0200)]
multiqueue: ensure thread safety when adding a pad
This seems to be a regression, and was causing crashes.
https://bugzilla.gnome.org/show_bug.cgi?id=649878
Tim-Philipp Müller [Tue, 10 May 2011 07:55:10 +0000 (08:55 +0100)]
Release 0.10.33
Highlights:
- new parser base class: GstBaseParse
- new core element: funnel
- OSX multi-arch fixes
- new QoS type for QoS events
- new progress message API to notify applications of asynchronous operations
- countless other fixes and improvements
Tim-Philipp Müller [Fri, 6 May 2011 22:40:58 +0000 (23:40 +0100)]
baseparse: don't post loads of empty taglists
Only post bitrate updates if there's something to post, don't
post empty taglists if nothing changed.
Stefan Kost [Fri, 6 May 2011 08:35:36 +0000 (11:35 +0300)]
info: avoid redefinition of symbols when debugging is off
The refactoring of gst_debug_add_log_function() now causes build failure when
debug-logging is turned off. Just move it to the conditional part of the header.
Tim-Philipp Müller [Wed, 4 May 2011 14:29:42 +0000 (15:29 +0100)]
tests: fix compiler warning in new miniobject test
gst/gstminiobject.c: In function ‘test_dup_null_mini_object’:
gst/gstminiobject.c:459:7: warning: assignment from incompatible pointer type
Thiago Santos [Mon, 2 May 2011 14:30:06 +0000 (11:30 -0300)]
miniobject: Fix dup_mini_object function to handle NULL gvalues
g_value_dup_object handles gvalues that contain NULL pointers,
gst_value_dup_mini_object should do the same.
https://bugzilla.gnome.org/show_bug.cgi?id=649195
Stefan Kost [Tue, 3 May 2011 10:55:43 +0000 (13:55 +0300)]
docs: it its %TRUE (constant)
As spotted by Tim.
Stefan Kost [Mon, 2 May 2011 13:22:56 +0000 (16:22 +0300)]
docs: fix copy'n'paste doc header mistake
Stefan Kost [Mon, 2 May 2011 13:20:24 +0000 (16:20 +0300)]
docs: add two trivial doc blobs
Stefan Kost [Mon, 2 May 2011 13:03:29 +0000 (16:03 +0300)]
docs: add missing parameter docs
Stefan Kost [Mon, 2 May 2011 13:00:52 +0000 (16:00 +0300)]
docs: add docs for GstDPPacketizer
Stefan Kost [Mon, 2 May 2011 12:52:58 +0000 (15:52 +0300)]
docs: improve the syntax for the capsintersectmode docs
Stefan Kost [Mon, 2 May 2011 12:48:01 +0000 (15:48 +0300)]
docs: fixup broken xref
Stefan Kost [Mon, 2 May 2011 12:46:59 +0000 (15:46 +0300)]
docs: add new api to -section.txt
Stefan Kost [Mon, 2 May 2011 12:35:52 +0000 (15:35 +0300)]
docs: fix gtk-doc syntax
Stefan Kost [Mon, 2 May 2011 12:30:13 +0000 (15:30 +0300)]
docs: don't duplicate info that we take from element-details
Stefan Kost [Thu, 28 Apr 2011 12:37:02 +0000 (15:37 +0300)]
docs: remove non existing symbol
Stefan Kost [Thu, 28 Apr 2011 12:05:28 +0000 (15:05 +0300)]
docs: we don't need to document private members in opaque structs
Tim-Philipp Müller [Sat, 30 Apr 2011 15:55:36 +0000 (16:55 +0100)]
0.10.32.4 pre-release
Tim-Philipp Müller [Fri, 29 Apr 2011 22:44:55 +0000 (23:44 +0100)]
pluginfeature: include plugin.h in header where we use a GstPlugin pointer
Should fix issue with gstreamermm build where <gst/gstindex.h> is included
directly instead of gst/gst.h.
Tim-Philipp Müller [Wed, 27 Apr 2011 10:49:11 +0000 (11:49 +0100)]
0.10.32.3 pre-release
Tim-Philipp Müller [Tue, 26 Apr 2011 14:42:46 +0000 (15:42 +0100)]
Revert lockfree GstBus for the release
Drop in old GstBus code for the release to play it safe, since
regressions that are apparently hard to track down and reproduce
have been reported (on windows/OSX mostly) against the lockfree
version, and more time is needed to fix them.
This reverts commit
03391a897001d35d1d290f27dd12e98a8b729fb4.
This reverts commit
43cdbc17e6f944cdf02aeed78d1d5f6bde5190c9.
This reverts commit
80eb160e0f62350271f061daa5f289d9d4277cf4.
This reverts commit
c41b0ade28790ffdb0e484b41cd7929c4e145dec.
This reverts commit
874d60e5899dd5b89854679d1a4ad016a58ba4e0.
This reverts commit
79370d4b1781af9c9a65f2d1e3498124d8c4c413.
This reverts commit
2cb3e5235196eb71fb25e0a4a4b8749d6d0a8453.
This reverts commit
bd1c40011434c1efaa696dc98ef855ef9cce9b28.
This reverts commit
4bf8f1524f6e3374b3f3bc57322337723d06b928.
This reverts commit
14d7db1b527b05f029819057aef5c123ac7e013d.
https://bugzilla.gnome.org/show_bug.cgi?id=647493
David Schleef [Sat, 16 Apr 2011 05:00:11 +0000 (22:00 -0700)]
minor inline documentation fix
Tim-Philipp Müller [Sun, 24 Apr 2011 13:02:51 +0000 (14:02 +0100)]
Automatic update of common submodule
From c3cafe1 to 46dfcea
Tim-Philipp Müller [Sun, 24 Apr 2011 10:44:19 +0000 (11:44 +0100)]
tests: clean up properly in the bin test_link_structure_change unit test
Don't forget to set the pipeline back to NULL state, which makes
valgrind happy again.
Tim-Philipp Müller [Sun, 24 Apr 2011 08:58:53 +0000 (09:58 +0100)]
registry: when removing a cached-but-no-longer-existing plugin, only remove features that belong to it
When a plugin file no longer exists, e.g. because it's been removed or
renamed, don't remove all features in the registry based on the *name*
of the plugin they belong to, but only remove those who actually belong
to that particular plugin (object/pointer).
This fixes issues of plugin features disappearing when a plugin .so file
is renamed.
https://bugzilla.gnome.org/show_bug.cgi?id=604094
Tim-Philipp Müller [Sun, 24 Apr 2011 08:53:39 +0000 (09:53 +0100)]
pluginfeature: store pointer to plugin in addition to the plugin name
So we can reliably remove plugin features for a specific plugin later.
https://bugzilla.gnome.org/show_bug.cgi?id=604094
Tim-Philipp Müller [Sun, 24 Apr 2011 10:05:58 +0000 (11:05 +0100)]
registry: use TRACE log level to log files that don't look like plugins
Cuts down the noise in uninstalled setups.
Thiago Santos [Tue, 19 Apr 2011 23:35:04 +0000 (20:35 -0300)]
basetransform: fix negotiation regression
Fixup patch for
83597767b169dd6c39a07b6144a650c1f098825a
Use a separate variable for knowing if a pad alloc has been made
instead of checking for the flow return that might not be the
result of the pad alloc
https://bugzilla.gnome.org/show_bug.cgi?id=648220
Tim-Philipp Müller [Thu, 21 Apr 2011 11:33:10 +0000 (12:33 +0100)]
tests: add simple pipeline-in-pipeline unit test
https://bugzilla.gnome.org/show_bug.cgi?id=648297
Mark Nauwelaerts [Wed, 20 Apr 2011 13:39:16 +0000 (15:39 +0200)]
bus: also allow popping a message without timeout if no poll available
... which happens in particular flushing a bus, possibly as part
of a state change, e.g. when having a pipeline in a pipeline
and then changing state back to NULL. The interior pipeline
will/might then flush the bus, which is a child bus from the
parent which does not have a poll anymore these days.
https://bugzilla.gnome.org/show_bug.cgi?id=648297
Havard Graff [Tue, 19 Apr 2011 12:05:23 +0000 (14:05 +0200)]
pad: unlock before freeing the cache to avoid deadlock
https://bugzilla.gnome.org/show_bug.cgi?id=648199
Havard Graff [Thu, 14 Apr 2011 08:15:26 +0000 (10:15 +0200)]
basetransform: don't unref trans until the function is done using it
trans->priv->force_alloc = FALSE would crash if the ref held is the last
https://bugzilla.gnome.org/show_bug.cgi?id=648215
Tim-Philipp Müller [Tue, 19 Apr 2011 12:23:19 +0000 (13:23 +0100)]
docs: add note/warning to gst_index_get_writer_id() docs about the OBJECT_LOCK
https://bugzilla.gnome.org/show_bug.cgi?id=646811
Tim-Philipp Müller [Tue, 19 Apr 2011 12:05:53 +0000 (13:05 +0100)]
baseparse: don't deadlock when setting external index
Protect index with its own lock. gst_index_get_writer_id() may take
the object lock internally (the default resolver, GST_INDEX_RESOLVER_PATH,
will anyway), so if we're using that to protect the index as well,
we'll deadlock.
https://bugzilla.gnome.org/show_bug.cgi?id=646811
Tim-Philipp Müller [Tue, 19 Apr 2011 10:51:30 +0000 (11:51 +0100)]
baseparse: make fmtlist constant
Tim-Philipp Müller [Tue, 19 Apr 2011 10:48:05 +0000 (11:48 +0100)]
query: const-ify formats arguments to gst_query_set_formatsv()