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

12 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

12 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

12 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

12 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

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

12 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

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

12 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

12 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

12 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

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

12 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

12 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

12 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

12 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

12 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

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

12 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

12 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

12 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

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

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

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

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

12 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

12 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

12 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

12 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

12 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

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

12 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

12 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

12 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

12 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()

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

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

12 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

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

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

12 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

12 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

12 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

12 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

12 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

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

12 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

12 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

12 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

12 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

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

12 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

12 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

12 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

12 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

12 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

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

12 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

12 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

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

12 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

12 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

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

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

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

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

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

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

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

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

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

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

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

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

12 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

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

12 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

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

12 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

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

12 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

12 years agoRevert "tests: fix buffer leak in queue2 unit test"
Tim-Philipp Müller [Wed, 12 Sep 2012 12:00:15 +0000 (13:00 +0100)]
Revert "tests: fix buffer leak in queue2 unit test"

This reverts commit 232fd2953eb00f694b667e7796704f5974cea452.

This was already fixed.

12 years agoqueue2: fix possible data corruption in ring buffer mode when seeking
Tim-Philipp Müller [Thu, 24 May 2012 12:08:16 +0000 (13:08 +0100)]
queue2: fix possible data corruption in ring buffer mode when seeking

Fix race that could cause data corruption when seeking in ring buffer
mode.

In perform_seek_to_offset(), called from the demuxer's pull_range
request, we drop the lock, tell upstream (usually a http source)
to seek to a different offset, then re-acquire the lock before we
do things to the ranges. However, between us sending the seek event
and re-acquiring the lock, the source thread might already have pushed
some data and moved along the range's writing_pos beyond the seek
offset. In that case we don't want to set the writing position back
to the requested seek position, as it would cause data to be written
to the wrong offset in the file or ring buffer.

Reproducible doing seek-emulated fast-forward/backward on 006653.

Conflicts:
plugins/elements/gstqueue2.c

12 years agotests: fix buffer leak in queue2 unit test
Tim-Philipp Müller [Thu, 24 May 2012 12:06:47 +0000 (13:06 +0100)]
tests: fix buffer leak in queue2 unit test

12 years agocheck: remove glib deprecation compatibility trickery
Mark Nauwelaerts [Wed, 12 Sep 2012 10:23:22 +0000 (12:23 +0200)]
check: remove glib deprecation compatibility trickery

12 years agocheck: port to the new GLib thread API
Mark Nauwelaerts [Wed, 12 Sep 2012 10:22:53 +0000 (12:22 +0200)]
check: port to the new GLib thread API

12 years agotests: port to new GLib thread API
Mark Nauwelaerts [Wed, 12 Sep 2012 09:52:25 +0000 (11:52 +0200)]
tests: port to new GLib thread API

12 years agotests: benchmarks: align error message with code
Mark Nauwelaerts [Wed, 12 Sep 2012 09:49:55 +0000 (11:49 +0200)]
tests: benchmarks: align error message with code

12 years agopad: expose gst_pad_mode_get_name() and use it in baseparse
Tim-Philipp Müller [Tue, 11 Sep 2012 18:49:58 +0000 (19:49 +0100)]
pad: expose gst_pad_mode_get_name() and use it in baseparse

12 years agoscripts: update for gst-ffmpeg -> gst-libav
Tim-Philipp Müller [Tue, 11 Sep 2012 12:22:57 +0000 (13:22 +0100)]
scripts: update for gst-ffmpeg -> gst-libav

Now that we have a gst-libav git repository (symlinked to gst-ffmpeg).

12 years agoquery: adjust test logic for scheduling mode with flagS
Mark Nauwelaerts [Tue, 11 Sep 2012 15:27:03 +0000 (17:27 +0200)]
query: adjust test logic for scheduling mode with flagS

12 years agoquery: add convenience API to query for scheduling mode and flags
Mark Nauwelaerts [Tue, 11 Sep 2012 14:39:34 +0000 (16:39 +0200)]
query: add convenience API to query for scheduling mode and flags

12 years agoevents: remove STREAM_CONFIG
Wim Taymans [Tue, 11 Sep 2012 14:29:12 +0000 (16:29 +0200)]
events: remove STREAM_CONFIG

We won't be able to implement this so it's better to move it out of the way.

12 years agocollectpads: clean up header indentation
Wim Taymans [Tue, 11 Sep 2012 14:09:37 +0000 (16:09 +0200)]
collectpads: clean up header indentation