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

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

12 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

12 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

12 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

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

12 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

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

12 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

12 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

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

12 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

12 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

12 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

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

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

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

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

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

12 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

12 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

12 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

12 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

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