platform/upstream/gstreamer.git
12 years agocommon: update for python detection
Tim-Philipp Müller [Wed, 31 Oct 2012 18:32:38 +0000 (18:32 +0000)]
common: update for python detection

Fixes docs build.

12 years agoconfigure: let AG_GST_PLUGIN_DOCS check for python
Tim-Philipp Müller [Wed, 31 Oct 2012 17:37:37 +0000 (17:37 +0000)]
configure: let AG_GST_PLUGIN_DOCS check for python

And update common for move from AS_PATH_PYTHON to AM_PATH_PYTHON,
which as a side-effect should pick up newer python versions as well.

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

12 years agocollectpads: Clarify docs about the buffer handler callback.
Jan Schmidt [Mon, 29 Oct 2012 23:04:44 +0000 (10:04 +1100)]
collectpads: Clarify docs about the buffer handler callback.

Clarify that the callback owns a ref on a passed buffer.

12 years agomultiqueue: Add EOS status to debug output about filled/unfilled
Jan Schmidt [Mon, 29 Oct 2012 23:04:14 +0000 (10:04 +1100)]
multiqueue: Add EOS status to debug output about filled/unfilled

12 years agocheck: Add a simple test for the CollectPads buffer collect callback
Jan Schmidt [Sun, 21 Oct 2012 13:31:09 +0000 (00:31 +1100)]
check: Add a simple test for the CollectPads buffer collect callback

12 years agog-i: fix "can't resolve libraries to shared libraries: gstcheck-1.0" build error
Tim-Philipp Müller [Mon, 29 Oct 2012 13:26:10 +0000 (13:26 +0000)]
g-i: fix "can't resolve libraries to shared libraries: gstcheck-1.0" build error

Revert --library=libfoo-1.0.la -> --library=foo-1.0 change made
in previous commit. Turns out that was wrong, despite what the
man page says.

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

12 years agopad: downgrade 'creating random stream-id' debug log message
Tim-Philipp Müller [Mon, 29 Oct 2012 11:30:30 +0000 (11:30 +0000)]
pad: downgrade 'creating random stream-id' debug log message

No need for it to be a warning.

12 years agobaseparse: prevent excessively high memory usage with long streams
Vincent Penquerc'h [Wed, 13 Jun 2012 12:02:48 +0000 (13:02 +0100)]
baseparse: prevent excessively high memory usage with long streams

Large streams would index one frame every second, which can get quite
large with multi-hour streams, so add an additional byte-based
minimum distance as well, which will kick in for long streams
and make sure we never have more than a couple of thousand index
entries.

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

12 years agolibs: g-i: avoid multiple libraries in the shared-library tag
Tim-Philipp Müller [Sun, 28 Oct 2012 17:17:49 +0000 (17:17 +0000)]
libs: g-i: avoid multiple libraries in the shared-library tag

Using multiple libraries causes problems for the C# bindings and
will for similiar languages such as Java when there are bindings
for them.

Also change --library=libgstfoo-X.la to --library=gstfoo-X as
the man page suggests it should be done.

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

12 years agopluginfeature: add gst_plugin_feature_get_plugin_name()
Tim-Philipp Müller [Sun, 28 Oct 2012 15:53:19 +0000 (15:53 +0000)]
pluginfeature: add gst_plugin_feature_get_plugin_name()

API: gst_plugin_feature_get_plugin_name()

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

12 years agoinfo: allow setting of GST_DEBUG levels by name
Tim-Philipp Müller [Sat, 27 Oct 2012 13:40:14 +0000 (14:40 +0100)]
info: allow setting of GST_DEBUG levels by name

e.g. GST_DEBUG=*:INFO,*src:LOG

12 years agogst: make us of the new gst_debug_set_threshold_from_string function
Thibault Saunier [Fri, 29 Jun 2012 16:38:52 +0000 (12:38 -0400)]
gst: make us of the new gst_debug_set_threshold_from_string function

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

12 years agoinfo: add a function to set debug threshold from a GST_DEBUG-style string
Thibault Saunier [Fri, 29 Jun 2012 16:05:36 +0000 (12:05 -0400)]
info: add a function to set debug threshold from a GST_DEBUG-style string

