Wim Taymans
51ebcaef74
tests: add basesink test
2013-02-05 17:22:37 +01:00
Wim Taymans
2ea32f3ab5
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
2013-02-05 17:22:37 +01:00
Nate Bogdanowicz
6b717600b5
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
2013-02-05 14:23:20 +01:00
Wim Taymans
ea6b05d126
structure: change argument name for docs
2013-02-05 13:44:06 +01:00
Stefan Sauer
f989e6f2d7
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.
2013-02-04 10:31:46 +01:00
Stefan Sauer
fba696eb05
docs: update the controller docs
...
Add the control bindings to the docs. Add a little more detail.
2013-02-01 22:00:18 +01:00
Stefan Sauer
bbf77402f0
porting: a few updates for the porting guide
2013-02-01 22:00:18 +01:00
Tim-Philipp Müller
3f8eff5c7e
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.
2013-01-30 13:06:44 +00:00
Alexander Schrab
745821d5f1
tests: unit test to trigger the queue/flushing race condition bug for allocation queries
...
https://bugzilla.gnome.org/show_bug.cgi?id=692691
2013-01-30 12:07:52 +00:00
Alexander Schrab
09bb0c2cdb
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
2013-01-30 12:07:52 +00:00
Tim-Philipp Müller
ae8940e6f7
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
2013-01-30 12:07:52 +00:00
Tim-Philipp Müller
8ea19a48ce
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
2013-01-30 11:34:15 +00:00
Tim-Philipp Müller
bc397c780c
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
2013-01-30 11:32:21 +00:00
Alexander Schrab
5a7c1b56dc
queuearray: fix gst_queue_array_find()
...
https://bugzilla.gnome.org/show_bug.cgi?id=692691
2013-01-30 11:24:55 +00:00
Alexander Schrab
af8ff1bed8
queuearray: fix gst_queue_array_drop_element()
...
https://bugzilla.gnome.org/show_bug.cgi?id=692691
Conflicts:
libs/gst/base/gstqueuearray.c
2013-01-30 11:24:35 +00:00
Sreerenj Balachandran
0c643e2cf7
docs: align the comments correctly with the declaration in bitreader docs
...
https://bugzilla.gnome.org/show_bug.cgi?id=692809
2013-01-29 15:43:05 +00:00
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