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

11 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

11 years agopwg: update boiler to 1.0
Wim Taymans [Thu, 27 Sep 2012 09:53:36 +0000 (11:53 +0200)]
pwg: update boiler to 1.0

11 years agoghostpad: also ref the internal pad for activate functions
Wim Taymans [Thu, 27 Sep 2012 09:06:06 +0000 (11:06 +0200)]
ghostpad: also ref the internal pad for activate functions

Also take a ref to the internal pad in the activate functions

11 years agoproxypad: Hold a reference to the internal pad while pushing through it
Olivier Crête [Mon, 24 Sep 2012 22:26:16 +0000 (18:26 -0400)]
proxypad: Hold a reference to the internal pad while pushing through it

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

11 years agotests: Test the case where ghost pads are removed while streaming
Olivier Crête [Tue, 25 Sep 2012 18:44:54 +0000 (14:44 -0400)]
tests: Test the case where ghost pads are removed while streaming

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

11 years agotests: enable library abi checks
Wim Taymans [Thu, 27 Sep 2012 07:44:07 +0000 (09:44 +0200)]
tests: enable library abi checks

11 years agodocs: fix up basesrc/basesink docs formatting
Tim-Philipp Müller [Wed, 26 Sep 2012 22:32:35 +0000 (23:32 +0100)]
docs: fix up basesrc/basesink docs formatting

11 years agotests: add abi checks
Wim Taymans [Wed, 26 Sep 2012 15:08:30 +0000 (17:08 +0200)]
tests: add abi checks

Enable abi checks again.
Fix abi sizes for x86_64, copy the file to other archs.

11 years agoupdate docs for 1.0 API
Wim Taymans [Wed, 26 Sep 2012 14:26:48 +0000 (16:26 +0200)]
update docs for 1.0 API

11 years agouri: use proper 'transfer floating' annotation
Mark Nauwelaerts [Wed, 26 Sep 2012 12:15:01 +0000 (14:15 +0200)]
uri: use proper 'transfer floating' annotation

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

11 years agotypefind: send STREAM-START event
Wim Taymans [Wed, 26 Sep 2012 11:19:13 +0000 (13:19 +0200)]
typefind: send STREAM-START event

Send a STREAM_START event when we are operating in pull mode.

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

11 years agosegment: mark GstSegmentFlags as flags rather than enum
Mark Nauwelaerts [Wed, 26 Sep 2012 08:55:28 +0000 (10:55 +0200)]
segment: mark GstSegmentFlags as flags rather than enum

... which really makes a difference when trying to serialize
a flags value which is a combination of flags, which is hard
to do as an enum type.

11 years agoidentity: retimestamp both pts and dts when doing so
Mark Nauwelaerts [Wed, 26 Sep 2012 08:54:06 +0000 (10:54 +0200)]
identity: retimestamp both pts and dts when doing so

11 years agobaseparse: Move some run of the mill debug statements to LOG level
Jan Schmidt [Wed, 26 Sep 2012 05:01:42 +0000 (15:01 +1000)]
baseparse: Move some run of the mill debug statements to LOG level

11 years agobaseparse: Output timestamps after a seek.
Jan Schmidt [Wed, 26 Sep 2012 04:23:52 +0000 (14:23 +1000)]
baseparse: Output timestamps after a seek.

Reinitialise the DTS after a seek so as to continue
generating timestamps when baseparse is not downstream
of a demuxer.

Fixes: #684538

11 years agodocs: updates
Wim Taymans [Tue, 25 Sep 2012 15:06:45 +0000 (17:06 +0200)]
docs: updates

MIME-type -> Media type
Fix some old gst-inspect output

11 years agopwg: update for 1.0 API
Wim Taymans [Tue, 25 Sep 2012 14:53:08 +0000 (16:53 +0200)]
pwg: update for 1.0 API

11 years agodocs: add section for metadata
Wim Taymans [Tue, 25 Sep 2012 13:11:33 +0000 (15:11 +0200)]
docs: add section for metadata

11 years agoelementfactory: Fail if no valid element factory metadata is set
Sebastian Dröge [Tue, 25 Sep 2012 11:09:38 +0000 (13:09 +0200)]
elementfactory: Fail if no valid element factory metadata is set

11 years agoplugin: Fail if no valid plugin metadata is set
Sebastian Dröge [Tue, 25 Sep 2012 11:09:28 +0000 (13:09 +0200)]
plugin: Fail if no valid plugin metadata is set

11 years agoidentity: also track and store segment info in single segment mode
Mark Nauwelaerts [Tue, 25 Sep 2012 13:06:43 +0000 (15:06 +0200)]
identity: also track and store segment info in single segment mode

11 years agomanual: fix up the manual
Wim Taymans [Tue, 25 Sep 2012 12:40:20 +0000 (14:40 +0200)]
manual: fix up the manual