Use the same format as with the GST_DEBUG environment variable.

API: gst_debug_set_threshold_from_string()

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

12 years agoqueuearray: Fix unit test
Sebastian Dröge [Thu, 25 Oct 2012 13:27:23 +0000 (15:27 +0200)]
queuearray: Fix unit test

12 years agodataqueue/queuearray: Make public API again
Sebastian Dröge [Mon, 22 Oct 2012 08:13:20 +0000 (10:13 +0200)]
dataqueue/queuearray: Make public API again

These are actually used outside of coreelements nowadays.
Also hide lots of internals and add padding and documentation.

12 years agoBack to feature development
Tim-Philipp Müller [Thu, 25 Oct 2012 11:10:27 +0000 (12:10 +0100)]
Back to feature development

12 years agoRelease 1.0.2 1.0.2
Tim-Philipp Müller [Wed, 24 Oct 2012 23:04:49 +0000 (00:04 +0100)]
Release 1.0.2

12 years agoexamples: link testrtpool to pthreads
Руслан Ижбулатов [Wed, 24 Oct 2012 12:13:34 +0000 (16:13 +0400)]
examples: link testrtpool to pthreads

Fixes #686787

12 years agoevent: Allow GST_CLOCK_TIME_NONE as duration for GAP events
Sebastian Dröge [Wed, 24 Oct 2012 09:46:01 +0000 (11:46 +0200)]
event: Allow GST_CLOCK_TIME_NONE as duration for GAP events

12 years agobasesrc: use new GCond for async state change
Wim Taymans [Wed, 24 Oct 2012 09:16:12 +0000 (11:16 +0200)]
basesrc: use new GCond for async state change

Use a new GCond, protected with the object lock, to signal completion
of the async state change. We can't reuse the live lock because that
one can be locked when the create function blocks.

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

12 years agoallocator: fix memory leak in _fallback_mem_copy
Miguel Angel Cabrera Moya [Mon, 22 Oct 2012 18:25:43 +0000 (20:25 +0200)]
allocator: fix memory leak in _fallback_mem_copy

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

12 years agopreset: remove variable not read
Miguel Angel Cabrera Moya [Mon, 22 Oct 2012 18:33:06 +0000 (20:33 +0200)]
preset: remove variable not read

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

12 years agoconfigure: Properly check for pthread
Sebastian Dröge [Mon, 22 Oct 2012 13:04:26 +0000 (15:04 +0200)]
configure: Properly check for pthread

The old check failed on Android for example.

12 years agoinfo: Don't use GST_DEBUG() in gst_debug_add_log_function() and related functions...
Sebastian Dröge [Mon, 22 Oct 2012 08:25:40 +0000 (10:25 +0200)]
info: Don't use GST_DEBUG() in gst_debug_add_log_function() and related functions unconditionally

If GStreamer was not initialized yet this will cause g_warnings().

12 years agocollectpads: fix g-i annotation for GstCollectPadsBufferFunction
Tim-Philipp Müller [Sat, 20 Oct 2012 18:44:43 +0000 (19:44 +0100)]
collectpads: fix g-i annotation for GstCollectPadsBufferFunction

We pass ownership of the buffer to the function.

12 years agog_type_init() is no longer required and deprecated in glib >= 2.35.0
Tim-Philipp Müller [Sat, 20 Oct 2012 11:54:06 +0000 (12:54 +0100)]
g_type_init() is no longer required and deprecated in glib >= 2.35.0

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

12 years agoGstSample: fix typo in G-I annotations, allows creating GstSamples from bindings.
Michael Smith [Fri, 19 Oct 2012 20:36:33 +0000 (13:36 -0700)]
GstSample: fix typo in G-I annotations, allows creating GstSamples from bindings.

12 years agopoll: Fix compiler warning about constness
Sebastian Dröge [Thu, 18 Oct 2012 13:31:17 +0000 (15:31 +0200)]
poll: Fix compiler warning about constness

