Commit graph

17260 commits

Author SHA1 Message Date
Tim-Philipp Müller 120e69db60 Automatic update of common submodule
From f980fd9 to 742c09d
2017-08-17 12:06:40 +01:00
Sebastian Dröge 2bec169793 Release 1.10.5 2017-06-15 14:19:59 +03:00
Sebastian Dröge 4eb8908fa9 Update .po files 2017-06-15 12:56:18 +03:00
Sebastian Dröge 37a9b02391 message: Don't pass a NULL debug string to g_utf8_validate()
g_utf8_validate() crashes on NULL, but NULL is valid for the debug
string nonetheless.
2017-05-08 18:13:03 +02:00
Jan Schmidt e68c071bf0 typefind: Switch to normal mode before have-type
Before emitting have-type, switch to NORMAL
mode, as part of the have-type processing sends
the caps event downstream, which might trigger
actions like downstream autoplugging or
flushing seeks - and the latter are only
passed upstream if we've set typefind to NORMAL
mode.
2017-02-27 23:50:41 +11:00
Tim-Philipp Müller f727d67d53 meson: update version 2017-02-23 17:22:33 +00:00
Nirbheek Chauhan 9c80d89d74 meson: Fix build with latest upstream git
Trivial incorrect include_directories() call
2017-02-23 17:20:17 +00:00
Sebastian Dröge 3eff919016 Release 1.10.4 2017-02-23 15:51:57 +02:00
Sebastian Dröge 1e55204eae Update .po files 2017-02-23 15:12:42 +02:00
Tim-Philipp Müller 69c8d994e4 bytereader: fix peek value when scanning for 00 00 01 with non-0 offset
We would add the offset a second time in _scan_for_start_code()
when we found a result, but it's already been added to the data
pointer at the beginning of _masked_scan_uint32_peek(), so the
peeked value would be wrong if the initial offset was >0, and
we would potentially read memory out-of-bounds.

Add unit test for all of this.

https://bugzilla.gnome.org/show_bug.cgi?id=778365
2017-02-23 12:06:59 +02:00
Wim Taymans 190a27a6d0 info: put () around macro arguments
Put braces around macro arguments or else we might run into problems
with operater precedence.
2017-02-20 12:28:36 +01:00
Wim Taymans 8697997e33 deviceproviderfactory: fix empty class check 2017-02-20 10:49:46 +01:00
Sebastian Dröge f7d2624044 parse: Don't translate the "bin" element name
Otherwise we won't be able to create bins, there is no element called
"Behälter" if you're using a German locale.

https://bugzilla.gnome.org/show_bug.cgi?id=777998
2017-02-02 12:39:11 +02:00
Sebastian Dröge a2a831cbc4 Release 1.10.3 2017-01-30 16:26:20 +02:00
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