platform/upstream/gstreamer.git
9 years agodoc/seekflags: Fix cross references
Nicolas Dufresne [Wed, 29 Jul 2015 01:14:22 +0000 (21:14 -0400)]
doc/seekflags: Fix cross references

This fixes miss-use of @ instead of % to refer to enumeration
values.

9 years agodocs: add a few more new symbols and defines
Tim-Philipp Müller [Tue, 28 Jul 2015 21:30:54 +0000 (22:30 +0100)]
docs: add a few more new symbols and defines

9 years agodoc/capsfilter: Document filtering modes
Nicolas Dufresne [Tue, 28 Jul 2015 20:57:43 +0000 (16:57 -0400)]
doc/capsfilter: Document filtering modes

This is documentation for the HTML documentation.

9 years agodoc/filesink: Add BufferMode enumeration
Nicolas Dufresne [Tue, 28 Jul 2015 20:50:55 +0000 (16:50 -0400)]
doc/filesink: Add BufferMode enumeration

This is purely for documentation purpose. This way the values will
show up in the HTML documentation.

9 years agodoc/gsthardness: Fix typo in GstAllocationParams
Nicolas Dufresne [Tue, 28 Jul 2015 19:50:40 +0000 (15:50 -0400)]
doc/gsthardness: Fix typo in GstAllocationParams

It's not GstAllocatorParams but GstAllocationParams.

9 years agodoc/gstharness: Remove unknown parameter
Nicolas Dufresne [Tue, 28 Jul 2015 19:46:09 +0000 (15:46 -0400)]
doc/gstharness: Remove unknown parameter

sink_elenment_name is not a parameter of gst_harness_add_sink_harness()
function, but still it show up in documentation.

9 years agocapsfilter: Only remember previous filter caps if they were actually used for something
Sebastian Dröge [Tue, 28 Jul 2015 09:19:04 +0000 (12:19 +0300)]
capsfilter: Only remember previous filter caps if they were actually used for something

If nobody ever saw the previous filter caps, nothing could've negotiated with
them and we can just pretend they never existed at all.

9 years agocapsfilter: When switching caps change modes, forget all previous caps
Sebastian Dröge [Tue, 28 Jul 2015 09:16:12 +0000 (12:16 +0300)]
capsfilter: When switching caps change modes, forget all previous caps

9 years agobasetransform: Return FLOW_FLUSHING if negotiation fails during shutdown
Olivier Crête [Thu, 23 Jul 2015 22:15:05 +0000 (18:15 -0400)]
basetransform: Return FLOW_FLUSHING if negotiation fails during shutdown

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

9 years agoharness: Fix indendation
Olivier Crête [Wed, 22 Jul 2015 22:55:29 +0000 (18:55 -0400)]
harness: Fix indendation

9 years agobasetransform: Avoid increasing query reference
Nicolas Dufresne [Tue, 21 Jul 2015 17:14:59 +0000 (13:14 -0400)]
basetransform: Avoid increasing query reference

gst_query_find_allocation_meta() requires the query to be
writable to work. This patch ensure avoids taking a reference
on the query, so we can now check if a certain allocation meta
is present.

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

9 years agodocs: fix description of gst_buffer_extract_dup()
Tim-Philipp Müller [Wed, 22 Jul 2015 14:38:06 +0000 (15:38 +0100)]
docs: fix description of gst_buffer_extract_dup()

No GBytes involved.

9 years agoconcat: dot not reset pad states too early
Thiago Santos [Tue, 21 Jul 2015 03:17:28 +0000 (00:17 -0300)]
concat: dot not reset pad states too early

Resetting the flushing state of the pads at the end of the
PAUSED_TO_READY transition will make pads handle serialized
queries again which will wait for non-active pads and might
cause deadlocks when stopping the pipeline.

Move the reset to the READY_TO_PAUSED instead.

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

9 years agoharness: add functions for adding sub-harnesses directly
Havard Graff [Mon, 20 Jul 2015 14:18:06 +0000 (16:18 +0200)]
harness: add functions for adding sub-harnesses directly

By introducing gst_harness_add_src_harness and gst_harness_add_sink_harness
we collect all sub-harness setup in one function, making the previous
sub-harness creation functions now calls these directly, and making it
much easier (and less error-prone) to add your own src or sink-harness
using the more generic harness-creation functions.