MIME-type -> media types
Fix up the manual in various places with the 1.0 way of doing things
such as probes, static elements, scheduling, ...
Add porting from 0.10 to 1.0 chapter.
Add probe example to build.
Remove some docs for remove components such as GstMixer and
GstPropertyProbe, XML...

11 years agodocs: gst-python is no more
Wim Taymans [Mon, 24 Sep 2012 14:50:50 +0000 (16:50 +0200)]
docs: gst-python is no more

gst-python is no more and gst-libav is one of the main modules that
we release.

11 years agodocs: fix basesink docs
Wim Taymans [Mon, 24 Sep 2012 14:31:34 +0000 (16:31 +0200)]
docs: fix basesink docs

11 years agodocs: update FAQ
Wim Taymans [Mon, 24 Sep 2012 14:25:36 +0000 (16:25 +0200)]
docs: update FAQ

Change versions.
Use tools with version prefix.

11 years agopo: update translations for typo fix
Tim-Philipp Müller [Tue, 25 Sep 2012 12:15:14 +0000 (13:15 +0100)]
po: update translations for typo fix

11 years agotaglist: fix typo in translated string
Tim-Philipp Müller [Tue, 25 Sep 2012 12:14:53 +0000 (13:14 +0100)]
taglist: fix typo in translated string

Spotted by Chris Leonard.

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

11 years agopluginfeature: Remove 0.11.9X->1.0.0 version mangling
Sebastian Dröge [Tue, 25 Sep 2012 07:27:59 +0000 (09:27 +0200)]
pluginfeature: Remove 0.11.9X->1.0.0 version mangling

11 years agobenchmarks: printf format fixes to make intel compiler happy
Josep Torra Valles [Tue, 25 Sep 2012 00:02:03 +0000 (01:02 +0100)]
benchmarks: printf format fixes to make intel compiler happy

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

11 years agoMake intel compiler happier
Josep Torra Valles [Mon, 24 Sep 2012 23:55:59 +0000 (00:55 +0100)]
Make intel compiler happier

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

11 years agoBack to development (bug fixing)
Tim-Philipp Müller [Mon, 24 Sep 2012 15:31:54 +0000 (16:31 +0100)]
Back to development (bug fixing)

11 years agoRelease 1.0.0 1.0.0
Tim-Philipp Müller [Mon, 24 Sep 2012 11:19:16 +0000 (12:19 +0100)]
Release 1.0.0

11 years agodocs: update 0.11 references in porting guide
Tim-Philipp Müller [Sun, 23 Sep 2012 23:39:26 +0000 (00:39 +0100)]
docs: update 0.11 references in porting guide

11 years agodocs: rename porting-to-0.11.txt to porting-to-1.0.txt
Tim-Philipp Müller [Sun, 23 Sep 2012 23:37:27 +0000 (00:37 +0100)]
docs: rename porting-to-0.11.txt to porting-to-1.0.txt

11 years agocheck: fix FIXME printing for tcase_skip_broken_test()
Tim-Philipp Müller [Sun, 23 Sep 2012 18:56:43 +0000 (19:56 +0100)]
check: fix FIXME printing for tcase_skip_broken_test()

11 years agodocs: update release doc
Tim-Philipp Müller [Sun, 23 Sep 2012 16:30:50 +0000 (17:30 +0100)]
docs: update release doc

Create tags for releases without the ugly RELEASE- prefix.

11 years agocollectpads: don't forward random stream-start event
Tim-Philipp Müller [Sun, 23 Sep 2012 11:42:01 +0000 (12:42 +0100)]
collectpads: don't forward random stream-start event

It's not right, and we don't know what extra properties
that event might have set in future (e.g. sparseness).
This change means collectpad users need to create their
own stream-start event now. We could add a utility
function that creates a stream-start event based on
the input stream-start events.

11 years agoAutomatic update of common submodule
Tim-Philipp Müller [Sat, 22 Sep 2012 15:07:15 +0000 (16:07 +0100)]
Automatic update of common submodule

From 4f962f7 to 6c0b52c

11 years agomanual: update controller documentation
Mark Nauwelaerts [Fri, 21 Sep 2012 19:13:27 +0000 (21:13 +0200)]
manual: update controller documentation

11 years agoobject: update controller documentation
Mark Nauwelaerts [Fri, 21 Sep 2012 19:13:13 +0000 (21:13 +0200)]
object: update controller documentation

11 years agoman: Fix syntax for value lists in caps strings
Bastian Winkler [Tue, 18 Sep 2012 13:22:03 +0000 (15:22 +0200)]
man: Fix syntax for value lists in caps strings

Value lists use curly brackets instead of parentheses

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

11 years agopad: Remove pad probes only once
Olivier Crête [Thu, 20 Sep 2012 18:48:17 +0000 (14:48 -0400)]
pad: Remove pad probes only once

