platform/upstream/gstreamer.git
12 years agodebugutils: Fix static linking on OS X
Josep Torra [Fri, 25 May 2012 08:28:40 +0000 (10:28 +0200)]
debugutils: Fix static linking on OS X

The linking behaviour of external variables that are not initialized
in the compilation unit where they are defined is undefined. On OS X
this causes a linking failure when statically linking GStreamer.

12 years agofive-bugs-a-day: use splice to trim the bug list
Luis de Bethencourt [Fri, 25 May 2012 08:17:17 +0000 (09:17 +0100)]
five-bugs-a-day: use splice to trim the bug list

12 years agofakesrc: put byte position rather than buffer count into GST_BUFFER_OFFSET
Tim-Philipp Müller [Thu, 24 May 2012 22:30:29 +0000 (23:30 +0100)]
fakesrc: put byte position rather than buffer count into GST_BUFFER_OFFSET

If we're sending a segment in BYTE format, the offset
should be in bytes as well.

12 years agodocs: fix a typo in part-segments.txt
Luis de Bethencourt [Thu, 24 May 2012 10:48:19 +0000 (11:48 +0100)]
docs: fix a typo in part-segments.txt

12 years agotypefind: fix prototype of helper_find_suggest
Brian Cameron [Thu, 24 May 2012 09:02:53 +0000 (11:02 +0200)]
typefind: fix prototype of helper_find_suggest

The proto for helper_find_suggest has a different argument than the actual
function in the same file has.  This causes the Sun Studio compiler to fail.

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

Conflicts:

libs/gst/base/gsttypefindhelper.c

12 years agoscripts: remove a stray print from debugging and fix up cron entry docs
Tim-Philipp Müller [Thu, 24 May 2012 07:07:14 +0000 (08:07 +0100)]
scripts: remove a stray print from debugging and fix up cron entry docs

12 years agofive-bugs-a-day: Make #! to perl more portable
Sebastian Dröge [Thu, 24 May 2012 07:03:12 +0000 (09:03 +0200)]
five-bugs-a-day: Make #! to perl more portable

12 years agoscripts: remove fixed 'known issue' from five-bugs-a-day script
Tim-Philipp Müller [Thu, 24 May 2012 06:56:48 +0000 (07:56 +0100)]
scripts: remove fixed 'known issue' from five-bugs-a-day script

This was with commas actually, and should be fixed now.

12 years agoscripts: add five-bugs-a-day script
Tim-Philipp Müller [Thu, 24 May 2012 06:54:50 +0000 (07:54 +0100)]
scripts: add five-bugs-a-day script

Cron fodder.

12 years agotests: rename playbin2 to playbin and adding some debug info
Sreerenj Balachandran [Tue, 22 May 2012 11:27:48 +0000 (14:27 +0300)]
tests: rename playbin2 to playbin and adding some debug info

12 years agouri: Add some debug statements
Edward Hervey [Tue, 22 May 2012 16:27:36 +0000 (18:27 +0200)]
uri: Add some debug statements

12 years agowin32: Update defs file
Edward Hervey [Tue, 22 May 2012 11:51:47 +0000 (13:51 +0200)]
win32: Update defs file

12 years agobin: port unit test to 0.11
Wim Taymans [Mon, 21 May 2012 07:14:39 +0000 (09:14 +0200)]
bin: port unit test to 0.11

12 years agodocs: improve the seeking docs more.
Stefan Sauer [Mon, 21 May 2012 13:14:51 +0000 (15:14 +0200)]
docs: improve the seeking docs more.

Also mention it on _element_seek{,_simple} and be more precise why it happens.

12 years agodocs: fix a typo and clarify event handling a bit more
Stefan Sauer [Mon, 21 May 2012 11:17:21 +0000 (13:17 +0200)]
docs: fix a typo and clarify event handling a bit more

Tell about async_done messages for some events and review the _event_new_seek
docs.

12 years agobin: try harder to avoid state changes in wrong direction
Wim Taymans [Fri, 18 May 2012 13:04:35 +0000 (15:04 +0200)]
bin: try harder to avoid state changes in wrong direction

When the bin does an upward state change, try to avoid doing a downward state
change on the child and vice versa.
Add some more unit tests for this fix.

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

12 years agogst-launch: fix -c, --toc message
Anton Belka [Fri, 18 May 2012 17:11:55 +0000 (20:11 +0300)]
gst-launch: fix -c, --toc message