9 years agobaseparse: Don't override gst_segment_do_seek()
Nicolas Dufresne [Fri, 17 Jul 2015 21:44:52 +0000 (17:44 -0400)]
baseparse: Don't override gst_segment_do_seek()

This line has no purpose, clearly gst_segment_do_seek() is doing
the right job, also, having the start time (a timestamp) be that
same as time (the stream time) is quite odd.

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

9 years agobaseparse: Fix extrapolation of seeksegment.stop
Nicolas Dufresne [Fri, 17 Jul 2015 21:43:26 +0000 (17:43 -0400)]
baseparse: Fix extrapolation of seeksegment.stop

The stop shall be relative to start if extrapolated from the
duration.

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

9 years agodevicemonitor: do start and stop outside of the lock
Wim Taymans [Thu, 16 Jul 2015 16:47:20 +0000 (18:47 +0200)]
devicemonitor: do start and stop outside of the lock

Release the monitor lock when calling the provider start/stop methods.
Because we release the lock now, We need to make sure we check the
cookie again and keep track of started and removed providers.

9 years agodeviceprovider: small cleanups
Wim Taymans [Thu, 16 Jul 2015 16:43:06 +0000 (18:43 +0200)]
deviceprovider: small cleanups

Protect against wrong arguments.
Clean up the header file indentation.

9 years agodevicemonitor: keep order of providers and devices
Wim Taymans [Thu, 16 Jul 2015 15:25:24 +0000 (17:25 +0200)]
devicemonitor: keep order of providers and devices

The deviceproviders are added to the array sorted by their rank. Make
sure we keep this ordering when removing a provider.

We use _prepend to collect the devices, use g_list_reverse to get the
devices in the right order; sorted by rank and in the same order as
returned by the provider.

9 years agoharness: fix indentation
Tim-Philipp Müller [Thu, 16 Jul 2015 16:50:49 +0000 (17:50 +0100)]
harness: fix indentation

9 years agoharness: fix pad template leak
Tim-Philipp Müller [Thu, 16 Jul 2015 16:50:06 +0000 (17:50 +0100)]
harness: fix pad template leak

9 years agodocs: drop reference to sourceforge mailing list adress
Tim-Philipp Müller [Thu, 16 Jul 2015 16:13:35 +0000 (17:13 +0100)]
docs: drop reference to sourceforge mailing list adress

9 years agoharness: don't re-establish the harness sink and src pads
Havard Graff [Thu, 16 Jul 2015 15:53:40 +0000 (17:53 +0200)]
harness: don't re-establish the harness sink and src pads

Given that the element has the possibility to have one, they should
already be there.

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

9 years agoharness: Improve detection of element type
Stian Selnes [Mon, 13 Jul 2015 09:03:13 +0000 (11:03 +0200)]
harness: Improve detection of element type

The element flag does not indicate wether a bin should be tested as a
source or as a sink, eg. a bin with the sink flag may still have a
source pad and a bin with the source flag may have a sink pad. In this
case it is better to determine the element type by looking at the
available pads and pad templates.

Also rename srcpad and sinkpad where it actually represents
element_srcpad_name and element_sinkpad_name.

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

9 years agoharness: Forward sticky events to sink harness
Stian Selnes [Mon, 13 Jul 2015 09:10:49 +0000 (11:10 +0200)]
harness: Forward sticky events to sink harness

Fixes issue where if a sink harness was added late the sticky events
would not be forwared.

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

9 years agoharness: make header nicer to read
Tim-Philipp Müller [Thu, 16 Jul 2015 11:36:14 +0000 (12:36 +0100)]
harness: make header nicer to read

9 years agodocs: add new function to API docs
Tim-Philipp Müller [Thu, 16 Jul 2015 09:36:36 +0000 (10:36 +0100)]
docs: add new function to API docs

9 years agodevice: add generic struct with properties
Wim Taymans [Wed, 15 Jul 2015 16:21:13 +0000 (18:21 +0200)]
device: add generic struct with properties

Add a generic structure to hold any additional properties about the
device.

9 years agotee: fix typo in allow-not-linked property description
Tim-Philipp Müller [Tue, 14 Jul 2015 11:44:12 +0000 (12:44 +0100)]
tee: fix typo in allow-not-linked property description

