Sebastian Dröge
d787105fd5
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.
2016-01-07 18:41:25 +02:00
Stefan Sauer
842b472772
win32: update win32 exports
...
Remove the _hook_id() methods we made internal in the prev commit.
2016-01-06 21:42:30 +01:00
Stefan Sauer
555f48da4b
structure: log a warning if we can't serialize a field
...
The function always returns TRUE right now, so atleast log something.
2016-01-06 21:25:32 +01:00
Aleksander Wabik
90318900a1
tests: queue2: add test for fill level arithmetic overflow
...
https://bugzilla.gnome.org/show_bug.cgi?id=755971
2016-01-06 20:00:46 +00:00
Tim-Philipp Müller
61e2f1eab1
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.
2016-01-06 20:00:46 +00:00
Tim-Philipp Müller
8c6c0bef88
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
2016-01-06 20:00:46 +00:00
Stefan Sauer
5e40639be7
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.
2016-01-06 20:46:58 +01:00
Tim-Philipp Müller
d94e0c4563
docs: design: update list of disted files after file rename
2016-01-06 18:56:56 +00:00
Sebastian Dröge
2d38699144
docs: Hide NTP packet API and add GST_PTP_STATISTICS_* defines to the docs
2016-01-06 19:42:49 +02:00
Stefan Sauer
2159aa56bc
docs: remove parent docs for GstPtpClock
...
Instance docs don't need to docuemnt the parent (first member).
2016-01-06 18:17:27 +01:00
Stefan Sauer
8b6ad65e63
docs: cleanup -unused.txt report for libs
...
The IGNORE_H_FILES can only contain files or dirs.
2016-01-06 18:14:06 +01:00
Stefan Sauer
110451397a
docs: add more core api to the right sections
...
Add new and documented api reported in -unused.txt to -section.txt.
2016-01-06 17:59:23 +01:00
Stefan Sauer
cf0738e43e
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.
2016-01-06 17:59:23 +01:00
Sebastian Dröge
5fe1b7efe3
clock: adjust/unadjust_with_calibration() have a clock parameter but it's useless
...
Document this, for 2.0 we should just remove that parameter.
2016-01-06 16:25:38 +02:00
Sebastian Dröge
fb01dd000b
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.
2016-01-06 16:25:38 +02:00
Stefan Sauer
0c952d0711
docs: add new pad-event function to the docs
2016-01-06 13:33:39 +01:00
Stefan Sauer
0be259f44f
docs: hide internal tracer api from docs
...
Also address warnigns regarding the unstable tracer api.
2016-01-06 13:30:25 +01:00
Stefan Sauer
efa316d666
docs: add the tracer to the docs
...
Add GstTracer and GstTracerFactory to the core docs.
2016-01-06 13:05:53 +01:00
Stefan Sauer
4cc1116a9d
docs: rename the tracer doc to part since it is now merged
2016-01-06 11:52:53 +01:00
Stefan Sauer
1af0a3ce6f
tracerutils: move header to noinst section
...
This is internal code, that is only to be used in core.
2016-01-06 11:37:12 +01:00
Stefan Sauer
e5ca47236e
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.
2016-01-06 11:33:34 +01:00
Sebastian Dröge
01ba6d40a8
clock: Fix typo
...
clocked -> clock
2016-01-05 16:44:53 +02:00
Sebastian Dröge
1c010fd230
netclientclock: Disconnect the "synced" signal handler from the internal clock
...
Not from the external one.
2016-01-05 15:00:14 +02:00
Stefan Sauer
ab17881cf0
controller: rename new cubic interpolation mode
...
Don't abbreviate to 'mono' and use 'monotonic' instead.
2016-01-05 13:57:12 +01:00
Sebastian Dröge
2f776d679f
clock: Don't allow setting an unsynced clock as master
2016-01-05 14:23:26 +02:00
Sebastian Dröge
ab827eca2e
clock: Don't try to slave unsynced clocks
...
They will return useless values from get_time().
2016-01-05 14:21:58 +02:00
Sebastian Dröge
58b4e075a6
ntp: The clock inherits from GstNetClientClock, not just GstSystemClock
2016-01-05 13:41:08 +02:00
Sebastian Dröge
29136a0186
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.
2016-01-04 17:18:07 +02:00
Sebastian Dröge
33dcec7b74
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.
2016-01-04 16:31:23 +02:00
Sebastian Dröge
23abc425d4
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.
2016-01-04 10:40:35 +02:00
Sebastian Dröge
5dc8cea6f4
nettimeprovider: Mark address, port and clock properties CONSTRUCT_ONLY
...
They can't sensibly be changed after construction.
2016-01-04 10:40:35 +02:00
Stefan Sauer
bdc60306c7
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.
2016-01-03 22:58:06 +01:00
Stefan Sauer
46a851b279
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
2016-01-03 22:58:06 +01:00
Tim-Philipp Müller
7c992cfbe0
docs: fix some warnings and add some since markers
2016-01-03 17:50:35 +00:00
Stefan Sauer
1205a04a25
tracing: add some pointers about memory tracing
2016-01-03 11:40:12 +01:00
Stefan Sauer
583304959a
grammar.y: remove trailing whitespace
2016-01-03 11:39:56 +01:00
Tim-Philipp Müller
4e437a564d
tests: value: test buffer serialisation/deserialisation more thoroughly
...
Tests data/strings as well, not just that we received
something non-NULL back.
2015-12-31 12:21:12 +00:00
Tim-Philipp Müller
433581c05a
gst: fix typo in comment
2015-12-31 12:20:59 +00:00
Sebastian Dröge
9f36b4383b
netclientclock: Implement resolval of hostnames
...
Just allowing IPs here is not ideal and implementing DNS resolval is easy.
2015-12-30 16:59:24 +02:00
Sebastian Dröge
2bfa204c30
ptpclock: Add read-only properties to get the master and grandmaster clock ids
2015-12-29 16:29:13 +02:00
Sebastian Dröge
2c272d74fd
caps: Add (transfer full) annotation to simplify() and subtract() return value
...
https://bugzilla.gnome.org/show_bug.cgi?id=759948
2015-12-29 14:32:47 +02:00
Aurélien Zanelli
2ee33237c8
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
2015-12-29 14:30:29 +02:00
Sebastian Dröge
99d7ca79e3
net: Add NTP and PTP clock types to the docs
...
This gives us the property documentation for example.
2015-12-28 19:41:38 +02:00
Stefan Sauer
a6e72aa28f
check: don't memcmp twice
...
Simply call fail() in the condition after the first memcmp.
2015-12-27 19:42:37 +01:00
Sebastian Dröge
a65e18d890
Back to development
2015-12-24 15:27:12 +01:00
Sebastian Dröge
2a188848eb
Release 1.7.1
2015-12-24 13:58:52 +01:00
Sebastian Dröge
b610d4c25f
Update .po files
2015-12-24 12:50:33 +01:00
Sebastian Dröge
2f0ceda2a2
po: Update translations
2015-12-24 12:21:21 +01:00
Koop Mast
6bf15b9d96
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
2015-12-21 12:24:11 +01:00
Sebastian Dröge
86cc8f0091
docs: update to git
2015-12-16 09:35:18 +01:00