platform/upstream/gstreamer.git
10 years agoupgrade to 1.2.4 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi tizen_3.0.2014.q3_common tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.m14.3_ivi tizen_3.0_ivi submit/tizen/20140621.005741 submit/tizen/20140621.010055 submit/tizen/20140623.010720 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release tizen_3.0_ivi_release
Yan Yin [Thu, 19 Jun 2014 02:37:48 +0000 (10:37 +0800)]
upgrade to 1.2.4

Change-Id: Ie11e708a3b81c878dfd2ca2dc83a9ecbf43bc991

10 years agoadd packaging files
Yan Yin [Wed, 9 Oct 2013 02:23:39 +0000 (10:23 +0800)]
add packaging files

Change-Id: I6bf89cdea193498b52f3ed27a6f52c342f5590c9

11 years agoRelease 1.2.4 1.2.4
Sebastian Dröge [Fri, 18 Apr 2014 09:24:09 +0000 (11:24 +0200)]
Release 1.2.4

11 years agoUpdate .po files
Sebastian Dröge [Fri, 18 Apr 2014 09:23:58 +0000 (11:23 +0200)]
Update .po files

11 years agostructure: error out when trying to fixate a fraction near an invalid target
Vincent Penquerc'h [Wed, 9 Apr 2014 16:01:01 +0000 (17:01 +0100)]
structure: error out when trying to fixate a fraction near an invalid target

11 years agobaseparse: Fix memory leak
Jose Antonio Santos Cadenas [Wed, 9 Apr 2014 08:15:33 +0000 (10:15 +0200)]
baseparse: Fix memory leak

Queued frames were not released after being pushed, this
caused a leak of the GstBaseParseFrame structure.

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

11 years agogst-launch.1: Playbin2 is dead, long live playbin
Edward Hervey [Thu, 3 Apr 2014 05:36:03 +0000 (07:36 +0200)]
gst-launch.1: Playbin2 is dead, long live playbin

Looks like that was the last remaining mention in core ...

11 years agopad: Include event type in debug output when delaying a sticky event because of not...
Sebastian Dröge [Sat, 29 Mar 2014 09:18:34 +0000 (10:18 +0100)]
pad: Include event type in debug output when delaying a sticky event because of not-linked

11 years agolaunch: place the deep-notify on the right pipeline
Wim Taymans [Tue, 25 Mar 2014 11:38:07 +0000 (12:38 +0100)]
launch: place the deep-notify on the right pipeline

If the toplevel bin is not not a pipeline, we place the bin in a
pipeline. Also make sure that we connect to the deep-notify of this new
pipeline because we will g_signal_handler_disconnect() from it later.

11 years agodocs: fix multiqueue docs for new template names foo_%d -> foo_%u
Tim-Philipp Müller [Fri, 14 Mar 2014 18:40:31 +0000 (18:40 +0000)]
docs: fix multiqueue docs for new template names foo_%d -> foo_%u

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

11 years agoghostpad: use gst_pad_get_peer to acquire a reference to the target pad
George Kiagiadakis [Thu, 6 Mar 2014 11:01:40 +0000 (13:01 +0200)]
ghostpad: use gst_pad_get_peer to acquire a reference to the target pad

This ensures that the lock of the internal pad is held while referencing
it's peer (= the target pad), which ensures that the peer is not
going to be unlinked/destroyed in the meantime.

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

11 years agoghostpad: hold a reference to the target pad while unlinking it
George Kiagiadakis [Thu, 6 Mar 2014 10:40:23 +0000 (12:40 +0200)]
ghostpad: hold a reference to the target pad while unlinking it

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

11 years agobuffer: remove wrong comment
Wim Taymans [Wed, 26 Feb 2014 14:36:42 +0000 (15:36 +0100)]
buffer: remove wrong comment

Refcount and writability are not related for memory objects.