9 years agodocs: bus: mention main loop requirement in gst_bus_add_watch() docs
Tim-Philipp Müller [Mon, 13 Jul 2015 13:24:34 +0000 (14:24 +0100)]
docs: bus: mention main loop requirement in gst_bus_add_watch() docs

9 years agotask: add function guard for _set_lock() and fix guard for _join()
Prashant Gotarne [Wed, 18 Mar 2015 10:35:34 +0000 (16:05 +0530)]
task: add function guard for _set_lock() and fix guard for _join()

Should only access the object structure after checking
it's valid in gst_task_join().

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

9 years agoprotection: implement meta transform function
Philippe Normand [Tue, 19 May 2015 16:58:11 +0000 (18:58 +0200)]
protection: implement meta transform function

Copy the GstMeta contents over to the new buffer.

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

9 years agobaseparse: estimate duration on EOS
Vineeth TM [Fri, 10 Jul 2015 00:12:15 +0000 (09:12 +0900)]
baseparse: estimate duration on EOS

For files which are smaller than 1.5 seconds, the duration
estimation does not happen. So the duration will always be
displayed as 0. Updating the duration on EOS when the estimation
has not happened already

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

9 years agoadapter: change log message properly
Hyunjun Ko [Fri, 10 Jul 2015 02:01:21 +0000 (11:01 +0900)]
adapter: change log message properly

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

9 years agodocs: add StreamidDemux to documentation
Justin Joy [Wed, 8 Jul 2015 15:12:51 +0000 (00:12 +0900)]
docs: add StreamidDemux to documentation

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

9 years agoadapter: fix to get valid (buffer_)list
Hyunjun Ko [Wed, 8 Jul 2015 15:21:42 +0000 (00:21 +0900)]
adapter: fix to get valid (buffer_)list

get_list/get_buffer_list should be done with buffers in adapter remaining
while take_list/take_buffer_list flushes each buffer one by one.

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

9 years agoadapter: unit test for new get_(buffer_)list
Hyunjun Ko [Wed, 8 Jul 2015 11:06:27 +0000 (20:06 +0900)]
adapter: unit test for new get_(buffer_)list

9 years agobaseparse: put buffer in a correct state after gst_adapter_get_buffer call
Arnaud Vrac [Wed, 8 Jul 2015 10:00:56 +0000 (12:00 +0200)]
baseparse: put buffer in a correct state after gst_adapter_get_buffer call

We must make the buffer writable to write its PTS and DTS, and also
reset its duration.

The behaviour is now the same as before commit c3bcbadd, except metas
might still be attached to the buffer extracted from the adapter.

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

9 years agoharness: fix indentation and replace stress test function macros
Tim-Philipp Müller [Tue, 7 Jul 2015 14:02:45 +0000 (15:02 +0100)]
harness: fix indentation and replace stress test function macros

These screw with indentation and seem a bit trivial. Just copy'n'paste.

9 years agometa: transform_func: return FALSE if not supported or failed
Hyunjun Ko [Tue, 7 Jul 2015 01:46:48 +0000 (10:46 +0900)]
meta: transform_func: return FALSE if not supported or failed

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

9 years agoidentity: refactor and add tests using GstHarness
Havard Graff [Tue, 7 Jul 2015 09:53:07 +0000 (11:53 +0200)]
identity: refactor and add tests using GstHarness

Writing a test for unscheduling the gst_clock_id_wait inside the
identity element, found an invalid read, caused by removing the clock-id
when calling _unschedule instead of letting the code calling _wait remove
the clock-id after being unscheduled.

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

9 years agoharness: make sure g_assert() statements are always active
Tim-Philipp Müller [Sat, 12 Apr 2014 18:48:15 +0000 (19:48 +0100)]
harness: make sure g_assert() statements are always active

We have code with side effects inside g_assert()s, so make
sure those are always enabled here (they might otherwise
get disabled for release builds).

9 years agoharness: rename GstHarnessPrepareBuffer -> GstHarnessPrepareBufferFunc
Tim-Philipp Müller [Mon, 6 Jul 2015 23:56:41 +0000 (00:56 +0100)]
harness: rename GstHarnessPrepareBuffer -> GstHarnessPrepareBufferFunc

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

