platform/upstream/gstreamer.git
11 years agogst-launch: Use g_unix_signal_add() to handle keyboard interruption
Krzysztof Konopko [Wed, 13 Feb 2013 00:27:28 +0000 (00:27 +0000)]
gst-launch: Use g_unix_signal_add() to handle keyboard interruption

Current implementation uses a traditional signal handler and a 250ms
timeout callback in the event loop.  Adding a GSource with
g_unix_signal_add() to the GMainLoop is a much more elegant solution.
The signal handler with this approach can send a message to the bus
directly rather than set a flag as all dispatching intricacies are handled
by GLib.

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

11 years agodocs: flesh our 'Running GStreamer' bits a bit
Tim-Philipp Müller [Thu, 14 Feb 2013 00:07:22 +0000 (00:07 +0000)]
docs: flesh our 'Running GStreamer' bits a bit

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

11 years agodocs: flesh out gst-launch-1.0 man page a little
Tim-Philipp Müller [Wed, 13 Feb 2013 23:27:16 +0000 (23:27 +0000)]
docs: flesh out gst-launch-1.0 man page a little

Fix up default location of the registry.

Mention more options for GST_DEBUG (wildcards and
named debug levels).

Explain what to do with the dot files that can be
produced by setting GST_DEBUG_DUMP_DOT_DIR.

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

11 years agodocs: fix advanced-metadata code example in manual
Gert Michael Kulyk [Wed, 26 Dec 2012 23:03:06 +0000 (00:03 +0100)]
docs: fix advanced-metadata code example in manual

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

11 years agomessage: accept NULL error argument in gst_message_parse_{error,warning,info}
Tim-Philipp Müller [Wed, 13 Feb 2013 16:52:13 +0000 (16:52 +0000)]
message: accept NULL error argument in gst_message_parse_{error,warning,info}

And simplify code a bit while at it.

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

11 years agovalue: Remove set-style bitmask intersection/union/subtraction functions
Sebastian Dröge [Wed, 13 Feb 2013 16:00:23 +0000 (17:00 +0100)]
value: Remove set-style bitmask intersection/union/subtraction functions

Set operations on the bitmasks don't make much sense and result
in invalid caps when used as a channel-mask. They are now handled
exactly like integers.

This functionality was not used anywhere except for tests.

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

11 years agobin: The latency query should return TRUE by default, different to other queries
Sebastian Dröge [Wed, 13 Feb 2013 10:19:06 +0000 (11:19 +0100)]
bin: The latency query should return TRUE by default, different to other queries

Fixes unit test failures caused by f3d268de7f7fb1161778a9a95e0d54d8c89ef626

11 years agostructure: Make sure that subsets have all fields of the superset
Sebastian Dröge [Wed, 13 Feb 2013 09:46:37 +0000 (10:46 +0100)]
structure: Make sure that subsets have all fields of the superset

"video/x-h264,parsed=(boolean)true" is not a superset of
"video/x-h264,stream-format=(string)byte-stream,alignment=(string)nal"
for example.

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

11 years agoupdate exports for baseparse API changes
David Schleef [Tue, 12 Feb 2013 20:32:23 +0000 (12:32 -0800)]
update exports for baseparse API changes

11 years agobaseparse: Fix doc typo
David Schleef [Tue, 12 Feb 2013 20:31:42 +0000 (12:31 -0800)]
baseparse: Fix doc typo

11 years agobaseparse: add gst_base_parse_set_ts_at_offset()
David Schleef [Tue, 12 Feb 2013 00:51:48 +0000 (16:51 -0800)]
baseparse: add gst_base_parse_set_ts_at_offset()

Sets the buffer timestamps based on last seen timestamps at a
particular offset into the frame.

API: gst_base_parse_set_ts_at_offset()

11 years agoadapter: Add gst_adapter_prev_[pd]ts_at_offset()
David Schleef [Tue, 12 Feb 2013 00:42:41 +0000 (16:42 -0800)]
adapter: Add gst_adapter_prev_[pd]ts_at_offset()

