platform/upstream/gstreamer.git
8 years agowin32: update exports for new flags get_type()
Tim-Philipp Müller [Sun, 17 Jan 2016 00:08:33 +0000 (00:08 +0000)]
win32: update exports for new flags get_type()

8 years agotracer.h: don't include private noinst header gsttracerutils.h in a public header
Philip Van Hoof [Sat, 16 Jan 2016 21:43:23 +0000 (22:43 +0100)]
tracer.h: don't include private noinst header gsttracerutils.h in a public header

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

8 years agobenchmark: improve script
Stefan Sauer [Sat, 16 Jan 2016 20:24:19 +0000 (21:24 +0100)]
benchmark: improve script

Use a temp file for the log and fix one env-var.

8 years agotracer/stats: use the right log template
Stefan Sauer [Sat, 16 Jan 2016 20:23:10 +0000 (21:23 +0100)]
tracer/stats: use the right log template

When porting we used the wrong record (copy and paste).

8 years agotracer: update the docs
Stefan Sauer [Sat, 16 Jan 2016 20:04:46 +0000 (21:04 +0100)]
tracer: update the docs

Add the new enum and flags. Remove the GstTracerRecordPrivate.

8 years agogst-stats: update to latest tarcer api
Stefan Sauer [Sat, 16 Jan 2016 20:02:39 +0000 (21:02 +0100)]
gst-stats: update to latest tarcer api

The thread-ids are serialized as uint64. The 'elem-ix' got changed to
'element-ix'. Make the code a bit more robust.

8 years agotracer: use the new flags to create the optional field in the format string
Stefan Sauer [Sat, 16 Jan 2016 17:55:07 +0000 (18:55 +0100)]
tracer: use the new flags to create the optional field in the format string

This spares us explicitly listing the field in the spec. and thus hide this
implementation detail.

8 years agotracer: add a GstTracerValueFlags and replace strings
Stefan Sauer [Sat, 16 Jan 2016 17:52:32 +0000 (18:52 +0100)]
tracer: add a GstTracerValueFlags and replace strings

This allows us to document the flags and makes the logs a bit smaller.

8 years agomessage: add function guard to gst_message_set_buffering_stats()
Tim-Philipp Müller [Sat, 16 Jan 2016 16:01:38 +0000 (16:01 +0000)]
message: add function guard to gst_message_set_buffering_stats()

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

8 years agogst.h: Don't spew warnings if GST_USE_UNSTABLE_API is not defined
Tim-Philipp Müller [Sat, 16 Jan 2016 14:51:37 +0000 (14:51 +0000)]
gst.h: Don't spew warnings if GST_USE_UNSTABLE_API is not defined

Only hide GstTracer and GstTracerRecord API behind GST_USE_UNSTABLE_API,
but don't spew any warnings, otherwise everyone has to define this
to avoid compiler warnings.

This reverts parts of commit 89ee5d948dff560204e6edd210c44ed2b8654b8e.

8 years agobenchmarks: update the tracer benchmark and add a shell benchmark
Stefan Sauer [Sat, 16 Jan 2016 12:30:34 +0000 (13:30 +0100)]
benchmarks: update the tracer benchmark and add a shell benchmark

8 years agodocs/design: update tracerspec examples
Stefan Sauer [Sat, 16 Jan 2016 12:28:32 +0000 (13:28 +0100)]
docs/design: update tracerspec examples

8 years agodocs/design: spell checking
Stefan Sauer [Sat, 16 Jan 2016 12:27:59 +0000 (13:27 +0100)]
docs/design: spell checking

8 years agotracer: add a GFlag for the tracer scope
Stefan Sauer [Sat, 16 Jan 2016 12:24:16 +0000 (13:24 +0100)]
tracer: add a GFlag for the tracer scope

Port all tracers. Add the GST_USE_UNSTABLE_API flag to the internal CFLAGS so
that we don't have to specify this for gir, docs, mkenum, ...

8 years agooutput-selector: Make access to the active pad and last buffer thread-safe
Sebastian Dröge [Sat, 16 Jan 2016 09:48:02 +0000 (10:48 +0100)]
output-selector: Make access to the active pad and last buffer thread-safe