12 years agotoc: Add boxed types for GstToc and GstTocEntry
Anton Belka [Sun, 20 May 2012 22:48:29 +0000 (01:48 +0300)]
toc: Add boxed types for GstToc and GstTocEntry

12 years agotoc: fix type of pad parameter to gst_toc_entry_new_with_pad()
Tim-Philipp Müller [Sun, 20 May 2012 17:23:57 +0000 (18:23 +0100)]
toc: fix type of pad parameter to gst_toc_entry_new_with_pad()

12 years agotoc: use correct GType for tag lists
Tim-Philipp Müller [Sun, 20 May 2012 17:16:45 +0000 (18:16 +0100)]
toc: use correct GType for tag lists

12 years agotoc: avoid unnecessary GValue acrobatics
Tim-Philipp Müller [Sun, 20 May 2012 17:06:22 +0000 (18:06 +0100)]
toc: avoid unnecessary GValue acrobatics

12 years agotoc: use global quark table
Tim-Philipp Müller [Sun, 20 May 2012 16:48:55 +0000 (17:48 +0100)]
toc: use global quark table

12 years agotoc: fix internal TOC query and event structure names
Tim-Philipp Müller [Sun, 20 May 2012 16:10:24 +0000 (17:10 +0100)]
toc: fix internal TOC query and event structure names

Make them consistent with all the other query and event names.

12 years agopluginfeature: make GstPluginFeature structure private
Tim-Philipp Müller [Sat, 19 May 2012 16:24:52 +0000 (17:24 +0100)]
pluginfeature: make GstPluginFeature structure private

Make GstPluginFeature opaque until we have time to
clean it up a little. Only GstElementFactory and
GstTypefindFactory derive from it, and they are
opaque already, and we currently don't support
custom plugin features in the registry anyway.

12 years agotools, tests: don't access the GstPluginFeature structure directly
Tim-Philipp Müller [Sat, 19 May 2012 16:23:43 +0000 (17:23 +0100)]
tools, tests: don't access the GstPluginFeature structure directly

12 years agopluginfeature: add gst_plugin_feature_get_plugin()
Tim-Philipp Müller [Sat, 19 May 2012 16:16:35 +0000 (17:16 +0100)]
pluginfeature: add gst_plugin_feature_get_plugin()

Add function to retrieve plugin that provides this feature.

API: gst_plugin_feature_get_plugin()

12 years agocommon: update for gstscanobj changes
Tim-Philipp Müller [Sat, 19 May 2012 15:21:39 +0000 (16:21 +0100)]
common: update for gstscanobj changes

12 years agoelementfactory: make object struct opaque for now
Tim-Philipp Müller [Sat, 19 May 2012 14:51:53 +0000 (15:51 +0100)]
elementfactory: make object struct opaque for now

Make GstElementFactory opaque until we have time to
clean it up a little. It's not something anyone
would need to derive from.

12 years agotools: don't use private GstElementFactory API in gst-inspect
Tim-Philipp Müller [Sat, 19 May 2012 13:59:14 +0000 (14:59 +0100)]
tools: don't use private GstElementFactory API in gst-inspect

12 years agoelementfactory: add gst_element_factory_get_metadata_keys()
Tim-Philipp Müller [Sat, 19 May 2012 13:52:29 +0000 (14:52 +0100)]
elementfactory: add gst_element_factory_get_metadata_keys()

API: gst_element_factory_get_metadata_keys()

12 years agolaunch: improve EOS on shutdown handling
Wim Taymans [Fri, 18 May 2012 07:52:09 +0000 (09:52 +0200)]
launch: improve EOS on shutdown handling

When the -e option is selected, also wait for EOS when the pipeline produced an
error.

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

12 years agodocs: fix gst_structure_to_string() docs
Anton Belka [Wed, 16 May 2012 15:53:15 +0000 (18:53 +0300)]
docs: fix gst_structure_to_string() docs

12 years agobasesink: throttle-time is used
Wim Taymans [Wed, 16 May 2012 11:24:23 +0000 (13:24 +0200)]
basesink: throttle-time is used

12 years agobasesink: add prepare method
Wim Taymans [Wed, 16 May 2012 10:08:44 +0000 (12:08 +0200)]
basesink: add prepare method

Add a prepare method that is called before sync happens. The purpose of this
method is to prepare the rendering of the giving buffer so that the following
render() call after sync is a quick as possible.

12 years agobasesrc: avoid potential deadlock
Wim Taymans [Wed, 16 May 2012 07:16:26 +0000 (09:16 +0200)]
basesrc: avoid potential deadlock