Original patch written by Michael Smith <msmith@rdio.com>.

API: gst_adapter_prev_pts_at_offset()
API: gst_adapter_prev_dts_at_offset()

11 years agobin: query sink elements and source pads of the bin
Philippe Normand [Sat, 9 Feb 2013 17:14:09 +0000 (18:14 +0100)]
bin: query sink elements and source pads of the bin

gst_bin_query() now forwards the query to the source pads as well if
none of the sinks of the bin satisfied the query. This helps in the
case of DURATION queries done a bin containing a source element.

Fixes bug 638749

11 years agobin: Let gst_bin_send_event() send events to ghost pads as well
Alexander Schrab [Thu, 7 Feb 2013 11:47:02 +0000 (12:47 +0100)]
bin: Let gst_bin_send_event() send events to ghost pads as well

11 years agocompat: kill more uses of gst_pad_set_caps()
Stefan Sauer [Mon, 11 Feb 2013 21:52:25 +0000 (22:52 +0100)]
compat: kill more uses of gst_pad_set_caps()

11 years agogstvalue: Adding offset to GstSegment serialize/deserialize.
Tim 'mithro' Ansell [Mon, 11 Feb 2013 13:08:51 +0000 (00:08 +1100)]
gstvalue: Adding offset to GstSegment serialize/deserialize.

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

11 years agobaseparse: improve PTS interpolating
Mark Nauwelaerts [Sat, 9 Feb 2013 11:32:02 +0000 (12:32 +0100)]
baseparse: improve PTS interpolating

... and tracking of DTS.  Fixes cases where PTS is locked on to the
DTS of an incoming buffer with no PTS with invalid data, leading to
no outgoing PTS (since it is not allowed smaller than DTS).

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

11 years agodocs: add more porting details
Stefan Sauer [Fri, 8 Feb 2013 20:28:18 +0000 (21:28 +0100)]
docs: add more porting details

11 years agocontrolbinding: error handling for binding controlsources to wrong properties
Stefan Sauer [Fri, 8 Feb 2013 20:21:48 +0000 (21:21 +0100)]
controlbinding: error handling for binding controlsources to wrong properties

Add warning if property is not suitable for controlling. When adding a control-
binding check that pspec!=NULL.

11 years agoelement: remove old docs about iterators
Wim Taymans [Thu, 7 Feb 2013 12:08:49 +0000 (13:08 +0100)]
element: remove old docs about iterators

11 years agobin: remove old comment
Wim Taymans [Thu, 7 Feb 2013 11:52:26 +0000 (12:52 +0100)]
bin: remove old comment

The iterators now return a GValue and not the object directly anymore.

11 years agobin: reset GValue from iterator after usage
Wim Taymans [Thu, 7 Feb 2013 11:50:08 +0000 (12:50 +0100)]
bin: reset GValue from iterator after usage

11 years agotests: add basesink test
Wim Taymans [Tue, 5 Feb 2013 16:15:37 +0000 (17:15 +0100)]
tests: add basesink test

11 years agobasesink: handle sync of EOS after item without duration
Wim Taymans [Tue, 5 Feb 2013 16:19:50 +0000 (17:19 +0100)]
basesink: handle sync of EOS after item without duration

After a buffer or GAP without duration, an EOS event should be rendered
immediately instead of waiting for the end of the segment.

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

11 years agogstpipeline: fix failed assertion caused by seeking pipeline with NULL clock
Nate Bogdanowicz [Sat, 2 Feb 2013 19:55:52 +0000 (11:55 -0800)]
gstpipeline: fix failed assertion caused by seeking pipeline with NULL clock

Under certain GST_STATE_CHANGED_PAUSED_TO_PLAYING transitions, a pipeline with
a NULL clock will fail an assertion due to an unchecked call to gst_object_ref().
This is fixed by simply adding a check and only ref-ing if the clock is not NULL.

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

11 years agostructure: change argument name for docs
Wim Taymans [Tue, 5 Feb 2013 12:44:06 +0000 (13:44 +0100)]
structure: change argument name for docs