11 years agoparse: Don't dist the bison and flex generated headers
Sebastian Dröge [Mon, 7 Apr 2014 09:36:58 +0000 (11:36 +0200)]
parse: Don't dist the bison and flex generated headers

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

11 years agodocs: Fix typos and remove unknown annotations
Sebastian Rasmussen [Sun, 2 Mar 2014 16:55:45 +0000 (17:55 +0100)]
docs: Fix typos and remove unknown annotations

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

11 years agoqueue2: don't truncate the temp file on shutdown
Wim Taymans [Tue, 18 Feb 2014 14:46:32 +0000 (15:46 +0100)]
queue2: don't truncate the temp file on shutdown

We want to keep the downloaded file untruncated so that we can use it
again later.

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=724373
11 years agoqueue2: Fix merging of ranges
Wim Taymans [Tue, 18 Feb 2014 13:21:20 +0000 (14:21 +0100)]
queue2: Fix merging of ranges

Make a method to get the seeking threshold. If data is further away from
this threshold we want to perform a seek upstream.
When the current downloaded range can merge with the next range,
actually include the data of the next range into the current range
instead of discarding it. Also decide if we seek to the write position
of the merged range or continue reading.

11 years agoerror: GST_RESOURCE_ERROR_NOT_AUTHORIZED will be available since 1.2.4
Sebastian Dröge [Tue, 11 Feb 2014 12:27:25 +0000 (13:27 +0100)]
error: GST_RESOURCE_ERROR_NOT_AUTHORIZED will be available since 1.2.4

11 years agoerror: Add RESOURCE_NOT_AUTHORIZED error
Sebastian Dröge [Tue, 11 Feb 2014 12:09:11 +0000 (13:09 +0100)]
error: Add RESOURCE_NOT_AUTHORIZED error

This allows to distinguish normal read failures from read failures
where we miss authorization.

11 years agoRelease 1.2.3 1.2.3
Sebastian Dröge [Sat, 8 Feb 2014 10:36:27 +0000 (11:36 +0100)]
Release 1.2.3

11 years agoUpdate .po files
Sebastian Dröge [Sat, 8 Feb 2014 10:35:15 +0000 (11:35 +0100)]
Update .po files

11 years agomultiqueue: do not reduce single queue below current level
Arnaud Vrac [Fri, 24 Jan 2014 18:19:08 +0000 (19:19 +0100)]
multiqueue: do not reduce single queue below current level

When the single queue size was just bumped by 1 to allow more buffers to
be added, the buffers limit could be reduced to the current level when
setting the max-size-buffers property. This would result in a stall
since the queue would not grow anymore at this point.

Prevent this by not reducing a single queue size below the current
number of buffers + 1.

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

11 years agopo: Update translations
Sebastian Dröge [Tue, 4 Feb 2014 15:20:08 +0000 (16:20 +0100)]
po: Update translations

11 years agopad: fix sticky event leak after sticky_events_foreach
Thiago Santos [Sat, 18 Jan 2014 01:53:01 +0000 (22:53 -0300)]
pad: fix sticky event leak after sticky_events_foreach

events_foreach adds an extra ref when giving the event to the
user function. In case it was unrefed by the user, this extra ref
disappeared, but events_foreach still should unref again to
lose its own ref before removing the event from the array.

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

11 years agomultiqueue: prevent buffering forever with playbin
Thiago Santos [Wed, 15 Jan 2014 03:12:26 +0000 (00:12 -0300)]
multiqueue: prevent buffering forever with playbin

When prerolling/buffering, multiqueue has its buffers limit set
to 0, this means it can take an infinite amount of buffers.

When prerolling/buffering finishes, its limit is set back to 5, but
only if the current level is lower than 5. It should (almost) never be
and this will cause prerolling/buffering to need to wait to reach the
hard bytes and time limits, which are much higher.

This can lead to a very long startup time. This patch fixes this
by setting the single queues to the max(current, new_value) instead
of simply ignoring the new value and letting it as infinite(0)

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

