Vivia Nikolaidou
482d2c9459
interlace: Switch field-pattern on the fly
...
The frame rate interlace uses changes when we change field-pattern, so
we need to issue a reconfigure event.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1364 >
2020-06-24 17:44:46 +00:00
Seungha Yang
133b902044
nvh264sldec: Remove useless double space
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1357 >
2020-06-24 16:25:58 +00:00
Seungha Yang
711e964572
nvcodec: Add H265 stateless codec implementation
...
Add a new GstCodecs based H265 decoder element
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1357 >
2020-06-24 16:25:58 +00:00
Seungha Yang
1e544f741a
nvcodec: Move common methods to nvdecoder
...
... and remove all #ifdef from nvh264sldec implementation.
New helper methods will take care of OpenGL specific ones.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1357 >
2020-06-24 16:25:58 +00:00
Seungha Yang
1f452c0577
nvh264sldec: Declare OpenGL related objects unconditionally
...
GstGLDisplay and GstGLContext are subclass of GstObject so we can
remove #ifdef for such object. This is prework for nvh265sldec.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1357 >
2020-06-24 16:25:58 +00:00
Seungha Yang
82ddb0600b
nvh264sldec: Fix for possible wrong device selction
...
decoder should select assigned CUDA device id
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1357 >
2020-06-24 16:25:58 +00:00
Nirbheek Chauhan
fc8782d9d0
meson: Add missing pc file for gstphotography
...
This is supposed to be used by apps like Cheese, and is a public
library.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1365 >
2020-06-24 16:03:28 +00:00
Nirbheek Chauhan
df11fb0190
meson: Add missing pkgconfig files for gsttranscoder
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1365 >
2020-06-24 16:03:28 +00:00
Vivia Nikolaidou
1eeaee24d4
interlace: Re-indentation
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1349 >
2020-06-24 11:31:15 +03:00
Vivia Nikolaidou
b53c1363f2
interlace: Don't change field-pattern on PAUSED or PLAYING state
...
It would otherwise change the caps the element produces and cause the
element to misbehave
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1349 >
2020-06-24 11:31:15 +03:00
Vivia Nikolaidou
7c7ac7a0dc
interlace: Don't fail negotiation if capsfilters decide framerate
...
Try to negotiate if the framerates on either sides of the interlace are
decided using capsfilters and the framerates are correct. Otherwise the
following pipelines would fail to negotiate:
gst-launch-1.0 videotestsrc !
video/x-raw,framerate=24/1,interlace-mode=progressive ! interlace
field-pattern=2 ! video/x-raw,framerate =30/1 ! fakesink
gst-launch-1.0 videotestsrc !
video/x-raw,framerate=60/1,interlace-mode=progressive ! interlace
field-pattern=0 ! video/x-raw,framerate=30/1 ! fakesink
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1349 >
2020-06-24 11:15:48 +03:00
Vivia Nikolaidou
581d76b41a
interlace: Restrict passthrough conditions
...
Don't do passthrough if interleave-mode=mixed or if we have one of the
telecine modes
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1349 >
2020-06-24 11:15:48 +03:00
Vivia Nikolaidou
76ce67e70b
interlace: Add field switching mode for 2:2 field pattern
...
In the 2:2 field pattern, interlace can switch from bottom-field-first
to top-field-first.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1349 >
2020-06-24 11:15:48 +03:00
Vivia Nikolaidou
ba500b816a
interlace: Only half the framerate for 1:1 field pattern
...
Keep the framerate for 2:2 field pattern, and completely remove it from
the caps for all others. Otherwise, negotiation will fail if caps on
both sides of the element specify a framerate.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1349 >
2020-06-24 11:15:48 +03:00
Vivia Nikolaidou
0c63c8d1f5
interlace: Add FIXME comment about false passthrough bug
...
If interlace-mode is missing from upstream caps, we can falsely do
passthrough when in fact we'd have to switch fields.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1349 >
2020-06-24 11:15:48 +03:00
Thibault Saunier
7d6afed2bb
docs: Update plugins cache
2020-06-23 13:02:57 -04:00
Thibault Saunier
e8ffa0d39c
openmpt: Namespace enum GType names
2020-06-23 13:02:57 -04:00
Thibault Saunier
43e9f0af42
docs: Unmark wrongly marked plugin API types
2020-06-23 13:02:57 -04:00
Thibault Saunier
059e8ff44a
docs: Document basecamerabinsrc
2020-06-23 13:02:57 -04:00
Mathieu Duponchelle
ad49ae42f7
docs: mark more types as plugin API
2020-06-23 12:10:19 -04:00
Mathieu Duponchelle
de6585640e
plugins_cache: add base classes
2020-06-23 12:10:18 -04:00
Mathieu Duponchelle
fec8bee1e9
meson: mark plugins cache target as always stale
2020-06-23 12:10:18 -04:00
Mathieu Duponchelle
6baffc2931
docs: mark more types as plugin API
2020-06-23 12:10:17 -04:00
Mathieu Duponchelle
44fe121613
docs: generate documentation for libgstopencv
2020-06-23 12:10:17 -04:00
Thibault Saunier
da1f6ac0a7
doc: Stop documenting properties from parents
2020-06-23 12:10:17 -04:00
Sebastian Dröge
ea5f38440d
audiobuffersplit: Specify in the template caps that only interleaved audio is supported
...
Needs special support for non-interleaved audio and e.g. use the
GstPlanarAudioAdapter.
See https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/779
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1363 >
2020-06-23 10:03:53 +03:00
Sebastian Dröge
aa01e6ba22
webrtcbin: Don't call gst_ghost_pad_construct() anymore
...
It's deprecated, unneeded and doesn't do anything anymore.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1360 >
2020-06-22 17:01:34 +00:00
Vivia Nikolaidou
652773de36
Revert "h264parse: Include interlace-mode
in caps"
...
This reverts commit b75a61342f
.
The parser would only set the mode to progressive or mixed, missing the
cases where it should have been interleaved. Interleaved is more
difficult to detect because in h264 it happens per frame. On the other
hand, h264 decoders detect the interlacing information per-frame and set
the caps correctly. By giving potentially incorrect interlacing
information in the parser already, it's being enforced downstream even
after decoding, breaking some use cases (e.g. an encoder can't properly
mark the stream as TFF or BFF). On the other hand, there's no valid use
case for having interlacing information on the caps at the parsing
stage, so after a lot of discussion, it was decided to revert this.
Initial commit message:
=========================
Those are the rules:
In the SPS:
* if frame_mbs_only_flag=1 => all frame progressive
* if frame_mbs_only_flag=0 => field_pic_flag defines if each frame is
progressive or interlaced, thus the mode is 'mixed' in GStreamer
terms.
https://bugzilla.gnome.org/show_bug.cgi?id=779309
=========================
Fixes #1313
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1335 >
2020-06-22 16:08:41 +00:00
Seungha Yang
863c663b1d
d3d11window_win32: Chain up mouse event to parent window
...
Unlike key event, mouse event will not be chained up to parent window
by DefWindowProc
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1361 >
2020-06-22 15:09:22 +00:00
Seungha Yang
9042062072
dxgiscreencapsrc: Load HLSL compiler library using g_module_open
...
Depending on OS version, available d3dcompiler library name is different.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1355 >
2020-06-22 14:36:16 +00:00
Seungha Yang
96a5760751
dxgiscreencapsrc: Reorganize debug category usage
...
Use the same debug category in all dxgiscreencap related source code
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1355 >
2020-06-22 14:36:16 +00:00
Seungha Yang
4aa7d3d589
winscreencap: Remove trailing whitespaces
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1355 >
2020-06-22 14:36:16 +00:00
Seungha Yang
3dd2b6f20b
d3d11device: Print supported DXGI format for debugging
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1355 >
2020-06-22 14:36:16 +00:00
Seungha Yang
8fe1aae96c
d3d11: Load HLSL compiler library using g_module_open
...
Depending on OS version, available d3dcompiler library name is different.
But for UWP, we can still use the current way
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1355 >
2020-06-22 14:36:16 +00:00
Seungha Yang
9b8eec39b6
d3d11shader: Add missing config.h include
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1355 >
2020-06-22 14:36:16 +00:00
Matthew Waters
0f41c0f000
webrtc: fix ice control mode when we offer initially
...
An initial offer means we have a local description not a remote
description.
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1332
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1358 >
2020-06-22 12:17:09 +00:00
Seungha Yang
4997cde699
mediafoundation: Add VP9 encoder element
...
Some Intel GPUs support hardware accelerated VP9 encoding and
Microsoft provides software VP9 encoding implementation as well.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1295 >
2020-06-22 07:58:03 +00:00
Vivia Nikolaidou
41950f2aba
fdkaacenc: Add missing SURROUND mappings
...
SURROUND is more to spec according to the FIXME comments, so add this.
Also add SIDE for 5 and 5.1 because of ffmpeg compatibility, because the
following pipeline downmixes to mono otherwise:
gst-launch-1.0 audiotestsrc num-buffers=1 ! audio/x-raw, channels=6 !
avenc_ac3 ! avdec_ac3 ! audioconvert ! fdkaacenc ! fakesink -v
Fixes #1327
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1352 >
2020-06-22 07:14:20 +00:00
Matthew Waters
c21aefbfb0
vulkan: log extension/layers available/enabled on instance/device creation
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1341 >
2020-06-21 09:30:29 +00:00
Matthew Waters
09613696a6
vulkan/device: expose extension/layer choices
...
Extensions and layers can be enabled before calling
gst_vulkan_device_open(). The available extensions are stored in
GstVulkanPhysicalDevice.
Defaults are still the same.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1341 >
2020-06-21 09:30:29 +00:00
Matthew Waters
ceb5ac0e4f
vulkan/instance: privatise defult debug callback
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1341 >
2020-06-21 09:30:29 +00:00
Matthew Waters
0e72318515
vulkan/instance: expose extension/layer choices
...
Extensions and layers can be enabled before calling
gst_vulkan_instance_open() but after calling
gst_vulkan_instance_fill_info().
Use the list of available extensions to better choose a default display
implementation to use based on the available Vulkan extensions for surface
output.
Defaults are still the same.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1341 >
2020-06-21 09:30:29 +00:00
Matthew Waters
91b8ec1f0a
vulkan/physical-device: dump some more information to logs
...
Also dump the Vulkan 1.1 and Vulkan 1.2 device properties/features
where supported.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1341 >
2020-06-21 09:30:29 +00:00
Matthew Waters
aad7ed31e1
vulkan/instance: add vulkan API version selection and checking
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1341 >
2020-06-21 09:30:29 +00:00
Matthew Waters
595dd1c149
vulkan/wayland: initialise debug category before debug logging
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1341 >
2020-06-21 09:30:29 +00:00
Nicolas Dufresne
c213b6ea17
nalutils: Improve slightly the error trace
...
Until now, bound check would simply trace the values and the range. This
enhances the trace by also tracing the name of the variable that was to be set
or read. This is not magically perfect in all cases, but greatly speed the
debugging work. Here's an example before and after this change:
Before: gst_h264_parser_parse_slice_hdr: value not in allowed range. value: 819183, range -87-77
After: gst_h264_parser_parse_slice_hdr: value for 'slice->slice_qp_delta' not in allowed range. value: 819183, range -87-77
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1356 >
2020-06-20 19:47:49 +00:00
Jan Alexander Steffens (heftig)
434d685564
Revert "errorignore: Added convert-error signal"
...
The introduced API has [some problems][1] and [a better solution][2] was
found that made the feature obsolete.
This reverts commit f7626c1f2a
.
[1]: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/merge_requests/736#note_357702
[2]: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/merge_requests/736#note_238830
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/merge_requests/916
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/916 >
2020-06-20 19:11:57 +01:00
Tim-Philipp Müller
b5f7f8174f
Back to development
2020-06-20 00:28:22 +01:00
Tim-Philipp Müller
88ace3befb
Release 1.17.1
2020-06-19 19:22:22 +01:00
Tim-Philipp Müller
a8ce8db982
srt: add "empty" subclasses for deprecated srt{client,server}{src,sink}
...
The doc system gets confused when we register the exact same
class as multiple elements, so make a subclass for each.
Also wrap registration of deprecated elements with #ifndef GST_REMOVE_DEPRECATED.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1354 >
2020-06-19 17:20:02 +01:00