Both can be modified from different threads at the same time.

8 years agooutput-selector: Notify when the active-pad property is changing
Sebastian Dröge [Sat, 16 Jan 2016 09:47:36 +0000 (10:47 +0100)]
output-selector: Notify when the active-pad property is changing

8 years agotracerrecord: add a log record class
Stefan Sauer [Tue, 12 Jan 2016 13:59:04 +0000 (14:59 +0100)]
tracerrecord: add a log record class

We use this class to register tracer log entry metadata and build a log
template. With the log template we can serialize log data very efficiently.
This also simplifies the logging code, since that is now a simple varargs
function that is not exposing the implementation details.

Add docs for the new class and basic tests.

Remove the previous log handler.

Fixes #760267

8 years agonetclientclock: Check return value of g_socket_close()
Sebastian Dröge [Fri, 15 Jan 2016 08:48:32 +0000 (09:48 +0100)]
netclientclock: Check return value of g_socket_close()

CID 1348452

8 years agonetclientclock: Free data after removing it from the list
Sebastian Dröge [Fri, 15 Jan 2016 08:02:42 +0000 (09:02 +0100)]
netclientclock: Free data after removing it from the list

Does not matter here but makes Coverity more happy. It can't
know that g_list_remove() only looks at the pointer value but
does not dereference it.

CID 1348454

8 years agoGstDeviceMonitor: Clarify the behaviour of gst_device_monitor_add_filter
Nirbheek Chauhan [Thu, 14 Jan 2016 19:00:59 +0000 (00:30 +0530)]
GstDeviceMonitor: Clarify the behaviour of gst_device_monitor_add_filter

8 years agoGstDeviceMonitor: Don't remove unmatched class filters
Nirbheek Chauhan [Thu, 14 Jan 2016 18:55:05 +0000 (00:25 +0530)]
GstDeviceMonitor: Don't remove unmatched class filters

If no providers for a particular class could be found, then removing unmatched
filters would cause all devices to be returned instead which is not at all what
the user intended. We still return 0 for unmatched filters.

8 years agonetclientclock: Fix GError memory leak in handling NTP response
Florin Apostol [Wed, 13 Jan 2016 21:32:20 +0000 (21:32 +0000)]
netclientclock: Fix GError memory leak in handling NTP response

Error was not released if gst_ntp_packet_receive failed.

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

8 years agowin32: update exports for API additions
Matthew Waters [Wed, 13 Jan 2016 02:10:10 +0000 (13:10 +1100)]
win32: update exports for API additions

8 years agoinfo: expose debugging printf functions
Matthew Waters [Mon, 11 Jan 2016 05:31:39 +0000 (16:31 +1100)]
info: expose debugging printf functions

Other gst libraries and/or elements may want to add some debug logging to an
external debug system or implement delayed debugging for performance reasons.

Exposes the internal __gst_vasprintf as gst_info_vasprintf which has a fallback
to g_vasprintf if the debug system is disabled.

API: gst_info_vasprintf
API: gst_info_strdup_vprintf
API: gst_info_strdup_printf

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

8 years agobasesrc: Only set duration/position query values in case of query success
Carlos Rafael Giani [Mon, 11 Jan 2016 20:17:25 +0000 (21:17 +0100)]
basesrc: Only set duration/position query values in case of query success

Currently, the query values are being set even if the query itself was
determined to have failed. Fix this to ensure the values are only set in
case of a query success.

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

8 years agotracers: code clean ups
Stefan Sauer [Sun, 10 Jan 2016 13:30:05 +0000 (14:30 +0100)]
tracers: code clean ups

Drop some trailing whilespace. Make field order consistent.

8 years agobenchmark: fix copy'n'past of the file-description comment
Stefan Sauer [Fri, 8 Jan 2016 22:35:53 +0000 (23:35 +0100)]
benchmark: fix copy'n'past of the file-description comment