In gst_base_src_start_complete() we do a perform_seek() that will eventually
start the streaming thread which acquires the live lock and then goes to sleep
in the case of appsrc. Right after we perform seek we also try to acquire the
live lock which might then deadlock.

fix this by taking the stream lock before performing the seek. This makes sure
that the streaming thread cannot start and grab the live lock until we are done
and release the stream lock again.

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

12 years agofilesrc: remove references to mmap in comments and debug messages
Tim-Philipp Müller [Tue, 15 May 2012 18:11:15 +0000 (19:11 +0100)]
filesrc: remove references to mmap in comments and debug messages

12 years agogst: Rename gst_toc_entry_type_to_string() to gst_toc_entry_type_get_nick()
Sebastian Dröge [Tue, 15 May 2012 14:38:30 +0000 (16:38 +0200)]
gst: Rename gst_toc_entry_type_to_string() to gst_toc_entry_type_get_nick()

It's more consistent.

12 years agogst-launch: fix print_toc_entry()
Anton Belka [Tue, 15 May 2012 11:59:07 +0000 (14:59 +0300)]
gst-launch: fix print_toc_entry()

12 years agotoc: API: Add gst_toc_entry_type_to_string()
Anton Belka [Tue, 15 May 2012 11:48:35 +0000 (14:48 +0300)]
toc: API: Add gst_toc_entry_type_to_string()

12 years agotypefindelement: if sink pad is activated do not change mode
Alban Browaeys [Mon, 14 May 2012 01:57:50 +0000 (03:57 +0200)]
typefindelement: if sink pad is activated do not change mode

In commit bf0964b6 a check for pad is activated was not carried.
This leads to attempt to pull while in push mode when force_caps
is set. In this case without the attached check even when activated
in pull mode we activate back to push mode.

This is from comment in previous code , case number eight:
 8. if the sink pad is activated, we are in pull mode. succeed.
-     otherwise activate both pads in push mode and succeed.

Putting it back fixes playback of webm in webkit+gstreamer 1.0 .

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

12 years agoBack to development
Sebastian Dröge [Sun, 13 May 2012 14:59:24 +0000 (16:59 +0200)]
Back to development

12 years agoRelease 0.11.91 RELEASE-0.11.91
Sebastian Dröge [Sun, 13 May 2012 14:02:36 +0000 (16:02 +0200)]
Release 0.11.91

12 years agoUpdate .po files
Sebastian Dröge [Sun, 13 May 2012 14:02:18 +0000 (16:02 +0200)]
Update .po files

12 years agoAutomatic update of common submodule
Sebastian Dröge [Sun, 13 May 2012 13:55:43 +0000 (15:55 +0200)]
Automatic update of common submodule

From dc70203 to 3429ba6

12 years agogst: Only include init/deinit of alloc tracing when enabled
Sebastian Rasmussen [Wed, 9 May 2012 12:22:20 +0000 (14:22 +0200)]
gst: Only include init/deinit of alloc tracing when enabled

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

12 years agodocs: fix docs
Wim Taymans [Fri, 11 May 2012 07:07:16 +0000 (09:07 +0200)]
docs: fix docs

GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING

12 years agodocs: improve bufferpool docs
Wim Taymans [Thu, 10 May 2012 10:15:49 +0000 (12:15 +0200)]
docs: improve bufferpool docs

12 years agogst-launch: print tags in toc
Anton Belka [Tue, 8 May 2012 17:12:42 +0000 (20:12 +0300)]
gst-launch: print tags in toc

12 years agogst: Fix compiler warnings on mingw-w64
Raimo Järvi [Sat, 5 May 2012 19:17:43 +0000 (22:17 +0300)]
gst: Fix compiler warnings on mingw-w64

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

12 years agomemory: add missing parameter to default_mem_map()
Sreerenj Balachandran [Wed, 2 May 2012 11:00:43 +0000 (14:00 +0300)]
memory: add missing parameter to default_mem_map()

Fixes function signature for correctness.

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

12 years agowin32: update .def file for new API
Tim-Philipp Müller [Wed, 2 May 2012 07:08:15 +0000 (08:08 +0100)]
win32: update .def file for new API

12 years agotypefindfactory: make object struct opaque for now
Tim-Philipp Müller [Tue, 1 May 2012 21:35:38 +0000 (22:35 +0100)]
typefindfactory: make object struct opaque for now

Make opaque until we have time to clean it up a little.