11 years agosegment: gst_segment_offset_running_time() will be available in 1.2.3
Sebastian Dröge [Wed, 15 Jan 2014 10:12:08 +0000 (11:12 +0100)]
segment: gst_segment_offset_running_time() will be available in 1.2.3

11 years agotests: improve check, also check stream-time
Wim Taymans [Wed, 8 Jan 2014 14:47:10 +0000 (15:47 +0100)]
tests: improve check, also check stream-time

11 years agotests: add unit test for segment _offset_running_time()
Wim Taymans [Wed, 8 Jan 2014 14:31:28 +0000 (15:31 +0100)]
tests: add unit test for segment _offset_running_time()

Add a unit test to check that positive and negative offsets are applied
correctly in various cases.

11 years agopad: use new segment offset method to apply the offset
Wim Taymans [Wed, 8 Jan 2014 13:57:04 +0000 (14:57 +0100)]
pad: use new segment offset method to apply the offset

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

11 years agosegment: add method to offset the segment running-time
Wim Taymans [Wed, 8 Jan 2014 13:54:47 +0000 (14:54 +0100)]
segment: add method to offset the segment running-time

Add a method that can apply an offset to the calculated running-time of
a segment.

11 years agobaseparse: do not ignore TIME segments
Thiago Santos [Wed, 8 Jan 2014 19:28:54 +0000 (16:28 -0300)]
baseparse: do not ignore TIME segments

TIME segments are being ignored and a standard initialized
segment is used instead. This causes issues as not properly detecting
reverse playback or not cliping output based on the segment.

This seems to be a regression from one of the GstSegment/GstEvent
redesigns on the 0.10 -> 1.0 transition

11 years agosegment: take offset into account in _to_position()
Wim Taymans [Wed, 8 Jan 2014 14:23:00 +0000 (15:23 +0100)]
segment: take offset into account in _to_position()

Take the offset into account when converting between running-time and
segment positions.

11 years agocollectpads: take offset into account for expected segment position
Wim Taymans [Wed, 8 Jan 2014 13:52:04 +0000 (14:52 +0100)]
collectpads: take offset into account for expected segment position

The firt valid segment position is start + offset.
Also add some more debug and a FIXME

11 years agotests: baseparse: add test for reverse playback on passthrough
Thiago Santos [Mon, 13 Jan 2014 11:37:37 +0000 (08:37 -0300)]
tests: baseparse: add test for reverse playback on passthrough

Baseparse stores buffers for reverse playback to push on the next
DISCONT, the issue was that it wouldn't ever check for a discont
on passthrough mode as it skips all real parsing. This test
was create to verify this issue and prevent it from happening again

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

11 years agotests: baseparse: add basic test for baseparse
Thiago Santos [Sat, 11 Jan 2014 13:49:17 +0000 (10:49 -0300)]
tests: baseparse: add basic test for baseparse

Just a small test to check that basic playback works

11 years agobaseparse: do not accumulate buffers on passthrough mode
Thiago Santos [Fri, 10 Jan 2014 12:10:06 +0000 (09:10 -0300)]
baseparse: do not accumulate buffers on passthrough mode

If on passthrough during reverse playback, do not accumulate buffers as
baseparse will never check for DISCONT flag to push those buffers.
So just push buffers downstream as if it was forward playback.

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

11 years agobaseparse: remove pending_segment as it was being misused
Thiago Santos [Thu, 2 Jan 2014 19:22:37 +0000 (16:22 -0300)]
baseparse: remove pending_segment as it was being misused

It wasn't required, instead baseparse was using it to check the media
caps to identify if it was handling audio or video.

The pending_segment was removed and a checked_media boolean
replaced it for a more accurate naming.

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

11 years agobaseparse: push pending events before GAP event
Thiago Santos [Thu, 2 Jan 2014 16:43:54 +0000 (13:43 -0300)]
baseparse: push pending events before GAP event

