Commit graph

14541 commits

Author SHA1 Message Date
Stefan Sauer
030103596e 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-05 18:42:43 +00:00
Stefan Sauer
e52bebfa57 docs: update the controller docs
Add the control bindings to the docs. Add a little more detail.
2013-02-05 18:42:43 +00:00
Stefan Sauer
bb6bbd4a0b porting: a few updates for the porting guide 2013-02-05 18:42:43 +00:00
Wim Taymans
2aaacfc66b tests: add basesink test 2013-02-05 17:37:22 +01:00
Wim Taymans
0b72d1af1a 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

Conflicts:
	libs/gst/base/gstbasesink.c
2013-02-05 17:37:13 +01:00
Nate Bogdanowicz
25c6490109 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:28:36 +01:00
Tim-Philipp Müller
5180ff7c54 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.

Conflicts:
	plugins/elements/gstdataqueue.c
2013-01-30 13:19:09 +00:00
Alexander Schrab
fd366ce628 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:12:58 +00:00
Alexander Schrab
ca5628ad8c 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:12:45 +00:00
Tim-Philipp Müller
1b46969f7e 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

Conflicts:
	plugins/elements/gstqueuearray.c
2013-01-30 12:11:33 +00:00
Tim-Philipp Müller
eb37f4e590 tests: one more test for gst_queue_array_drop_element()
https://bugzilla.gnome.org/show_bug.cgi?id=692691
2013-01-30 11:16:40 +00:00
Alexander Schrab
53a7fe04a0 tests: add checks for gst_queue_array_find() and _drop_element()
https://bugzilla.gnome.org/show_bug.cgi?id=692691
2013-01-30 11:11:51 +00:00
Alexander Schrab
0b2ccd5ff1 queuearray: fix gst_queue_array_find()
https://bugzilla.gnome.org/show_bug.cgi?id=692691
2013-01-30 11:11:39 +00:00
Alexander Schrab
a1568a3054 queuearray: fix gst_queue_array_drop_element()
https://bugzilla.gnome.org/show_bug.cgi?id=692691
2013-01-30 11:11:06 +00:00
Wim Taymans
1ee8ec7921 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 10:08:06 +01:00
Simon Feltman
dc7eca6264 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 21:00:25 +00:00
Wim Taymans
74e2a8b139 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:52:43 +01:00
Niv Sardi
36d8f6b925 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:43:35 +01:00
Niv Sardi
d285109a5c 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 10:15:20 +01:00
Tim-Philipp Müller
e193509d4d tools: minor addition to gst-launch-1.0 man page
https://bugzilla.gnome.org/show_bug.cgi?id=692015
2013-01-21 11:26:25 +00:00
Tim-Philipp Müller
1df76342ef 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-21 11:26:20 +00:00
Tim-Philipp Müller
7ae5371302 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-17 10:33:57 +00:00
Tim-Philipp Müller
78c51ea628 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-17 10:33:57 +00:00
Tim-Philipp Müller
0712bec95b pipeline: add allow-none annotation for gst_pipeline_new()'s name property 2013-01-17 10:33:57 +00:00
Tim-Philipp Müller
bfa593bb11 docs: minor GstBaseParse docs fixes
Expose docs for gst_base_parse_finish_frame().
2013-01-17 10:33:57 +00:00
Wim Taymans
63e020c502 typefind: handle map failure 2013-01-17 10:33:57 +00:00
Wim Taymans
23570c6ca5 basesrc: handle map failure 2013-01-17 10:33:56 +00:00
Wim Taymans
ed001daaeb adapter: handle map failure 2013-01-17 09:34:05 +00:00
Stefan Sauer
e4f420640a controlbinding: hide one unused typedef
This is not used internally.
2013-01-17 09:33:16 +00:00
Stefan Sauer
4ad67a66f1 docs: improve api docs for controlsource and -binding 2013-01-17 09:33:12 +00:00
Tim-Philipp Müller
2edcc0ccbf Release 1.0.5 2013-01-08 00:41:29 +00:00
Tim-Philipp Müller
41e0f37de3 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:46 +00:00
Tim-Philipp Müller
6b078905b4 docs: update since markers for new NO_RESYNC flag 2013-01-04 12:50:47 +00:00
Tim-Philipp Müller
b5364a76c3 docs: minor systemsclock doc fix 2013-01-04 12:30:39 +00:00
Tim-Philipp Müller
e2f141cbc2 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
2013-01-04 12:24:21 +00:00
Thijs Vermeir
3a0d099f6b scripts: fix location of repository with ssh 2013-01-04 12:24:04 +00:00
Wim Taymans
87a3fa5595 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
2013-01-04 12:24:01 +00:00
Wim Taymans
e8e0fc54e2 docs: update synchronization document a little 2013-01-04 12:23:54 +00:00
Wim Taymans
d75f4499e4 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.
2013-01-04 12:23:17 +00:00
Tim-Philipp Müller
b0dedc83a6 Release 1.0.4 2012-12-18 17:25:34 +00:00
Tim-Philipp Müller
09f0e23436 po: update translations 2012-12-18 17:09:18 +00:00
Wim Taymans
b11439c0df add debug category
Adding a debug category is nicer than logging to the default category
2012-12-14 15:33:32 +01:00
Wim Taymans
5379cb5ed1 NEWSEGMENT -> SEGMENT 2012-12-14 15:33:21 +01:00
Wim Taymans
45692eb014 element: improve debug 2012-12-14 15:33:08 +01:00
Wim Taymans
ef7d83d515 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-14 15:33:00 +01:00
Wim Taymans
0a491a8c56 baseparse: improve debug
Add pts and dts in debug log
2012-12-14 15:32:32 +01:00
Tim-Philipp Müller
6a589f0d52 docs: clean up sections file for pad probe defines that moved into enum 2012-12-10 13:47:47 +00:00
Wim Taymans
d2c80488e1 plugin: protect against NULL filename in debug
See https://bugzilla.gnome.org/show_bug.cgi?id=689948
2012-12-10 13:44:47 +00:00
Wim Taymans
767018e971 bufferpool: clarify docs 2012-12-10 13:44:41 +00:00
Wim Taymans
28ae8612e6 caps: fix docs 2012-12-10 13:44:33 +00:00