8 years agobenchmark: add a benchmark for bgo/760267
Stefan Sauer [Fri, 8 Jan 2016 22:06:55 +0000 (23:06 +0100)]
benchmark: add a benchmark for bgo/760267

Big suprise - GstStructure is faster than GVariant.

8 years agofunnel: improve debug message
HoonHee Lee [Tue, 10 Mar 2015 04:07:18 +0000 (13:07 +0900)]
funnel: improve debug message

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

8 years agoinfo: add buffer list support to GST_PTR_FORMAT
Tim-Philipp Müller [Fri, 8 Jan 2016 19:25:24 +0000 (19:25 +0000)]
info: add buffer list support to GST_PTR_FORMAT

8 years agocontrolsource: fix GetValue and GetValueArray documentation
Aurélien Zanelli [Wed, 25 Nov 2015 16:36:25 +0000 (17:36 +0100)]
controlsource: fix GetValue and GetValueArray documentation

GstControlSourceGetValue() value paramater is a gdouble, not a GValue
and GstControlSourceGetValueArray doesn't return a GstValueArray but
an array of double.

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

8 years agotracer: harmonize the query hooks
Stefan Sauer [Thu, 7 Jan 2016 22:03:48 +0000 (23:03 +0100)]
tracer: harmonize the query hooks

In post hooks always pass the return value as the last param. Pass the query
also to post hooks since it is still alive.

8 years agotracers/stats: add missing parameters to callback functions
Stefan Sauer [Thu, 7 Jan 2016 21:47:37 +0000 (22:47 +0100)]
tracers/stats: add missing parameters to callback functions

8 years agotracerutils: update #endif comment
Stefan Sauer [Thu, 7 Jan 2016 21:43:58 +0000 (22:43 +0100)]
tracerutils: update #endif comment

We changed the define, but left the comment inconsistent.

8 years agotracerutils: document the tracer hook functions
Stefan Sauer [Thu, 7 Jan 2016 18:13:03 +0000 (19:13 +0100)]
tracerutils: document the tracer hook functions

Document all tracer hook function pointer together with the detail string that
one needs to use with gst_tracing_register_hook().

8 years agotracer: Use GST_DISABLE_GST_TRACER_HOOKS instead of GST_DISABLE_GST_DEBUG everywhere
Sebastian Dröge [Thu, 7 Jan 2016 16:46:21 +0000 (18:46 +0200)]
tracer: Use GST_DISABLE_GST_TRACER_HOOKS instead of GST_DISABLE_GST_DEBUG everywhere

Previously we used the latter one still for the tracer utility code, causing
undefined references in the resulting binary if the debugging system was
disabled but the tracer system not.

8 years agogst: Rename _priv_gst_info_start_time to _priv_gst_start_time and initialize it centrally
Sebastian Dröge [Thu, 7 Jan 2016 16:41:25 +0000 (18:41 +0200)]
gst: Rename _priv_gst_info_start_time to _priv_gst_start_time and initialize it centrally

It's used by the debugging and tracer subsystem and in various files, make it
a central thing that is initialized independ of the existence of those
subsystems.

8 years agowin32: update win32 exports
Stefan Sauer [Wed, 6 Jan 2016 20:42:30 +0000 (21:42 +0100)]
win32: update win32 exports

Remove the _hook_id() methods we made internal in the prev commit.

8 years agostructure: log a warning if we can't serialize a field
Stefan Sauer [Wed, 6 Jan 2016 20:17:16 +0000 (21:17 +0100)]
structure: log a warning if we can't serialize a field

The function always returns TRUE right now, so atleast log something.

8 years agotests: queue2: add test for fill level arithmetic overflow
Aleksander Wabik [Tue, 6 Oct 2015 12:49:00 +0000 (12:49 +0000)]
tests: queue2: add test for fill level arithmetic overflow

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

8 years agoqueue2: avoid calculating fill levels multiple times
Tim-Philipp Müller [Wed, 6 Jan 2016 19:51:44 +0000 (19:51 +0000)]
queue2: avoid calculating fill levels multiple times

Macro expansion means we might calculate the fill level once
for the check and then possibly again for the return value.

