platform/upstream/gstreamer.git
13 years agobasesrc: do not sneakily mess with current offset when updating length
Mark Nauwelaerts [Thu, 30 Jun 2011 15:39:37 +0000 (17:39 +0200)]
basesrc: do not sneakily mess with current offset when updating length

13 years agotask: Check for PR_SET_NAME before using
Emmanuel Pacaud [Sat, 25 Jun 2011 20:51:52 +0000 (13:51 -0700)]
task: Check for PR_SET_NAME before using

Fixes: #653172.

Signed-off-by: David Schleef <ds@schleef.org>
13 years agoAutomatic update of common submodule
David Schleef [Thu, 23 Jun 2011 18:27:52 +0000 (11:27 -0700)]
Automatic update of common submodule

From 69b981f to 605cd9a

13 years agoimages: strip images of extra text tags
Stefan Kost [Tue, 21 Jun 2011 13:15:44 +0000 (15:15 +0200)]
images: strip images of extra text tags

13 years agoBump gobject-introspection requirement to >= 0.6.8
Tim-Philipp Müller [Sat, 18 Jun 2011 13:38:53 +0000 (14:38 +0100)]
Bump gobject-introspection requirement to >= 0.6.8

For --add-init-section

13 years agoBump git version after unplanned 0.10.35 release
Tim-Philipp Müller [Thu, 16 Jun 2011 16:27:21 +0000 (17:27 +0100)]
Bump git version after unplanned 0.10.35 release

Merge remote-tracking branch 'origin/0.10.35'

13 years agobasesink: Fix typo in documentation
Philip Jägenstedt [Tue, 14 Jun 2011 15:57:21 +0000 (17:57 +0200)]
basesink: Fix typo in documentation

Fixes #652577.

13 years agoRelease 0.10.35 RELEASE-0.10.35
Tim-Philipp Müller [Wed, 15 Jun 2011 18:15:24 +0000 (19:15 +0100)]
Release 0.10.35

This is an ad-hoc release that is almost identical to 0.10.34:

 * work around GLib atomic ops API change
 * some minor win32/mingw fixes
 * don't use G_CONST_RETURN in public headers

13 years agoUse "const" instead G_CONST_RETURN
Javier Jardón [Thu, 9 Jun 2011 16:13:35 +0000 (17:13 +0100)]
Use "const" instead G_CONST_RETURN

G_CONST_RETURN will be deprecated soon.

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

13 years agoWork around changes in g_atomic API
David Schleef [Sat, 4 Jun 2011 07:30:15 +0000 (00:30 -0700)]
Work around changes in g_atomic API

See #651514 for details.  It's apparently impossible to write code
that avoids both type punning warnings with old g_atomic headers and
assertions in the new.  Thus, macros and a version check.

13 years agosystemclock: Placate gcc by defining EWOULDBLOCK to something
Руслан Ижбулатов [Wed, 25 May 2011 09:40:30 +0000 (13:40 +0400)]
systemclock: Placate gcc by defining EWOULDBLOCK to something

13 years agopoll: Fix WAKE_EVENT() to behave posixly on Windows
Руслан Ижбулатов [Wed, 25 May 2011 08:47:51 +0000 (12:47 +0400)]
poll: Fix WAKE_EVENT() to behave posixly on Windows

13 years agodocs: update for gst_base_src_set_dynamic_size
Tim-Philipp Müller [Fri, 10 Jun 2011 11:44:40 +0000 (12:44 +0100)]
docs: update for gst_base_src_set_dynamic_size

Add to sections file and add Since: marker. Also update
win32 .def file.

API: gst_base_src_set_dynamic_size()

13 years agoUse "const" instead G_CONST_RETURN
Javier Jardón [Thu, 9 Jun 2011 16:13:35 +0000 (17:13 +0100)]
Use "const" instead G_CONST_RETURN

G_CONST_RETURN will be deprecated soon.

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

13 years agofilesrc/fdsrc: indicate dynamic size handling to basesrc
Mark Nauwelaerts [Wed, 8 Jun 2011 16:22:36 +0000 (18:22 +0200)]
filesrc/fdsrc: indicate dynamic size handling to basesrc

13 years agobasesrc: add dynamic size handling
Mark Nauwelaerts [Wed, 8 Jun 2011 16:22:03 +0000 (18:22 +0200)]
basesrc: add dynamic size handling

This allows subclass to indicate that size reported by src may not be static
and should as such be updated regularly, rather than only when really
needed.

Particular examples are filesrc or fdsrc reading from a file that is still
growing (e.g. being downloaded).

Fixes #652037.

