Wim Taymans
e697254fc1
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.
2013-01-29 09:52:16 +01:00
Stefan Sauer
b5906cda6e
Automatic update of common submodule
...
From a942293 to 2de221c
2013-01-28 20:41:20 +01:00
Wim Taymans
b215950234
example: fix FIXME in example
...
Use setpriority to raise priority
2013-01-28 13:05:44 +01:00
Simon Feltman
d2b03a4537
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
2013-01-27 20:55:38 +00:00
B.Prathibha
9fddb6c3cd
tests: use g_timeout_add_seconds in pipeline stress test
...
https://bugzilla.gnome.org/show_bug.cgi?id=692612
2013-01-27 14:52:39 +00:00
Olivier Crête
10154e2f97
docs: Put the right path for the gstttestclock include file
2013-01-24 17:50:31 -05:00
Wim Taymans
8dbf48f5bf
pwg: rename variable
...
The filter variable was used twice for different things.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=692432
2013-01-24 15:50:17 +01:00
Niv Sardi
4b3aee5698
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
2013-01-24 15:41:35 +01:00
Niv Sardi
4adee0dee2
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
2013-01-24 09:21:01 +01:00
Tim-Philipp Müller
c0926dc7cc
pad: add gst_pad_get_stream_id() utility function
...
API: gst_pad_get_stream_id()
2013-01-19 12:51:56 +00:00
Tim-Philipp Müller
c015b70456
tools: minor addition to gst-launch-1.0 man page
...
https://bugzilla.gnome.org/show_bug.cgi?id=692015
2013-01-18 16:05:09 +00:00
Tim-Philipp Müller
1ccf9cf006
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
2013-01-18 16:01:11 +00:00
Daniel Díaz
a26a98209b
tests: fix ABI check struct sizes for ARM
...
and re-enable ABI check for ARM.
https://bugzilla.gnome.org/show_bug.cgi?id=691828
2013-01-17 09:27:48 +00:00
Tim-Philipp Müller
e90d2710b3
docs: add a note to the gst_adapter_take_buffer() docs about buffer flags
...
https://bugzilla.gnome.org/show_bug.cgi?id=682110
2013-01-16 17:24:42 +00:00
Tim-Philipp Müller
47c2fc4aba
tests: disable ABI checks for architectures where the struct sizes are not up-to-date
...
https://bugzilla.gnome.org/show_bug.cgi?id=691828
2013-01-16 11:29:47 +00:00
Tim-Philipp Müller
2f1d83a6d1
Automatic update of common submodule
...
From 2a068ce to a942293
2013-01-15 15:03:43 +00:00
Tim-Philipp Müller
64eee27ebc
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.
2013-01-15 13:47:32 +00:00
Tim-Philipp Müller
3a5584f044
po: update for new translated string
2013-01-15 13:47:13 +00:00
Tim-Philipp Müller
b836ddf8c6
pipeline: add allow-none annotation for gst_pipeline_new()'s name property
2013-01-15 09:42:20 +00:00
Tim-Philipp Müller
5ea8937f56
docs: minor GstBaseParse docs fixes
...
Expose docs for gst_base_parse_finish_frame().
2013-01-14 20:05:23 +00:00
Wim Taymans
30010356f2
typefind: handle map failure
2013-01-14 17:01:22 +01:00
Wim Taymans
27832606e5
basesrc: handle map failure
2013-01-14 17:00:46 +01:00
Wim Taymans
bac5ba632e
adapter: handle map failure
2013-01-14 17:00:23 +01:00
Tim-Philipp Müller
1702623b20
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
2013-01-13 14:45:31 +00:00
Tim-Philipp Müller
2b1facfe1d
baseparse: fix up name of default event vfuncs
2013-01-12 20:54:26 +00:00
Stefan Sauer
5898042610
controlbinding: hide one unused typedef
...
This is not used internally.
2013-01-10 11:34:14 +01:00
Stefan Sauer
06cf9deafe
docs: improve api docs for controlsource and -binding
2013-01-10 11:33:42 +01:00
Tim-Philipp Müller
e9497b7bf0
tests: fix leak in ghostpad unit test
...
The created pad is never used and overwritten with
another newly-created pad a few lines below.
2013-01-05 16:31:06 +00:00
Tim-Philipp Müller
1506784215
docs: minor systemsclock doc fix
2013-01-04 12:27:38 +00:00
Sebastian Dröge
925bdaa836
basesink: Initialize uninitialized variable
2013-01-03 10:17:11 +01:00
Thijs Vermeir
67fab5eaa5
adapter: return gssize from gst_adapter_masked_scan_* functions
...
As the return value of this function is -1 when the match is not found
2013-01-02 10:40:38 +01:00
Sebastian Dröge
c859a1719c
basesink: Check if buffers are too late before calling prepare/prepare_list
...
https://bugzilla.gnome.org/show_bug.cgi?id=690936
2013-01-01 10:48:56 +01:00
Tim-Philipp Müller
d0c8831f1f
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
2012-12-30 23:48:47 +00:00
Tim-Philipp Müller
22036ef1c4
caps, structure, taglist: micro-optimisations
...
Avoid some unnecessary GValue copying by making use of
gst_structure_id_take_value() where possible.
2012-12-22 16:55:26 +00:00
Tim-Philipp Müller
172011d1f5
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.
2012-12-22 16:38:58 +00:00
Thijs Vermeir
b80304d64c
scripts: fix location of repository with ssh
2012-12-22 16:53:47 +01:00
Wim Taymans
b163c09104
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
2012-12-21 16:36:37 +01:00
Wim Taymans
bc54ec2677
docs: update synchronization document a little
2012-12-21 10:09:30 +01:00
Wim Taymans
49344ecad4
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.
2012-12-20 16:40:04 +01:00
Branko Subasic
17bff49262
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
2012-12-20 15:34:01 +01:00
Wim Taymans
6c968bbdf1
queue2: implement buffering query for all modes
...
Also implement the buffering query for STREAM mode.
2012-12-20 11:59:54 +01:00
Wim Taymans
7c056a9473
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.
2012-12-20 11:30:25 +01:00
Arnaud Vrac
4a1ff7fa95
baseparse: fix invalid output timestamps in some cases
2012-12-17 12:26:14 +01:00
Wim Taymans
fac7eb0a50
NEWSEGMENT -> SEGMENT
2012-12-14 15:24:30 +01:00
Tim-Philipp Müller
aa8d2d6580
docs: update plugin docs
...
Update args/signals etc.
2012-12-14 14:04:41 +00:00
Wim Taymans
5f2fbb6370
add debug category
...
Adding a debug category is nicer than logging to the default category
2012-12-14 11:09:30 +01:00
Wim Taymans
63cc762626
element: improve debug
2012-12-14 11:08:57 +01:00
Wim Taymans
6e6fc159a7
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
2012-12-13 14:48:35 +01:00
Sebastian Dröge
e58dabc750
libs: Use foo/foo.h as single-include header consistently everywhere
...
https://bugzilla.gnome.org/show_bug.cgi?id=688785
2012-12-12 16:44:14 +00:00
Wim Taymans
7518960829
baseparse: pass DTS and PTS to handle_buffer
...
This makes it handle the timestamps correctly and avoids using a wrong timestamp
for the output.
2012-12-11 16:46:18 +01:00