Tim-Philipp Müller [Sat, 15 Aug 2015 17:30:15 +0000 (18:30 +0100)]
baseparse: fix tag handling
In 0.10 there were no sticky events, and all tag events
sent would just be merged with the previously-received
tags. In 1.x we have sticky events, and the tags in the
tag event(s) should at all times carry the complete tags,
so we can't just push some tags and then just push tags
with just bitrates to update the bitrates, etc.
Instead we need to keep track of the upstream stream tags
received, of the tags set by the video decoder subclass,
and send an updated tag event with the combined tags
including our own bitrate tags (if applicable) whenever
the upstream tags, the subclass tags or any of our bitrates
change.
https://bugzilla.gnome.org/show_bug.cgi?id=679768
Tim-Philipp Müller [Sun, 16 Aug 2015 09:15:56 +0000 (10:15 +0100)]
baseparse: add API for subclass to set tags
This is needed so that we can do proper tag handling
all around, and combine the upstream tags with the
tags set by the subclass and any extra tags the
base class may want to add.
API: gst_base_parse_merge_tags()
https://bugzilla.gnome.org/show_bug.cgi?id=679768
Tim-Philipp Müller [Sat, 15 Aug 2015 15:01:28 +0000 (16:01 +0100)]
baseparse: save upstream stream tags
We'll need those later.
https://bugzilla.gnome.org/show_bug.cgi?id=679768
Tim-Philipp Müller [Sat, 15 Aug 2015 15:39:40 +0000 (16:39 +0100)]
baseparse: minor code simplification
Use gst_pad_peer_query_duration() and remove a few
unnecessary levels of indentation. Rest of code might
looks a bit questionable, but leave it as is for now.
Sebastian Dröge [Sat, 15 Aug 2015 15:59:21 +0000 (17:59 +0200)]
pad: Break sticky event array iterations if the type is bigger than the one we look for
Microoptimization we can do because the array is sorted by type.
Edward Hervey [Wed, 29 Apr 2015 13:49:17 +0000 (15:49 +0200)]
gstpad: Add a new GST_PROBE_HANDLED return value for probes
In some cases, probes might want to handle the buffer/event/query
themselves and stop the data from travelling further downstream.
While this was somewhat possible with buffer/events and using
GST_PROBE_DROP, it was not applicable to queries, and would result
in the query failing.
With this new GST_PROBE_HANDLED value, the buffer/event/query will
be considered as successfully handled, will not be pushed further
and the appropriate return value (TRUE or GST_FLOW_OK) will be returned
This also allows probes to return a non-default GstFlowReturn when dealing
with buffer push. This can be done by setting the
GST_PAD_PROBE_INFO_FLOW_RETURN() field accordingly
https://bugzilla.gnome.org/show_bug.cgi?id=748643
Mathieu Duponchelle [Sat, 15 Aug 2015 11:25:35 +0000 (13:25 +0200)]
gstversion: Add missing include in .in file.
Mathieu Duponchelle [Mon, 10 Aug 2015 22:35:21 +0000 (00:35 +0200)]
Headers: add missing includes.
Thiago Santos [Sat, 15 Aug 2015 09:41:14 +0000 (06:41 -0300)]
docs: add the new pad accept-template flag to the docs
Nirbheek Chauhan [Fri, 14 Aug 2015 17:14:50 +0000 (22:44 +0530)]
docs: section entry missing for gst_direct_control_binding_new_absolute
Thiago Santos [Fri, 14 Aug 2015 11:14:52 +0000 (08:14 -0300)]
tests: pad: tests for accept-caps default handling
Check if all the default 4 accept-caps possibilities are working:
subset or intersect check and query-caps or template caps comparisons.
https://bugzilla.gnome.org/show_bug.cgi?id=753623
Thiago Santos [Fri, 14 Aug 2015 10:51:07 +0000 (07:51 -0300)]
pad: add GST_PAD_FLAG_ACCEPT_TEMPLATE
It will make the default accept-caps handler use the pad template
caps instead of the query-caps result to check if the caps is
acceptable. This is aligned with what the design docs says the
accept-caps should do (be non-recursive) and should be faster. It
is *not* enabled by default, though.
API: GST_PAD_FLAG_ACCEPT_TEMPLATE
API: GST_PAD_IS_ACCEPT_TEMPLATE
API: GST_PAD_SET_ACCEPT_TEMPLATE
API: GST_PAD_UNSET_ACCEPT_TEMPLATE
https://bugzilla.gnome.org/show_bug.cgi?id=753623
Edward Hervey [Fri, 14 Aug 2015 09:10:03 +0000 (11:10 +0200)]
check: Rename states unit test
Makes it easier to differentiate from other modules states unit test
Thiago Santos [Thu, 13 Aug 2015 16:08:03 +0000 (13:08 -0300)]
basetransform: rework accept-caps
According to the design docs:
The ACCEPT_CAPS query is not required to work recursively, it can simply
return TRUE if a subsequent CAPS event with those caps would return
success.
So make it a shallow check instead of recursivelly check downstream.
https://bugzilla.gnome.org/show_bug.cgi?id=748635
Thiago Santos [Thu, 13 Aug 2015 15:44:29 +0000 (12:44 -0300)]
basetransform: remove some dead code
Doesn't seem like it is going to get back to life anytime soon
Also removes a {} block that was likely used to keep the dead
code around.
Thiago Santos [Tue, 11 Aug 2015 11:07:53 +0000 (08:07 -0300)]
basetransform: respect accept-caps intersect flag
GstPad has a flag for suggesting if the accept-caps
query should use intersect instead of the default
subset caps operation to verify if the caps would be
acceptable.
basetransform currently always uses the subset check and
this patch makes it honor the flag for using intersect
if it is set.
https://bugzilla.gnome.org/show_bug.cgi?id=748635
Vineeth TM [Wed, 12 Aug 2015 04:12:38 +0000 (13:12 +0900)]
basetransform: remove unreachable return statement
https://bugzilla.gnome.org/show_bug.cgi?id=753538
Tim-Philipp Müller [Tue, 11 Aug 2015 10:09:24 +0000 (11:09 +0100)]
tests: ignore new harness test binary
Vivia Nikolaidou [Mon, 10 Aug 2015 12:31:37 +0000 (15:31 +0300)]
datetime: accept just a time as ISO 8601 string and use today's date then
If no date and only a time is given in gst_date_time_new_from_iso8601_string(),
assume that it is "today" and try to parse the time-only string. "Today" is
assumed to be in the timezone provided by the user (if any), otherwise Z -
just like the behavior of the existing code.
https://bugzilla.gnome.org/show_bug.cgi?id=753455
Havard Graff [Thu, 23 Jul 2015 22:41:57 +0000 (00:41 +0200)]
harness: add _set_forwarding function
To be able to disable the slightly "magic" forwarding of the
necessary events between the harnesses.
Also introduce a new test-suite for GstHarness, that documents the
feature, and should hopefully expand into documenting most of the
features the harness possesses.
https://bugzilla.gnome.org/show_bug.cgi?id=752746
Wim Taymans [Sat, 8 Aug 2015 15:59:51 +0000 (17:59 +0200)]
devicemonitor: fix provider leak
Edward Hervey [Sat, 8 Aug 2015 13:28:19 +0000 (15:28 +0200)]
pad: Fix previous commit
We want to get the caps query *result*
Wim Taymans [Thu, 16 Jul 2015 16:56:00 +0000 (18:56 +0200)]
deviceprovider: Add method to hide devices from a provider
Add methods to add/remove the providers that should be hidden by this
provider. Also make a method to get a list of hidden providers.
This makes it possible to have multiple systems monitor the same devices
and remove duplicates.
Add a property to see all devices, even duplicate ones from hidden
providers.
Edward Hervey [Sat, 8 Aug 2015 12:42:52 +0000 (14:42 +0200)]
pad: get_allowed_caps() should go through both pads
The previous implementation was doing a direct call to the peer pad,
which resulted in query probes never being called on the original pad.
Instead of that, get the peer pad caps by using gst_pad_peer_query()
which will call probes in the expected fashion.
Vineeth TM [Fri, 7 Aug 2015 01:08:21 +0000 (10:08 +0900)]
value: free caps during failure
While calling gst_value_deserialize_sample, if there is a failure
after caps is ref'ed, then caps is getting leaked. Hence checking for
caps in fail: goto condition and unref'ing it
https://bugzilla.gnome.org/show_bug.cgi?id=753338
Thibault Saunier [Tue, 21 Jul 2015 11:35:33 +0000 (13:35 +0200)]
registry: Add plugins to the registry we are loading and not default one
When running gst_registry_scan_plugin_file we were losing the
information about the registry being loaded and ended up adding the
plugin to the default registry which was not correct.
https://bugzilla.gnome.org/show_bug.cgi?id=752662
Nicolas Dufresne [Wed, 5 Aug 2015 19:51:27 +0000 (15:51 -0400)]
basesink: Only drop buffer if their PTS is out of segment
As of now, even for stream completly inside segment, there is no
guarantied that the DTS will be inside the segment. Specifically
for H.264 with B-Frames, the first few frames often have DTS that
are before the segment.
Instead of using the sync timestamp to clip out of segment buffer,
take the duration from the start/stop provided by the sub-class, and
check if the pts and pts_end is out of segment.
https://bugzilla.gnome.org/show_bug.cgi?id=752791
Luis de Bethencourt [Wed, 5 Aug 2015 13:05:25 +0000 (14:05 +0100)]
harness: don't run code inside g_assert
Even though asserts can't be disabled in GstHarness, Coverity still
complains about running code inside them. Moving the code to outside the
g_asserts().
CID #1311326, #1311327, #1311328
Wim Taymans [Fri, 17 Jul 2015 08:18:02 +0000 (10:18 +0200)]
devicemonitor: get a list of currently monitored providers
Get a list of the currently monitored providers.
George Kiagiadakis [Sun, 2 Aug 2015 15:38:14 +0000 (17:38 +0200)]
pad: fix invalid unref after IDLE probe on non-OK flow return
In case there is an IDLE probe fired from gst_pad_push_data and it
doesn't return GST_FLOW_OK, the code jumps to the probe_stopped
label which tries to unref the data object. However, at this point
the data object belongs downstream and must not be touched.
By setting data = NULL, the code skips this unref.
https://bugzilla.gnome.org//show_bug.cgi?id=753151
Jan Schmidt [Tue, 4 Aug 2015 10:08:04 +0000 (20:08 +1000)]
buffer: Fix the name of the parentbuffermeta debug category.
Don't use 'glbufferrefmeta' as the debug category for the
parent buffer meta.
Eunhae Choi [Tue, 4 Aug 2015 04:45:09 +0000 (13:45 +0900)]
queue2: not update upstream size with negative value
upstream_size can be negative but queue->upstream_size is unsigned type.
to get a chance to update queue->upstream_size in gst_queue2_get_range()
it should keep the default value.
https://bugzilla.gnome.org/show_bug.cgi?id=753011
Jan Schmidt [Tue, 4 Aug 2015 09:59:28 +0000 (19:59 +1000)]
buffer: Remove extra debug symbol from exports
Don't export the debug variable for the parent_buffer_meta.
This was accidentally exported and shouldn't be public
Stefan Sauer [Mon, 3 Aug 2015 22:11:24 +0000 (00:11 +0200)]
filesink: use GST_INFO_OBJECT for more detail
Helps to distiguish multiple filesinks.
Tim-Philipp Müller [Thu, 30 Jul 2015 16:29:25 +0000 (17:29 +0100)]
docs: info: remove 0.8 terminology from log level description
We don't "iterate" bins or pipelines any more.
Tim-Philipp Müller [Thu, 30 Jul 2015 11:17:16 +0000 (12:17 +0100)]
tests: baseparse: fix buffer leak in unit test
Fixes make check-valgrind
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.
Tim-Philipp Müller [Tue, 28 Jul 2015 21:30:54 +0000 (22:30 +0100)]
docs: add a few more new symbols and defines
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.
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.
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.
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.
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.
Sebastian Dröge [Tue, 28 Jul 2015 09:16:12 +0000 (12:16 +0300)]
capsfilter: When switching caps change modes, forget all previous caps
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
Olivier Crête [Wed, 22 Jul 2015 22:55:29 +0000 (18:55 -0400)]
harness: Fix indendation
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
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.
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
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.
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
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
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.
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.
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.
Tim-Philipp Müller [Thu, 16 Jul 2015 16:50:49 +0000 (17:50 +0100)]
harness: fix indentation
Tim-Philipp Müller [Thu, 16 Jul 2015 16:50:06 +0000 (17:50 +0100)]
harness: fix pad template leak
Tim-Philipp Müller [Thu, 16 Jul 2015 16:13:35 +0000 (17:13 +0100)]
docs: drop reference to sourceforge mailing list adress
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
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
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
Tim-Philipp Müller [Thu, 16 Jul 2015 11:36:14 +0000 (12:36 +0100)]
harness: make header nicer to read
Tim-Philipp Müller [Thu, 16 Jul 2015 09:36:36 +0000 (10:36 +0100)]
docs: add new function to API docs
Hyunil Park [Thu, 16 Jul 2015 06:07:38 +0000 (15:07 +0900)]
Add USE_DLOG for using DLOG or fprintf
Change-Id: I75ed73a091abec600ee45e3c16af42e838bffad4
Signed-off-by: Hyunil Park <hyunil46.park@samsung.com>
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.
Tim-Philipp Müller [Tue, 14 Jul 2015 11:44:12 +0000 (12:44 +0100)]
tee: fix typo in allow-not-linked property description
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
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
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
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
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
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
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
Hyunjun Ko [Wed, 8 Jul 2015 11:06:27 +0000 (20:06 +0900)]
adapter: unit test for new get_(buffer_)list
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
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.
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
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
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).
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
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
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
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
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
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.
Arun Raghavan [Mon, 6 Jul 2015 05:46:27 +0000 (11:16 +0530)]
pad: Clarify pad probe return type documentation
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
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.
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
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
Stefan Sauer [Fri, 3 Jul 2015 19:57:55 +0000 (21:57 +0200)]
Automatic update of common submodule
From f74b2df to 9aed1d7
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.
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.
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.
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.
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
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
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.
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.
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