13 years agoRevert "basesrc: Send an update NEWSEGMENT event downstream if the duration changes"
Mark Nauwelaerts [Wed, 8 Jun 2011 18:14:16 +0000 (20:14 +0200)]
Revert "basesrc: Send an update NEWSEGMENT event downstream if the duration changes"

This reverts commit 934faf163caf10ed3d54d81fd7b793069913dffd.

Original commit leads to possibly sending newsegment event downstream
in pull mode.  In push mode, quite some downstream elements
are likely to only expect newsegment event following a seek they performed
and as such may have their state messed up.

13 years agoparse: add prototypes for unused functions to avoid compiler warning
Tim-Philipp Müller [Sat, 4 Jun 2011 14:42:13 +0000 (15:42 +0100)]
parse: add prototypes for unused functions to avoid compiler warning

The warning is never fatal, because we don't use -Werror for the
parser helper library build, but the warnings are annoying anyway.

13 years agopo: update for new translatable string
Tim-Philipp Müller [Sat, 4 Jun 2011 13:02:23 +0000 (14:02 +0100)]
po: update for new translatable string

13 years agoWork around changes in g_atomic API
David Schleef [Sat, 4 Jun 2011 07:30:15 +0000 (00:30 -0700)]
Work around changes in g_atomic API

See #651514 for details.  It's apparently impossible to write code
that avoids both type punning warnings with old g_atomic headers and
assertions in the new.  Thus, macros and a version check.

13 years agocheck/abi: Ignore GstXML* on arm when not present
Edward Hervey [Wed, 1 Jun 2011 13:29:20 +0000 (15:29 +0200)]
check/abi: Ignore GstXML* on arm when not present

13 years agooutputselector: Remove dead assignment
Edward Hervey [Tue, 31 May 2011 11:43:47 +0000 (13:43 +0200)]
outputselector: Remove dead assignment

13 years agovalue: Consider "1" and "{1}" as equal in gst_value_compare()
Sebastian Dröge [Mon, 30 May 2011 09:33:57 +0000 (11:33 +0200)]
value: Consider "1" and "{1}" as equal in gst_value_compare()

Previously this was only done in the is_subset() check but
having it only there brings us into definition-hell where
"1" and "{1}" are subset of each other but not equal.

13 years agocaps: Fix subset check for equivalent lists and scalar values
Sebastian Dröge [Mon, 30 May 2011 05:36:58 +0000 (07:36 +0200)]
caps: Fix subset check for equivalent lists and scalar values

For example "{ 1 }" and "1" are not strictly equal but
both are a subset of each other. Also add a unit test
for this.

13 years agodocs: fix bugzilla URL
Tim-Philipp Müller [Sun, 29 May 2011 18:28:34 +0000 (19:28 +0100)]
docs: fix bugzilla URL

htpp -> http

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

13 years agodocs: xrefs more api around GstStateChange and GstStateChangeReturn.
Stefan Kost [Sat, 28 May 2011 07:24:37 +0000 (10:24 +0300)]
docs: xrefs more api around GstStateChange and GstStateChangeReturn.

13 years agodocs: xref the async messages to GstStateChange
Stefan Kost [Sat, 28 May 2011 06:51:45 +0000 (09:51 +0300)]
docs: xref the async messages to GstStateChange

13 years agotools: catch and print missing-plugin messages in gst-launch
Tim-Philipp Müller [Fri, 27 May 2011 14:14:32 +0000 (15:14 +0100)]
tools: catch and print missing-plugin messages in gst-launch

So that users get some feedback if they're using a pipeline
like  src ! decodebin2 ! sink  and are missing an element.

13 years agocaps: Add gst_caps_is_subset_structure()
Sebastian Dröge [Fri, 27 May 2011 11:55:31 +0000 (13:55 +0200)]
caps: Add gst_caps_is_subset_structure()

API: gst_caps_is_subset_structure()

This allows to check if a structure is a subset of given
caps without allocating a new caps instance for it.

13 years agostructure: Add gst_structure_is_subset()
Sebastian Dröge [Fri, 27 May 2011 11:47:11 +0000 (13:47 +0200)]
structure: Add gst_structure_is_subset()

API: gst_structure_is_subset()

13 years agocaps: Optimize gst_caps_is_subset()
Sebastian Dröge [Fri, 27 May 2011 11:38:51 +0000 (13:38 +0200)]
caps: Optimize gst_caps_is_subset()

..and as a result gst_caps_is_equal() and others.

This now only checks if for every subset structure there is
a superset structure in the superset caps. Previously we were
subtracting one from another, creating completely new caps
and then even simplified them.

The new implemention now is about 1.27 times faster and doesn't
break the -base unit tests are anything anymore.

13 years agocaps: Fix subset check in gst_caps_merge()
Sebastian Dröge [Fri, 27 May 2011 11:37:06 +0000 (13:37 +0200)]
caps: Fix subset check in gst_caps_merge()