12 years agotypefindfactory: fix return type of gst_type_find_factory_get_extensions()
Tim-Philipp Müller [Tue, 1 May 2012 21:30:32 +0000 (22:30 +0100)]
typefindfactory: fix return type of gst_type_find_factory_get_extensions()

12 years agotools, base: don't poke into GstTypeFindFactory struct, use public API
Tim-Philipp Müller [Tue, 1 May 2012 21:28:11 +0000 (22:28 +0100)]
tools, base: don't poke into GstTypeFindFactory struct, use public API

12 years agotypefindfactory: add gst_type_find_factory_has_function()
Tim-Philipp Müller [Tue, 1 May 2012 21:33:30 +0000 (22:33 +0100)]
typefindfactory: add gst_type_find_factory_has_function()

Add API so people don't have to poke the struct for this.

12 years agogstcaps: Update docs for gst_caps_is_equal
Thiago Santos [Tue, 1 May 2012 18:52:14 +0000 (15:52 -0300)]
gstcaps: Update docs for gst_caps_is_equal

NULL caps aren't valid caps in 1.0 and aren't accepted in
gst_caps_is_equal

12 years agouri: require URI protocol bit to be at least 3 characters to be valid
Tim-Philipp Müller [Tue, 1 May 2012 18:47:05 +0000 (19:47 +0100)]
uri: require URI protocol bit to be at least 3 characters to be valid

We want to return FALSE when run on a windows-style file path.

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

12 years agobasetransform/basesrc: Do bufferpool configuration inside the default decide_allocati...
Sebastian Dröge [Thu, 26 Apr 2012 15:26:50 +0000 (17:26 +0200)]
basetransform/basesrc: Do bufferpool configuration inside the default decide_allocation() implementation

This allows subclasses to override it, as is necessary for e.g. the
video-crop meta. It is now necessary that after decide_allocation()
there is always a allocator and a configured buffer pool inside the
query.

12 years agoghostpad: set result on accept caps query when there is no peer
Matej Knopp [Sat, 28 Apr 2012 19:37:56 +0000 (21:37 +0200)]
ghostpad: set result on accept caps query when there is no peer

12 years agoadapter: remove _try_to_merge_up()
Wim Taymans [Tue, 1 May 2012 08:50:32 +0000 (10:50 +0200)]
adapter: remove _try_to_merge_up()

It causes the timestamp to go wrong, should not cause much of a performance
increase and in the cases where it is faster, it is broken in 0.10 as well.
We should try to review this when rewriting the adapter for 0.11 memory
features.

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

12 years agoadapter: make internals private
Wim Taymans [Tue, 1 May 2012 07:25:25 +0000 (09:25 +0200)]
adapter: make internals private

Make the adapter fields private.

12 years agofilesrc: rearrange sys/stat.h inclusion point for MinGW
Руслан Ижбулатов [Mon, 30 Apr 2012 16:29:21 +0000 (20:29 +0400)]
filesrc: rearrange sys/stat.h inclusion point for MinGW

gstplugin.h used to include this for us, but doesn't any longer.

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

12 years agoevent: add new seek snap flags
Vincent Penquerc'h [Mon, 30 Apr 2012 08:58:09 +0000 (09:58 +0100)]
event: add new seek snap flags

They can be used to select snapping behavior (to previous, next, or
nearest location, where relevant) when seeking.

The seeking implementation (eg, demuxer) may currently ignore some
or all of these flags.

12 years agodocs: remove reference to removed API in plugin docs
Tim-Philipp Müller [Sun, 29 Apr 2012 19:06:58 +0000 (20:06 +0100)]
docs: remove reference to removed API in plugin docs

12 years agoplugin: avoid some relocations
Tim-Philipp Müller [Sun, 29 Apr 2012 19:06:38 +0000 (20:06 +0100)]
plugin: avoid some relocations

12 years agoplugin: remove gst_plugin_name_filter
Tim-Philipp Müller [Sun, 29 Apr 2012 17:35:11 +0000 (18:35 +0100)]
plugin: remove gst_plugin_name_filter

It's only used internally, most other users will likely
want to use gst_registry_find_plugin() directly instead
(and if not, they can easily walk the list and doing the
strcmp themselves).

12 years agoplugin: use GstObject flags for plugin flags
Tim-Philipp Müller [Sun, 29 Apr 2012 16:46:32 +0000 (17:46 +0100)]
plugin: use GstObject flags for plugin flags

12 years agoplugin: make GstPlugin object structure opaque for now
Tim-Philipp Müller [Sun, 29 Apr 2012 16:03:32 +0000 (17:03 +0100)]
plugin: make GstPlugin object structure opaque for now