9 years agodocs: add GstHarness to documentation
Tim-Philipp Müller [Mon, 6 Jul 2015 23:53:48 +0000 (00:53 +0100)]
docs: add GstHarness to documentation

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

9 years agocheck: Add GstHarness convenience API for unit tests
Havard Graff [Mon, 16 Dec 2013 09:47:47 +0000 (10:47 +0100)]
check: Add GstHarness convenience API for unit tests

http://gstconf.ubicast.tv/videos/gstharness-again-a-follow-up/

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

9 years agobaseparse: reverse playback in pull mode
Vineeth TM [Mon, 6 Jul 2015 00:26:58 +0000 (09:26 +0900)]
baseparse: reverse playback in pull mode

right now reverse playback is disabled in pull mode.
enabling the code for the same and changing a bit of logic
to make reverse playback work.

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

9 years agobaseparse: add reverse playback test in pull mode
Vineeth T M [Fri, 19 Jun 2015 23:33:26 +0000 (08:33 +0900)]
baseparse: add reverse playback test in pull mode

add test for reverse playback in pull mode and compare
the buffers being received in sink chain to make sure
the playback is allright

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

9 years agoRevert "scripts: Allow passing make flags to git-update.sh"
Arun Raghavan [Mon, 6 Jul 2015 09:01:24 +0000 (14:31 +0530)]
Revert "scripts: Allow passing make flags to git-update.sh"

This reverts commit ab5fdd72129ea61e8dff51cdc0afcccac03ebc2b.

We can use the MAKEFLAGS environment variable to pass options to make,
so avoid adding another mechanism that could be confusing.

9 years agopad: Clarify pad probe return type documentation
Arun Raghavan [Mon, 6 Jul 2015 05:46:27 +0000 (11:16 +0530)]
pad: Clarify pad probe return type documentation

9 years agobasesink: Shouldn't drop buffer when sync=false
Song Bing [Thu, 2 Jul 2015 06:32:21 +0000 (14:32 +0800)]
basesink: Shouldn't drop buffer when sync=false

Shouldn't drop buffer when sync=false

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

9 years agoscripts: Allow passing make flags to git-update.sh
Arun Raghavan [Mon, 6 Jul 2015 05:55:50 +0000 (11:25 +0530)]
scripts: Allow passing make flags to git-update.sh

Mostly adding this for add a -jN as appropriate while building.

9 years agoqueue: avoid slice allocs/frees for each item
Tim-Philipp Müller [Sat, 30 May 2015 13:27:05 +0000 (14:27 +0100)]
queue: avoid slice allocs/frees for each item

Microoptimisation: Let GstQueueArray store our
item struct. That way we don't have to alloc/free
temporary QueueItem slices for every item we want
to put into the queue.

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

9 years agoqueuearray: allow storing of structs in addition to pointers
Tim-Philipp Müller [Sat, 30 May 2015 12:07:50 +0000 (13:07 +0100)]
queuearray: allow storing of structs in addition to pointers

This way we don't have to allocate/free temporary structs
for storing things in the queue array.

API: gst_queue_array_new_for_struct()
API: gst_queue_array_push_tail_struct()
API: gst_queue_array_peek_head_struct()
API: gst_queue_array_pop_head_struct()
API: gst_queue_array_drop_struct()

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

9 years agoAutomatic update of common submodule
Stefan Sauer [Fri, 3 Jul 2015 19:57:55 +0000 (21:57 +0200)]
Automatic update of common submodule

From f74b2df to 9aed1d7

9 years agopad: Enforce NEED_PARENT flag also for chain
Olivier Crête [Fri, 19 Jun 2015 04:05:44 +0000 (00:05 -0400)]
pad: Enforce NEED_PARENT flag also for chain

The check for the presence of the parent in the presence of
the NEED_PARENT flag was missing for the chain function. Also keep
a ref on the parent in case the pad is removed mid-chain.

9 years agodocs: update for two missing elements
Stefan Sauer [Fri, 3 Jul 2015 13:55:08 +0000 (15:55 +0200)]
docs: update for two missing elements

Concat was not linked and streamiddemux was missing.

9 years agodocs: another sweep canonicalizing the plugin docs sections file
Stefan Sauer [Fri, 3 Jul 2015 10:37:54 +0000 (12:37 +0200)]
docs: another sweep canonicalizing the plugin docs sections file