passing argument 1 of 'g_mutex_lock' discards 'const' qualifier from pointer target type
passing argument 1 of 'g_mutex_unlock' discards 'const' qualifier from pointer target type

12 years agobin, pipeline: use gst_element_class_set_static_metadata()
Tim-Philipp Müller [Wed, 17 Oct 2012 15:49:19 +0000 (16:49 +0100)]
bin, pipeline: use gst_element_class_set_static_metadata()

So the strings aren't copied.

12 years agoelement: API: Add GstElement::post_message() vfunc
Sebastian Dröge [Tue, 16 Oct 2012 10:31:50 +0000 (12:31 +0200)]
element: API: Add GstElement::post_message() vfunc

Conflicts:
gst/gstelement.h

12 years agopwg: link to caps and qos chapters
Wim Taymans [Tue, 16 Oct 2012 09:54:54 +0000 (11:54 +0200)]
pwg: link to caps and qos chapters

12 years agopwg: add section about query function
Wim Taymans [Tue, 16 Oct 2012 09:20:59 +0000 (11:20 +0200)]
pwg: add section about query function

12 years agopwg: fix event function
Wim Taymans [Tue, 16 Oct 2012 09:12:38 +0000 (11:12 +0200)]
pwg: fix event function

12 years agocollectpads: minor docs fixes
Tim-Philipp Müller [Mon, 15 Oct 2012 18:56:36 +0000 (19:56 +0100)]
collectpads: minor docs fixes

12 years agocollectpads: fix buffer leak in clip_time
Tim-Philipp Müller [Mon, 15 Oct 2012 18:55:42 +0000 (19:55 +0100)]
collectpads: fix buffer leak in clip_time

12 years agocollectpads: call clip function with user data
Mark Nauwelaerts [Mon, 15 Oct 2012 16:44:52 +0000 (18:44 +0200)]
collectpads: call clip function with user data

12 years agopwg: reorder some chapters
Wim Taymans [Mon, 15 Oct 2012 12:06:45 +0000 (14:06 +0200)]
pwg: reorder some chapters

Reorder some chapter so that they match the steps done in the
element.

12 years agopwg: small tweaks to negotiation
Wim Taymans [Mon, 15 Oct 2012 11:59:50 +0000 (13:59 +0200)]
pwg: small tweaks to negotiation

12 years agopwg: improve negotiation documentation some more
Wim Taymans [Mon, 15 Oct 2012 11:44:51 +0000 (13:44 +0200)]
pwg: improve negotiation documentation some more

12 years agopwg: update negotiation part
Wim Taymans [Mon, 15 Oct 2012 10:10:46 +0000 (12:10 +0200)]
pwg: update negotiation part

12 years agodocs: update synchronization docs
Wim Taymans [Mon, 15 Oct 2012 10:10:11 +0000 (12:10 +0200)]
docs: update synchronization docs

12 years agopwg: work on rewriting caps negotiation docs
Wim Taymans [Fri, 12 Oct 2012 14:58:03 +0000 (16:58 +0200)]
pwg: work on rewriting caps negotiation docs

12 years agodesign: rename passthrough negotiation
Wim Taymans [Fri, 12 Oct 2012 14:09:26 +0000 (16:09 +0200)]
design: rename passthrough negotiation

Rename passthrough negotiation to transform negotiation to avoid
confusion with passthrough operation.

12 years agomanual: no more new-decoded-pad
Wim Taymans [Fri, 12 Oct 2012 11:15:48 +0000 (13:15 +0200)]
manual: no more new-decoded-pad

12 years agomanual: move embedding elements to separate chapter
Wim Taymans [Fri, 12 Oct 2012 11:13:32 +0000 (13:13 +0200)]
manual: move embedding elements to separate chapter

12 years agopwg: small example for throttle
Wim Taymans [Fri, 12 Oct 2012 11:01:28 +0000 (13:01 +0200)]
pwg: small example for throttle

12 years agopwg: add info about QoS
Wim Taymans [Fri, 12 Oct 2012 10:55:57 +0000 (12:55 +0200)]
pwg: add info about QoS