8 years agoqueue2: fix fill level arithmetic overflow with large values
Tim-Philipp Müller [Wed, 6 Jan 2016 19:50:21 +0000 (19:50 +0000)]
queue2: fix fill level arithmetic overflow with large values

Based on patch by: Aleksander Wabik <awabik@opera.com>

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

8 years agotracer: make gst_tracing_register_hook_id static
Stefan Sauer [Wed, 6 Jan 2016 19:41:26 +0000 (20:41 +0100)]
tracer: make gst_tracing_register_hook_id static

We don't need to expose this as public API. Change the only plugin that was
using it.

8 years agodocs: design: update list of disted files after file rename
Tim-Philipp Müller [Wed, 6 Jan 2016 18:56:38 +0000 (18:56 +0000)]
docs: design: update list of disted files after file rename

8 years agodocs: Hide NTP packet API and add GST_PTP_STATISTICS_* defines to the docs
Sebastian Dröge [Wed, 6 Jan 2016 17:42:49 +0000 (19:42 +0200)]
docs: Hide NTP packet API and add GST_PTP_STATISTICS_* defines to the docs

8 years agodocs: remove parent docs for GstPtpClock
Stefan Sauer [Wed, 6 Jan 2016 17:17:27 +0000 (18:17 +0100)]
docs: remove parent docs for GstPtpClock

Instance docs don't need to docuemnt the parent (first member).

8 years agodocs: cleanup -unused.txt report for libs
Stefan Sauer [Wed, 6 Jan 2016 17:14:06 +0000 (18:14 +0100)]
docs: cleanup -unused.txt report for libs

The IGNORE_H_FILES can only contain files or dirs.

8 years agodocs: add more core api to the right sections
Stefan Sauer [Wed, 6 Jan 2016 16:58:11 +0000 (17:58 +0100)]
docs: add more core api to the right sections

Add new and documented api reported in -unused.txt to -section.txt.

8 years agodocs: exclude more header from doc-scan
Stefan Sauer [Wed, 6 Jan 2016 16:54:44 +0000 (17:54 +0100)]
docs: exclude more header from doc-scan

