Commit graph

14555 commits

Author SHA1 Message Date
Nicolas Dufresne 9ce8e5b7ff basesrc: Don't send error if negotiate fails because we are flushing
Negotiation may be aborted by a flush from another thread that need to
stop the task (i.e. seek). Check that case and silently pause the task.

https://bugzilla.gnome.org/show_bug.cgi?id=696357
2013-04-15 08:19:55 +02:00
Wim Taymans 7452a47c71 taglist: avoid triggering an assertion
When deserialization of the structure fails, return a NULL taglist instead of
asserting.
2013-04-13 12:08:55 +01:00
Tim-Philipp Müller f9a10c4dca gst-inspect: only add a '*' for non-'gpointer' pointers
Spotted by Jose Antonio Santos Cadena.

https://bugzilla.gnome.org/show_bug.cgi?id=697791
2013-04-13 12:08:18 +01:00
Jose Antonio Santos Cadenas 52a5bd9b4b gst-inspect: add pointer mark to signal and action return types that are pointers
When the return type of a signal or action is a pointer, it
should have an asterisk to mark it as such.

https://bugzilla.gnome.org/show_bug.cgi?id=697791
2013-04-13 12:08:12 +01:00
Tim-Philipp Müller 5ef30a7019 netclientclock: bind socket before querying local address
Fails on windows otherwise.

https://bugzilla.gnome.org/show_bug.cgi?id=697608
2013-04-13 12:07:37 +01:00
Wim Taymans e9d7f8cb37 bufferpool: fix docs 2013-04-04 16:40:22 +02:00
Nicolas Dufresne c697912fcb segment: Fix seeking when position is slightly outside the segment
Very often, when the end of a segment is detected by demuxer, the position
is slightly outside the segment boundaries. Currently, if that is the case
the base will be set to NONE instead of normal accumulation. This would
break non-flushing seeks in oggdemux and most likely other demuxers.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=696899
2013-04-04 10:12:37 +02:00
Tim-Philipp Müller a45d8c9d00 Release 1.0.6 2013-03-22 12:33:48 +00:00
Tim-Philipp Müller 74c3fa2347 po: update for new translatable string 2013-03-22 09:53:58 +00:00
Tim-Philipp Müller 9f3d06c4d4 basetransform: don't pass NULL outcaps to transform_size on shutdown
gst_pad_get_current_caps() on the source pad might yield NULL caps
if we're being shut down and the source pad has already been
deactivated by the other thread that's changing state. Just bail
out in that case, instead of passing NULL caps to the transform_size
function, which it might not expect.

Fixes spurious warnings in audioresample shutdown unit test.

https://bugzilla.gnome.org/show_bug.cgi?id=693996
2013-02-21 11:36:55 +00:00
Tim-Philipp Müller f3293d37ce 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
2013-02-13 16:56:12 +00:00
Tim 'mithro' Ansell 926719a0bc gstvalue: Adding offset to GstSegment serialize/deserialize.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=693587
2013-02-11 14:21:49 +01:00
Wim Taymans d5f6642cd7 bin: remove old comment
The iterators now return a GValue and not the object directly anymore.
2013-02-07 12:55:21 +01:00
Wim Taymans 40e150ba8d bin: reset GValue from iterator after usage 2013-02-07 12:55:14 +01:00
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