12 years agopwg: adds some more links
Wim Taymans [Fri, 12 Oct 2012 10:55:25 +0000 (12:55 +0200)]
pwg: adds some more links

12 years agoqos: messages are posted, not dropped
Wim Taymans [Fri, 12 Oct 2012 10:55:03 +0000 (12:55 +0200)]
qos: messages are posted, not dropped

12 years agomanual: update graphics
Wim Taymans [Fri, 12 Oct 2012 08:35:43 +0000 (10:35 +0200)]
manual: update graphics

12 years agomanual: add example of no-rebuffer buffering strategy
Wim Taymans [Thu, 11 Oct 2012 15:10:17 +0000 (17:10 +0200)]
manual: add example of no-rebuffer buffering strategy

12 years agomanual: small tweaks
Wim Taymans [Thu, 11 Oct 2012 15:10:04 +0000 (17:10 +0200)]
manual: small tweaks

12 years agoquery: buffering time left is in milliseconds
Wim Taymans [Thu, 11 Oct 2012 15:09:29 +0000 (17:09 +0200)]
query: buffering time left is in milliseconds

12 years agomanual: add some text about bin state change order
Wim Taymans [Thu, 11 Oct 2012 15:07:39 +0000 (17:07 +0200)]
manual: add some text about bin state change order

12 years agomanual: talk about playsink
Wim Taymans [Wed, 10 Oct 2012 14:43:58 +0000 (16:43 +0200)]
manual: talk about playsink

Talk about playsink and give an example of its usage.

12 years agomanual: add something about uridecodebin
Wim Taymans [Wed, 10 Oct 2012 11:08:31 +0000 (13:08 +0200)]
manual: add something about uridecodebin

12 years agocollectpads: ensure all timestamps are in same time domain
Mark Nauwelaerts [Wed, 10 Oct 2012 09:35:01 +0000 (11:35 +0200)]
collectpads: ensure all timestamps are in same time domain

... by not only processing incoming buffers through a clip function,
but also other timestamps such as those coming from GAP event.

12 years agodocs: adjust some parameter mismatches
Mark Nauwelaerts [Wed, 10 Oct 2012 08:36:32 +0000 (10:36 +0200)]
docs: adjust some parameter mismatches

12 years agopad: Downgrade GST_WARNING to GST_INFO
Sebastian Dröge [Wed, 10 Oct 2012 09:34:27 +0000 (11:34 +0200)]
pad: Downgrade GST_WARNING to GST_INFO

It's usually not a problem if a query fails if there's no peer,
especially as it will happen during pad linking (caps query)
quite often and spams the logs.

12 years agomanual: remove outdated autoplugging section
Wim Taymans [Tue, 9 Oct 2012 15:06:04 +0000 (17:06 +0200)]
manual: remove outdated autoplugging section

Remove autoplugging chapter and point to decodebin/playbin examples.

12 years agomanual: Talk about threading
Wim Taymans [Tue, 9 Oct 2012 14:12:01 +0000 (16:12 +0200)]
manual: Talk about threading

Rework the threading chapter.
Talk about stream-status and give some examples on how to change
the thread priorities.

12 years agodesign: improve stream-status document
Wim Taymans [Tue, 9 Oct 2012 13:57:29 +0000 (15:57 +0200)]
design: improve stream-status document

12 years agobasesrc: retrieve the result from start_complete
Wim Taymans [Tue, 9 Oct 2012 13:31:19 +0000 (15:31 +0200)]
basesrc: retrieve the result from start_complete

gst_base_src_start_complete() can fail when the thread could not be
started, for example. Make sure it causes the state change to fail by
retrieving the result from _start_complete().

12 years agobasesrc: improve debug
Wim Taymans [Tue, 9 Oct 2012 13:31:04 +0000 (15:31 +0200)]
basesrc: improve debug

12 years agopad: small docs fixes and remove a 0.11 fixme
Wim Taymans [Tue, 9 Oct 2012 08:24:34 +0000 (10:24 +0200)]
pad: small docs fixes and remove a 0.11 fixme