There's no reason anyone would want to derive from this, so
just make opaque until we manage to make all the private bits
private properly (which I'm not doing right now because it's
more invasive and I have registry modifications locally which
touch all that code as well).

12 years agotools: use public accessors for plugin description details
Tim-Philipp Müller [Sun, 29 Apr 2012 15:49:57 +0000 (16:49 +0100)]
tools: use public accessors for plugin description details

Mostly anyway (flags still need sorting out).

12 years agoplugin: remove gst_plugin_get_module()
Tim-Philipp Müller [Sun, 29 Apr 2012 15:46:55 +0000 (16:46 +0100)]
plugin: remove gst_plugin_get_module()

This is an implementation detail really, and it's not
clear what anyone would do with this. It's unused as
far as I'm aware, so just remove it for now.

12 years agoplugin: add accessor for release date time string in plugin description
Tim-Philipp Müller [Sun, 29 Apr 2012 15:20:50 +0000 (16:20 +0100)]
plugin: add accessor for release date time string in plugin description

API: gst_plugin_get_release_date_string()

12 years agotests: use public accessors to get plugin description details
Tim-Philipp Müller [Sun, 29 Apr 2012 14:53:05 +0000 (15:53 +0100)]
tests: use public accessors to get plugin description details

12 years agogstobject: give the 20th queue element a different name than the first queue2 one
Tim-Philipp Müller [Sun, 29 Apr 2012 12:28:09 +0000 (13:28 +0100)]
gstobject: give the 20th queue element a different name than the first queue2 one

Fixes issue with the default naming scheme.

12 years agoFix format string in grammar.y
Руслан Ижбулатов [Wed, 18 Apr 2012 13:37:25 +0000 (17:37 +0400)]
Fix format string in grammar.y

Fixes #674849

12 years agocontrolbindings: add comments for sparse control source
Stefan Sauer [Wed, 25 Apr 2012 18:14:13 +0000 (20:14 +0200)]
controlbindings: add comments for sparse control source

12 years agocontroller: emulate _get_g_value_array()
Stefan Sauer [Wed, 25 Apr 2012 18:10:11 +0000 (20:10 +0200)]
controller: emulate _get_g_value_array()

Add a default implementation on the baseclass.

12 years agocontroller: expand the api to offer functions for plain and GValue arrays
Stefan Sauer [Wed, 25 Apr 2012 07:47:10 +0000 (09:47 +0200)]
controller: expand the api to offer functions for plain and GValue arrays

Rename the _get_value_array() functions to _get_g_value_array() and reintroduce
the former to operate on plain unboxed c datatypes (like in 0.10). The _g_value
variants are for bindings while the _value ones are more suited to processing
in elements.

12 years agogst-uninstalled: Add insanity, insanity-gst and gst-editing-services
Sebastian Dröge [Wed, 25 Apr 2012 16:11:03 +0000 (18:11 +0200)]
gst-uninstalled: Add insanity, insanity-gst and gst-editing-services

12 years agobufferpool: Reset the buffer before releasing into pool
Wim Taymans [Wed, 25 Apr 2012 07:06:05 +0000 (09:06 +0200)]
bufferpool: Reset the buffer before releasing into pool

Reset the buffer not after we acquire but before we release into the pool. This
makes sure that the pool only has buffers in a clean state and that we can set
extra metadata on buffers in the acquire method. this means that we need to
remove an argument from the method.

12 years agobuffer: MARKER is for the start of a talkspurt
Wim Taymans [Mon, 23 Apr 2012 13:32:04 +0000 (15:32 +0200)]
buffer: MARKER is for the start of a talkspurt

12 years agotests: plug some leaks
Mark Nauwelaerts [Tue, 24 Apr 2012 14:01:52 +0000 (16:01 +0200)]
tests: plug some leaks

12 years agocollectpads: do not unref flush_start twice
Mark Nauwelaerts [Mon, 23 Apr 2012 15:04:57 +0000 (17:04 +0200)]
collectpads: do not unref flush_start twice

Based on patch by Matej Knopp <matej.knopp@gmail.com>

12 years agoadapter: refresh skip following merge_up attempt
Mark Nauwelaerts [Mon, 23 Apr 2012 14:57:16 +0000 (16:57 +0200)]
adapter: refresh skip following merge_up attempt

... as the latter might now adjust skip as well.