Use underscores for capsfilter macros. Correct the type-name for fakesrc
if we ever implement the enum.

9 years agodocs: order and canonicalize the -sections.txt file
Stefan Sauer [Fri, 3 Jul 2015 09:45:19 +0000 (11:45 +0200)]
docs: order and canonicalize the -sections.txt file

Have all sections in alphabetical order. Also make the macro order consistent.
This is a preparation for generating the file. Remove GET_CLASS macro for
typefine element, since it is not used and the header is not installed.

9 years agomemory: Add missing field initializers to GstMapInfo
Stian Selnes [Mon, 16 Dec 2013 10:24:17 +0000 (11:24 +0100)]
memory: Add missing field initializers to GstMapInfo

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

9 years agoinputselector: remove always-true check
Luis de Bethencourt [Thu, 2 Jul 2015 14:10:43 +0000 (15:10 +0100)]
inputselector: remove always-true check

event can't be NULL, it has been dereferenced by GST_EVENT_TYPE (), and no
case frees the pointer. Remove unnecessary check which will always be True.

CID #1308955

9 years agotransform: Also copy POOL metas and make sure to copy over metas when creating subbuffers
Sebastian Dröge [Wed, 1 Jul 2015 08:50:19 +0000 (10:50 +0200)]
transform: Also copy POOL metas and make sure to copy over metas when creating subbuffers

POOL meta just means that this specific instance of the meta is related to a
pool, a copy should be made when reasonable and the flag should just not be
set in the copy.

9 years agoadapter: Also copy POOL metas and make sure to copy over metas when creating subbuffers
Sebastian Dröge [Wed, 1 Jul 2015 08:45:01 +0000 (10:45 +0200)]
adapter: Also copy POOL metas and make sure to copy over metas when creating subbuffers

POOL meta just means that this specific instance of the meta is related to a
pool, a copy should be made when reasonable and the flag should just not be
set in the copy.

9 years agobuffer: Don't copy "memory" metas unconditionally
Sebastian Dröge [Wed, 1 Jul 2015 08:36:36 +0000 (10:36 +0200)]
buffer: Don't copy "memory" metas unconditionally

Don't copy memory metas if we only copied part of the buffer, didn't
copy memories or merged memories. In all these cases the memory
structure has changed and the memory meta becomes meaningless.

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

9 years agoRevert "buffer: Don't copy POOLED and memory metadata unconditionally"
Sebastian Dröge [Wed, 1 Jul 2015 08:25:15 +0000 (10:25 +0200)]
Revert "buffer: Don't copy POOLED and memory metadata unconditionally"

This reverts commit 7a08fa5ec4804f104e9aa9f458322f6eb49a7e49.

9 years agobuffer: Don't copy POOLED and memory metadata unconditionally
Sebastian Dröge [Tue, 30 Jun 2015 11:38:10 +0000 (13:38 +0200)]
buffer: Don't copy POOLED and memory metadata unconditionally

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

9 years agobaseparse: Use new gst_adapter_get_buffer() API instead of gst_adapter_map()
Sebastian Dröge [Tue, 30 Jun 2015 09:18:24 +0000 (11:18 +0200)]
baseparse: Use new gst_adapter_get_buffer() API instead of gst_adapter_map()

This preserves GstMeta properly unless the subclass does special things. It's
enough to make h264parse's stream-format/alignment conversion pass through
metas as needed.

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

9 years agoadapter: Add get variants of the buffer based take functions
Sebastian Dröge [Tue, 30 Jun 2015 09:11:25 +0000 (11:11 +0200)]
adapter: Add get variants of the buffer based take functions

Main difference to gst_adapter_map() for all practical purposes is that
GstMeta of the buffers will be preserved.

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

9 years agoadapter: Copy over GstMeta from the input buffers to the output
Sebastian Dröge [Mon, 29 Jun 2015 15:03:10 +0000 (17:03 +0200)]
adapter: Copy over GstMeta from the input buffers to the output

All functions that return a GstBuffer or a list of them will now copy
all GstMeta from the input buffers except for meta with GST_META_FLAG_POOLED
flag or "memory" tag.