12 years agomanual: talk a bit about buffering
Wim Taymans [Mon, 8 Oct 2012 14:42:11 +0000 (16:42 +0200)]
manual: talk a bit about buffering

12 years agodocs: improve clock chapter
Wim Taymans [Mon, 8 Oct 2012 11:22:30 +0000 (13:22 +0200)]
docs: improve clock chapter

12 years agomanual: add example for effect switching
Wim Taymans [Mon, 8 Oct 2012 08:39:30 +0000 (10:39 +0200)]
manual: add example for effect switching

12 years agodocs: small updates
Wim Taymans [Mon, 8 Oct 2012 07:11:53 +0000 (09:11 +0200)]
docs: small updates

12 years agoBack to development (bug-fixing)
Tim-Philipp Müller [Sun, 7 Oct 2012 15:48:25 +0000 (16:48 +0100)]
Back to development (bug-fixing)

12 years agoRelease 1.0.1 1.0.1
Tim-Philipp Müller [Sun, 7 Oct 2012 12:10:33 +0000 (13:10 +0100)]
Release 1.0.1

12 years agotests: update struct_i386.h for ABI checks
Tim-Philipp Müller [Sat, 6 Oct 2012 23:15:49 +0000 (00:15 +0100)]
tests: update struct_i386.h for ABI checks

Fixes make check on 32-bit x86.

12 years agotests: update struct_ppc32.h for ABI checks
Tim-Philipp Müller [Sat, 6 Oct 2012 16:26:21 +0000 (17:26 +0100)]
tests: update struct_ppc32.h for ABI checks

Fixes make check on 32-bit PowerPC.

12 years agoAutomatic update of common submodule
Tim-Philipp Müller [Sat, 6 Oct 2012 13:55:35 +0000 (14:55 +0100)]
Automatic update of common submodule

From 6c0b52c to 6bb6951

12 years agoexamples: .gitignore more binaries from the manual
Tim-Philipp Müller [Sat, 6 Oct 2012 11:08:34 +0000 (12:08 +0100)]
examples: .gitignore more binaries from the manual

12 years agodocs: remove obsolete part-block document
Wim Taymans [Fri, 5 Oct 2012 14:04:52 +0000 (16:04 +0200)]
docs: remove obsolete part-block document

Merge the part-block document into part-probes

12 years agopad: resend dropped events
Wim Taymans [Fri, 5 Oct 2012 07:42:59 +0000 (09:42 +0200)]
pad: resend dropped events

If we try to push sticky events but a probe dropped them, we don't mark
the event as received and mark the pad as PENDING_EVENTS. This ensures
that we resend the event the next time. For this we need to let the
custom flow return from the probe trickle up to
gst_pad_push_event_unchecked() so that we can differentiate between
OK and DROPPED probe returns.

12 years agopad: don't store sticky events on flushing/EOS pads
Wim Taymans [Fri, 5 Oct 2012 05:14:17 +0000 (07:14 +0200)]
pad: don't store sticky events on flushing/EOS pads

Don't store sticky events on flushing or EOS pads. This was done
correctly for source pads but not for sink pads.

12 years agodocs: add Since markers for new API and add it to docs and .def file
Tim-Philipp Müller [Thu, 4 Oct 2012 10:24:09 +0000 (11:24 +0100)]
docs: add Since markers for new API and add it to docs and .def file

12 years agomanual: add dynamic capsfilter example
Wim Taymans [Thu, 4 Oct 2012 09:50:58 +0000 (11:50 +0200)]
manual: add dynamic capsfilter example

12 years agocapsfilter: don't prefer passthrough
Wim Taymans [Thu, 4 Oct 2012 09:18:19 +0000 (11:18 +0200)]
capsfilter: don't prefer passthrough

Basetransform should not try to negotiate in passthrough mode but
respect the order of what we return in the transform_caps method.
A typical case is that you specify some specific new caps in the
caps property but also allow the current caps to pass.

12 years agobasetrans: add an option to prefer passthrough
Wim Taymans [Thu, 4 Oct 2012 09:15:36 +0000 (11:15 +0200)]
basetrans: add an option to prefer passthrough

