Commit graph

17246 commits

Author SHA1 Message Date
Sebastian Dröge
6fcd5351cf Update .po files 2017-01-30 15:22:00 +02:00
Tim-Philipp Müller
9398b7f1a7 datetime: fix potential out-of-bound read on malformed datetime string
https://bugzilla.gnome.org/show_bug.cgi?id=777263
2017-01-15 11:54:13 +00:00
Jan Schmidt
67e9f15944 caps: Fix null pointer dereference on invalid static caps
A typo in a static caps string may result in failure to
deserialise it, so don't dereference the result without
checking.
2017-01-09 15:46:30 +02:00
Jan Schmidt
1543285fd1 queue: Don't generate GST_FLOW_ERROR without logging
At least log a message to the debug log when generating
a GST_FLOW_ERROR, to make it possible to find where it came from.
2017-01-09 15:46:24 +02:00
Jan Schmidt
0e621fec3f padtemplate: Fix null pointer dereference on invalid static caps
A typo in a static caps string may result in failure to
deserialise it, so don't dereference the result without
checking.
2017-01-09 15:46:17 +02:00
Nicolas Dechesne
8ef1b65364 tools: gst-launch: set GST_GL_XINITTHREADS
This ensure that XInitThreads is called and so gl contexts are properly
initialized.

https://bugzilla.gnome.org/show_bug.cgi?id=776401
2017-01-09 15:41:06 +02:00
Fabrice Bellet
44264ae870 basesink: fix a use after free case
The event may be disposed while being pushed, so we make sure the
debug infrastructure won't use it after the gst_pad_push().
2016-12-22 14:43:04 +02:00
Sebastian Dröge
ed57611c4f queue/queue2: Ensure that the streaming thread is unlocked after deactivating the srcpad
It might happen that the srcpad task function is never called at all, in
which case unlocking everything from there will never happen.

Make sure to unlock everything another time after the task function is
definitely stopped.