Also add test to make sure that if a pad probe is removed while it's
callback is running, the cleanup_hook isn't called again if it
returns GST_PAD_PROBE_REMOVE

11 years agopad: Add functions to safely access GstProbeInfo data pointer
Olivier Crête [Wed, 19 Sep 2012 19:01:46 +0000 (15:01 -0400)]
pad: Add functions to safely access GstProbeInfo data pointer

This is so that introspection based bindings can access it.

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

11 years agodocs: remove reference to 0.8 GstBin API from manual
Tim-Philipp Müller [Wed, 19 Sep 2012 22:25:54 +0000 (23:25 +0100)]
docs: remove reference to 0.8 GstBin API from manual

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

11 years agoidentity: transform GAP event in single segment mode
Mark Nauwelaerts [Wed, 19 Sep 2012 13:14:35 +0000 (15:14 +0200)]
identity: transform GAP event in single segment mode

11 years agodocs: collectpads doc fixes
Tim-Philipp Müller [Wed, 19 Sep 2012 08:44:08 +0000 (09:44 +0100)]
docs: collectpads doc fixes

11 years agobasetransform: check acquire result value
Wim Taymans [Tue, 18 Sep 2012 19:49:41 +0000 (21:49 +0200)]
basetransform: check acquire result value

Check the result value from _buffer_pool_acquire() and return the
value when allocation failed.

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

11 years agopad: Fix refcount bug by unreffing the correct variable
Sebastian Dröge [Tue, 18 Sep 2012 10:14:34 +0000 (12:14 +0200)]
pad: Fix refcount bug by unreffing the correct variable

11 years agoRelease 0.11.99 RELEASE-0.11.99
Tim-Philipp Müller [Mon, 17 Sep 2012 16:56:44 +0000 (17:56 +0100)]
Release 0.11.99

11 years agoRemove GST_USE_UNSTABLE_API guard and defines
Tim-Philipp Müller [Mon, 17 Sep 2012 12:35:26 +0000 (13:35 +0100)]
Remove GST_USE_UNSTABLE_API guard and defines

11 years agopad: Add parent parameter to the link and unlink functions
Sebastian Dröge [Mon, 17 Sep 2012 11:09:58 +0000 (13:09 +0200)]
pad: Add parent parameter to the link and unlink functions

Fixes part of bug #683995.

11 years agosample: add serialisation/deserialisation functions for GstSample
Tim-Philipp Müller [Sun, 16 Sep 2012 22:20:46 +0000 (23:20 +0100)]
sample: add serialisation/deserialisation functions for GstSample

Since these things are inside taglists now, it would be good to be
able to print them and deserialise them.

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

11 years agoSwitch to F18 naming of the package
Christian Fredrik Kalager Schaller [Sat, 15 Sep 2012 19:56:07 +0000 (21:56 +0200)]
Switch to F18 naming of the package

11 years agouse gst_element_factory_get_metadata to replace obsolete API
Mark Nauwelaerts [Sat, 15 Sep 2012 16:43:39 +0000 (18:43 +0200)]
use gst_element_factory_get_metadata to replace obsolete API

11 years agoreplace gst_tag_list_free with gst_tag_list_unref
Mark Nauwelaerts [Fri, 14 Sep 2012 15:52:14 +0000 (17:52 +0200)]
replace gst_tag_list_free with gst_tag_list_unref

11 years agoreplace gst_element_class_set_details_simple with gst_element_class_set_metadata
Mark Nauwelaerts [Fri, 14 Sep 2012 15:00:23 +0000 (17:00 +0200)]
replace gst_element_class_set_details_simple with gst_element_class_set_metadata

11 years agobasetrans: whitespace fix
Wim Taymans [Thu, 6 Sep 2012 14:32:35 +0000 (16:32 +0200)]
basetrans: whitespace fix

11 years agodocs: indexers are no more
Tim-Philipp Müller [Fri, 14 Sep 2012 13:08:18 +0000 (14:08 +0100)]
docs: indexers are no more

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

11 years agotests: fix for appsink return value addition
Wim Taymans [Fri, 14 Sep 2012 11:34:24 +0000 (13:34 +0200)]
tests: fix for appsink return value addition

11 years agoBack to development
Tim-Philipp Müller [Fri, 14 Sep 2012 01:54:52 +0000 (02:54 +0100)]
Back to development

11 years agoRelease 0.11.94 RELEASE-0.11.94
Tim-Philipp Müller [Fri, 14 Sep 2012 01:46:34 +0000 (02:46 +0100)]
Release 0.11.94

11 years agopad: don't try to pretty-print event after we've given away ownership
Olivier Crête [Fri, 14 Sep 2012 00:28:46 +0000 (01:28 +0100)]
pad: don't try to pretty-print event after we've given away ownership

Might cause crashes with debug logging enabled.

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