Basetransform attempts to do passthrough mode regardless of the order of
the transform_caps method. Add a method to disable this.
This is needed for elements like capsfilter that want to transform caps
based on the order of the caps property.

12 years agobasetrans: improve some comments
Wim Taymans [Thu, 4 Oct 2012 08:01:19 +0000 (10:01 +0200)]
basetrans: improve some comments

12 years agomanual: talk some more about dynamic pipelines
Wim Taymans [Wed, 3 Oct 2012 15:17:02 +0000 (17:17 +0200)]
manual: talk some more about dynamic pipelines

12 years agometa: don't put essential logic in g_return_val_*
Wim Taymans [Wed, 3 Oct 2012 11:49:34 +0000 (13:49 +0200)]
meta: don't put essential logic in g_return_val_*

12 years agometa: do metadata registration threadsafe
Wim Taymans [Wed, 3 Oct 2012 11:45:22 +0000 (13:45 +0200)]
meta: do metadata registration threadsafe

We need to use g_once to register the metadata implementations
only once.

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

12 years agometa: handle multiple implementation registration
Wim Taymans [Wed, 3 Oct 2012 11:35:20 +0000 (13:35 +0200)]
meta: handle multiple implementation registration

First check that we can actually register the implementation before
making a GstMetaInfo. If we can't register we would otherwise end
up with an undefined type and an invalid GstMetaInfo.

It's possible that type registration fails because another metadata
with the same implementation name was already registered.

12 years agomanual: use CDATA for code blocks
Wim Taymans [Wed, 3 Oct 2012 11:12:44 +0000 (13:12 +0200)]
manual: use CDATA for code blocks

then we don't have to escape special token anymore.

12 years agomanual: add partial preroll example with probes
Wim Taymans [Wed, 3 Oct 2012 11:09:00 +0000 (13:09 +0200)]
manual: add partial preroll example with probes

12 years agomanual: add more stuff about probes
Wim Taymans [Wed, 3 Oct 2012 08:53:20 +0000 (10:53 +0200)]
manual: add more stuff about probes

12 years agomanual: start talking about dynamic pipeline changes
Wim Taymans [Tue, 2 Oct 2012 15:23:28 +0000 (17:23 +0200)]
manual: start talking about dynamic pipeline changes

12 years agomanual: move section around
Wim Taymans [Tue, 2 Oct 2012 14:47:05 +0000 (16:47 +0200)]
manual: move section around

12 years agopwg: add appsink docs
Wim Taymans [Tue, 2 Oct 2012 14:44:28 +0000 (16:44 +0200)]
pwg: add appsink docs

12 years agopwg: rewite data-access chapter
Wim Taymans [Tue, 2 Oct 2012 14:15:19 +0000 (16:15 +0200)]
pwg: rewite data-access chapter

Rewrite the data-access chapter so that we talk about appsrc instead
of the fakesrc hacks.

12 years agodocs: some 0.10 -> 1.0 changes
Wim Taymans [Tue, 2 Oct 2012 11:22:35 +0000 (13:22 +0200)]
docs: some 0.10 -> 1.0 changes

12 years agopwg: add allocation query example
Wim Taymans [Tue, 2 Oct 2012 11:12:39 +0000 (13:12 +0200)]
pwg: add allocation query example

12 years agopwg: add bufferpool docs
Wim Taymans [Tue, 2 Oct 2012 10:49:17 +0000 (12:49 +0200)]
pwg: add bufferpool docs

12 years agopwg: flesh out allocation docs
Wim Taymans [Tue, 2 Oct 2012 09:34:47 +0000 (11:34 +0200)]
pwg: flesh out allocation docs

Add more examples.
Add example for implementing new metadata.
Add programs to the docs (again?), it seems to contain useful info.

12 years agopwg: add new author
Wim Taymans [Mon, 1 Oct 2012 14:59:41 +0000 (16:59 +0200)]
pwg: add new author

12 years agopwg: add allocation docs
Wim Taymans [Mon, 1 Oct 2012 14:55:55 +0000 (16:55 +0200)]
pwg: add allocation docs