Exclude gst/printf/*.h and a few generated .h files from the api-scan. This
makes -unused.txt report file from gtkdoc useful again.

8 years agoclock: adjust/unadjust_with_calibration() have a clock parameter but it's useless
Sebastian Dröge [Wed, 6 Jan 2016 14:21:40 +0000 (16:21 +0200)]
clock: adjust/unadjust_with_calibration() have a clock parameter but it's useless

Document this, for 2.0 we should just remove that parameter.

8 years agoclock: Add gst_clock_unadjust_with_calibration()
Sebastian Dröge [Wed, 6 Jan 2016 14:19:22 +0000 (16:19 +0200)]
clock: Add gst_clock_unadjust_with_calibration()

We already have gst_clock_adjust_with_calibration() and
gst_clock_unadjust_unlocked(), having the other variant is useful.

8 years agodocs: add new pad-event function to the docs
Stefan Sauer [Wed, 6 Jan 2016 12:33:39 +0000 (13:33 +0100)]
docs: add new pad-event function to the docs

8 years agodocs: hide internal tracer api from docs
Stefan Sauer [Wed, 6 Jan 2016 12:26:27 +0000 (13:26 +0100)]
docs: hide internal tracer api from docs

Also address warnigns regarding the unstable tracer api.

8 years agodocs: add the tracer to the docs
Stefan Sauer [Wed, 6 Jan 2016 11:47:26 +0000 (12:47 +0100)]
docs: add the tracer to the docs

Add GstTracer and GstTracerFactory to the core docs.

8 years agodocs: rename the tracer doc to part since it is now merged
Stefan Sauer [Wed, 6 Jan 2016 10:52:53 +0000 (11:52 +0100)]
docs: rename the tracer doc to part since it is now merged

8 years agotracerutils: move header to noinst section
Stefan Sauer [Wed, 6 Jan 2016 10:35:46 +0000 (11:35 +0100)]
tracerutils: move header to noinst section

This is internal code, that is only to be used in core.

8 years agoconfigure: add a new option to disable the tracer hooks
Stefan Sauer [Wed, 6 Jan 2016 10:31:16 +0000 (11:31 +0100)]
configure: add a new option to disable the tracer hooks

This was previously done via {enable,disable}-gst-debug. Since both subsystems
are independent having separate options is better.

8 years agoclock: Fix typo
Sebastian Dröge [Tue, 5 Jan 2016 14:44:53 +0000 (16:44 +0200)]
clock: Fix typo

clocked -> clock

8 years agonetclientclock: Disconnect the "synced" signal handler from the internal clock
Sebastian Dröge [Tue, 5 Jan 2016 12:59:34 +0000 (14:59 +0200)]
netclientclock: Disconnect the "synced" signal handler from the internal clock

Not from the external one.

8 years agocontroller: rename new cubic interpolation mode
Stefan Sauer [Tue, 5 Jan 2016 12:57:12 +0000 (13:57 +0100)]
controller: rename new cubic interpolation mode

Don't abbreviate to 'mono' and use 'monotonic' instead.

8 years agoclock: Don't allow setting an unsynced clock as master
Sebastian Dröge [Tue, 5 Jan 2016 12:23:26 +0000 (14:23 +0200)]
clock: Don't allow setting an unsynced clock as master

8 years agoclock: Don't try to slave unsynced clocks
Sebastian Dröge [Tue, 5 Jan 2016 12:21:58 +0000 (14:21 +0200)]
clock: Don't try to slave unsynced clocks

They will return useless values from get_time().

8 years agontp: The clock inherits from GstNetClientClock, not just GstSystemClock
Sebastian Dröge [Tue, 5 Jan 2016 11:41:08 +0000 (13:41 +0200)]
ntp: The clock inherits from GstNetClientClock, not just GstSystemClock

8 years agonetclientclock: Destroy a cached clock 60 seconds after its last use
Sebastian Dröge [Mon, 4 Jan 2016 15:18:07 +0000 (17:18 +0200)]
netclientclock: Destroy a cached clock 60 seconds after its last use

There's not much lost by having the clock idle around a bit longer but it will
potentially allow anybody wanting to use the same clock server again to sync
much faster.

8 years agonetclientclock: Only ever run one clock against a specific server
Sebastian Dröge [Mon, 4 Jan 2016 14:31:23 +0000 (16:31 +0200)]
netclientclock: Only ever run one clock against a specific server

If multiple net/NTP clocks are created for the same server, reuse the same
internal clock for all of them. This makes sure that we don't flood the server
with too many requests and also possibly allows faster synchronization if
there already was an earlier synchronized clock when creating a new one.

8 years agonettimeprovider: Use GInitable instead of having a new() function that can return...
Sebastian Dröge [Mon, 4 Jan 2016 08:39:27 +0000 (10:39 +0200)]
nettimeprovider: Use GInitable instead of having a new() function that can return NULL

Bindings don't like that much and as we're using GIO here anyway we can as
well use GInitable for possibly failing initialization.

8 years agonettimeprovider: Mark address, port and clock properties CONSTRUCT_ONLY
Sebastian Dröge [Sun, 3 Jan 2016 12:06:16 +0000 (14:06 +0200)]
nettimeprovider: Mark address, port and clock properties CONSTRUCT_ONLY

They can't sensibly be changed after construction.

8 years agoparse_launch: make nicer log messages
Stefan Sauer [Sun, 3 Jan 2016 21:55:48 +0000 (22:55 +0100)]
parse_launch: make nicer log messages

Add two macros to build nicer element/pad name strings. The macros avoid
printing "(NULL)" and print the element type in addition to the name.

8 years agoparse-launch: warn when still waiting to plug sub-pipelines after no-more-pads
Stefan Sauer [Sat, 2 Jan 2016 18:42:17 +0000 (19:42 +0100)]
parse-launch: warn when still waiting to plug sub-pipelines after no-more-pads

The parse-launch API automagically handles dynamic pads and performs delayed
linking as needed, without any feedback about whether the linking succeeded or
not however. If a delayed dynamic link can't be completed for whatever reason,
parse-launch will simply wait in case a suitable pad appears later. This may
never happen though, in which case the pipeline may just hang forever.

Try to improve this by connecting to the "no-more-pads" signal of any element
with dynamic pads and posting a warning message for the related outstanding
dynamic links when "no-more-pads" is emitted.

Fixes #760003

8 years agodocs: fix some warnings and add some since markers
Tim-Philipp Müller [Thu, 31 Dec 2015 19:27:12 +0000 (19:27 +0000)]
docs: fix some warnings and add some since markers

8 years agotracing: add some pointers about memory tracing
Stefan Sauer [Sun, 3 Jan 2016 10:39:24 +0000 (11:39 +0100)]
tracing: add some pointers about memory tracing

8 years agogrammar.y: remove trailing whitespace
Stefan Sauer [Sun, 3 Jan 2016 10:37:57 +0000 (11:37 +0100)]
grammar.y: remove trailing whitespace

8 years agotests: value: test buffer serialisation/deserialisation more thoroughly
Tim-Philipp Müller [Thu, 31 Dec 2015 00:04:09 +0000 (00:04 +0000)]
tests: value: test buffer serialisation/deserialisation more thoroughly

Tests data/strings as well, not just that we received
something non-NULL back.

8 years agogst: fix typo in comment
Tim-Philipp Müller [Thu, 31 Dec 2015 10:57:37 +0000 (10:57 +0000)]
gst: fix typo in comment

8 years agonetclientclock: Implement resolval of hostnames
Sebastian Dröge [Wed, 30 Dec 2015 14:57:29 +0000 (16:57 +0200)]
netclientclock: Implement resolval of hostnames

Just allowing IPs here is not ideal and implementing DNS resolval is easy.

8 years agoptpclock: Add read-only properties to get the master and grandmaster clock ids
Sebastian Dröge [Tue, 29 Dec 2015 14:28:02 +0000 (16:28 +0200)]
ptpclock: Add read-only properties to get the master and grandmaster clock ids

8 years agocaps: Add (transfer full) annotation to simplify() and subtract() return value
Sebastian Dröge [Tue, 29 Dec 2015 12:32:47 +0000 (14:32 +0200)]
caps: Add (transfer full) annotation to simplify() and subtract() return value

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

8 years agocaps: add 'transfer full' annotation to caps returned by interserction functions
Aurélien Zanelli [Tue, 29 Dec 2015 10:06:39 +0000 (11:06 +0100)]
caps: add 'transfer full' annotation to caps returned by interserction functions

To make clear caller is responsible to unref them.

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

8 years agonet: Add NTP and PTP clock types to the docs
Sebastian Dröge [Mon, 28 Dec 2015 17:41:38 +0000 (19:41 +0200)]
net: Add NTP and PTP clock types to the docs

This gives us the property documentation for example.

8 years agocheck: don't memcmp twice
Stefan Sauer [Sun, 27 Dec 2015 18:42:37 +0000 (19:42 +0100)]
check: don't memcmp twice

Simply call fail() in the condition after the first memcmp.

8 years agoBack to development
Sebastian Dröge [Thu, 24 Dec 2015 14:27:12 +0000 (15:27 +0100)]
Back to development

8 years agoRelease 1.7.1
Sebastian Dröge [Thu, 24 Dec 2015 12:58:52 +0000 (13:58 +0100)]
Release 1.7.1

8 years agoUpdate .po files
Sebastian Dröge [Thu, 24 Dec 2015 11:50:33 +0000 (12:50 +0100)]
Update .po files

8 years agopo: Update translations
Sebastian Dröge [Thu, 24 Dec 2015 11:21:21 +0000 (12:21 +0100)]
po: Update translations

8 years agoconfigure: Make -Bsymbolic check work with clang.
Koop Mast [Sun, 20 Dec 2015 23:43:49 +0000 (00:43 +0100)]
configure: Make -Bsymbolic check work with clang.

Update the -Bsymbolic check with the version glib has. This version
works with clang.

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

8 years agodocs: update to git
Sebastian Dröge [Wed, 16 Dec 2015 08:35:18 +0000 (09:35 +0100)]
docs: update to git

8 years agocore: Add g_autoptr() support to all types
Xavier Claessens [Tue, 10 Nov 2015 17:38:59 +0000 (12:38 -0500)]
core: Add g_autoptr() support to all types

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

8 years agotee: Check if parsing the name template with sscanf() was successful
Sebastian Dröge [Mon, 14 Dec 2015 12:06:57 +0000 (13:06 +0100)]
tee: Check if parsing the name template with sscanf() was successful

If not, go back to the automatic pad numbering.

CID 1195129

8 years agoqueue/multiqueue: Don't special-case CAPS events in the event handlers
Sebastian Dröge [Mon, 14 Dec 2015 10:20:43 +0000 (11:20 +0100)]
queue/multiqueue: Don't special-case CAPS events in the event handlers

For CAPS events we will never ever have a FALSE return value here, so just
remove the dead code instead of causing future confusion.

8 years agoRevert "queue: Illegal memory access of sink event"
Sebastian Dröge [Mon, 14 Dec 2015 10:16:50 +0000 (11:16 +0100)]
Revert "queue: Illegal memory access of sink event"

This reverts commit 78614c505a2a761cb4dcb7f4e5f3e9f97c9a8e88.

The code it was fixing does not have any effect anyway and will be removed in
the next commit.

8 years agoqueue: Illegal memory access of sink event
Vineeth TM [Mon, 14 Dec 2015 01:32:14 +0000 (10:32 +0900)]
queue: Illegal memory access of sink event

Once event is pushed to pad, then queue should not access the event.
This is leading to invalid read valgrind errors

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

8 years agoelement: Unref event if GstElement::send_event() is not implemented
Sebastian Dröge [Mon, 14 Dec 2015 09:10:04 +0000 (10:10 +0100)]
element: Unref event if GstElement::send_event() is not implemented

Otherwise we'll take ownership of the event only if it's implemented, and
leak the event in all other situations.

8 years agomanual: Fix dynamic pipeline example
Sebastian Dröge [Mon, 14 Dec 2015 09:04:19 +0000 (10:04 +0100)]
manual: Fix dynamic pipeline example

Use GST_PAD_PROBE_PASS to pass through all events other than EOS instead of
blocking on the first non-EOS event forever. Also fix a typo in a comment in
that function.

Thanks to David Jaggard for reporting this on the mailing list.

8 years agodocs: typo in the location of make_element tool
Luis de Bethencourt [Sun, 13 Dec 2015 00:37:39 +0000 (00:37 +0000)]
docs:  typo in the location of make_element tool

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

8 years agodownloadbuffer: drop unneeded macros for G_OS_WIN32
Reynaldo H. Verdejo Pinochet [Sat, 12 Dec 2015 09:13:59 +0000 (01:13 -0800)]
downloadbuffer: drop unneeded macros for G_OS_WIN32

8 years agofdsrc: drop unneeded macros for G_OS_WIN32
Reynaldo H. Verdejo Pinochet [Sat, 12 Dec 2015 09:09:20 +0000 (01:09 -0800)]
fdsrc: drop unneeded macros for G_OS_WIN32

8 years agofdsrc: enable large file support in Android
Reynaldo H. Verdejo Pinochet [Sat, 12 Dec 2015 09:06:43 +0000 (01:06 -0800)]
fdsrc: enable large file support in Android

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

8 years agofdsink: enable large file support in Android
Reynaldo H. Verdejo Pinochet [Sat, 12 Dec 2015 06:14:32 +0000 (22:14 -0800)]
fdsink: enable large file support in Android

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

8 years agoqueue2: fix some typos
Reynaldo H. Verdejo Pinochet [Sat, 12 Dec 2015 04:52:57 +0000 (20:52 -0800)]
queue2: fix some typos

8 years agoqueue2: enable large file support on Android
Reynaldo H. Verdejo Pinochet [Sat, 12 Dec 2015 04:42:05 +0000 (20:42 -0800)]
queue2: enable large file support on Android

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