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.
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().
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.
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
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.
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
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.
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
Wim Taymans [Tue, 16 Oct 2012 09:54:54 +0000 (11:54 +0200)]
pwg: link to caps and qos chapters
Wim Taymans [Tue, 16 Oct 2012 09:20:59 +0000 (11:20 +0200)]
pwg: add section about query function
Wim Taymans [Tue, 16 Oct 2012 09:12:38 +0000 (11:12 +0200)]
pwg: fix event function
Tim-Philipp Müller [Mon, 15 Oct 2012 18:56:36 +0000 (19:56 +0100)]
collectpads: minor docs fixes
Tim-Philipp Müller [Mon, 15 Oct 2012 18:55:42 +0000 (19:55 +0100)]
collectpads: fix buffer leak in clip_time
Mark Nauwelaerts [Mon, 15 Oct 2012 16:44:52 +0000 (18:44 +0200)]
collectpads: call clip function with user data
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.
Wim Taymans [Mon, 15 Oct 2012 11:59:50 +0000 (13:59 +0200)]
pwg: small tweaks to negotiation
Wim Taymans [Mon, 15 Oct 2012 11:44:51 +0000 (13:44 +0200)]
pwg: improve negotiation documentation some more
Wim Taymans [Mon, 15 Oct 2012 10:10:46 +0000 (12:10 +0200)]
pwg: update negotiation part
Wim Taymans [Mon, 15 Oct 2012 10:10:11 +0000 (12:10 +0200)]
docs: update synchronization docs
Wim Taymans [Fri, 12 Oct 2012 14:58:03 +0000 (16:58 +0200)]
pwg: work on rewriting caps negotiation docs
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.
Wim Taymans [Fri, 12 Oct 2012 11:15:48 +0000 (13:15 +0200)]
manual: no more new-decoded-pad
Wim Taymans [Fri, 12 Oct 2012 11:13:32 +0000 (13:13 +0200)]
manual: move embedding elements to separate chapter
Wim Taymans [Fri, 12 Oct 2012 11:01:28 +0000 (13:01 +0200)]
pwg: small example for throttle
Wim Taymans [Fri, 12 Oct 2012 10:55:57 +0000 (12:55 +0200)]
pwg: add info about QoS
Wim Taymans [Fri, 12 Oct 2012 10:55:25 +0000 (12:55 +0200)]
pwg: adds some more links
Wim Taymans [Fri, 12 Oct 2012 10:55:03 +0000 (12:55 +0200)]
qos: messages are posted, not dropped
Wim Taymans [Fri, 12 Oct 2012 08:35:43 +0000 (10:35 +0200)]
manual: update graphics
Wim Taymans [Thu, 11 Oct 2012 15:10:17 +0000 (17:10 +0200)]
manual: add example of no-rebuffer buffering strategy
Wim Taymans [Thu, 11 Oct 2012 15:10:04 +0000 (17:10 +0200)]
manual: small tweaks
Wim Taymans [Thu, 11 Oct 2012 15:09:29 +0000 (17:09 +0200)]
query: buffering time left is in milliseconds
Wim Taymans [Thu, 11 Oct 2012 15:07:39 +0000 (17:07 +0200)]
manual: add some text about bin state change order
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.
Wim Taymans [Wed, 10 Oct 2012 11:08:31 +0000 (13:08 +0200)]
manual: add something about uridecodebin
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.
Mark Nauwelaerts [Wed, 10 Oct 2012 08:36:32 +0000 (10:36 +0200)]
docs: adjust some parameter mismatches
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.
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.
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.
Wim Taymans [Tue, 9 Oct 2012 13:57:29 +0000 (15:57 +0200)]
design: improve stream-status document
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().
Wim Taymans [Tue, 9 Oct 2012 13:31:04 +0000 (15:31 +0200)]
basesrc: improve debug
Wim Taymans [Tue, 9 Oct 2012 08:24:34 +0000 (10:24 +0200)]
pad: small docs fixes and remove a 0.11 fixme
Wim Taymans [Mon, 8 Oct 2012 14:42:11 +0000 (16:42 +0200)]
manual: talk a bit about buffering
Wim Taymans [Mon, 8 Oct 2012 11:22:30 +0000 (13:22 +0200)]
docs: improve clock chapter
Wim Taymans [Mon, 8 Oct 2012 08:39:30 +0000 (10:39 +0200)]
manual: add example for effect switching
Wim Taymans [Mon, 8 Oct 2012 07:11:53 +0000 (09:11 +0200)]
docs: small updates
Tim-Philipp Müller [Sun, 7 Oct 2012 15:48:25 +0000 (16:48 +0100)]
Back to development (bug-fixing)
Tim-Philipp Müller [Sun, 7 Oct 2012 12:10:33 +0000 (13:10 +0100)]
Release 1.0.1
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.
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.
Tim-Philipp Müller [Sat, 6 Oct 2012 13:55:35 +0000 (14:55 +0100)]
Automatic update of common submodule
From 6c0b52c to 6bb6951
Tim-Philipp Müller [Sat, 6 Oct 2012 11:08:34 +0000 (12:08 +0100)]
examples: .gitignore more binaries from the manual
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
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.
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.
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
Wim Taymans [Thu, 4 Oct 2012 09:50:58 +0000 (11:50 +0200)]
manual: add dynamic capsfilter example
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.
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.
Wim Taymans [Thu, 4 Oct 2012 08:01:19 +0000 (10:01 +0200)]
basetrans: improve some comments
Wim Taymans [Wed, 3 Oct 2012 15:17:02 +0000 (17:17 +0200)]
manual: talk some more about dynamic pipelines
Wim Taymans [Wed, 3 Oct 2012 11:49:34 +0000 (13:49 +0200)]
meta: don't put essential logic in g_return_val_*
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
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.
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.
Wim Taymans [Wed, 3 Oct 2012 11:09:00 +0000 (13:09 +0200)]
manual: add partial preroll example with probes
Wim Taymans [Wed, 3 Oct 2012 08:53:20 +0000 (10:53 +0200)]
manual: add more stuff about probes
Wim Taymans [Tue, 2 Oct 2012 15:23:28 +0000 (17:23 +0200)]
manual: start talking about dynamic pipeline changes
Wim Taymans [Tue, 2 Oct 2012 14:47:05 +0000 (16:47 +0200)]
manual: move section around
Wim Taymans [Tue, 2 Oct 2012 14:44:28 +0000 (16:44 +0200)]
pwg: add appsink docs
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.
Wim Taymans [Tue, 2 Oct 2012 11:22:35 +0000 (13:22 +0200)]
docs: some 0.10 -> 1.0 changes
Wim Taymans [Tue, 2 Oct 2012 11:12:39 +0000 (13:12 +0200)]
pwg: add allocation query example
Wim Taymans [Tue, 2 Oct 2012 10:49:17 +0000 (12:49 +0200)]
pwg: add bufferpool 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.
Wim Taymans [Mon, 1 Oct 2012 14:59:41 +0000 (16:59 +0200)]
pwg: add new author
Wim Taymans [Mon, 1 Oct 2012 14:55:55 +0000 (16:55 +0200)]
pwg: add allocation docs
Wim Taymans [Mon, 1 Oct 2012 14:46:03 +0000 (16:46 +0200)]
docs: update design docs
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
Wim Taymans [Mon, 1 Oct 2012 09:47:46 +0000 (11:47 +0200)]
pwg: final cleanups for 1.0
Wim Taymans [Mon, 1 Oct 2012 09:24:52 +0000 (11:24 +0200)]
pwg: fix events and base classes
Wim Taymans [Mon, 1 Oct 2012 08:40:54 +0000 (10:40 +0200)]
pwg: fixup tag docs
Wim Taymans [Mon, 1 Oct 2012 07:48:48 +0000 (09:48 +0200)]
pwg: patch up the section about interfaces
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.
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
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
Wim Taymans [Fri, 28 Sep 2012 21:53:53 +0000 (23:53 +0200)]
faq: add missing </para> tag
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
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
Wim Taymans [Fri, 28 Sep 2012 14:03:15 +0000 (16:03 +0200)]
pwg: update for 1.0
Rewrite clock part.
start on interfaces
Wim Taymans [Fri, 28 Sep 2012 11:25:49 +0000 (13:25 +0200)]
pwg: rework dynamic pads docs
Wim Taymans [Fri, 28 Sep 2012 11:25:30 +0000 (13:25 +0200)]
pwg: rework scheduling docs
Wim Taymans [Fri, 28 Sep 2012 11:24:52 +0000 (13:24 +0200)]
pwg: remove some GST_BOILERPLATE
Wim Taymans [Fri, 28 Sep 2012 09:18:11 +0000 (11:18 +0200)]
docs: update activation design docs
Wim Taymans [Fri, 28 Sep 2012 08:41:54 +0000 (10:41 +0200)]
pad: fix activate docs
Wim Taymans [Fri, 28 Sep 2012 08:04:51 +0000 (10:04 +0200)]
pwg: fix more negotiation for 1.0
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
Wim Taymans [Thu, 27 Sep 2012 15:21:53 +0000 (17:21 +0200)]
pwg: fix some negotiation to 1.0
Wim Taymans [Thu, 27 Sep 2012 12:42:07 +0000 (14:42 +0200)]
pwg: more updates for 1.0