12 years agomessage: Remove comma at end of enum list
Sebastian Dröge [Mon, 23 Apr 2012 07:18:48 +0000 (09:18 +0200)]
message: Remove comma at end of enum list

This comma confuses some compilers.

12 years agotee: Remove unneeded unlock
Руслан Ижбулатов [Wed, 18 Apr 2012 11:31:23 +0000 (15:31 +0400)]
tee: Remove unneeded unlock

12 years agoregistry: fix hardcoded 0.10 version in win32 pluginscanner
Руслан Ижбулатов [Wed, 18 Apr 2012 01:12:55 +0000 (05:12 +0400)]
registry: fix hardcoded 0.10 version in win32 pluginscanner

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

12 years agometa: add LOCKED flag
Wim Taymans [Tue, 17 Apr 2012 13:37:27 +0000 (15:37 +0200)]
meta: add LOCKED flag

Add a new LOCKED flag to the metadata. Refuse removing LOCKED metadata from
a buffer.
Mark the metadata from the bufferpool LOCKED.
Add unit test for LOCKED flag

12 years agocollectpads2: rename to collectpads
Mark Nauwelaerts [Tue, 17 Apr 2012 12:38:01 +0000 (14:38 +0200)]
collectpads2: rename to collectpads

12 years agoadapter: ensure writable head buffer before skipping part of it
Mark Nauwelaerts [Tue, 17 Apr 2012 10:54:45 +0000 (12:54 +0200)]
adapter: ensure writable head buffer before skipping part of it

12 years agoMerge remote-tracking branch 'origin/0.10'
Mark Nauwelaerts [Tue, 17 Apr 2012 10:29:50 +0000 (12:29 +0200)]
Merge remote-tracking branch 'origin/0.10'

Conflicts:
libs/gst/base/gstcollectpads2.c

12 years agocollectpads2: always recording incoming segment info if no buffer_func set
Mark Nauwelaerts [Tue, 17 Apr 2012 10:23:05 +0000 (12:23 +0200)]
collectpads2: always recording incoming segment info if no buffer_func set

12 years agodocs: update the debug and trace env var docs
Wim Taymans [Tue, 17 Apr 2012 08:38:05 +0000 (10:38 +0200)]
docs: update the debug and trace env var docs

12 years agotrace: use g_parse_debug_string instead of atoi
Wim Taymans [Tue, 17 Apr 2012 08:33:59 +0000 (10:33 +0200)]
trace: use g_parse_debug_string instead of atoi

Make the GST_TRACE env variable take a comma separated list of strings
describing the options to enable instead of a number.

12 years agogst-inspect: If running with --print-all, fix printing of the Children: line
Youness Alaoui [Mon, 16 Apr 2012 21:14:17 +0000 (21:14 +0000)]
gst-inspect: If running with --print-all, fix printing of the Children: line

12 years agogst-inspect: If running with --print-all, fix printing of signal names
Youness Alaoui [Mon, 16 Apr 2012 21:14:02 +0000 (21:14 +0000)]
gst-inspect: If running with --print-all, fix printing of signal names

12 years agowin32: add new collectpads2 API to .def file
Mark Nauwelaerts [Mon, 16 Apr 2012 14:36:52 +0000 (16:36 +0200)]
win32: add new collectpads2 API to .def file

12 years agoMerge remote-tracking branch 'origin/0.10'
Mark Nauwelaerts [Mon, 16 Apr 2012 14:29:34 +0000 (16:29 +0200)]
Merge remote-tracking branch 'origin/0.10'

Conflicts:
libs/gst/base/gstcollectpads2.c

12 years agocollectpads2: provide query default and callback handling
Mark Nauwelaerts [Mon, 16 Apr 2012 14:24:18 +0000 (16:24 +0200)]
collectpads2: provide query default and callback handling

... which presently mainly serves to answer SEEKING query negatively
to dissuade upstream encoders from doing any seeking and
"header finalization" (since the returned result of pushing a
sticky event is fairly useless nowadays).

12 years agocollectpads2: modify event handling using a default event handler
Mark Nauwelaerts [Mon, 16 Apr 2012 14:24:10 +0000 (16:24 +0200)]
collectpads2: modify event handling using a default event handler

... that elements should "chain up" to.

12 years agosegment: add rude serialization
Wim Taymans [Mon, 16 Apr 2012 13:35:23 +0000 (15:35 +0200)]
segment: add rude serialization

Ass serialize and deserialize functions for GstSegment so that gdp and
gst_structure_to_string show the segment values. We convert to a GstSegment
first to make things easier..

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