Caps A are a subset of caps B even if caps B doesn't
have all fields of caps A.

Also add a unit test for this.

13 years agoRevert "caps: Optimize gst_caps_is_subset()"
Sebastian Dröge [Fri, 27 May 2011 10:56:03 +0000 (12:56 +0200)]
Revert "caps: Optimize gst_caps_is_subset()"

This reverts commit 32248a9b852bcb568a5b642299ecc8e5bf48ea13.

This breaks some tests in -base and the failures should
be fixed first.

13 years agocaps: Optimize gst_caps_is_subset()
Sebastian Dröge [Fri, 27 May 2011 10:45:59 +0000 (12:45 +0200)]
caps: Optimize gst_caps_is_subset()

..and as a result gst_caps_is_equal() and others.

This now only checks if for every subset structure there is
a superset structure in the superset caps. Previously we were
subtracting one from another, creating completely new caps
and then even simplified them.

The new implemention now is about 1.27 times faster.

13 years agobasesrc: Send an update NEWSEGMENT event downstream if the duration changes
Sebastian Dröge [Fri, 27 May 2011 07:05:46 +0000 (09:05 +0200)]
basesrc: Send an update NEWSEGMENT event downstream if the duration changes

This allows streaming the complete file for files that have grown since
streaming started.

Fixes bug #647940.

13 years agogst: we can now use GLib 2.24 API unconditionally
Tim-Philipp Müller [Wed, 25 May 2011 15:02:10 +0000 (16:02 +0100)]
gst: we can now use GLib 2.24 API unconditionally

13 years agoconfigure: bump GLib requirement to >= 2.24
Tim-Philipp Müller [Wed, 25 May 2011 14:54:01 +0000 (15:54 +0100)]
configure: bump GLib requirement to >= 2.24

http://gstreamer.freedesktop.org/wiki/ReleasePlanning/GLibRequirement

13 years agodocs: update release instructions for gnome change
Tim-Philipp Müller [Wed, 25 May 2011 14:38:30 +0000 (15:38 +0100)]
docs: update release instructions for gnome change

13 years agosystemclock: Placate gcc by defining EWOULDBLOCK to something
Руслан Ижбулатов [Wed, 25 May 2011 09:40:30 +0000 (13:40 +0400)]
systemclock: Placate gcc by defining EWOULDBLOCK to something

13 years agopoll: Fix WAKE_EVENT() to behave posixly on Windows
Руслан Ижбулатов [Wed, 25 May 2011 08:47:51 +0000 (12:47 +0400)]
poll: Fix WAKE_EVENT() to behave posixly on Windows

13 years agoregistrybinary: small cleanups
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.

13 years agopreset: use guint for the version number parts
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).

13 years agocheck: add fail_unless_equals_int64
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

13 years agoRevert "debugutils: Fix for GstIterator API changes"
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...

13 years agodebugutils: Fix for GstIterator API changes
Sebastian Dröge [Tue, 24 May 2011 11:27:09 +0000 (13:27 +0200)]
debugutils: Fix for GstIterator API changes

13 years agoclock: improve the GST_TIME_FORMAT/ARGS docs
Kipp Cannon [Mon, 23 May 2011 21:26:40 +0000 (00:26 +0300)]
clock: improve the GST_TIME_FORMAT/ARGS docs

13 years agodocs: hide this from the docs
Stefan Kost [Mon, 23 May 2011 20:40:20 +0000 (23:40 +0300)]
docs: hide this from the docs

13 years agowin32: add new api
Stefan Kost [Fri, 20 May 2011 12:50:05 +0000 (15:50 +0300)]
win32: add new api

13 years agodeprecation-guards: fixup for commit 9ff4ec3104d2510b8f379ff38c671682ff795e33
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.

13 years agobasesink: Only reinit the cached GstClockID if it is for the same clock
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.

13 years agopreset: include cleanup
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.

13 years agodocs: update plugin introspection data
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.

13 years agoAutomatic update of common submodule
Stefan Kost [Thu, 19 May 2011 19:56:28 +0000 (22:56 +0300)]
Automatic update of common submodule

From 9e5bbd5 to 69b981f

13 years agoAutomatic update of common submodule
Stefan Kost [Wed, 18 May 2011 13:09:19 +0000 (16:09 +0300)]
Automatic update of common submodule

From fd35073 to 9e5bbd5

13 years agodocs: remove GstProxyPad from private section
Stefan Kost [Wed, 18 May 2011 12:04:48 +0000 (15:04 +0300)]
docs: remove GstProxyPad from private section

13 years agodocs: use the same name for the argument in prototype and docs
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