11 years agopo: update translations
Tim-Philipp Müller [Fri, 14 Sep 2012 00:17:54 +0000 (01:17 +0100)]
po: update translations

11 years agogstcompat: fix backwards compat macro for gst_message_new_duration
Tim-Philipp Müller [Thu, 13 Sep 2012 23:30:37 +0000 (00:30 +0100)]
gstcompat: fix backwards compat macro for gst_message_new_duration

Name it properly, so it, like, works. Clearly no one actually
used that..

11 years agodocs: fix formats a little
Wim Taymans [Thu, 13 Sep 2012 10:00:08 +0000 (12:00 +0200)]
docs: fix formats a little

11 years agodefs: add new baseparse function
Wim Taymans [Thu, 13 Sep 2012 09:38:52 +0000 (11:38 +0200)]
defs: add new baseparse function

11 years agodocs: fourcc is no more
Wim Taymans [Thu, 13 Sep 2012 09:38:33 +0000 (11:38 +0200)]
docs: fourcc is no more

11 years agodocs: fix some docs
Wim Taymans [Thu, 13 Sep 2012 09:35:41 +0000 (11:35 +0200)]
docs: fix some docs

from git grep for ffmpegcolorspace and x-raw-

11 years agoparse: add missing declaration
Wim Taymans [Thu, 13 Sep 2012 08:48:08 +0000 (10:48 +0200)]
parse: add missing declaration

11 years agobasesrc: indent fix
Wim Taymans [Thu, 13 Sep 2012 08:24:16 +0000 (10:24 +0200)]
basesrc: indent fix

11 years agobaseparse: Add a mode/flag for disabling PTS interpolation
Jan Schmidt [Thu, 13 Sep 2012 05:44:37 +0000 (22:44 -0700)]
baseparse: Add a mode/flag for disabling PTS interpolation

To be used by sub-classes implementing video formats with reordering
such as MPEG.

11 years agobaseparse: Handle GAP and still-frame events.
Jan Schmidt [Tue, 11 Sep 2012 01:38:57 +0000 (18:38 -0700)]
baseparse: Handle GAP and still-frame events.

Hacky, because the still-frame code all lives in -base, where we
can't use it - so this is a hacky duplication of -base code. Not
sure which way to fix this: Move baseparse to -base, or move still-frame
events to core?

11 years agobaseparse: Restructure event handling
Jan Schmidt [Wed, 5 Sep 2012 02:38:26 +0000 (19:38 -0700)]
baseparse: Restructure event handling

Make the event handling more like what videodecoder does,
to ensure that all events are passed to child classes before being
placed on the pending queue or pushed onward.

11 years agobaseparse: Store incoming cached events in reverse order
Jan Schmidt [Mon, 3 Sep 2012 17:30:08 +0000 (10:30 -0700)]
baseparse: Store incoming cached events in reverse order

Reverse the list just before sending. Prepending is more efficient
than appending, so this saves some cycles.

11 years agobaseparse: First attempt at handling both DTS and PTS
Jan Schmidt [Mon, 3 Sep 2012 06:32:50 +0000 (23:32 -0700)]
baseparse: First attempt at handling both DTS and PTS

11 years agotaglist: add warning when we get something else than a sample for a sample tag
Tim-Philipp Müller [Wed, 12 Sep 2012 23:38:21 +0000 (00:38 +0100)]
taglist: add warning when we get something else than a sample for a sample tag

Facilitate GstBuffer -> GstSample transition for some tags,
could be hard to catch otherwise when creating tags, since
it'll only be apparent later when someone tries to read the
tags.

11 years agoelementfactory: don't crash if no element klass has been set
Andreas Frisch [Wed, 12 Sep 2012 12:14:31 +0000 (14:14 +0200)]
elementfactory: don't crash if no element klass has been set

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

11 years agocollectpads: fix a misplaced ')'
Stefan Sauer [Wed, 12 Sep 2012 21:12:14 +0000 (23:12 +0200)]
collectpads: fix a misplaced ')'

11 years agoerror: don't tell people to file a bug for negotiation errors
Tim-Philipp Müller [Wed, 12 Sep 2012 20:20:46 +0000 (21:20 +0100)]
error: don't tell people to file a bug for negotiation errors

11 years agocollectpads: remove gst_collect_pads_add_pad_full
Stefan Sauer [Wed, 12 Sep 2012 18:54:50 +0000 (20:54 +0200)]
collectpads: remove gst_collect_pads_add_pad_full

Rename gst_collect_pads_add_pad_full() to gst_collect_pads_add_pad() and fix all
invocations.

11 years agofilesink: fix build on Cygwin
Mark Nauwelaerts [Wed, 12 Sep 2012 15:16:41 +0000 (17:16 +0200)]
filesink: fix build on Cygwin

... where __fbufsize is not available