A GAP event is handled as an empty buffer by sinks and they expect
to receive start up events before GAP events (like a segment).

This is important specially if there is a GAP at the beginning of
a stream (before any buffers) so that the segment event can be
pushed downstream before the GAP

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

11 years agobaseparse: refactor pending events pushing
Thiago Santos [Thu, 2 Jan 2014 16:41:25 +0000 (13:41 -0300)]
baseparse: refactor pending events pushing

Refactor code repeated 3 times to a common function

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

11 years agodocs: add missing files for distribution
Sebastian Rasmussen [Tue, 3 Dec 2013 23:10:36 +0000 (00:10 +0100)]
docs: add missing files for distribution

 * add some documentation files in docs/design
 * add docs/list-ulink.xsl so check in docs/manual works

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

11 years agomultiqueue: Fix hanging if shut down while handling a serialized query
YanpingZhang [Fri, 3 Jan 2014 03:47:23 +0000 (11:47 +0800)]
multiqueue: Fix hanging if shut down while handling a serialized query

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

11 years agopad: Add unit test for adding/removing blocking probes while a pad is blocked
Sebastian Dröge [Thu, 2 Jan 2014 12:34:52 +0000 (13:34 +0100)]
pad: Add unit test for adding/removing blocking probes while a pad is blocked

And make sure that these new probes are actually called if they should
instead of silently blocking the pad forever.

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

11 years agopad: Check if new probes need to be called when adding/removing some
Sebastian Dröge [Thu, 2 Jan 2014 12:33:20 +0000 (13:33 +0100)]
pad: Check if new probes need to be called when adding/removing some

This allows blocking a pad, add a new blocking probe, removing
the first probe and then having the second probe called. Which
could then decide that data-flow should actually continue
instead of blocking now.

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

11 years agotee: Remove dyn lock
Sebastian Dröge [Thu, 2 Jan 2014 10:13:27 +0000 (11:13 +0100)]
tee: Remove dyn lock

It was used for pad-alloc in 0.10 but currently is completely unused
and not necessary. All pad access is protected by the tee object lock
and keeping another reference to the current pad.

11 years agotee: Keep another ref to our one and only srcpad around while pushing
Sebastian Dröge [Thu, 2 Jan 2014 10:09:59 +0000 (11:09 +0100)]
tee: Keep another ref to our one and only srcpad around while pushing

A pad probe on that pad might otherwise just release the pad, drop
the last reference and cause great misery.

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

11 years agopad: Keep an extra ref of the pad when calling an IDLE probe immediately
Sebastian Dröge [Mon, 30 Dec 2013 18:03:22 +0000 (19:03 +0100)]
pad: Keep an extra ref of the pad when calling an IDLE probe immediately

The callback might destroy the pad.

11 years agopad: Only call IDLE probes if we are actually idle
Sebastian Dröge [Mon, 30 Dec 2013 17:44:24 +0000 (18:44 +0100)]
pad: Only call IDLE probes if we are actually idle

Also only check the data types for non-IDLE probes. When we
are idle, we have no data type obviously.

Previously we were calling IDLE probes during data flow whenever
a non-blocking probe would be called. The pad was usually not idle
at that time.

11 years agopad: Don't ignore probe callback return value when immediately calling IDLE probe
Sebastian Dröge [Mon, 30 Dec 2013 09:01:39 +0000 (10:01 +0100)]
pad: Don't ignore probe callback return value when immediately calling IDLE probe

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

11 years agoscripts: git-update.sh: fix for non-master branches
Pedro Côrte-Real [Sun, 29 Dec 2013 14:06:55 +0000 (14:06 +0000)]
scripts: git-update.sh: fix for non-master branches

Pull from tracking branch instead of origin/master, so
that this works with e.g. 1.2 as well.

11 years agoRelease 1.2.2 1.2.2
Sebastian Dröge [Thu, 26 Dec 2013 16:34:18 +0000 (17:34 +0100)]
Release 1.2.2