11 years agodebugutils: fix order of caps on an unnegotiated link
Stefan Sauer [Mon, 4 Feb 2013 09:30:32 +0000 (10:30 +0100)]
debugutils: fix order of caps on an unnegotiated link

headlabel is the sink_pad (where the link points to) and not the other way around.

11 years agodocs: update the controller docs
Stefan Sauer [Fri, 1 Feb 2013 20:59:41 +0000 (21:59 +0100)]
docs: update the controller docs

Add the control bindings to the docs. Add a little more detail.

11 years agoporting: a few updates for the porting guide
Stefan Sauer [Fri, 1 Feb 2013 20:57:45 +0000 (21:57 +0100)]
porting: a few updates for the porting guide

11 years agodataqueue: can't pass a GType through GINT_TO_POINTER
Tim-Philipp Müller [Wed, 30 Jan 2013 13:06:44 +0000 (13:06 +0000)]
dataqueue: can't pass a GType through GINT_TO_POINTER

Use GSIZE_TO_POINTER instead. sizeof(GType) may be larger
than sizeof(gulong) and sizeof(int), so the casts may
chop off some bits from the GType value on some architectures.

11 years agotests: unit test to trigger the queue/flushing race condition bug for allocation...
Alexander Schrab [Tue, 29 Jan 2013 11:40:52 +0000 (12:40 +0100)]
tests: unit test to trigger the queue/flushing race condition bug for allocation queries

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

11 years agoqueue: remove query from queue if queue is flushing
Alexander Schrab [Mon, 28 Jan 2013 10:05:28 +0000 (11:05 +0100)]
queue: remove query from queue if queue is flushing

When querying a queue that is flushing we end up adding
a query to the queuearray without taking a reference to
that query (because the normal functionality is to block
until that query is done and discarded from the queue).
This later causes problem if the query is unreffed outside
of the queue before we discard the queue. There is a check
to avoid unreffing any lingering query-objects, but since
the query has been deleted that check fails.

This commit depends on other fixes done to gst_queue_array_find()
and gst_queue_array_drop_element().

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

11 years agoqueuearray: make _find() find the value if no compare function is provided
Tim-Philipp Müller [Wed, 30 Jan 2013 11:55:18 +0000 (11:55 +0000)]
queuearray: make _find() find the value if no compare function is provided

Allow NULL as compare function for direct value lookup.

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

11 years agotests: check return value of gst_queue_array_drop_element() too
Tim-Philipp Müller [Wed, 30 Jan 2013 11:34:15 +0000 (11:34 +0000)]
tests: check return value of gst_queue_array_drop_element() too

Was added when the API was made public in git master.

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

11 years agotests: one more test for gst_queue_array_drop_element()
Tim-Philipp Müller [Tue, 29 Jan 2013 22:54:21 +0000 (22:54 +0000)]
tests: one more test for gst_queue_array_drop_element()

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

Conflicts:
tests/check/libs/queuearray.c

11 years agoqueuearray: fix gst_queue_array_find()
Alexander Schrab [Mon, 28 Jan 2013 10:05:28 +0000 (11:05 +0100)]
queuearray: fix gst_queue_array_find()

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

11 years agoqueuearray: fix gst_queue_array_drop_element()
Alexander Schrab [Mon, 28 Jan 2013 10:05:28 +0000 (11:05 +0100)]
queuearray: fix gst_queue_array_drop_element()

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

Conflicts:
libs/gst/base/gstqueuearray.c

11 years agodocs: align the comments correctly with the declaration in bitreader docs
Sreerenj Balachandran [Tue, 29 Jan 2013 14:55:23 +0000 (16:55 +0200)]
docs: align the comments correctly with the declaration in bitreader docs

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

11 years agobasesrc: handle renegotiation correctly
Wim Taymans [Tue, 29 Jan 2013 08:45:23 +0000 (09:45 +0100)]
basesrc: handle renegotiation correctly

Don't retry to negotiate when we fail to negotiate but instead produce a
NOT_NEGOTIATED error. We only want to retry negotiation if the result from
gst_pad_push() returned NOT_NEGOTIATED.

