Matthew Waters [Tue, 1 Nov 2016 05:13:21 +0000 (16:13 +1100)]
gl/docs: update lists of included symbols
in the sections and types files.
Also remove some unneeded types from the documentation as they aren't
exposed as public API
Matthew Waters [Tue, 1 Nov 2016 06:30:03 +0000 (17:30 +1100)]
glsl: fix #version 150 not working with profiles
The spec allows the core/compatibility profiles to be used
with #version 150.
Also tighten up the tests to check for default profiles being chosen
correctly.
Sebastian Dröge [Wed, 2 Nov 2016 18:14:39 +0000 (20:14 +0200)]
ttml: Add meson.build
Sebastian Dröge [Wed, 2 Nov 2016 18:14:23 +0000 (20:14 +0200)]
fdkaac: Add meson.build
Sebastian Dröge [Wed, 2 Nov 2016 14:12:42 +0000 (16:12 +0200)]
decklinkvideosink: Also stop scheduled playback when gst_element_lost_state() is called
Unfortunately this does not go through the normal state change
machinery, so we don't get notified about this in change_state().
However we need to stop scheduled playback, so that once PLAYING is
reached again we can start scheduled playback with the correct time.
Without this, flushing seeks in PLAYING will not work correctly:
decklinkvideosink will wait before showing the new frames for the amount
of time the pipeline was in PLAYING before.
Sebastian Dröge [Wed, 2 Nov 2016 13:00:36 +0000 (15:00 +0200)]
decklink: Use gst_clock_adjust_with_calibration() and unadjust_with_calibration()
Instead of hand-crafted versions of the same calculation. These
calculations are still too complicated though.
Sebastian Dröge [Wed, 2 Nov 2016 12:04:19 +0000 (14:04 +0200)]
dtls: Fix compiler warnings with openssl 1.1 or newer
- DTLSv1_method() is deprecated, and since 1.0.2 replaced by
DTLS_method().
- CRYPTO_set_locking_callback() and CRYPTO_set_id_callback() are
no-ops (empty macros) since 1.1 and are not supposed to be used
anymore.
gstdtlsagent.c: In function ‘gst_dtls_agent_init’:
gstdtlsagent.c:173:3: error: ‘DTLSv1_method’ is deprecated [-Werror=deprecated-declarations]
priv->ssl_context = SSL_CTX_new (DTLSv1_method ());
^~~~
In file included from /usr/include/openssl/ct.h:13:0,
from /usr/include/openssl/ssl.h:61,
from gstdtlsagent.c:40:
/usr/include/openssl/ssl.h:1614:1: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_method(void)) /* DTLSv1.0 */
^
At top level:
gstdtlsagent.c:103:1: error: ‘ssl_thread_id_function’ defined but not used [-Werror=unused-function]
ssl_thread_id_function (void)
^~~~~~~~~~~~~~~~~~~~~~
gstdtlsagent.c:73:1: error: ‘ssl_locking_function’ defined but not used [-Werror=unused-function]
ssl_locking_function (gint mode, gint lock_num, const gchar * file, gint line)
^~~~~~~~~~~~~~~~~~~~
Sebastian Dröge [Wed, 2 Nov 2016 09:21:36 +0000 (11:21 +0200)]
win32: Update for new GstPlayer API
Florian Zwoch [Tue, 5 Jan 2016 17:50:45 +0000 (18:50 +0100)]
dx9screencapsrc: add "cursor" option to draw the cursor
Drawing is done via the GDI drawing functions. The cursor is
converted to a monochrome version before drawing. This is because
the GDI drawing functions seem to have undefined behavior with
cursor images including an alpha channel.
I could not find any other reliable way to draw these alpha
channel cursors without producing unwanted artifacts. These type
of cursors were introduced with Window Vista when run with it's
Aero theme.
Also adjust the cursor coordinates when capturing non-primary
screens via the "monitor" option.
https://bugzilla.gnome.org/show_bug.cgi?id=760172
Sebastian Dröge [Wed, 2 Nov 2016 07:36:04 +0000 (09:36 +0200)]
Revert "tests: rawvideoparse: add test for flow error handling"
This reverts commit
280b4ac2ffc63908a74944f50589b2630be16232.
https://bugzilla.gnome.org/show_bug.cgi?id=773666
Olivier Crête [Fri, 28 Oct 2016 20:39:13 +0000 (16:39 -0400)]
dtls: Downgrade locking debug
Chris Bass [Wed, 29 Jun 2016 08:58:38 +0000 (09:58 +0100)]
ttml: Add plugin that supports TTML subtitles
Add a parser (ttmlparse) and renderer (ttmlrender) element that handle
subtitles that use the EBU-TT-D profile of TTML1.
https://bugzilla.gnome.org/show_bug.cgi?id=758232
Tim-Philipp Müller [Sat, 29 Oct 2016 10:33:18 +0000 (11:33 +0100)]
tests: rawvideoparse: add test for flow error handling
Also needs fixes in baseparse:
https://bugzilla.gnome.org/show_bug.cgi?id=773666
Tim-Philipp Müller [Tue, 1 Nov 2016 18:10:23 +0000 (18:10 +0000)]
meson: update version
Lyon Wang [Wed, 26 Oct 2016 08:28:10 +0000 (16:28 +0800)]
player: Add configuration for enabling accurate seeks
https://bugzilla.gnome.org/show_bug.cgi?id=773521
Vivia Nikolaidou [Fri, 21 Oct 2016 11:01:11 +0000 (14:01 +0300)]
decklinkaudiosrc: Ignore channel-mask when checking set_caps compatibility
channel-mask doesn't matter in decklinkaudiosrc, and differences in it
can cause caps negotiations to fail without a real reason.
https://bugzilla.gnome.org/show_bug.cgi?id=773313
Vincent Penquerc'h [Tue, 4 Oct 2016 15:59:09 +0000 (16:59 +0100)]
tests: add a test for srtp elements
https://bugzilla.gnome.org/show_bug.cgi?id=772357
Vincent Penquerc'h [Mon, 3 Oct 2016 08:52:07 +0000 (09:52 +0100)]
srtpdec: add stats readonly property, similar to srtpenc
https://bugzilla.gnome.org/show_bug.cgi?id=772357
Sebastian Dröge [Mon, 26 Sep 2016 15:01:30 +0000 (18:01 +0300)]
player: Cache duration and return cached duration
https://bugzilla.gnome.org/show_bug.cgi?id=771992
Tim-Philipp Müller [Fri, 8 Jan 2016 21:41:56 +0000 (21:41 +0000)]
bayer: fix stride inconsistencies for odd widths
Consistently use GST_ROUND_UP_4(width) as stride for
bayer buffers. Bayer data will usually come in widths
that are multiples of 4 anyway, so hopefully this
should not have any adverse impact on anyone in
practice.
Before, bayer2rgb required input buffers to are sized
accordingly, but then didn't actually round up when
calculating row offsets. rgb2bayer didn't use a rounded
stride nor buffer size.
https://bugzilla.gnome.org/show_bug.cgi?id=752014
Sebastian Dröge [Tue, 1 Nov 2016 16:53:15 +0000 (18:53 +0200)]
Back to development
Sebastian Dröge [Tue, 1 Nov 2016 15:58:20 +0000 (17:58 +0200)]
Release 1.10.0
Sebastian Dröge [Tue, 1 Nov 2016 15:51:03 +0000 (17:51 +0200)]
Update .po files
Sebastian Dröge [Tue, 1 Nov 2016 15:42:37 +0000 (17:42 +0200)]
po: Update translations
Artem Martynovich [Mon, 31 Oct 2016 13:26:31 +0000 (19:26 +0600)]
directsoundsrc: Correctly cast mixer to uintptr
https://bugzilla.gnome.org/show_bug.cgi?id=773720
Michael Olbrich [Fri, 28 Oct 2016 08:05:20 +0000 (10:05 +0200)]
hlsdemux: don't try to access non-existant iframe variant
If the playlist does not contain any iframe variants then
demux->master->iframe_variants is NULL. If the previous variant is an
iframe variant then there is at least one iframe variant and
demux->master->iframe_variants->data can be safely used.
https://bugzilla.gnome.org/show_bug.cgi?id=773635
sezero [Sun, 23 Oct 2016 09:02:00 +0000 (12:02 +0300)]
timidity: add support for libtimidity-0.2.x
mid_istream_open_mem() doesn't accept an autofree argument as of
libtimidity >= 0.2.0
https://bugzilla.gnome.org/show_bug.cgi?id=772503
Daiki Ueno [Wed, 26 Oct 2016 12:51:01 +0000 (14:51 +0200)]
dtls: port to OpenSSL 1.1.0
Changes are:
- Use the wrapper functions to access opaque data types. To preserve
backward compatibility, define fallback definitions
- Remove the use of idiom "pqueue_size(ssl->d1->sent_messages)", since
there is no replacement
- Use RSA_generate_key_ex instead of the deprecated RSA_generate_key
https://bugzilla.gnome.org/show_bug.cgi?id=773540
Tim-Philipp Müller [Sat, 29 Oct 2016 10:31:28 +0000 (11:31 +0100)]
rawparse: pass flow returns upstream
rawvideoparse wouldn't error out on not-negotiated,
but would just keep on going, because it didn't pass
the flow return value back to the parent class and
thus upstream, so the source wouldnt' stop streaming.
Nirbheek Chauhan [Fri, 28 Oct 2016 01:47:56 +0000 (07:17 +0530)]
build: Also need to define GST_EXPORTS for Autotools
The change to use GST_EXPORT for symbols under Windows requires
GST_EXPORTS for internal use, and that is also needed under Autotools.
The same thing is done for gstreamer-1.0.dll in -core.
Nirbheek Chauhan [Fri, 28 Oct 2016 00:53:02 +0000 (06:23 +0530)]
gstgl: Re-enable WINAPI on _MSC_VER
The calling convention may be deprecated, but we still need it for
OpenGL. The build issue was caused by an incorrect syntax being used for
the WINAPI (__stdcall) prototype in function pointers which was accepted
by GCC but is rejected by MSVC.
Nirbheek Chauhan [Thu, 27 Oct 2016 17:39:38 +0000 (23:09 +0530)]
Just remove win32/common/libgstgl.def
It was always wrong since the symbols being exported in gstgl-1.0.dll
are platform-specific, and the check we do in dist checks it on all
platforms (which usually means Linux) and the list is instead
Linux-specific right now.
Even if we fix that, it can still never be right because it depends on
your configuration even on a specific platform. For instance, when we
start building EGL support on Windows using ANGLE, the symbol list will
change depending on whether that is enabled or not.
We also don't need this anymore since we use GST_EXPORT for all
functions exported on Windows now.
Nirbheek Chauhan [Thu, 27 Oct 2016 03:55:20 +0000 (09:25 +0530)]
plugins: Use explicit type conversion from enums
MSVC warns about this because it's a C++ compiler, and this actually
results in useful things such as the incorrect 'gboolean' return value
for functions that return GstFlowReturn, so let's do explicit
conversions to reduce the noise and increase its efficacy.
Nirbheek Chauhan [Thu, 27 Oct 2016 03:41:26 +0000 (09:11 +0530)]
Explicitly define float constants as float
With MSVC, this gives the following warning:
warning C4305: 'function': truncation from 'double' to 'gfloat'
Apparently, MSVC does not figure out what type to use for constants
based on the assignment. This warning is very spammy, so let's try to
fix it.
Nirbheek Chauhan [Thu, 27 Oct 2016 03:38:41 +0000 (09:08 +0530)]
Fix incorrect return type in several functions
All these should return GstFlowReturn, not gboolean
Nirbheek Chauhan [Thu, 27 Oct 2016 03:36:33 +0000 (09:06 +0530)]
meson: Don't warn about C4146 with MSVC
The error is:
unary minus operator applied to unsigned type, result still unsigned
This is a commonly-done operation in gstreamer and it's done on purpose.
It's just noise.
Nirbheek Chauhan [Thu, 27 Oct 2016 02:47:58 +0000 (08:17 +0530)]
gstgl: Add GST_EXPORT to all symbols used on Windows
This is a requirement for those symbols to be exported in gstgl-1.0.dll
when building with the MSVC compiler
Nirbheek Chauhan [Thu, 27 Oct 2016 01:59:36 +0000 (07:29 +0530)]
meson: Add support for building WGL on Windows
Currently only tested with MSVC.
Nirbheek Chauhan [Thu, 27 Oct 2016 03:40:03 +0000 (09:10 +0530)]
ext/gl: Don't define boolean on Windows with MSVC
The headers we include already define boolean on Windows with MSVC, and
it leads to a typedef redefinition error with jpeglib.h which tries to
redefine it in jmorecfg.h
Nirbheek Chauhan [Thu, 27 Oct 2016 02:00:19 +0000 (07:30 +0530)]
gstgl: Porting fixes for MSVC with Meson
GL/gl.h needs windows.h on MSVC
WINAPI should not be used with MSVC. It also causes a build error.
Reynaldo H. Verdejo Pinochet [Mon, 24 Oct 2016 05:13:33 +0000 (22:13 -0700)]
dvb/parsechannels: collapse notes on channel_name encoding conflict
Reynaldo H. Verdejo Pinochet [Mon, 24 Oct 2016 05:00:30 +0000 (22:00 -0700)]
dvb/parsechannels: rename ZAP parser for clarity
This function only does ZAP parsing. Additionally, remove redundant
comment while at it.
Reynaldo H. Verdejo Pinochet [Mon, 24 Oct 2016 04:37:46 +0000 (21:37 -0700)]
dvb: fix gtk-doc syntax for wrongly formatted comments
Scott D Phillips [Fri, 21 Oct 2016 07:37:03 +0000 (00:37 -0700)]
meson: hls: Only build when any crypto_dep is found
https://bugzilla.gnome.org/show_bug.cgi?id=773114
Scott D Phillips [Fri, 21 Oct 2016 07:39:32 +0000 (00:39 -0700)]
meson: directsound: Add ole32 library dependency
https://bugzilla.gnome.org/show_bug.cgi?id=773114
Scott D Phillips [Mon, 17 Oct 2016 16:35:41 +0000 (09:35 -0700)]
meson: winscreencap depends on gstvideo
https://bugzilla.gnome.org/show_bug.cgi?id=773114
Scott D Phillips [Fri, 21 Oct 2016 07:35:09 +0000 (00:35 -0700)]
meson: Remove gstreamer-check-1.0 dependency
It will later be added under tests/check
https://bugzilla.gnome.org/show_bug.cgi?id=773114
Matthew Waters [Fri, 21 Oct 2016 02:10:47 +0000 (13:10 +1100)]
glsyncmeta: don't glFinish() everytime a sync point is set
At minimum, we only need to glFlush() if we are in a shared GL context
environment. Move the glFinish() to when the actual wait is requested
which may be never. Improves the throughput on older GL systems without
GL3/GLES3 and/or fence sync objects.
Thiago Santos [Sat, 16 Jul 2016 18:29:42 +0000 (15:29 -0300)]
dash: do not use invalid stream duration
If it is is unknown, consider it infinite
https://bugzilla.gnome.org/show_bug.cgi?id=768460
Thiago Santos [Sat, 16 Jul 2016 18:15:21 +0000 (15:15 -0300)]
dash: properly inherit segmentlist from period
Representation can inherit SegmentList from Period if none is available
from the AdaptationSet
https://bugzilla.gnome.org/show_bug.cgi?id=768460
Matthew Waters [Wed, 19 Oct 2016 05:11:58 +0000 (16:11 +1100)]
meson: gl: add support for building with dispmanx on the rpi
Matthew Waters [Tue, 18 Oct 2016 11:29:19 +0000 (22:29 +1100)]
gl/eglimage: Fix passing the destroy function to gst_egl_image_new_wrapped
The function pointer and the user data arguments were swapped in both
uses.
https://bugzilla.gnome.org/show_bug.cgi?id=769382
Nirbheek Chauhan [Tue, 18 Oct 2016 07:31:04 +0000 (13:01 +0530)]
meson: Add missing gstvideo dep to segmentclip
In file included from ../subprojects/gst-plugins-base/gst-libs/gst/video/video.h:27:0,
from ../subprojects/gst-plugins-bad/gst/segmentclip/gstvideosegmentclip.c:25:
../subprojects/gst-plugins-base/gst-libs/gst/video/video-format.h:27:39: fatal error: gst/video/video-enumtypes.h: No such file or directory
#include <gst/video/video-enumtypes.h>
^
compilation terminated.
https://ci.gstreamer.net/job/GStreamer-master-meson/269/console
Munez [Tue, 11 Oct 2016 11:36:23 +0000 (17:06 +0530)]
Implemented gst_video_overlay_set_window_handle()
https://bugzilla.gnome.org/show_bug.cgi?id=772608
Matthew Waters [Tue, 18 Oct 2016 03:11:26 +0000 (14:11 +1100)]
meson: gl: fix detection of glx without gl
We need to check for libGL if we may use desktop OpenGL *or* GLX.
Matthew Waters [Tue, 18 Oct 2016 03:10:32 +0000 (14:10 +1100)]
meson: gl: fix incorrect error string
Use the winsys variable for an incorrect winsys provided
Sergey Borovkov [Sun, 16 Oct 2016 10:40:22 +0000 (12:40 +0200)]
qt: Fix failing build on RPI
https://bugzilla.gnome.org/show_bug.cgi?id=773026
Munez [Tue, 11 Oct 2016 11:28:48 +0000 (16:58 +0530)]
gl/dispmanx: egl_show should resize the window only if there is no render rectangle set
https://bugzilla.gnome.org/show_bug.cgi?id=772699
Munez [Tue, 11 Oct 2016 11:25:17 +0000 (16:55 +0530)]
gl/dispmanx: Fix set_render_rectangle typo
https://bugzilla.gnome.org/show_bug.cgi?id=772698
Vincent Penquerc'h [Fri, 18 Mar 2016 14:09:37 +0000 (14:09 +0000)]
mpegtsmux: fix buffer size mismatch in M2TS mode
In M2TS mode, we need an extra 4 bytes in the buffer, so need
to ensure the buffer can contain these. The allocation site
does not know the mode, so this is done in all cases.
Nirbheek Chauhan [Sat, 15 Oct 2016 16:49:02 +0000 (22:19 +0530)]
meson: Don't set c_std to gnu99
Use the default for each compiler on every platform instead. This
improves our compatibility with compilers that don't have gnu99 as
a c_std.
Reynaldo H. Verdejo Pinochet [Fri, 14 Oct 2016 21:41:42 +0000 (14:41 -0700)]
dvbsrc: fix 'delivery system'-related messages
* Rephrase tune error to be delsys-neutral
* Refer to the actual check in the 'missing sanity check' warnings
* Use "Delivery system" instead of 'delsys'. The
latter is OK as a shorthand in the code but not
even a real word
Joan Pau Beltran [Tue, 11 Oct 2016 16:48:06 +0000 (18:48 +0200)]
bayer: fix _transform_caps method to preserve fields in given caps
https://bugzilla.gnome.org/show_bug.cgi?id=758717
Arun Raghavan [Thu, 29 Sep 2016 16:49:39 +0000 (12:49 -0400)]
waylandsink: Properly configure internal pool
There was a small omission in the code. It still worked, but the pool
configuration may not have been optimimal.
Tim-Philipp Müller [Wed, 12 Oct 2016 17:20:27 +0000 (18:20 +0100)]
common: sync to latest revision
Fixes accidental common change when commit patch.
Edward Hervey [Tue, 11 Oct 2016 09:11:16 +0000 (11:11 +0200)]
mpegtsdemux: Implement efficient program updates
If the parent bin can handle it, only add/remove the new/gone stream
instead of re-adding/re-moving everything
https://bugzilla.gnome.org/show_bug.cgi?id=772742
Edward Hervey [Wed, 12 Oct 2016 12:35:21 +0000 (14:35 +0200)]
mpegtsdemux: Ensure we always get an upstream stream-id
This was a regression.
We only have a upstream-id via STREAM_START if we were in push-mode.
In pull-mode we need to create one.
Note: It would be good to eventually have that method (copied from
gst_pad_get_stream_id_internal()) public in the future
Edward Hervey [Tue, 11 Oct 2016 14:47:37 +0000 (16:47 +0200)]
mpegtsdemux: Fix issues with GST_DISABLE_GST_DEBUG
Some variables were hidden or unused
Edward Hervey [Wed, 29 Jul 2015 13:52:05 +0000 (15:52 +0200)]
mpegtsdemux: Switch to using GstStream/GstStreamCollection
For each MpegTSBaseStream, we have a GstStream object which
subclasses can extend with information.
For each program a GstStreamCollection is created with all
GstStream from each stream.
Edward Hervey [Tue, 11 Oct 2016 08:50:17 +0000 (10:50 +0200)]
mpegtsbase: Remove duplicated code
Just have one function to check for private section streams
Arnaud Vrac [Mon, 10 Oct 2016 15:00:39 +0000 (17:00 +0200)]
adaptivedemux: fix buffer size print format
https://bugzilla.gnome.org/show_bug.cgi?id=772706
Arnaud Vrac [Mon, 10 Oct 2016 14:52:58 +0000 (16:52 +0200)]
hlsdemux: fix hls demux stream type inheritance
GstHLSDemuxStream inherits GstAdaptiveDemuxStream, not
GstAdaptiveDemux. Fixes memory corruption issues.
https://bugzilla.gnome.org/show_bug.cgi?id=772704
Reynaldo H. Verdejo Pinochet [Sun, 9 Oct 2016 13:42:30 +0000 (06:42 -0700)]
dvb/parsechannels: parse guard interval as a fraction
Fixes wrong default failover when parsing libdvbv5 formatted
channel configuration files.
Reynaldo H. Verdejo Pinochet [Sun, 9 Oct 2016 10:23:19 +0000 (03:23 -0700)]
dvb/parsechannels: add prototypes and reorganize for clarity
Reynaldo H. Verdejo Pinochet [Sat, 8 Oct 2016 14:18:15 +0000 (07:18 -0700)]
Update my email address
Reynaldo H. Verdejo Pinochet [Sat, 8 Oct 2016 12:33:34 +0000 (05:33 -0700)]
dvb: drop trailing whitespace and c&p leftovers
Reynaldo H. Verdejo Pinochet [Sat, 8 Oct 2016 12:20:47 +0000 (05:20 -0700)]
dvb/parsechannels: parse DVB-T hierarchy from v5 config file
Avoids relying on the H/W default when the information
can be extracted from the configuration file.
Reynaldo H. Verdejo Pinochet [Sat, 8 Oct 2016 11:55:20 +0000 (04:55 -0700)]
dvb/parsechannels: parse DVB-T lp and hp code rates
Edward Hervey [Sat, 8 Oct 2016 12:08:06 +0000 (14:08 +0200)]
mpegts: Also clear packetizer on TIME DISCONT
When dealing with TIME-based input, the incoming stream could have
potentially changed completely.
In order to check whether it did or not, we need to re-check all sections
(PAT, PMT...). If it didn't, we will keep using the existing streams/pad,
and if it did we will act as if there was a program switch.
Fixes HLS streaming with decodebin3/playbin3
Edward Hervey [Sun, 2 Oct 2016 07:34:51 +0000 (09:34 +0200)]
adaptivedemux: Calculate values before queue2
In order to calculate the *actual* bitrate for downloading a fragment
we need to take into account the time since we requested the fragment.
Without this, the bitrate calculations (previously reported by queue2)
would be biased since they wouldn't take into account the request latency
(that is the time between the moment we request a specific URI and the
moment we receive the first byte of that request).
Such examples were it would be biased would be high-bandwith but high-latency
networks. If you download 5MB in 500ms, but it takes 200ms to get the first
byte, queue2 would report 80Mbit/s (5Mb in 500ms) , but taking the request
into account it is only 57Mbit/s (5Mb in 700ms).
While this would not cause too much issues if the above fragment represented
a much longer duration (5s of content), it would cause issues with short
ones (say 1s, or when doing keyframe-only requests which are even shorter)
where the code would expect to be able to download up to 80Mbit/s ... whereas
if we take the request time into account it's much lower (and we would
therefore end up doing late requests).
Also calculate the request latency for debugging purposes and further
usage (it could allow us to figure out the maximum request rate for
example).
https://bugzilla.gnome.org/show_bug.cgi?id=733959
https://bugzilla.gnome.org/show_bug.cgi?id=772330
Jimmy Ohn [Thu, 6 Oct 2016 06:54:00 +0000 (15:54 +0900)]
opencv: Fix memory leak by gst_caps_to_string
gst_caps_to_string function returned allocated memory.
So, It should be freed using g_free function.
https://bugzilla.gnome.org/show_bug.cgi?id=772499
Matthew Waters [Wed, 5 Oct 2016 07:32:09 +0000 (18:32 +1100)]
glwindow: don't use g_thread_join() to join the navigation thread
Using g_thread_join() in _finalize() handlers may result in a deadlock
joining the current thread when the last reference is held by a signal
handler.
e.g.:
error 'Resource deadlock avoided' during 'pthread_join (pt->system_thread, NULL)'
The backtrace looks like this:
[...]
g_thread_join ()
gst_gl_window_finalize ()
gst_gl_window_x11_finalize ()
g_object_unref ()
g_value_unset ()
g_signal_emit_valist ()
g_signal_emit ()
gst_gl_window_send_mouse_event ()
gst_gl_window_mouse_event_cb ()
g_main_dispatch ()
[..]
g_main_loop_run ()
gst_gl_window_navigation_thread ()
g_thread_proxy ()
start_thread ()
clone ()
Matthew Waters [Wed, 5 Oct 2016 07:28:48 +0000 (18:28 +1100)]
gluploadelement: fix leak of upload library object
When only linking the element, the upload object will be created from
_transform_caps() but will never be unreffed as the only case is in _stop().
Add an unref if non-NULL to a new finalize handler for this case.
Matthew Waters [Wed, 5 Oct 2016 01:11:19 +0000 (12:11 +1100)]
vkdisplay: hold a weakref on the list of windows
It's possible that the window may have been destroyed when a winsys
event comes in for it.
Fixes an assertion in make -C tests/check generic/states.check
Matthew Waters [Wed, 5 Oct 2016 00:37:04 +0000 (11:37 +1100)]
vkdevice: only unref the gstcontext query if non-NULL
Fixes an assertion in make -C tests/check generic/states.check
Matthew Waters [Thu, 29 Sep 2016 01:45:57 +0000 (11:45 +1000)]
tests/gl: make sure all GL commands are executed on the GL thread
e.g. the final glGetError() must also be completed on the GL thread
Matthew Waters [Wed, 28 Sep 2016 08:04:21 +0000 (18:04 +1000)]
gl/win32: remove egl implementation
It hasn't been used in ages and is dead code.
Wonchul Lee [Tue, 13 Sep 2016 13:07:05 +0000 (22:07 +0900)]
tsdemux: Add conditions to identify ATSC EAC3
https://bugzilla.gnome.org/show_bug.cgi?id=770528
Reynaldo H. Verdejo Pinochet [Mon, 26 Sep 2016 22:23:52 +0000 (15:23 -0700)]
dvb/parsechannels: make parsing errors delsys-neutral
DVB is a group of delivery standards but we support
several others. While at this, make message formating
more congruent.
Thibault Saunier [Fri, 30 Sep 2016 14:35:41 +0000 (11:35 -0300)]
meson: Setup pre-commit hooks when configuring
Tim-Philipp Müller [Fri, 30 Sep 2016 10:41:34 +0000 (11:41 +0100)]
meson: update version
Sebastian Dröge [Fri, 30 Sep 2016 10:42:06 +0000 (13:42 +0300)]
player: Remove Return documentation for function returning void
Sebastian Dröge [Fri, 30 Sep 2016 10:02:55 +0000 (13:02 +0300)]
Release 1.9.90
Sebastian Dröge [Fri, 30 Sep 2016 09:19:32 +0000 (12:19 +0300)]
Update .po files
Sebastian Dröge [Fri, 30 Sep 2016 08:44:47 +0000 (11:44 +0300)]
po: Update translations
Arun Raghavan [Thu, 29 Sep 2016 16:12:24 +0000 (21:42 +0530)]
waylandsink: Actually use buffer pool config after setting it up
CID: 1373420
Sergey Mamonov [Thu, 29 Sep 2016 10:36:11 +0000 (13:36 +0300)]
fix for https://bugzilla.gnome.org/show_bug.cgi?id=771871
Arun Raghavan [Thu, 29 Sep 2016 16:15:50 +0000 (21:45 +0530)]
a2dpsink: Drop some dead-code
Left over from the last cleanup.
CID: 1373418
Vincent Penquerc'h [Thu, 29 Sep 2016 13:32:15 +0000 (14:32 +0100)]
fdkaacenc: fix accessing freed memory
The buffer data is not always copied in _Fill, and will be
read in _DecodeFrame. We unmap at the end of the function,
whether we get there via failure or early out, and keep a
ref to the buffer to ensure we can use it to unmap the
memory even after _finish_frame is called, as it unrefs
the buffer.
Note that there is an access beyond the allocated buffer,
which is only apparent when playing from souphttpsrc (ie,
not from filesrc). This appears to be a bug in the bit
reading code in libfdkaac AFAICT.
https://bugzilla.gnome.org/show_bug.cgi?id=772186
Vincent Penquerc'h [Thu, 29 Sep 2016 13:31:37 +0000 (14:31 +0100)]
fdkaacdec: avoid memory corruption on decoding error
The buffer size is expected to be in multiples of the sample size,
not in bytes.
https://bugzilla.gnome.org/show_bug.cgi?id=772186