11 years agoUpdate .po files
Sebastian Dröge [Thu, 26 Dec 2013 16:31:38 +0000 (17:31 +0100)]
Update .po files

11 years agopo: Update translations
Sebastian Dröge [Thu, 26 Dec 2013 15:44:57 +0000 (16:44 +0100)]
po: Update translations

11 years agofunnel: Setting the PROXY_CAPS flag on the srcpad does not make much sense
Sebastian Dröge [Fri, 20 Dec 2013 13:30:22 +0000 (14:30 +0100)]
funnel: Setting the PROXY_CAPS flag on the srcpad does not make much sense

funnel outputs whatever one of the upstreams currently outputs, a caps
query to a random upstream does not give the right answer here.

11 years agofunnel: Proxy CAPS and ALLOCATION queries
Sebastian Dröge [Fri, 20 Dec 2013 10:37:53 +0000 (11:37 +0100)]
funnel: Proxy CAPS and ALLOCATION queries

11 years agomultiqueue: post 100% buffering if single queue is not linked
Thiago Santos [Mon, 18 Nov 2013 13:46:00 +0000 (10:46 -0300)]
multiqueue: post 100% buffering if single queue is not linked

This makes buffering stop in case a stream switch happens. This is
important for adaptive streams that can disable not-linked streams
to avoid consuming the network bandwidth.

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

11 years agoqueue: don't ignore event return value
Wim Taymans [Wed, 11 Dec 2013 13:42:34 +0000 (14:42 +0100)]
queue: don't ignore event return value

Pass the event return value upstream.
Remove strange goto construct.

11 years agotests: fix GstBus unit test with latest GLib
Tim-Philipp Müller [Mon, 18 Nov 2013 15:28:32 +0000 (15:28 +0000)]
tests: fix GstBus unit test with latest GLib

g_source_remove() works on the default main context, and
we're doing things with a custom context. Fixes warning
with newer GLib versions.

11 years agotools: gst-launch: don't try to remove already-removed GSource from main loop
Tim-Philipp Müller [Thu, 5 Dec 2013 00:26:13 +0000 (00:26 +0000)]
tools: gst-launch: don't try to remove already-removed GSource from main loop

It's considered a programming error in recent GLib versions now.
We may already have removed the source by returning FALSE from
the callback if it was fired. Fixes warning with newer GLibs
when interrupting a pipeline with Control-C.

11 years agomultiqueue: Wake up on reconfigure event
Olivier Crête [Tue, 3 Dec 2013 03:22:36 +0000 (22:22 -0500)]
multiqueue: Wake up on reconfigure event

After patch bda406c4, the state of the singlequeue was set to OK, but nothing
would then wake up the thread, as the other wakeup functions only look at
singlequeues that are marked as having received as not-linked.

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

11 years agogstpad: drop assertion on gst_pad_peer_query_position
Thiago Santos [Tue, 19 Nov 2013 14:41:54 +0000 (11:41 -0300)]
gstpad: drop assertion on gst_pad_peer_query_position

It is a 'both' query, so it can be sent both ways

11 years agoinputselector: handle gap events
Thiago Santos [Mon, 18 Nov 2013 21:11:56 +0000 (18:11 -0300)]
inputselector: handle gap events

Use gap events to advance the selector's pad position.

This is relevant to keep sync_streams mode working when one of the
streams doesn't have data all the time.

11 years agoRevert "ghostpad: copy sticky events to SRC ghostpads"
Wim Taymans [Fri, 29 Nov 2013 16:02:41 +0000 (17:02 +0100)]
Revert "ghostpad: copy sticky events to SRC ghostpads"

This reverts commit 8162a583a4dd68582bf186e2e47a8f0d68fa1980.