This is similar to the existing behaviour that the caller can't assume
anything about the buffer flags, timestamps or other metadata. And it's
also the same that gst_adapter_take_buffer_fast() did before, and what
gst_adapter_take_buffer() did if part of the first buffer or the complete
first buffer was requested.

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

9 years agoptp: Init function can take a NULL interfaces array
Olivier Crête [Tue, 30 Jun 2015 00:27:12 +0000 (20:27 -0400)]
ptp: Init function can take a NULL interfaces array

9 years agotests: caps: fix test_intersect_flagset failure
Vineeth TM [Mon, 29 Jun 2015 04:57:11 +0000 (13:57 +0900)]
tests: caps: fix test_intersect_flagset failure

test_intersect_flagset fails because when caps is being
created, flags and mask are being cast to uint64 while
they should be uint. This results in invalid memory access
or a segfault.

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

9 years agoscripts: Fix GST_VALIDATE_PLUGIN_PATH
Thibault Saunier [Mon, 29 Jun 2015 12:22:46 +0000 (14:22 +0200)]
scripts: Fix GST_VALIDATE_PLUGIN_PATH

It moved recently

9 years agobasetransform: Fix up documentation of transform_meta vfunc
Sebastian Dröge [Mon, 29 Jun 2015 11:58:04 +0000 (13:58 +0200)]
basetransform: Fix up documentation of transform_meta vfunc

By default we copy all metas that have no tags.

9 years agodirectcontrolbinding: fix ABI break
Tim-Philipp Müller [Mon, 29 Jun 2015 09:41:27 +0000 (10:41 +0100)]
directcontrolbinding: fix ABI break

Structure size was increased without adjustment of the padding.

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

9 years agotask: guard against NULL task function
Prashant Gotarne [Thu, 19 Mar 2015 10:25:14 +0000 (15:55 +0530)]
task: guard against NULL task function

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

9 years agofunnel: add "forward-sticky-events" property
Miguel París Díaz [Thu, 14 May 2015 09:48:45 +0000 (11:48 +0200)]
funnel: add "forward-sticky-events" property

It is useful to avoid sending sticky event on stream changes.

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

9 years agoBack to development
Sebastian Dröge [Wed, 24 Jun 2015 22:04:07 +0000 (00:04 +0200)]
Back to development

9 years agoRelease 1.5.2
Sebastian Dröge [Wed, 24 Jun 2015 20:49:17 +0000 (22:49 +0200)]
Release 1.5.2

9 years agoUpdate .po files
Sebastian Dröge [Wed, 24 Jun 2015 20:45:00 +0000 (22:45 +0200)]
Update .po files

9 years agotests: gstutils: fix wrong description of test element
Thiago Santos [Tue, 23 Jun 2015 02:37:27 +0000 (23:37 -0300)]
tests: gstutils: fix wrong description of test element

It is a fakesink with request pads, not a source

9 years agobufferpool: Fixed compiler warning
Jonas Holmberg [Wed, 24 Jun 2015 13:35:16 +0000 (15:35 +0200)]
bufferpool: Fixed compiler warning

The pool variable was unused when buidling with debug disabled.

9 years agopo: Update translations
Sebastian Dröge [Wed, 24 Jun 2015 09:13:40 +0000 (11:13 +0200)]
po: Update translations

9 years agowin32: Update .def file for new API
Sebastian Dröge [Wed, 24 Jun 2015 09:12:03 +0000 (11:12 +0200)]
win32: Update .def file for new API

9 years agobasesink: need to deep-copy last buffer list in drain
Hyunjun Ko [Wed, 24 Jun 2015 05:19:04 +0000 (14:19 +0900)]
basesink: need to deep-copy last buffer list in drain

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

9 years agobufferlist: Warn if copying a buffer fails in gst_buffer_list_copy_deep()
Sebastian Dröge [Wed, 24 Jun 2015 08:52:02 +0000 (10:52 +0200)]
bufferlist: Warn if copying a buffer fails in gst_buffer_list_copy_deep()

9 years agobufferlist: add new api gst_buffer_list_copy_deep
Hyunjun Ko [Wed, 24 Jun 2015 05:18:47 +0000 (14:18 +0900)]
bufferlist: add new api gst_buffer_list_copy_deep

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

