Thibault Saunier [Wed, 30 Nov 2016 18:10:48 +0000 (15:10 -0300)]
info: Add a 'flags' parametter to gst_debug_get_stack_trace
This is an API break but that API has not been released yet.
We are passing a flag rather than a simple boolean as we can imagine
to implement more features in the future for example to retrieve a
stack trace for all the threads, etc..
Retrieving source file and line numbers is pretty
expensive while getting a stack trace, this new argument
allows the user to decide to retrieve a backtrace
without those infos instead which is much faster.
For example running $ GST_LEAKS_TRACER_STACK_TRACE=1 GST_DEBUG=GST_TRACER:7 \
GST_TRACERS=leaks time gst-launch-1.0 videotestsrc num-buffers=1 ! fakesink:
* With simple stack traces:
0.04s user 0.02s system 99% cpu 0.060 total
* With full stack traces:
0.66s user 0.23s system 96% cpu 0.926 total
https://bugzilla.gnome.org/show_bug.cgi?id=775423
Edward Hervey [Mon, 12 Dec 2016 15:19:13 +0000 (16:19 +0100)]
filesrc: Set GError in another error case
When changing the location while open, properly set the GError regarding
the failure.
Seungha Yang [Sat, 10 Dec 2016 09:38:32 +0000 (18:38 +0900)]
multiqueue: Fix overflow on get_buffering_level()
guint64 denominator factor for gst_util_uint64_scale_int() can cause overflow
https://bugzilla.gnome.org/show_bug.cgi?id=775921
Thibault Saunier [Fri, 9 Dec 2016 22:28:22 +0000 (19:28 -0300)]
meson: Fix build
Thibault Saunier [Fri, 9 Dec 2016 20:55:39 +0000 (17:55 -0300)]
meson: Support building with Gst debug disabled
Nirbheek Chauhan [Fri, 9 Dec 2016 17:09:36 +0000 (22:39 +0530)]
check: Fix macro check for OS X
TARGET_OS_MAC is defined on all Apple platforms. You need to check for
!TARGET_OS_IPHONE to detect OS X (now called macOS).
Sebastian Dröge [Fri, 9 Dec 2016 16:02:15 +0000 (18:02 +0200)]
typefind: Use gst_query_has_scheduling_mode_with_flags() convenience function
Nirbheek Chauhan [Fri, 9 Dec 2016 12:31:35 +0000 (18:01 +0530)]
check: Don't try to include CoreServices.h on iOS
On iOS, we have MobileCoreServices.h but it's not really needed.
Nirbheek Chauhan [Fri, 9 Dec 2016 12:29:53 +0000 (17:59 +0530)]
check: Don't check for malloc/realloc and try to fallback
When malloc is not available, this will set #define malloc rpl_malloc
which is implemented only inside libcheck, and not everything will link
to libcheck.
We don't really need to care too much about how malloc is implemented
and we don't care about platforms that don't implement malloc.
Nirbheek Chauhan [Fri, 9 Dec 2016 10:33:41 +0000 (16:03 +0530)]
Add a README.txt with context for libcheck
https://bugzilla.gnome.org/show_bug.cgi?id=775870
Nirbheek Chauhan [Fri, 9 Dec 2016 09:48:11 +0000 (15:18 +0530)]
libcheck: Update the compatibility code and checks
This brings us up-to-speed with the latest compatibility code from upstream
check git. For completeness, we do all the checks that upstream check does, but
we skip the snprintf/vsnprintf code because it's not straightforward (involves
running code and that is bad for cross-compilation) and not necessary for the
platforms we support anyway.
If someone really wants this, they can uncomment this and copy the relevant
checks from the check git repository.
https://bugzilla.gnome.org/show_bug.cgi?id=775870
Nirbheek Chauhan [Fri, 9 Dec 2016 09:48:11 +0000 (15:18 +0530)]
libcheck: Just move libcompat files to a subdir
Makes it clearer which files are actually used in libcheck and which are used
for cross-platform compatibility. This is going to be especially useful when we
add all the libcompat fallback code that upstream libcheck has which will add
about 6 new files.
https://bugzilla.gnome.org/show_bug.cgi?id=775870
Nirbheek Chauhan [Fri, 9 Dec 2016 09:48:11 +0000 (15:18 +0530)]
libcheck: port to latest check git
Upstream seems to have stopped doing releases, but we need to update for better
Windows and Visual Studio support.
This patch only updates the libcheck sources and ignores the compatibility
sources for now.
https://bugzilla.gnome.org/show_bug.cgi?id=775870
Stefan Sauer [Thu, 8 Dec 2016 21:03:19 +0000 (22:03 +0100)]
tracers/log: log more detail
Log the objects like we would in GST_TRACE_OBJECT. Add the hook function into
the fucntion field.
Stefan Sauer [Thu, 8 Dec 2016 21:02:17 +0000 (22:02 +0100)]
tracer/log: fix hook prototype
s/GstElement/GstPad/
Stefan Sauer [Thu, 8 Dec 2016 19:20:17 +0000 (20:20 +0100)]
tracer: move the PAD_LINK tracer hook to _pad_link_full()
This is ultimately executing the pad_link. In the previous position we missed
some links, notably ghostpads.
Stefan Sauer [Wed, 7 Dec 2016 20:53:49 +0000 (21:53 +0100)]
tracer/latency: clear qdata
When reading the qdata, clear it to avoid it being read and unreffed again.
Fixes #774332
Peter Seiderer [Tue, 6 Dec 2016 21:32:31 +0000 (22:32 +0100)]
gstconfig: Fix unaligned access support for arc and nios2 architectures
Fixes buildroot autobuild failures ([1], [2]).
[1] http://autobuild.buildroot.net/results/fbd/
fbdcd90635d5ec3a62ad98a7ff93b71b8e5ecde4
[2] http://autobuild.buildroot.net/results/f3c/
f3c9b0ed4ffb114221057237ce22c995b673a98b
https://bugzilla.gnome.org/show_bug.cgi?id=775728
Seungha Yang [Tue, 22 Nov 2016 07:52:46 +0000 (16:52 +0900)]
uri: Add new uri API to get media fragments URI as table
As an usecase of URI fragment, it can indicate temporal or spatial
dimension of a media stream. To easily parse key-value pair,
newly added gst_uri_get_media_fragment_table () API will provide
the table of key-value pair likewise URI query.
See also https://www.w3.org/TR/media-frags/
https://bugzilla.gnome.org/show_bug.cgi?id=774830
Ricardo Ribalda Delgado [Tue, 6 Dec 2016 15:27:23 +0000 (16:27 +0100)]
helpers/gst: Get bash completion options from gst-launch
It is more likely that gst-launch is installed than ges-launch
Reported-by: Marianna Smidth Buschle <msb@qtec.com>
https://bugzilla.gnome.org/show_bug.cgi?id=775714
Tim-Philipp Müller [Tue, 6 Dec 2016 18:06:56 +0000 (18:06 +0000)]
configure: update for removed docs/design directory
Thibault Saunier [Mon, 5 Dec 2016 21:16:34 +0000 (18:16 -0300)]
docs: Remove design doc as they have been moved to gst-docs
https://bugzilla.gnome.org/show_bug.cgi?id=775667
Thibault Saunier [Tue, 29 Nov 2016 20:34:40 +0000 (17:34 -0300)]
info: Properly start and end dwfl sessions when getting stack traces
We were creating a new session to retrive each line of a stack trace
and we are supposed to start it once for a whole stack trace.
And pass the whole file to gst-indent.
https://bugzilla.gnome.org/show_bug.cgi?id=775365
Marcin Kolny [Fri, 2 Dec 2016 21:47:32 +0000 (22:47 +0100)]
net: set clock name in the constructor
gst_net_client_clock_new() and gst_ntp_clock_new() didn't set the
"name" property.
https://bugzilla.gnome.org/show_bug.cgi?id=775538
Peter Seiderer [Mon, 5 Dec 2016 20:09:52 +0000 (21:09 +0100)]
gstconfig: Fix unaligned access support for microblaze and xtensa architectures
Fixes buildroot autobuild failures, for details see:
http://lists.busybox.net/pipermail/buildroot/2016-December/178895.html
https://bugzilla.gnome.org/show_bug.cgi?id=775661
Tim-Philipp Müller [Fri, 2 Dec 2016 15:30:59 +0000 (15:30 +0000)]
meta: remove unnecessary padding for GstMetaInfo struct
This structure is always allocated by GStreamer, can't be
subclassed or extended, and is never allocated or used on
the stack, so we don't need any padding and can extend it
as we please.
Tim-Philipp Müller [Wed, 29 Jun 2016 18:36:09 +0000 (19:36 +0100)]
fakesink, identity: print metas attached to buffer in silent=false mode
Sebastian Dröge [Mon, 5 Dec 2016 09:01:45 +0000 (11:01 +0200)]
elements: Handle GstIterator RESYNC return value correctly in gst_iterator_foreach()
Stefan Sauer [Sun, 4 Dec 2016 11:15:09 +0000 (12:15 +0100)]
tracers/log: log messages in message category
Edward Hervey [Sat, 3 Dec 2016 07:19:08 +0000 (08:19 +0100)]
Automatic update of common submodule
From f980fd9 to 39ac2f5
Sebastian Dröge [Thu, 1 Dec 2016 16:20:11 +0000 (18:20 +0200)]
bin: Make sure to resync iterators and handle RESYNC at all in gst_iterator_foreach() calls
Sebastian Dröge [Tue, 29 Nov 2016 16:14:24 +0000 (18:14 +0200)]
clock: Fix offsetting of times_temp relative to the times array
Thibault Saunier [Tue, 29 Nov 2016 13:34:14 +0000 (10:34 -0300)]
meson: Set default debug level to ERROR when running from git
Nirbheek Chauhan [Mon, 28 Nov 2016 13:58:27 +0000 (19:28 +0530)]
Edward Hervey [Mon, 28 Nov 2016 13:11:27 +0000 (14:11 +0100)]
check/pipeline: Make failure message more informative
This will provide maybe a bit more insight the next time it fails
Edward Hervey [Mon, 28 Nov 2016 13:00:18 +0000 (14:00 +0100)]
check/memory: Don't leak the custom allocator
Edward Hervey [Mon, 28 Nov 2016 12:48:16 +0000 (13:48 +0100)]
gstutils: Fix a pad leak
When requesting a pad from a template and it's already linked, this
means it was a static pad. Since we only want to return an *available*
pad, we must return NULL ... but we must also remove the reference
we got from getting that static pad.
The "No need to unref" message (which wasn't true for quite some time)
dates back from the very very very first commit introducing the 0.10
features.
Edward Hervey [Mon, 28 Nov 2016 08:50:40 +0000 (09:50 +0100)]
check: Fix leak in queue2 test
Sebastian Dröge [Wed, 23 Nov 2016 13:41:28 +0000 (15:41 +0200)]
utils: Export linear regression calculation as public function
It is useful outside the GstClock code too.
https://bugzilla.gnome.org/show_bug.cgi?id=774916
Tim-Philipp Müller [Mon, 28 Nov 2016 11:56:23 +0000 (11:56 +0000)]
Remove generated gstreamer.spec file
Likely extremely bitrotten, and we should not ship this anyway.
Tim-Philipp Müller [Mon, 28 Nov 2016 11:09:08 +0000 (11:09 +0000)]
docs: add dataurisrc to docs and update
https://bugzilla.gnome.org/show_bug.cgi?id=774527
Tim-Philipp Müller [Mon, 28 Nov 2016 11:10:05 +0000 (11:10 +0000)]
tests: filesrc: init and clear GCond and mutex
Might otherwise leak on non-Linux systems.
Tim-Philipp Müller [Mon, 28 Nov 2016 11:08:24 +0000 (11:08 +0000)]
tests: rewrite and enable dataurisrc test
Can't use playbin for core unit tests.
https://bugzilla.gnome.org/show_bug.cgi?id=774527
Tim-Philipp Müller [Mon, 28 Nov 2016 11:07:20 +0000 (11:07 +0000)]
elements: add dataurisrc to build
Moved from -bad.
Tim-Philipp Müller [Mon, 28 Nov 2016 10:42:46 +0000 (10:42 +0000)]
dataurisrc: fix string leak in property getter
Tim-Philipp Müller [Mon, 28 Nov 2016 11:18:39 +0000 (11:18 +0000)]
Move dataurisrc element from -bad
https://bugzilla.gnome.org/show_bug.cgi?id=774527
Sebastian Dröge [Mon, 28 Nov 2016 10:28:28 +0000 (12:28 +0200)]
message: Ensure that the "debug" field of error/warning/info messages is valid UTF-8
The caller might pass arbitrary data here that caused the error, and
trying to set invalid UTF-8 in a GstStructure causes it to be not set at
all. Later when trying to parse it, the field will not exist and the
return value will point to invalid memory. Prevent this by storing NULL
instead.
Also print a g_warning(), the caller should never ever do this to begin
with.
Tim-Philipp Müller [Sat, 26 Nov 2016 11:20:51 +0000 (11:20 +0000)]
common: use https protocol for common submodule
https://bugzilla.gnome.org/show_bug.cgi?id=775110
Hanno Boeck [Sat, 26 Nov 2016 11:06:20 +0000 (11:06 +0000)]
scripts: create-uninstalled-setup: use https protocol to clone repos
The git:// protocol is problematic from a security perspective, as
it provides no authenticity of data. https:// also works better in
environments with restricted network connectivity.
Also add CLONE_OPTS to do shallow checkouts more easily.
https://bugzilla.gnome.org/show_bug.cgi?id=775110
Ting-Wei Lan [Mon, 14 Nov 2016 19:03:22 +0000 (03:03 +0800)]
meson: Support execinfo.h on FreeBSD by using -lexecinfo
FreeBSD supports execinfo.h and backtrace* functions, but
using them requires linking with -lexecinfo.
Requires sufficiently-new meson with #1053 fixed (post-0.36).
https://bugzilla.gnome.org/show_bug.cgi?id=774424
Edward Hervey [Wed, 23 Nov 2016 17:56:20 +0000 (18:56 +0100)]
tools: Remove files to be cleaned
manpages are no longer auto-generated
cov-related files should not be there (if needed we could use gitignore)
Olivier Crête [Fri, 4 Nov 2016 22:54:10 +0000 (18:54 -0400)]
basesink: Document the interaction between unlock() and wait_preroll()
This was totally non-obvious, the kind of big problem is that subclasses must
be able to unblock their streaming thread and continue exactly where they left off
on unpause!
https://bugzilla.gnome.org/show_bug.cgi?id=773912
Olivier Crête [Fri, 4 Nov 2016 22:46:45 +0000 (18:46 -0400)]
fdsink: Block in preroll_wait on unlock
The correct behaviour of anything stuck in the ->render() function
between ->unlock() and ->unlock_stop() is to call
gst_base_sink_wait_preroll() and only return an error if this returns an
error, otherwise, it must continue where it left off!
https://bugzilla.gnome.org/show_bug.cgi?id=773912
Sebastian Dröge [Wed, 23 Nov 2016 16:57:17 +0000 (18:57 +0200)]
element: Don't increment NULL pointers
Trivial workaround for coverity false warning.
CID 1394488, 1394487.
Tim-Philipp Müller [Wed, 23 Nov 2016 09:58:44 +0000 (09:58 +0000)]
tools: fix distcheck and .gitignore
Antonio Ospite [Thu, 3 Nov 2016 09:30:53 +0000 (10:30 +0100)]
meson: tools: install the man pages
https://bugzilla.gnome.org/show_bug.cgi?id=773917
Antonio Ospite [Thu, 3 Nov 2016 09:30:53 +0000 (10:30 +0100)]
tools: ship the final man pages directly, no more man pages templates
Don't use templates for the man pages, the API version change is a rare
event, so it's not really worth keeping in place the "sed" boilerplate
to have it set at build time.
Shipping the final man pages directly also makes it easer to install the
man pages with meson (in a future commit).
Note that now all the occurrences of the programs names have the API
version as a suffix.
Traditionally the example command lines looked like:
gst-launch ...
Now they look like:
gst-launch-1.0 ...
This reflects the actual programs names and makes it easier to copy and
paste the example commands.
Also, the .gitignore file is adjusted not to ignore the final man pages
anymore.
You may need to clean your src/build directory before pulling in this
patch.
https://bugzilla.gnome.org/show_bug.cgi?id=773917
Matthew Waters [Fri, 18 Nov 2016 02:09:21 +0000 (13:09 +1100)]
controllers: add new proxy control binding
Allows proxying the control interface from one property on one GstObject
to another property (of the same type) in another GstObject.
E.g. in a parent-child relationship, one may need to
gst_object_sync_values() on the child and have a binding (set elsewhere)
on the parent update the value.
Note: that this doesn't solve GObject property forwarding and must be
taken care of by the implementation manually or using GBinding.
https://bugzilla.gnome.org/show_bug.cgi?id=774657
Julien Isorce [Fri, 7 Oct 2016 10:39:26 +0000 (11:39 +0100)]
memory: log with GST_INFO instead GST_ERROR when subclass map failed.
Add unit test to ensure that.
It can be a normal execution path to do some map trials and there is
no need to worry the user in that case.
The application has to check the return value of gst_memory_map.
https://bugzilla.gnome.org/show_bug.cgi?id=765600
Sebastian Dröge [Thu, 17 Nov 2016 15:37:16 +0000 (17:37 +0200)]
basetransform: Ensure to set the RECONFIGURE flag again if reconfiguration failed
It might've failed just because of flushing or other things, and we
should retry again on the next possibility if something ever calls in
here again.
https://bugzilla.gnome.org/show_bug.cgi?id=774623
Scott D Phillips [Fri, 18 Nov 2016 00:39:52 +0000 (16:39 -0800)]
meson: add_global_arguments -> add_project_arguments
https://bugzilla.gnome.org/show_bug.cgi?id=774656
Jan Schmidt [Wed, 16 Nov 2016 12:19:28 +0000 (23:19 +1100)]
multiqueue: Make sure not-linked streams get woken up
When running in sync-by-running-time mode, pad groups
that have exactly 1 pad and it's not-linked might never
wake up after computing a high time, as the per-pad-group
high time was only recomputed when a pad in the group
advances.
Wake those up using the global multiqueue high-time across
all other groups instead.
https://bugzilla.gnome.org/show_bug.cgi?id=774322
Tim-Philipp Müller [Wed, 16 Nov 2016 10:55:29 +0000 (10:55 +0000)]
docs: misc fixes
Tim-Philipp Müller [Wed, 16 Nov 2016 10:51:48 +0000 (10:51 +0000)]
utils: use temp var in fallback GST_WRITE_*() macros
To make sure the value is only expanded/used once, in case
there are side effects to it, and to avoid calculating it
or looking it up multiple times if there is a calculation
or lookup involved.
Jan Schmidt [Tue, 15 Nov 2016 13:30:26 +0000 (00:30 +1100)]
baseparse: Fix previous commit
Check the correct segment format value.
parse->segment.format is the format we're outputting in,
not the upstream format. Use parse->priv->upstream_format instead,
and make sure it's set in pull mode.
Jan Schmidt [Tue, 15 Nov 2016 12:51:06 +0000 (23:51 +1100)]
baseparse: Restrict query/convert responses when demuxing
If the parser is not parsing a raw elementary stream, restrict
the position, duration and conversion query replies to
things we can sensibly answer about - especially don't do
random conversions to/from bytes.
Jan Schmidt [Tue, 15 Nov 2016 11:39:43 +0000 (22:39 +1100)]
queues: Don't return negative position queries.
When subtracting queued data sizes from upstream queries
in queue, queue2, downloadbuffer and typefind, clamp the
result to not go negative, in case upstream returned
a nonsense value that's too small (as could happen if
upstream is estimating, or just broken)
Scott D Phillips [Mon, 14 Nov 2016 19:27:05 +0000 (11:27 -0800)]
Cast away const from GstMetaInfo in *_get_meta_info() functions
MSVC warns about the const in the implicit argument conversion in the
calls to g_once_init_{enter,leave}. It's OK so explicitly cast it.
https://bugzilla.gnome.org/show_bug.cgi?id=774293
Scott D Phillips [Mon, 14 Nov 2016 19:32:51 +0000 (11:32 -0800)]
typefindhelper: Update prototype of helper_find_suggest()
forward declaration prototype is updated to match the change in:
5a72c23 Change some types to match their prototypes
https://bugzilla.gnome.org/show_bug.cgi?id=774293
Tim-Philipp Müller [Mon, 14 Nov 2016 21:28:22 +0000 (21:28 +0000)]
win32: remove copies of generated headers
Tim-Philipp Müller [Mon, 14 Nov 2016 21:18:13 +0000 (21:18 +0000)]
docs: remove more docbook build cruft that's no longer needed
Stefan Sauer [Mon, 14 Nov 2016 20:29:43 +0000 (21:29 +0100)]
docs/README: remove more outdated pieces of info/advice
Stefan Sauer [Thu, 20 Oct 2016 20:32:50 +0000 (22:32 +0200)]
scripts/gst-plot-traces.sh: make log parsing a bit more solid
Use grep -o to grab the log message only. This makes it work with colored log
files too. Prefilter the log to not catch tracer classes.
Update the commandline for the script in the docs.
Thibault Saunier [Thu, 20 Oct 2016 18:38:46 +0000 (15:38 -0300)]
meson: require meson 0.36 and use new `pic` arg on static libs
Removes a meson warning and some special casing we had.
Scott D Phillips [Fri, 11 Nov 2016 18:30:44 +0000 (10:30 -0800)]
Change some types to match their prototypes
Particularly note that the underlying integer type of the enum
GstTypeFindProbability is implementation dependent and may not match
guint.
https://bugzilla.gnome.org/show_bug.cgi?id=774293
Tim-Philipp Müller [Mon, 14 Nov 2016 18:04:28 +0000 (18:04 +0000)]
po: update for new translatable strings
Tim-Philipp Müller [Mon, 14 Nov 2016 17:46:07 +0000 (17:46 +0000)]
docs: remove FAQ which was moved into gst-docs module
Nicola Murino [Wed, 29 Apr 2015 10:34:49 +0000 (12:34 +0200)]
gst-uninstalled: add GIO_EXTRA_MODULES
In case glib is installed into local prefix dir.
https://bugzilla.gnome.org/show_bug.cgi?id=748626
Tim-Philipp Müller [Sat, 12 Nov 2016 12:36:05 +0000 (12:36 +0000)]
utils: faster GST_WRITE_* macros if unaligned access is possible
https://bugzilla.gnome.org/show_bug.cgi?id=599546
Tim-Philipp Müller [Fri, 11 Nov 2016 20:31:03 +0000 (20:31 +0000)]
parse: better error message when linking two elements with capsfilter fails
https://bugzilla.gnome.org/show_bug.cgi?id=760550
Tim-Philipp Müller [Fri, 11 Nov 2016 16:11:15 +0000 (16:11 +0000)]
Add gst_print(), gst_println(), gst_printerr(), gst_printerrln()
Useful for debugging.
https://bugzilla.gnome.org/show_bug.cgi?id=766470
Scott D Phillips [Fri, 11 Nov 2016 18:23:17 +0000 (10:23 -0800)]
taglist: remove `return void` in gst_tag_register
MSVC warns on this and the documentation about the warning says:
> The compiler assumes the function returns a value of type int
which is a little scary, so lets just remove the unnecessary 'return'
https://bugzilla.gnome.org/show_bug.cgi?id=774293
Nicolas Huet [Mon, 9 May 2016 13:32:43 +0000 (15:32 +0200)]
tests: add unit test for gst_adapter_prev_pts_at_offset()
https://bugzilla.gnome.org/show_bug.cgi?id=765662
Nicolas Huet [Wed, 27 Apr 2016 08:57:29 +0000 (10:57 +0200)]
adapter: fix distance when getting prev pts/dts at offset
https://bugzilla.gnome.org/show_bug.cgi?id=765662
Scott D Phillips [Thu, 27 Oct 2016 05:38:07 +0000 (22:38 -0700)]
meson: don't add_global_arguments when being built as a subproject
https://bugzilla.gnome.org/show_bug.cgi?id=773568
Guillaume Desmottes [Thu, 21 Jul 2016 08:52:30 +0000 (10:52 +0200)]
basetransform: fix pool leak when early returning in decide_allocation
https://bugzilla.gnome.org/show_bug.cgi?id=769023
Guillaume Desmottes [Wed, 27 Jul 2016 11:39:50 +0000 (13:39 +0200)]
info: add GstStream and GstStreamCollection support to gst_debug_print_object()
https://bugzilla.gnome.org/show_bug.cgi?id=769220
Seungha Yang [Thu, 11 Aug 2016 23:03:41 +0000 (08:03 +0900)]
basesrc: Support PROTECTION event from application
Application may want to send PROTECTION event to the src element.
https://bugzilla.gnome.org/show_bug.cgi?id=769775
Antonio Ospite [Thu, 3 Nov 2016 12:34:18 +0000 (13:34 +0100)]
meson: tools: generate the targets dynamically
The three targets are the same except for input and output
files, use a loop and generate them dynamically.
https://bugzilla.gnome.org/show_bug.cgi?id=773917
Antonio Ospite [Thu, 3 Nov 2016 14:21:05 +0000 (15:21 +0100)]
tools: don't mention gst-feedback in man pages
gst-feedback no longer exists.
https://bugzilla.gnome.org/show_bug.cgi?id=773917
Antonio Ospite [Wed, 2 Nov 2016 23:18:21 +0000 (00:18 +0100)]
tools: put the examples descriptions before the commands in man page
Put the description of the example command lines before the command
instead of after them. The new way is more intuitive.
https://bugzilla.gnome.org/show_bug.cgi?id=773917
Antonio Ospite [Wed, 2 Nov 2016 21:56:01 +0000 (22:56 +0100)]
tools: don't start lines with single quotes in man page
When a line starts with a single quote it's treated in a special way by
man, which may result in paragraphs of the man page not rendered by the
man pager, so just avoid that.
A possible solution could have been to escape the singe quote with
a \(cq sequence but this is rather unreadable, instead the text has been
reformatted to have the problematic quoted 'ppc' string on the previous
line.
https://bugzilla.gnome.org/show_bug.cgi?id=773917
Antonio Ospite [Wed, 2 Nov 2016 21:36:27 +0000 (22:36 +0100)]
tools: escape dashes in the man pages
The portable way to have the dashes to be rendered as ASCII minuses is
to use the sequence backslash-dash, use this style at least for text
that can be copied and pasted (e.g. command names, file names, element
options).
Also use backslash-dash in the NAME section as suggested by lexgrog(1).
https://bugzilla.gnome.org/show_bug.cgi?id=773917
Nirbheek Chauhan [Thu, 10 Nov 2016 23:12:30 +0000 (04:42 +0530)]
meson: Fir dependencies of gstnet-1.0
It depends on gst_base_dep which will pull in gst_dep
Nirbheek Chauhan [Thu, 10 Nov 2016 23:11:39 +0000 (04:41 +0530)]
meson: Add GstBase-1.0.gir to gst_base_dep
Without this, GIR generators can't find and use it
Tim-Philipp Müller [Thu, 10 Nov 2016 13:42:46 +0000 (13:42 +0000)]
baseparse: add since marker for new API to docs and fix win32 .def file
Vincent Penquerc'h [Thu, 10 Nov 2016 12:47:37 +0000 (12:47 +0000)]
baseparse: expose gst_base_parse_drain
Thibault Saunier [Wed, 9 Nov 2016 17:07:28 +0000 (14:07 -0300)]
meson: Advertise dependency on gst_dep generating girs
And do not simply link to libgst as the gir information
location only exist in declare_dependecy
https://bugzilla.gnome.org/show_bug.cgi?id=774044
Victor Toso [Tue, 8 Nov 2016 16:09:53 +0000 (17:09 +0100)]
tests: Fix compile warning on mingw64
In file included from ../../libs/gst/net/gstntppacket.c:35:0,
from netclock-replay.c:25:
../../config.h:546:0: error: "__MSVCRT_VERSION__" redefined [-Werror]
#define __MSVCRT_VERSION__ 0x0601
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/crtdefs.h:10:0,
from /usr/x86_64-w64-mingw32/sys-root/mingw/include/stdio.h:9,
from netclock-replay.c:21:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/_mingw.h:220:0: note:
this is the location of the previous definition
# define __MSVCRT_VERSION__ 0x0700
https://bugzilla.gnome.org/show_bug.cgi?id=774108
Sebastian Dröge [Wed, 9 Nov 2016 09:37:09 +0000 (11:37 +0200)]
funnel: Make sure to only lock the stream lock once
We also only unlock it once, and otherwise have it locked forever from
this thread, causing deadlocks on shutdown later.