13 years agomanual: put generated sources to BUILT_SOURCES and clean them on make clean
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

13 years agomanual: reinsert missing space to fix previous commit
Stefan Kost [Wed, 18 May 2011 11:10:12 +0000 (14:10 +0300)]
manual: reinsert missing space to fix previous commit

13 years agomanual: simplify the snipet extraction rules
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.

13 years agomanual: don't extract the xml example anymore, its gone
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.

13 years agoAutomatic update of common submodule
Stefan Kost [Wed, 18 May 2011 09:23:39 +0000 (12:23 +0300)]
Automatic update of common submodule

From 46dfcea to fd35073

13 years agobaseparse: maintain frame state during frame parsing round
Mark Nauwelaerts [Tue, 17 May 2011 20:17:14 +0000 (22:17 +0200)]
baseparse: maintain frame state during frame parsing round

See #650093.

13 years agobaseparse: provide latency query support
Mark Nauwelaerts [Thu, 12 May 2011 09:55:20 +0000 (11:55 +0200)]
baseparse: provide latency query support

13 years agobaseparse: make minimum frame size handling more efficient and convenient
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.

13 years agobaseparse: set correct buffer size
Mark Nauwelaerts [Tue, 17 May 2011 20:38:14 +0000 (22:38 +0200)]
baseparse: set correct buffer size

13 years agoinspect: show flags the same way they need to be entered
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 " | ".

13 years agopluginfeature: avoid duplicating feature->name
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

13 years agodocs: add deprecation guards
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.

13 years agominiobject: delay private data initialisation until actually needed
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)

13 years agostructure: Make both parameters to gst_structure_is_equal() const
Sebastian Dröge [Tue, 17 May 2011 07:35:54 +0000 (09:35 +0200)]
structure: Make both parameters to gst_structure_is_equal() const

13 years agostructure: Update Since markers to the correct version
Sebastian Dröge [Tue, 17 May 2011 07:33:47 +0000 (09:33 +0200)]
structure: Update Since markers to the correct version

13 years agostructure: Add gst_structure_intersect()
Sebastian Dröge [Tue, 17 May 2011 07:33:04 +0000 (09:33 +0200)]
structure: Add gst_structure_intersect()

API: gst_structure_intersect()

13 years agogststructure: Add gst_structure_can_intersect API
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

13 years agogstructure: New API: gst_structure_is_equal
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

13 years agoqueue2: adjust input data rate estimation
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.

13 years agodocs: fix up some Since markers and update for new multiqueue args
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

13 years agobin: Don't interprete pipelines without sink elements as always being in EOS state
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.

13 years agosystemclock: Only retry writing to the socket for EAGAIN, EWOULDBLOCK and EINTR
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.

13 years agominiobject: Add new miniobject weak ref/unref functions to the docs
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

13 years agominiobject: Minor cleanup of last commit
Sebastian Dröge [Thu, 12 May 2011 07:55:45 +0000 (09:55 +0200)]
miniobject: Minor cleanup of last commit

13 years agominiobject: Add weak referencing functionality
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.

13 years agoinputselector: Add sync mode that syncs inactive pads to the running time of the...
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.

13 years agomultiqueue: Add mode to synchronize deactivated/not-linked streams by the running...
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.

13 years agobin: Only post EOS messages after reaching the PLAYING state
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.

13 years agoelement: Add GstElement::state_changed vfunc
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.

13 years agoghostpad: Add docs for all the new, public functions
Sebastian Dröge [Fri, 6 May 2011 14:44:29 +0000 (16:44 +0200)]
ghostpad: Add docs for all the new, public functions

13 years agoghostpad: Add guards against invalid parameters to 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

13 years agoghostpad: Rename ghostpad/proxypad default 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

13 years agoghostpad: Make all the internal caps functions public
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.

13 years agoghostpad: Only implement the iterate_internal_links function on proxypads
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.

13 years agoghostpad: API: Expose gst_proxy_pad_get_internal()
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.

13 years agobasetransform: When trying to fixate the sink suggestion prefer its structure order
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

13 years agocaps: Merge structures when intersecting instead of appending them
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.

13 years agobasetransform: In getcaps() prefer the caps order and caps of downstream if possible
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

13 years agobasetransform: Prefer caps order given by the subclass of the template caps order
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

13 years agoparse: don't unescape inside quotes
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

13 years agopad: Remove unnecessary FIXME
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.

13 years agoelement: If activating one pad failed error out early instead of trying to activate...
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.

13 years agobin: If activating one pad failed error out early instead of trying to activate the...
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.

13 years agoBack to development
Tim-Philipp Müller [Sat, 14 May 2011 08:31:33 +0000 (09:31 +0100)]
Back to development