9 years agogstcheck: Print newline in message handler
Jonas Holmberg [Tue, 23 Jun 2015 14:58:56 +0000 (16:58 +0200)]
gstcheck: Print newline in message handler

The message handler is supposed to print a newline after the message
just like the default message handler.

9 years agoinputselector: Handle different duration track selection
Song Bing [Fri, 12 Jun 2015 08:54:32 +0000 (16:54 +0800)]
inputselector: Handle different duration track selection

Support track switch from EOS track to non-EOS one.

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

9 years agopad: Clear EOS flag after received STREAM_START event
Song Bing [Fri, 12 Jun 2015 08:52:46 +0000 (16:52 +0800)]
pad: Clear EOS flag after received STREAM_START event

Clear EOS flag after received STREAM_START event

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

9 years agotests: gstutils: add tests for gst_element_get_compatible_pad
Thiago Santos [Mon, 22 Jun 2015 17:30:49 +0000 (14:30 -0300)]
tests: gstutils: add tests for gst_element_get_compatible_pad

Adds tests for gst_element_get_compatible_pad for when it has to
request pads.

Note that these tests don't cover the case when it has to request
a pad that already exists.

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

9 years agoutils: use caps when getting a compatible pad by template
Thiago Santos [Fri, 19 Jun 2015 18:46:56 +0000 (15:46 -0300)]
utils: use caps when getting a compatible pad by template

Do not ignore the caps argument when requesting a pad by template.

This is particularly harmful when the pad caps query by default
returns ANY so it will match the first template instead of the
one that actually intersects with the caps.

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

9 years agogstsample.h: Include gstbufferlist.h now that it uses GstBufferList
Jan Schmidt [Mon, 22 Jun 2015 14:14:30 +0000 (00:14 +1000)]
gstsample.h: Include gstbufferlist.h now that it uses GstBufferList

9 years agoconcat: when releasing pad, send EOS appropriately.
Mathieu Duponchelle [Wed, 17 Jun 2015 14:12:13 +0000 (16:12 +0200)]
concat: when releasing pad, send EOS appropriately.

Previously, concat sent an EOS if there was a next pad.

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

9 years agoconcat: Add adjust-base property
Carlos Rafael Giani [Tue, 16 Jun 2015 14:14:18 +0000 (16:14 +0200)]
concat: Add adjust-base property

This disables the segment.base adjustments, which is useful if downstream
takes care of base adjustments already (example: a combination of concat
and streamsynchronizer)

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

9 years agobasesink: Unset the last buffer list if we only got a buffer
Sebastian Dröge [Mon, 22 Jun 2015 12:04:45 +0000 (14:04 +0200)]
basesink: Unset the last buffer list if we only got a buffer

Also remember any preroll buffer list.

9 years agosample: Add new API to the docs
Sebastian Dröge [Mon, 22 Jun 2015 11:33:29 +0000 (13:33 +0200)]
sample: Add new API to the docs

9 years agobasesink: enable to get last sample including buffer list if needed
Hyunjun [Mon, 22 Jun 2015 11:02:55 +0000 (20:02 +0900)]
basesink: enable to get last sample including buffer list if needed

In case of a buffer list rendering, last-sample is not updated.
It needs to be updated and enable to get buffer list from last-sample.

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

9 years agosample: add gst_sample_set/get_buffer_list apis
Hyunjun [Mon, 22 Jun 2015 10:35:40 +0000 (19:35 +0900)]
sample: add gst_sample_set/get_buffer_list apis

Allowed to set/get buffer list to sample if needed

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

9 years agotest.py: remove accidentally committed file
Tim-Philipp Müller [Fri, 19 Jun 2015 09:52:10 +0000 (10:52 +0100)]
test.py: remove accidentally committed file

9 years agodoc: Unify Since mark for attribute and enum
Nicolas Dufresne [Thu, 18 Jun 2015 15:51:48 +0000 (11:51 -0400)]
doc: Unify Since mark for attribute and enum

As this show up as prose in the doc, simply make it consistent
and "arguable" nicer to read.

9 years agodoc: Remove parenthesis around Since:
Nicolas Dufresne [Thu, 18 Jun 2015 15:48:50 +0000 (11:48 -0400)]
doc: Remove parenthesis around Since:

This confuse the parser, hence it does not endup in the doc and the
index properly.