https://bugzilla.gnome.org/show_bug.cgi?id=776039
2016-12-22 14:39:19 +02:00
Seungha Yang
66f46a0df1 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
2016-12-13 11:43:42 +02:00
Stefan Sauer
a52f5d73bd 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.
2016-12-13 11:43:42 +02:00
Edward Hervey
c9abc9edd3 filesrc: Set GError in another error case
When changing the location while open, properly set the GError regarding
the failure.
2016-12-12 16:27:27 +01:00
Peter Seiderer
dc4d9febab 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
2016-12-07 11:22:16 +02:00
Ricardo Ribalda Delgado
e9e2378e24 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
2016-12-07 11:22:16 +02:00
Marcin Kolny
176c078c45 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
2016-12-07 11:22:16 +02:00
Peter Seiderer
c57f6375f9 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
2016-12-05 20:54:13 +00:00
Sebastian Dröge
10e1acaef5 elements: Handle GstIterator RESYNC return value correctly in gst_iterator_foreach() 2016-12-05 11:02:15 +02:00
Sebastian Dröge
c55c942f58 bin: Make sure to resync iterators and handle RESYNC at all in gst_iterator_foreach() calls 2016-12-05 11:02:15 +02:00
Sebastian Dröge
9222028aaa Release 1.10.2 2016-11-29 16:20:15 +02:00
Sebastian Dröge
7eac0df516 Update .po files 2016-11-29 15:25:41 +02:00
Sebastian Dröge
9af120d318 po: Update translations 2016-11-29 14:21:41 +02:00
Edward Hervey
2e92313dba 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.
2016-11-28 18:28:33 +01:00
Sebastian Dröge
b6747e6a9d 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.
2016-11-28 12:38:24 +02:00
Jan Schmidt
f8775abcae 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)
2016-11-24 13:37:57 +02:00
Tim-Philipp Müller
77566f9151 meson: update version 2016-11-20 14:51:32 +00:00
Sebastian Dröge
100671b42d Release 1.10.1 2016-11-17 15:51:39 +02:00
Sebastian Dröge
535d570426 Update .po files 2016-11-17 14:46:26 +02:00
Sebastian Dröge
79c6e5fb65 po: Update translations 2016-11-17 14:42:21 +02:00
Sebastian Dröge
69513d814d Update .po files 2016-11-17 14:39:04 +02:00
Jan Schmidt
4ec7413bba 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
2016-11-17 00:47:07 +11:00
Sebastian Dröge
45720fc1c2 tee: Set GST_PAD_FLAG_PROXY_CAPS before forwarding sticky events
https://bugzilla.gnome.org/show_bug.cgi?id=752213
2016-11-12 10:43:35 +02:00
Nicolas Huet
a24689a306 adapter: fix distance when getting prev pts/dts at offset
https://bugzilla.gnome.org/show_bug.cgi?id=765662
2016-11-12 10:40:15 +02:00
Guillaume Desmottes
fd0acb4dfb basetransform: fix pool leak when early returning in decide_allocation
https://bugzilla.gnome.org/show_bug.cgi?id=769023
2016-11-11 13:37:19 +00:00
Nirbheek Chauhan
03a409f853 meson: Add GstBase-1.0.gir to gst_base_dep
Without this, GIR generators can't find and use it
2016-11-11 13:37:03 +00:00
Victor Toso
f4baf1512b 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
2016-11-11 13:36:20 +00:00
Victor Toso
04b7010308 pool: Fix compiler warning on mingw64
gstpoll.c: In function 'release_event':
gstpoll.c:239:3: error: suggest parentheses around assignment used as
          truth value [-Werror=parentheses]

   if (status = WaitForSingleObject (set->wakeup_event, INFINITE)) {
   ^~

https://bugzilla.gnome.org/show_bug.cgi?id=774108
2016-11-11 13:36:15 +00:00
Nirbheek Chauhan
ca31500eb9 clock_gettime.c: Use __APPLE__ instead of __MACH__
Hurd also defines __MACH__, but it does not have mach_absolute_time. Use
the more strict __APPLE__ instead.

Has also been sent upstream: https://github.com/libcheck/check/pull/65
2016-11-11 13:33:10 +00:00
Thibault Saunier
7610e50fd0 meson: Unset the plugin paths to generate the .gir files
Avoiding problems when using subproject:

    Failed to load plugin 'something.so: file too short
2016-11-10 01:47:47 +05:30
Thibault Saunier
9f765e1787 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
2016-11-09 17:04:41 -03:00
Nirbheek Chauhan
6d96a6d4ad build: Fix AM_CONDITIONAL check for clock_gettime
It was always evaluating to false, so clock_gettime.c was always being
included into libcheck. This breaks building on Hurd and causes us to
always override clock_gettime() even when it is available.

https://bugzilla.gnome.org/show_bug.cgi?id=773813
2016-11-02 14:04:41 +05:30
Tim-Philipp Müller
f8108a0eac meson: update version 2016-11-01 19:40:32 +00:00
Sebastian Dröge
81ee25ad4e Release 1.10.0 2016-11-01 17:50:24 +02:00
Sebastian Dröge
63cdacdb77 Update .po files 2016-11-01 17:40:11 +02:00
Sebastian Dröge
334e546fd3 po: Update translations 2016-11-01 17:38:43 +02:00
Sebastian Dröge
4b3c9e602f Update .po files 2016-11-01 17:36:02 +02:00
Nirbheek Chauhan
9154132135 meson: Add an option to explicitly disable gtk-doc
Similar to how Autotools provides an option, default is 'enabled'.
2016-10-25 12:21:07 +05:30
Nicolas Dufresne
eab0e76268 Revert "collectpads: Assume PTS is equal DTS if PTS is missing"
This reverts commit 9b0d42ceec.

https://bugzilla.gnome.org/show_bug.cgi?id=762207
2016-10-24 11:54:34 -04:00
Nicolas Dufresne
3fc8a334b7 allocator: Mark registered allocator for leak 2016-10-24 11:54:22 -04:00
Andrew Eikum
ec4c76f297 gstmessage.h: Avoid gcc bit shift overflow compiler warning
Avoids bit shift overflow warning with gcc6.

https://bugzilla.gnome.org/show_bug.cgi?id=767882 (glib)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71803 (gcc)
https://bugzilla.gnome.org/show_bug.cgi?id=767883
2016-10-24 11:49:37 +01:00
Tim-Philipp Müller
f7391936ce parse: fix erroneous use of _("")
Fixes xgettext warnings when doing 'make update-po':
gst/parse/grammar.y:217: warning: Empty msgid.  It is reserved by GNU gettext:
                                  gettext("") returns the header entry with
                                  meta information, not the empty string.
2016-10-23 22:11:08 +01:00
Tim-Philipp Müller
9429a7b932 docs: add index for API new in 1.10 2016-10-22 17:18:59 +01:00