Automatically copying the sticky events makes it impossible for apps
and elements to filter the events with event probes. This causes
regressions (See #719437). The best option is to let the app/element
copy and filter the events themselves after the ghostpad target is
set.

11 years agobin: Resync iterator if necessary
Sebastian Dröge [Fri, 15 Nov 2013 06:32:48 +0000 (07:32 +0100)]
bin: Resync iterator if necessary

11 years agobaseparse: ensure to preserve upstream timestamps
Mark Nauwelaerts [Sat, 16 Nov 2013 14:17:57 +0000 (15:17 +0100)]
baseparse: ensure to preserve upstream timestamps

... rather than have subclass coming up with an internally parsed one.

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

11 years agoghostpad: copy sticky events to SRC ghostpads
Wim Taymans [Thu, 21 Nov 2013 13:13:16 +0000 (14:13 +0100)]
ghostpad: copy sticky events to SRC ghostpads

Update the sticky events on SRC ghostpads when retargeting. This ensures
that the ghostpad has the exect same sticky events as the target pad. We
don't want to do this for SINK ghostpads, they got the events from
downstream and we don't want to overwrite them with the target pad
events.

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

11 years agogstutils: Escape stream id format in comments
Sebastian Rasmussen [Fri, 22 Nov 2013 00:35:18 +0000 (01:35 +0100)]
gstutils: Escape stream id format in comments

These must be escaped for gtk-doc to parse the comments without warnings.

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

11 years agoquery: Fix gi annotations of gst_structure_new_custom()
Olivier Crête [Tue, 26 Nov 2013 00:04:38 +0000 (19:04 -0500)]
query: Fix gi annotations of gst_structure_new_custom()

11 years agogst-launch: exit with an error code when an error occured
Philippe Normand [Thu, 14 Nov 2013 14:32:59 +0000 (15:32 +0100)]
gst-launch: exit with an error code when an error occured

If the pipeline failed to pre-roll or the user interrupted the
execution then set the exit code to a positive value.

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

11 years agopluginloader: check read/write before closed
Wim Taymans [Mon, 18 Nov 2013 20:39:54 +0000 (21:39 +0100)]
pluginloader: check read/write before closed

first try to read or write on the socket before checking the closed state. This
makes sure we handle all data on the socket before erroring out.

11 years agopoll: improve debug
Wim Taymans [Mon, 18 Nov 2013 20:37:06 +0000 (21:37 +0100)]
poll: improve debug

So that we can see the return values of functions in the log.

11 years agoRelease 1.2.1 1.2.1
Sebastian Dröge [Sat, 9 Nov 2013 11:09:00 +0000 (12:09 +0100)]
Release 1.2.1

11 years agoUpdate .po files
Sebastian Dröge [Sat, 9 Nov 2013 11:08:51 +0000 (12:08 +0100)]
Update .po files

11 years agopo: Update translations
Sebastian Dröge [Sat, 9 Nov 2013 11:00:23 +0000 (12:00 +0100)]
po: Update translations

11 years agobaseparse: try first frame pts and dts for a valid start timestamp
Mark Nauwelaerts [Sat, 2 Nov 2013 14:38:13 +0000 (15:38 +0100)]
baseparse: try first frame pts and dts for a valid start timestamp

11 years agobaseparse: print proper variable in debug statement
Mark Nauwelaerts [Sat, 2 Nov 2013 14:37:30 +0000 (15:37 +0100)]
baseparse: print proper variable in debug statement

11 years agosegment: resurrect sanitizing start and stop for seeking
Mark Nauwelaerts [Sat, 2 Nov 2013 14:36:19 +0000 (15:36 +0100)]
segment: resurrect sanitizing start and stop for seeking

11 years agobasesrc: mind boggling wrap when comparing offsets
Mark Nauwelaerts [Sat, 2 Nov 2013 14:42:07 +0000 (15:42 +0100)]
basesrc: mind boggling wrap when comparing offsets

11 years agotypefind: use g_get_prgname() for error message
Stefan Sauer [Mon, 4 Nov 2013 17:57:18 +0000 (18:57 +0100)]
typefind: use g_get_prgname() for error message

11 years agovalve: proxy caps and allocation
Wim Taymans [Wed, 6 Nov 2013 09:15:59 +0000 (10:15 +0100)]
valve: proxy caps and allocation

Proxy the caps queries on the srcpad as well.
Proxy the allocation query on the sinkpad.

11 years agodatetime: Make sure to include gst_private.h before glib-compat-private.h
Sebastian Dröge [Tue, 15 Oct 2013 09:44:05 +0000 (11:44 +0200)]
datetime: Make sure to include gst_private.h before glib-compat-private.h

We need to define the GLib log domain before including glib.h, which is
included by glib-compat-private.h.

11 years agoparse: Fix transfer annotations for parse_launch functions.
Jan Schmidt [Sat, 12 Oct 2013 05:16:09 +0000 (16:16 +1100)]
parse: Fix transfer annotations for parse_launch functions.

gst_parse_launchv, gst_parse_launchv_full and gst_parse_launch_full
all return floating refs, the same as gst_parse_launch, which just
calls gst_parse_launch_full internally anyway.

Add a unit test assertion to check it's true.

Spotted by nemequ on IRC.

11 years agocollectpads: Call the collected function while it returns FLOW_OK
Thibault Saunier [Wed, 9 Oct 2013 18:36:48 +0000 (15:36 -0300)]
collectpads: Call the collected function while it returns FLOW_OK

This allows us to make sure the elements is EOS and does not have
remaining buffers to be drained.

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

11 years agocore: Fix max DEBUG_LEVEL incongruence on 5 vs 9
Reynaldo H. Verdejo Pinochet [Thu, 10 Oct 2013 15:30:27 +0000 (08:30 -0700)]
core: Fix max DEBUG_LEVEL incongruence on 5 vs 9

In the docs and the autocompletion logic the maximum
value jumped incongruently between 5 and 9.

11 years agodocs: Fix some reference URIs
Fabian Kirsch [Thu, 10 Oct 2013 10:56:54 +0000 (12:56 +0200)]
docs: Fix some reference URIs

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

11 years agopluginloader: Check errors on the proper fd
Edward Hervey [Sat, 28 Sep 2013 06:40:42 +0000 (08:40 +0200)]
pluginloader: Check errors on the proper fd

Most likely a copy-paste error from the block before.

If we're going to check for error/closed on the write fd... do it
on the write fd

11 years agoAutomatic update of common submodule
Tim-Philipp Müller [Tue, 24 Sep 2013 16:23:54 +0000 (17:23 +0100)]
Automatic update of common submodule

From 6b03ba7 to 7412249

11 years agoRelease 1.2.0 0.10.36 1.2.0 submit/devel/gst/20131028.042525 upstream/0.10.36
Sebastian Dröge [Tue, 24 Sep 2013 12:07:02 +0000 (14:07 +0200)]
Release 1.2.0

11 years agoUpdate .po files
Sebastian Dröge [Tue, 24 Sep 2013 12:06:28 +0000 (14:06 +0200)]
Update .po files

11 years agocontext: Add test for the context caching in GstBin
Sebastian Dröge [Tue, 24 Sep 2013 11:10:36 +0000 (13:10 +0200)]
context: Add test for the context caching in GstBin

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

11 years agoRevert "Potential GstContext regression"
Sebastian Dröge [Tue, 24 Sep 2013 10:47:52 +0000 (12:47 +0200)]
Revert "Potential GstContext regression"

This reverts commit e658379534eb4a90b654d90f1d0bdf86f37c6e31.

This test commit should've never been pushed. Oops.

11 years agobin: Make sure to cache context types that we did not store yet
Sebastian Dröge [Tue, 24 Sep 2013 10:46:52 +0000 (12:46 +0200)]
bin: Make sure to cache context types that we did not store yet

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

11 years agoPotential GstContext regression
Alex Ashley [Tue, 24 Sep 2013 09:29:06 +0000 (10:29 +0100)]
Potential GstContext regression

Since the refactoring of GstContext (commits
qc9fa2771b508e9aaeecc700e66e958190476f,
a7f5dc8b8af837f01782d1572379948ff62daab7,
690326f906dc82e41ea58b81cdb2e3e88b754,
d367dc1b0d4ecb37f4d27267e03d7bf0c6c06a6, and
82d158aed3f2e8545e1e7d35085085ff58f18) I am no longer able to get
a shared context for an element that is used twice in a pipeline.

I used the documentation and eglglessink as my reference for
implementing the GstContext logic.

As the code was tied to a hardware decoder, I have ported the
GstContext code to fakesink to show the problem. Using the old
API a single ExampleMgr instance is created, but using the new
API each element is creating its own instance.

11 years agocollectpads: Make sure that the object lock is always taken when accessing the privat...
Sebastian Dröge [Tue, 24 Sep 2013 08:42:06 +0000 (10:42 +0200)]
collectpads: Make sure that the object lock is always taken when accessing the private pad list

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

11 years agocollectpads: Use private pad list in set_flushing_unlocked
Mathieu Duponchelle [Tue, 17 Sep 2013 21:23:34 +0000 (23:23 +0200)]
collectpads: Use private pad list in set_flushing_unlocked

pads->data is the public list. It is dynamically rebuilt at each call to
check_collected, in check_pads to be specific. When you add a pad and
collectpads have been started, it is not added to the public list.

Thus there exists a possible race where :

1) You would add a pad to collectpads while running.
2) You set collectpads to flushing before check_collected has been called again
-> the pad is not set to flushing
3) the pad starts pushing data as downstream might not be prepared, in the case
of adder it then returns FLOW_FLUSHING.
4) elements like demuxers, when they get a FLOW_FLUSHING, stop their tasks,
never to be seen again.

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