11 years agoAutomatic update of common submodule
Stefan Sauer [Mon, 28 Jan 2013 19:41:20 +0000 (20:41 +0100)]
Automatic update of common submodule

From a942293 to 2de221c

11 years agoexample: fix FIXME in example
Wim Taymans [Mon, 28 Jan 2013 12:05:44 +0000 (13:05 +0100)]
example: fix FIXME in example

Use setpriority to raise priority

11 years agog-i: add built enumtypes headers and sources to gir creation
Simon Feltman [Sun, 27 Jan 2013 14:20:51 +0000 (06:20 -0800)]
g-i: add built enumtypes headers and sources to gir creation

Add gstenumtypes.h/c for inclusion with g-ir-scanner. This fixes
problems where introspection based bindings think GstState is
typeless due to the GType not being included as an annotation.

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

11 years agotests: use g_timeout_add_seconds in pipeline stress test
B.Prathibha [Sun, 27 Jan 2013 03:48:00 +0000 (09:18 +0530)]
tests: use g_timeout_add_seconds in pipeline stress test

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

11 years agodocs: Put the right path for the gstttestclock include file
Olivier Crête [Thu, 24 Jan 2013 22:50:31 +0000 (17:50 -0500)]
docs: Put the right path for the gstttestclock include file

11 years agopwg: rename variable
Wim Taymans [Thu, 24 Jan 2013 14:50:17 +0000 (15:50 +0100)]
pwg: rename variable

The filter variable was used twice for different things.

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

11 years agogst_pad_check_reconfigure: only remove flag if set.
Niv Sardi [Fri, 18 Jan 2013 00:35:48 +0000 (21:35 -0300)]
gst_pad_check_reconfigure: only remove flag if set.

