Nirbheek Chauhan
cedb028805
wasapi: Call _Start if the client was _Reset
...
Otherwise we will wait forever in WaitForSingleObject because we forgot
to start the client again after _Stop is called in reset().
https://bugzilla.gnome.org/show_bug.cgi?id=795114
2018-04-10 05:18:19 +05:30
Guillaume Desmottes
e5e2eccee6
fakevideosink: request an extra buffer if enable-last-sample is enabled
...
If the 'enable-last-sample' property is enabled, fakevideosink will keep
a reference on last rendered buffer which may lead to buffer starvation
in the pipeline.
Request one extra buffer in this case so we always have a buffer flying
in the pipeline.
https://bugzilla.gnome.org/show_bug.cgi?id=795109
2018-04-09 18:26:48 +02:00
Nirbheek Chauhan
371a7874fc
wasapi: Don't open the device in get_caps()
...
We can just return the template caps till the device is opened when
going from READY -> PAUSED. This fixes a CRITICAL when calling
ELEMENT_ERROR before the ringbuffer is allocated.
Also fixes a couple of leaks in error conditions.
https://bugzilla.gnome.org/show_bug.cgi?id=794611
2018-04-09 17:26:12 +05:30
Nirbheek Chauhan
f90613280b
wasapi: Only use audioclient3 when low-latency
...
Causes glitches on very slow CPU machines or VMs, and our
out-of-the-box experience should be good.
https://bugzilla.gnome.org/show_bug.cgi?id=794497
2018-04-06 23:14:58 +05:30
Nirbheek Chauhan
4cbcd08f9c
wasapi: Don't derive device period from latency time
...
This seems to cause glitches on devices with low CPU availability,
such as virtual machines. Maybe even actual machines under high load.
https://bugzilla.gnome.org/show_bug.cgi?id=794497
2018-04-06 23:14:58 +05:30
U. Artie Eoff
5976518f0b
msdk: fix plugin load on implementations with only HW support
...
We can't assume that MSDK always supports SW implementation
on all platforms. Thus, msdk_is_available should check for
ANY implementation.
https://bugzilla.gnome.org/show_bug.cgi?id=794991
2018-04-04 17:35:08 -08:00
Nirbheek Chauhan
c6fa635b21
wasapi: Squelch warning about %x and HRESULT
...
HRESULT is always a 32-bit value, as is guint.
2018-04-04 18:37:27 +05:30
Nirbheek Chauhan
759e695d8a
audiolatency: Fix wave detection in buffers
...
-1/1000 is 0, so we were *always* detecting a buffer.
2018-04-03 23:56:30 +05:30
Nirbheek Chauhan
d1de8ac01f
audiolatency: Avoid bogus pts values while starting
2018-04-03 23:56:30 +05:30
Nirbheek Chauhan
a7228ed486
decklink: Fix MinGW warnings due to MSVC-specific pragmas
...
https://bugzilla.gnome.org/show_bug.cgi?id=794652#c7
2018-03-31 11:15:31 +05:30
Sreerenj Balachandran
ee88f699c4
msdk: dec: remove framerate field from sink caps template
...
Removes unessential field framerate for decoder so that negotiation
works even if framerate is not provided from upstream.
https://bugzilla.gnome.org/show_bug.cgi?id=789752
2018-03-29 13:09:10 -08:00
Hyunjun Ko
a20fee9936
msdk: dec: set framerate to the driver only if provided
...
For example, if framerate 0/1 is provided from upstream, the driver
fails to configure and complain about it.
We can let it go and make the driver assuming framerate itself.
https://bugzilla.gnome.org/show_bug.cgi?id=789752
2018-03-29 13:09:01 -08:00
Hyunjun Ko
4d2892644c
msdk: h265dec: remove framerate field from sink caps template
...
Removes unessential field framerate for decoder so that negotiation
works even if framerate is not provided from upstream.
https://bugzilla.gnome.org/show_bug.cgi?id=789752
2018-03-29 13:08:50 -08:00
Sreerenj Balachandran
b628dd8bf8
msdk: Don't set extended coding options for JPEG encode
...
MJPEG doesn't have support for extended coding options
https://bugzilla.gnome.org/show_bug.cgi?id=793873
2018-03-29 11:57:24 -08:00
Tim-Philipp Müller
4bcc128423
docs: plugins: remove stale xml data for moved or renamed plugins
...
rawparse plugin moved to -base, only legacyrawparse remains.
siren plugin was renamed and was listed twice.
https://bugzilla.gnome.org/show_bug.cgi?id=794069
2018-03-27 17:44:03 +01:00
Tim-Philipp Müller
f0119f1abc
rtponviftimestamp: fix state change function init/reset
...
When starting up we need to initialise things *before*
streaming starts, so before we chain up to the parent
class in the state change function. And when we shut
down the element, we need to reset things after streaming
has stopped, so after we chain up to the parent class
in the state change function.
https://bugzilla.gnome.org/show_bug.cgi?id=794353
https://bugzilla.gnome.org/show_bug.cgi?id=794290
2018-03-27 17:43:42 +01:00
Nirbheek Chauhan
c000901fc4
meson: Add missing optional lrdf dep to ladspa build
...
https://bugzilla.gnome.org/show_bug.cgi?id=794350
2018-03-27 14:30:57 +05:30
Nirbheek Chauhan
dc5b6da0ec
decklink: Use g_thread_new instead of g_thread_create
...
It's deprecated, and causes a build failure in Cerbero because we pass
-DG_DISABLE_DEPRECATED.
2018-03-27 12:47:13 +05:30
Takeshi Sato
110a1c890b
decklink: fix initialization fails in windows binary
...
There is no log of gst_decklink_com_thread () which initializes COM.
The initialization part is not valid with #ifdef MSC_VER.
Windows binaries are built with gcc.
As with other codes, it was avoidable by setting it to G_OS_WIN32
instead of MSC_VER.
https://bugzilla.gnome.org/show_bug.cgi?id=794652
2018-03-27 12:15:48 +05:30
Nirbheek Chauhan
b623ac2da9
wasapi: Print the hresult hex value on error
...
This helps figure out precisely what error enum value was returned,
which can be necessary when the description is too generic
2018-03-27 12:15:48 +05:30
Nirbheek Chauhan
9c3258fbfb
ladspa: Fix critical during plugin load on Windows
...
https://bugzilla.gnome.org/show_bug.cgi?id=794611
2018-03-27 12:15:48 +05:30
Sebastian Dröge
3ebdded7bc
gl: Rename gstglutils.h functions to prevent symbol conflicts with static linking
...
The gl plugin in -base has the same function.
2018-03-25 12:54:44 +03:00
Sebastian Dröge
776c006348
opus: Rename opusheader functions to prevent symbol conflicts with static linking
...
The opus plugin in -base has the same functions.
2018-03-25 12:54:38 +03:00
Sebastian Dröge
b3291b769f
shmsink: Fix compilation with latest GLib
...
g_object_ref() forwards its arguments type.
gstshmsink.c: In function ‘gst_shm_sink_allocator_alloc_locked’:
/usr/include/glib-2.0/gobject/gobject.h:512:32: error: passing argument 3 of ‘gst_memory_init’ from incompatible pointer type [-Werror=incompatible-pointer-types]
#define g_object_ref(Obj) ((__typeof__(Obj)) (g_object_ref) (Obj))
^
gstshmsink.c:292:45: note: in expansion of macro ‘g_object_ref’
gst_memory_init (memory, params->flags, g_object_ref (self), NULL,
^~~~~~~~~~~~
2018-03-25 12:36:26 +03:00
Patrik Nilsson
aa1d41a1a0
meson: fix ladspa dependencies
...
There are two issues, both related to dependency checking with the meson
support for the ladspa plugin.
With autotools, lrdf is handled like an optional dependency. But with
meson it is required. This makes the meson support less flexible and
inconsistent with autotools.
When autotools is used it properly checks if ladspa.h is available.
But with meson it does not, instead it treats lrdf as the main
dependency. This could cause a build failure if lrdf is installed, but
the ladspa sdk is not.
https://bugzilla.gnome.org/show_bug.cgi?id=794350
2018-03-25 12:34:06 +03:00
Sebastian Dröge
d0b377a0fb
tsmux: Don't use GST_DEBUG_OBJECT() with non-GObject types
2018-03-24 17:50:13 +00:00
James Stevenson
0e795095a6
x265: Fix tagging of keyframes on output buffers
...
https://bugzilla.gnome.org/show_bug.cgi?id=794620
2018-03-24 17:44:12 +00:00
Tim-Philipp Müller
6401eef7fb
webrtc: use right export define in generated enumtypes file
2018-03-24 17:44:06 +00:00
Tim-Philipp Müller
8cbec9eee6
webrtc: fix g-ir-scanner complaining about unstable API
2018-03-24 17:43:59 +00:00
Sebastian Dröge
f11755c7c7
mpegtsmux: Explicitly resend PAT/SI/PMT on force-keyunit events
...
And don't randomly change the PCR stream, which would cause a new PMT
version to be generated instead and could confuse players.
2018-03-24 17:43:39 +00:00
Sebastian Dröge
8ff1456501
mpegtsmux: Deterministically set the PCR stream to the first stream of the program
...
Otherwise it would be randomly set to the first stream of the program
that receives a buffer.
2018-03-24 17:43:20 +00:00
Sebastian Dröge
4285c413d4
mpegtsmux: Reset a few more fields in mpegtsmux_reset() to their original values
2018-03-24 17:43:02 +00:00
Brendan Shanks
5d65cb21e7
h264parse: reset internal 'state' variable properly
...
Reset the internal 'state' variable when the parser is started, fixes
errors when parser is being re-used.
https://bugzilla.gnome.org/show_bug.cgi?id=794537
2018-03-21 16:51:30 -04:00
Tim-Philipp Müller
48cde372d6
Release 1.14.0
2018-03-19 20:24:08 +00:00
Tim-Philipp Müller
e9667da608
Update docs
2018-03-19 20:24:05 +00:00
Tim-Philipp Müller
1da3cd56a0
wasapi: try to satisfy both mingw and msvc
...
Fix-up for previous commit, hopefully.
2018-03-18 14:13:52 +00:00
Nicolas Dufresne
9387a936b5
kmssink: Add Amlogic upstreamer DRM driver support
...
Amlogic Upstream driver is named meson, not to be confuse with the build
system.
2018-03-18 09:50:51 -04:00
Tim-Philipp Müller
ca4cbaef24
wasapi: fix indentation
2018-03-17 23:52:31 +00:00
Tim-Philipp Müller
ec5c3cb714
wasapi: fix unresolved symbol linker error with vs2017 on win10
...
ERROR: unresolved external symbol PKEY_AudioEngine_DeviceFormat
Apparently the order of the header includes matters, and initguid.h
must be included first. Let's hope this doesn't break anything on
the other toolchains.
https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/ceff4e2d-8f63-4ab6-b09b-fdac65d62a80/pkeyaudioenginedeviceformat-link-error?forum=windowspro-audiodevelopment
2018-03-17 23:48:13 +00:00
Sebastian Dröge
d4762bc5d5
webrtc: Fix make distcheck for g-i build
...
ERROR: ../../../../../gst-libs/gst/webrtc/webrtc-enumtypes.c: no such a file or directory
2018-03-16 19:21:31 +02:00
Sebastian Dröge
0d4b9fd307
webrtc: Include webrtc-enumtypes in the g-i build
2018-03-16 17:00:56 +02:00
Sebastian Dröge
8375e33965
webrtcbin: Remove parameter from gst_webrtc_rtp_sender_new()
2018-03-16 11:07:01 +02:00
Sebastian Dröge
b1ca76377f
webrtc: Remove unused parameter from rtpsender constructor
...
https://bugzilla.gnome.org/show_bug.cgi?id=794363
2018-03-16 10:37:24 +02:00
Sebastian Dröge
950ead9215
webrtc: Add some locks to setters and remove non-existing functions from headers
...
https://bugzilla.gnome.org/show_bug.cgi?id=794363
2018-03-16 10:37:24 +02:00
Sebastian Dröge
dabfe399eb
webrtc: Rename GstWebRTCIceRole to GstWebRTCICERole for consistency
...
Everything else is ICE, not Ice.
https://bugzilla.gnome.org/show_bug.cgi?id=794362
2018-03-16 10:37:24 +02:00
Sebastian Dröge
1a889a3adc
webrtc: Fix gobject-introspection build with meson
2018-03-15 16:45:46 +02:00
Sebastian Dröge
b35b01ad09
webrtc: Add gobject-introspection integration
...
https://bugzilla.gnome.org/show_bug.cgi?id=794347
2018-03-15 16:37:04 +02:00
Jan Alexander Steffens (heftig)
7da65ab6d5
srt: Add missing gstsrt.h to noinst_HEADERS
...
Reorder the list to match the SOURCES.
https://bugzilla.gnome.org/show_bug.cgi?id=794320
2018-03-14 10:46:34 +00:00
Hyunjun Ko
52f669bf43
msdk: libva: remove unnecessary code and comments
...
https://bugzilla.gnome.org/show_bug.cgi?id=794276
2018-03-13 14:21:40 -08:00
Hyunjun Ko
6547b638c5
msdk: adds new debug category
...
https://bugzilla.gnome.org/show_bug.cgi?id=794276
2018-03-13 14:20:50 -08:00