platform/upstream/gstreamer.git
11 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.

11 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().

11 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.

11 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

11 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.

11 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

11 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.

11 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

11 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

11 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

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

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

11 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

11 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

11 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.

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

11 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

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

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

11 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

11 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.

11 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

11 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

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

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

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

11 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

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

11 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

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

11 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

11 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

11 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.

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

11 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.

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

11 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.

11 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.

11 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.

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

11 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().

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

11 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

11 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

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

11 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

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

11 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)

11 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

11 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.

11 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.

11 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

11 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

11 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

11 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.

11 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.

11 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

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

11 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.

11 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.

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

11 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

11 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_*

11 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

11 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.

11 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.

11 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

11 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

11 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

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

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

11 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.

11 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

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

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

11 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.

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

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

11 years agodocs: update design docs
Wim Taymans [Mon, 1 Oct 2012 14:46:03 +0000 (16:46 +0200)]
docs: update design docs

11 years agodocs: more docs fixes
Wim Taymans [Mon, 1 Oct 2012 11:28:54 +0000 (13:28 +0200)]
docs: more docs fixes

Fix allocator design doc
Add beginning of allocation chapter in the pwg

11 years agopwg: final cleanups for 1.0
Wim Taymans [Mon, 1 Oct 2012 09:47:46 +0000 (11:47 +0200)]
pwg: final cleanups for 1.0

11 years agopwg: fix events and base classes
Wim Taymans [Mon, 1 Oct 2012 09:24:52 +0000 (11:24 +0200)]
pwg: fix events and base classes

11 years agopwg: fixup tag docs
Wim Taymans [Mon, 1 Oct 2012 08:40:54 +0000 (10:40 +0200)]
pwg: fixup tag docs

11 years agopwg: patch up the section about interfaces
Wim Taymans [Mon, 1 Oct 2012 07:48:48 +0000 (09:48 +0200)]
pwg: patch up the section about interfaces

11 years agobasesrc: Fix seamless segment function
Jan Schmidt [Sat, 29 Sep 2012 18:05:36 +0000 (04:05 +1000)]
basesrc: Fix seamless segment function

The 3rd parameter of gst_base_src_new_seamless_segment in
0.10 is the time associated with the start of the new segment,
not the position in the new segment. Fix the name of the parameter,
the docs, and the implementation to match the needs of the only
extant consumer: DVD playback.

11 years agovalue: avoid duplicates when intersecting lists
Tim-Philipp Müller [Sat, 29 Sep 2012 13:35:58 +0000 (14:35 +0100)]
value: avoid duplicates when intersecting lists

Fixes negotiation taking a ridiculous amount of
time (multiple 10s of seconds on a core2) when
there are duplicate entries in lists.

Could have a negative performance impact on other
scenarios because we now have to iterate the
dest list to avoid duplicates, but we don't
have a lot of lists any more these days, and
they tend to be small anyway. The negatives
are hopefully countered by the positive effects
of reducing the list length early on in the
process. And in any case, it's the right thing
to do.

Based on patch by Andre Moreira Magalhaes.

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

11 years agopwg: minor update
Tim-Philipp Müller [Fri, 28 Sep 2012 23:27:03 +0000 (00:27 +0100)]
pwg: minor update

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

11 years agofaq: add missing </para> tag
Wim Taymans [Fri, 28 Sep 2012 21:53:53 +0000 (23:53 +0200)]
faq: add missing </para> tag

11 years agominiobject: Always reject WRITE locks on READONLY miniobjects
Olivier Crête [Fri, 28 Sep 2012 19:17:27 +0000 (15:17 -0400)]
miniobject: Always reject WRITE locks on READONLY miniobjects

Verify that mapping a read-only memory as read doesnt make it writable

11 years agodocs: purge all mention of liboil, update FAQ
Tim-Philipp Müller [Fri, 28 Sep 2012 19:38:20 +0000 (20:38 +0100)]
docs: purge all mention of liboil, update FAQ

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

11 years agopwg: update for 1.0
Wim Taymans [Fri, 28 Sep 2012 14:03:15 +0000 (16:03 +0200)]
pwg: update for 1.0

Rewrite clock part.
start on interfaces

11 years agopwg: rework dynamic pads docs
Wim Taymans [Fri, 28 Sep 2012 11:25:49 +0000 (13:25 +0200)]
pwg: rework dynamic pads docs

11 years agopwg: rework scheduling docs
Wim Taymans [Fri, 28 Sep 2012 11:25:30 +0000 (13:25 +0200)]
pwg: rework scheduling docs

11 years agopwg: remove some GST_BOILERPLATE
Wim Taymans [Fri, 28 Sep 2012 11:24:52 +0000 (13:24 +0200)]
pwg: remove some GST_BOILERPLATE

11 years agodocs: update activation design docs
Wim Taymans [Fri, 28 Sep 2012 09:18:11 +0000 (11:18 +0200)]
docs: update activation design docs

11 years agopad: fix activate docs
Wim Taymans [Fri, 28 Sep 2012 08:41:54 +0000 (10:41 +0200)]
pad: fix activate docs

11 years agopwg: fix more negotiation for 1.0
Wim Taymans [Fri, 28 Sep 2012 08:04:51 +0000 (10:04 +0200)]
pwg: fix more negotiation for 1.0

11 years agoinfo: do not register printf extension for %p
Olivier Blin [Thu, 27 Sep 2012 14:59:04 +0000 (16:59 +0200)]
info: do not register printf extension for %p

This happened when glib was not using system printf, and caused the
internal gstreamer printf extensions to be used for all %p printfs,
causing crashes.

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

11 years agopwg: fix some negotiation to 1.0
Wim Taymans [Thu, 27 Sep 2012 15:21:53 +0000 (17:21 +0200)]
pwg: fix some negotiation to 1.0

11 years agopwg: more updates for 1.0
Wim Taymans [Thu, 27 Sep 2012 12:42:07 +0000 (14:42 +0200)]
pwg: more updates for 1.0