the code ifed a debug statement, that can't be right. anyway, the way it is,
we don't really need that branch, as we set the flag to unset only if set
(and that can't fail) hence the end result is always to unset the flag.

Signed-off-by: Niv Sardi <xaiki@evilgiggle.com>
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=691985

11 years agobasesrc: set NEED_RECONFIGURE flag if negotiate fails
Niv Sardi [Fri, 18 Jan 2013 00:43:25 +0000 (21:43 -0300)]
basesrc: set NEED_RECONFIGURE flag if negotiate fails

When negotiation fails, mark the pad as needing a reconfigure again so
that it gets picked up again next time.

Signed-off-by: Niv Sardi <xaiki@evilgiggle.com>
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=691986

11 years agopad: add gst_pad_get_stream_id() utility function
Tim-Philipp Müller [Sat, 19 Jan 2013 12:51:56 +0000 (12:51 +0000)]
pad: add gst_pad_get_stream_id() utility function

API: gst_pad_get_stream_id()

11 years agotools: minor addition to gst-launch-1.0 man page
Tim-Philipp Müller [Fri, 18 Jan 2013 16:05:09 +0000 (16:05 +0000)]
tools: minor addition to gst-launch-1.0 man page

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

11 years agotools: update gst-launch-1.0 man page for new debug levels
Tim-Philipp Müller [Fri, 18 Jan 2013 16:01:11 +0000 (16:01 +0000)]
tools: update gst-launch-1.0 man page for new debug levels

There are more debug levels these days, not only 0-5.

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

11 years agotests: fix ABI check struct sizes for ARM
Daniel Díaz [Thu, 17 Jan 2013 06:38:14 +0000 (00:38 -0600)]
tests: fix ABI check struct sizes for ARM

and re-enable ABI check for ARM.

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

11 years agodocs: add a note to the gst_adapter_take_buffer() docs about buffer flags
Tim-Philipp Müller [Wed, 16 Jan 2013 17:24:42 +0000 (17:24 +0000)]
docs: add a note to the gst_adapter_take_buffer() docs about buffer flags

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

11 years agotests: disable ABI checks for architectures where the struct sizes are not up-to...
Tim-Philipp Müller [Wed, 16 Jan 2013 11:29:47 +0000 (11:29 +0000)]
tests: disable ABI checks for architectures where the struct sizes are not up-to-date

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

11 years agoAutomatic update of common submodule
Tim-Philipp Müller [Tue, 15 Jan 2013 15:03:43 +0000 (15:03 +0000)]
Automatic update of common submodule

From 2a068ce to a942293

11 years agoUse GST_*_1_0 environment variables everywhere
Tim-Philipp Müller [Tue, 15 Jan 2013 13:47:32 +0000 (13:47 +0000)]
Use GST_*_1_0 environment variables everywhere

The _1_0 suffixed environment variables override the
non-suffixed ones, so if we're in an environment that
sets the _1_0 suffixed ones, such as jhbuild, we need
to set those to make sure ours actually always get
used.

11 years agopo: update for new translated string
Tim-Philipp Müller [Tue, 15 Jan 2013 13:47:13 +0000 (13:47 +0000)]
po: update for new translated string

11 years agopipeline: add allow-none annotation for gst_pipeline_new()'s name property
Tim-Philipp Müller [Tue, 15 Jan 2013 09:42:20 +0000 (09:42 +0000)]
pipeline: add allow-none annotation for gst_pipeline_new()'s name property

11 years agodocs: minor GstBaseParse docs fixes
Tim-Philipp Müller [Mon, 14 Jan 2013 20:02:42 +0000 (20:02 +0000)]
docs: minor GstBaseParse docs fixes

Expose docs for gst_base_parse_finish_frame().

11 years agotypefind: handle map failure
Wim Taymans [Mon, 14 Jan 2013 16:01:22 +0000 (17:01 +0100)]
typefind: handle map failure

11 years agobasesrc: handle map failure
Wim Taymans [Mon, 14 Jan 2013 16:00:46 +0000 (17:00 +0100)]
basesrc: handle map failure

11 years agoadapter: handle map failure
Wim Taymans [Mon, 14 Jan 2013 16:00:23 +0000 (17:00 +0100)]
adapter: handle map failure

11 years agobaseparse: add vfuncs to intercept queries
Tim-Philipp Müller [Sun, 13 Jan 2013 14:45:31 +0000 (14:45 +0000)]
baseparse: add vfuncs to intercept queries

Useful for video parses that want to attach matter or
find out if downstream supports certain metas.

API: GstBaseParseClass::src_query()
API: GstBaseParseClass::sink_query()

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

11 years agobaseparse: fix up name of default event vfuncs
Tim-Philipp Müller [Sat, 12 Jan 2013 20:54:26 +0000 (20:54 +0000)]
baseparse: fix up name of default event vfuncs

11 years agocontrolbinding: hide one unused typedef
Stefan Sauer [Thu, 10 Jan 2013 10:34:14 +0000 (11:34 +0100)]
controlbinding: hide one unused typedef

This is not used internally.

11 years agodocs: improve api docs for controlsource and -binding
Stefan Sauer [Thu, 10 Jan 2013 10:33:42 +0000 (11:33 +0100)]
docs: improve api docs for controlsource and -binding

11 years agotests: fix leak in ghostpad unit test
Tim-Philipp Müller [Sat, 5 Jan 2013 16:30:04 +0000 (16:30 +0000)]
tests: fix leak in ghostpad unit test

The created pad is never used and overwritten with
another newly-created pad a few lines below.

11 years agodocs: minor systemsclock doc fix
Tim-Philipp Müller [Fri, 4 Jan 2013 12:27:38 +0000 (12:27 +0000)]
docs: minor systemsclock doc fix

11 years agobasesink: Initialize uninitialized variable
Sebastian Dröge [Thu, 3 Jan 2013 09:16:18 +0000 (10:16 +0100)]
basesink: Initialize uninitialized variable

11 years agoadapter: return gssize from gst_adapter_masked_scan_* functions
Thijs Vermeir [Sun, 30 Dec 2012 22:35:48 +0000 (23:35 +0100)]
adapter: return gssize from gst_adapter_masked_scan_* functions

As the return value of this function is -1 when the match is not found

11 years agobasesink: Check if buffers are too late before calling prepare/prepare_list
Sebastian Dröge [Tue, 1 Jan 2013 09:23:59 +0000 (10:23 +0100)]
basesink: Check if buffers are too late before calling prepare/prepare_list

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

11 years agoconfigure: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
Tim-Philipp Müller [Sun, 30 Dec 2012 23:48:47 +0000 (23:48 +0000)]
configure: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS

AM_CONFIG_HEADER has been removed in the just-released automake 1.13:
https://lists.gnu.org/archive/html/automake/2012-12/msg00038.html

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

11 years agocaps, structure, taglist: micro-optimisations
Tim-Philipp Müller [Sat, 22 Dec 2012 16:50:49 +0000 (16:50 +0000)]
caps, structure,  taglist: micro-optimisations

Avoid some unnecessary GValue copying by making use of
gst_structure_id_take_value() where possible.

11 years agogstvalue: some micro-optimisations
Tim-Philipp Müller [Sat, 22 Dec 2012 16:29:03 +0000 (16:29 +0000)]
gstvalue: some micro-optimisations

Avoid unnecessary value copying, and unnecessary init/unset
cycles which all go through the value table. There's a bunch
of places where we copy a value and then unset it in the next
line, instead of just taking over the source value.

11 years agoscripts: fix location of repository with ssh
Thijs Vermeir [Sat, 22 Dec 2012 15:53:47 +0000 (16:53 +0100)]
scripts: fix location of repository with ssh

11 years agobin: add flag to disable resync state change
Wim Taymans [Fri, 21 Dec 2012 15:36:37 +0000 (16:36 +0100)]
bin: add flag to disable resync state change

Add a GST_BIN_FLAG_NO_RESYNC that disables a resync when an element is added,
removed or linked in the bin. This is interesting for complex bins that
dynamically add elements to themselves and want to manage the state of those
elements without interference from resyncs.

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

11 years agodocs: update synchronization document a little
Wim Taymans [Fri, 21 Dec 2012 09:09:30 +0000 (10:09 +0100)]
docs: update synchronization document a little

11 years agosystemclock: add OTHER clock type
Wim Taymans [Thu, 20 Dec 2012 15:40:04 +0000 (16:40 +0100)]
systemclock: add OTHER clock type

Add an OTHER clock type so that subclasses are able to mark themselves as
using some other clock source than the realtime or monotonic clock.

11 years agomultiqueue: correct overrun handling
Branko Subasic [Thu, 20 Dec 2012 12:31:02 +0000 (13:31 +0100)]
multiqueue: correct overrun handling

The control of wheteher a SingleQueue is full is not correct.
Rewrote single_queue_overrun_cb() so it checks the correct variables
when checking if the queue has reached the hard limits, and to
increase the max buffer limit once for each call.

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

11 years agoqueue2: implement buffering query for all modes
Wim Taymans [Thu, 20 Dec 2012 10:59:54 +0000 (11:59 +0100)]
queue2: implement buffering query for all modes

Also implement the buffering query for STREAM mode.

11 years agoqueue2: refactor buffering percent and stats
Wim Taymans [Thu, 20 Dec 2012 10:30:25 +0000 (11:30 +0100)]
queue2: refactor buffering percent and stats

Make methods to get the current buffering percent and the stats. We will use
this in the query later.

11 years agobaseparse: fix invalid output timestamps in some cases
Arnaud Vrac [Thu, 13 Dec 2012 12:47:29 +0000 (13:47 +0100)]
baseparse: fix invalid output timestamps in some cases

11 years agoNEWSEGMENT -> SEGMENT
Wim Taymans [Fri, 14 Dec 2012 14:22:27 +0000 (15:22 +0100)]
NEWSEGMENT -> SEGMENT

11 years agodocs: update plugin docs
Tim-Philipp Müller [Fri, 14 Dec 2012 14:03:43 +0000 (14:03 +0000)]
docs: update plugin docs

Update args/signals etc.

11 years agoadd debug category
Wim Taymans [Fri, 14 Dec 2012 10:09:30 +0000 (11:09 +0100)]
add debug category

Adding a debug category is nicer than logging to the default category

11 years agoelement: improve debug
Wim Taymans [Fri, 14 Dec 2012 10:08:57 +0000 (11:08 +0100)]
element: improve debug

11 years agobasesrc: call _stop when start failed
Wim Taymans [Thu, 13 Dec 2012 13:48:35 +0000 (14:48 +0100)]
basesrc: call _stop when start failed

When we failed to complete the start, call stop again. This makes sure that all
successfull calls to _start are paired with a _stop.

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

11 years agolibs: Use foo/foo.h as single-include header consistently everywhere
Sebastian Dröge [Wed, 12 Dec 2012 16:44:14 +0000 (16:44 +0000)]
libs: Use foo/foo.h as single-include header consistently everywhere

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

11 years agobaseparse: pass DTS and PTS to handle_buffer
Wim Taymans [Tue, 11 Dec 2012 15:46:18 +0000 (16:46 +0100)]
baseparse: pass DTS and PTS to handle_buffer

This makes it handle the timestamps correctly and avoids using a wrong timestamp
for the output.

11 years agobaseparse: improve debug
Wim Taymans [Tue, 11 Dec 2012 15:46:01 +0000 (16:46 +0100)]
baseparse: improve debug

Add pts and dts in debug log

11 years agogst-launch: report execution time in GST_TIME_FORMAT
Andrzej Bieniek [Sat, 3 Nov 2012 16:59:39 +0000 (16:59 +0000)]
gst-launch: report execution time in GST_TIME_FORMAT

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

11 years agoplugin: protect against NULL filename in debug
Wim Taymans [Mon, 10 Dec 2012 10:55:42 +0000 (11:55 +0100)]
plugin: protect against NULL filename in debug

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

11 years agobufferpool: clarify docs
Wim Taymans [Thu, 6 Dec 2012 08:48:08 +0000 (09:48 +0100)]
bufferpool: clarify docs

11 years agocaps: fix docs
Wim Taymans [Wed, 5 Dec 2012 13:56:48 +0000 (14:56 +0100)]
caps: fix docs

11 years agoadapter: fix 0.10 docs to make more sense in 1.0
Wim Taymans [Wed, 5 Dec 2012 13:24:14 +0000 (14:24 +0100)]
adapter: fix 0.10 docs to make more sense in 1.0

11 years agoadapter: fix docs for 1.0
Wim Taymans [Wed, 5 Dec 2012 13:03:27 +0000 (14:03 +0100)]
adapter: fix docs for 1.0

Add parent to chain function signature and use it.

11 years agomessage: add reset-time type string
Wim Taymans [Fri, 30 Nov 2012 09:41:51 +0000 (10:41 +0100)]
message: add reset-time type string

11 years agobin: remove some casts
Wim Taymans [Fri, 30 Nov 2012 09:41:36 +0000 (10:41 +0100)]
bin: remove some casts

11 years agodocs: add link to python porting doc and app dev manual to porting-to-1.0.txt
Tim-Philipp Müller [Wed, 28 Nov 2012 18:08:52 +0000 (18:08 +0000)]
docs: add link to python porting doc and app dev manual to porting-to-1.0.txt

11 years agoconfigure.ac: Update libtool versioning
Edward Hervey [Wed, 28 Nov 2012 16:36:55 +0000 (17:36 +0100)]
configure.ac: Update libtool versioning

In order for 1.x and 1.(x+1) versions to not invade on each other
we need to have different lib versions.

So we need a consistent and predictable scheme:
  library version number = MINOR * 100 + MICRO

Ex:
  1.0.0 => 0 (duh)
  1.0.3 => 3
  1.1.0 => 100
  1.1.1 => 101
  1.2.0 => 120
  1.10.5 => 1005
  ....

11 years agoadd gst-editing-services to PKG_CONFIG_PATH
Luis de Bethencourt [Mon, 26 Nov 2012 23:16:52 +0000 (18:16 -0500)]
add gst-editing-services to PKG_CONFIG_PATH