11 years agotests: handle unscheduled entries correctly
Wim Taymans [Mon, 23 Sep 2013 09:47:14 +0000 (11:47 +0200)]
tests: handle unscheduled entries correctly

Make the testclock return GST_CLOCK_UNSCHEDULED when an unscheduled entry is
used for gst_clock_wait() or gst_clock_wait_async().

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

11 years agogst-uninstalled: Allow specifying the checkout directory by env variable
Edward Hervey [Sun, 22 Sep 2013 09:09:36 +0000 (11:09 +0200)]
gst-uninstalled: Allow specifying the checkout directory by env variable

For some rare cases, one might not be able to use the hardcoded $HOME/gst
location yet would still want to use the gst-uninstalled script as-is (which
has the benefit of being constantly updated).

For these cases, the checkout directory can be specified with the
GST_UNINSTALLED_ROOT environment variable.

Ex:
export GST_UNINSTALLED_ROOT=$HOME/somewhere/with/checkouts

And then just call gst-uninstalled directly:
$GST_UNINSTALLED_ROOT/gstreamer/gst-uninstalled

11 years agoAutomatic update of common submodule
Edward Hervey [Fri, 20 Sep 2013 14:16:26 +0000 (16:16 +0200)]
Automatic update of common submodule

From b613661 to 6b03ba7

11 years agoAutomatic update of common submodule
Tim-Philipp Müller [Thu, 19 Sep 2013 17:42:31 +0000 (18:42 +0100)]
Automatic update of common submodule

From 74a6857 to b613661

11 years agoAutomatic update of common submodule
Tim-Philipp Müller [Thu, 19 Sep 2013 16:34:27 +0000 (17:34 +0100)]
Automatic update of common submodule

From 12af105 to 74a6857

11 years agocheck: testclock: fix function guards
Tim-Philipp Müller [Thu, 19 Sep 2013 16:12:14 +0000 (17:12 +0100)]
check: testclock: fix function guards

Should be g_return_*() not g_assert(), even if it's for tests only.