Mathieu Duponchelle
69d5428bfc
docs: mark more types as plugin API
2020-06-23 14:52:20 -04:00
Thibault Saunier
930e9bada4
doc: Stop documenting properties from parents
2020-06-23 14:52:20 -04:00
Seungha Yang
946e00f581
videometa: Fix documentation
...
Fix gst_video_region_of_interest_meta_add_params to
gst_video_region_of_interest_meta_add_param and add newline to be
more readable.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/722 >
2020-06-24 02:02:50 +09:00
Sebastian Dröge
63933da9e8
audiodecoder: Add max-errors property
...
The number of consecutive decode errors that should be tolerated before
returning flow error should be up to the application, not the element.
Hence max-error should be exposed as a property.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/720 >
2020-06-23 07:17:00 +00:00
Haakon Sporsheim
226a371e3f
videodecoder: Add max-errors property
...
The number of consecutive decode errors that should be tolerated before
returning flow error should be up to the application, not the element.
Hence max-error should be exposed as a property.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/720 >
2020-06-23 07:17:00 +00:00
Seungha Yang
220f2dd3c7
glwindow/win32: Chain up mouse event to parent window
...
Fix a regression of the commit 940c9998e5
Unlike key event, mouse event will not be chained up to parent window
by DefWindowProc
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/718 >
2020-06-22 18:34:49 +00:00
Sebastian Dröge
fddd7df2d3
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-base/-/merge_requests/717 >
2020-06-22 16:11:28 +00:00
Jimmy Ohn
00bcf9d3e2
tools:discoverer: Remove short name for use-cache
...
There is no need to add short name for 'use-cache'.
The 'async' option already has 'a' short name.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/716 >
2020-06-22 17:52:20 +09:00
Hosang Lee
5726a66fdb
subparse: lower text buffer threshold
...
It is possible for subtitle files to have a string length less than 30.
WebVTT for example may contain only the 'WEBVTT' string in the file
without any cues.
As an example in hls streams, since WEBVTT files can be segmented
like video/audio, some subtitle segments may only contain just the
header string.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/708 >
2020-06-22 05:46:13 +00:00
Tim-Philipp Müller
8768efde64
Back to development
2020-06-20 00:28:04 +01:00
Tim-Philipp Müller
82a58f567f
Release 1.17.1
2020-06-19 19:16:03 +01:00
Sebastian Dröge
f2af205a78
Fix up and add various "Since" markers and other related docs fixes
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/713 >
2020-06-19 12:17:55 +03:00
Guillaume Desmottes
870d630481
sdp: fix gst_sdp_message_new_from_text() doc
...
Arguments were in the wrong order in the doc.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/711 >
2020-06-18 11:42:10 +00:00
Tim-Philipp Müller
aecd0f660f
tests: validate: Add workaround for older meson versions
...
subproject.get_variable() only has fallback since 0.51
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/710 >
2020-06-18 10:41:17 +01:00
Hosang Lee
f84f7a2cec
tests: subparse: add test for webvtt without hour component
...
Test for webvtt without hour component.
mm:ss.000
2020-06-18 09:06:32 +09:00
Thibault Saunier
75065ab244
videotestsrc: Do not try to answer the duration query before negotiation
...
We have no idea at that moment and this code was trying to divide by 0!
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/705 >
2020-06-15 17:24:17 +00:00
Aaron Boxer
b813c40788
video: allow frame copy where destination dimensions are smaller than source
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/695 >
2020-06-15 09:46:17 -04:00
Matthew Waters
02602dd63c
gl/examples/qt: hook up to meson build
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/702 >
2020-06-12 07:19:01 +00:00
Jan Schmidt
205bb066ed
video-converter: Add checks for configuration sanity.
...
If the cropping or scaling input or output rects put us completely
outside the input/output frame respectively, we can't draw anything
except black safely. Check for those conditions and don't set up a
configuration that attempts to access out of bounds memory outside
the input/output framebuffers.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/696 >
2020-06-12 06:49:56 +00:00
Jan Schmidt
bf5d51c5da
video-converter: Guard against invalid frame input
...
If the frames passed in to gst_video_converter_frame()
have a different layout than was configured for, the
conversion code might go out of bounds and crash.
Do a sanity check on each frame passed in, and in the
absence of a return value in the API, just
refuse the conversion in invalid cases and leave the
destination frame untouched so it's obvious to
users that it was broken.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/696 >
2020-06-12 06:49:56 +00:00
David Bender
b4bdb75a80
gstglwindow_x11: fix resize
...
This patch was taken from #629#note_178766, the comment made
at the time was:
The root issue is a mismatch between the initialization of render_rect
in GstGLWindowX11Private and what's expected in the draw_cb function.
Because render_rect is not explicitly initialized to a width and height
of -1 (unlike gstglwindow_wayland_egl.c which does initialize to -1),
the less-than check for explicitly-set render_rect at gstglwindow_x11.c:453-454
always fails, even when the parent_win has been set and the render rectangle
has never been set.
Maybe this came from copying the similar check in the wayland code? Regardless,
I think the correct inequality should be '<= 0' (on both lines).
Alternatively initialization could be changed, but other sinks, e.g.
xvimagesink don't appear to use -1 to mean "unset" render_rect this way.
The issue can be reproduced by running the example in
tests/examples/gl/qt/videooverlay/ on X11, and resizing the output
window
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/701 >
2020-06-12 01:36:22 +00:00
Mathieu Duponchelle
a90968997a
videooverlay: chevrons don't need to be escaped in code examples
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/700 >
2020-06-11 22:19:09 +00:00
Thibault Saunier
3354b3ebbb
decodebin3: Lower error message to debug
...
Debugging leftover
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/699 >
2020-06-11 16:39:23 -04:00
Jordan Petridis
1b567af051
libvisual: use gst_element_class_set_metadata when passing dynamic strings
...
gst_element_class_set_metadata is meant to only be used with
static or inlined strings, which isn't the case for this element
resulting in use-after-free later on.
https://gstreamer.freedesktop.org/documentation/gstreamer/gstelement.html?gi-language=c#gst_element_class_set_static_metadata
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/698 >
2020-06-11 20:57:58 +03:00
Nirbheek Chauhan
30509252ca
meson: Use the tests option for validate
...
This is what gstreamer core does too, and avoids a configure error
when tests are disabled globally. Also print a useful error when
gst_tester is not found from the gstreamer subproject.
This broke in https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/667
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/697 >
2020-06-11 14:01:01 +05:30
Thibault Saunier
4986138c16
docs: Update plugins cache
2020-06-10 13:37:09 +00:00
Guillaume Desmottes
008d72d5da
audio: add missing space in GST_AUDIO_FORMATS_ALL
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/694 >
2020-06-10 10:43:42 +02:00
Thibault Saunier
cef7c833cd
docs: Update plugins cache
2020-06-09 09:19:40 -04:00
Guillaume Desmottes
62254f93a3
video: sort formats by quality
...
Will ensure that we pick the "best" format when negotiating caps.
Fix #649
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/689 >
2020-06-09 08:09:58 +00:00
Guillaume Desmottes
e2f6b85fd9
audio: sort formats by quality
...
Will ensure that we pick the "best" format when negotiating caps.
Fix #649
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/689 >
2020-06-09 08:09:58 +00:00
Guillaume Desmottes
1b4ab9f033
tests: enforce I420 format
...
Tests are assuming video is I420 but are not actually enforcing it.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/689 >
2020-06-09 08:09:58 +00:00
Thibault Saunier
7edbc3fd7d
uridecodebin3: Let decodebin do its stream selection if no one answers
...
If no one answers our `select-stream` signal, uridecodebin3 should
behave the same way as `decodebin3` and let decodebin do its own stream
selection.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/666 >
2020-06-08 12:54:05 -04:00
Thibault Saunier
b41b87522f
decodebin3: Avoid overriding explicit user selection
...
In case the user set a list of streams to select or answer explicitly
to all 'select-stream' event, we should respect his choice and not
try to add a stream per type.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/666 >
2020-06-08 12:54:05 -04:00
Edward Hervey
78444fc622
tests: Avoid hang with decodebin test
...
When adding elements dynamically to a pipeline one should never guess what the
curren/target state is, and instead use `gst_element_sync_state_with_parent()`.
Fixes racy hang when running within valgrind
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/692 >
2020-06-08 08:11:00 +02:00
Seungha Yang
9c3cff287e
playbin: Fix wrong AV element pair selection when rank is very large value
...
If user set very high rank to an element (e.g., integer max),
integer overflow can happen while multiplication operation
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/690 >
2020-06-06 20:22:28 +09:00
Mathieu Duponchelle
cc516695b0
plugins: uddate gst_type_mark_as_plugin_api() calls
2020-06-06 00:41:17 +02:00
Sebastian Dröge
954a314ca8
videoencoder: Add test for min-force-key-unit-interval property
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/684 >
2020-06-05 10:04:43 +00:00
Sebastian Dröge
76364ebfe7
videoencoder: Also don't request a new key-unit if we already got one after the requested running time
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/684 >
2020-06-05 10:04:43 +00:00
Sebastian Dröge
19fecabdf7
videoencoder: Don't request another keyunit if another one is pending or we requested one for a future time already
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/684 >
2020-06-05 10:04:43 +00:00
Sebastian Dröge
c5b081edc2
videoencoder: Add min-force-key-unit-interval property
...
This allows configuring the minimum interval between subsequent
force-key-unit requests and prevents a big bitrate increase if a lot of
key-units are requested.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/684 >
2020-06-05 10:04:43 +00:00
Sebastian Dröge
931b5ad996
videoencoder: Add test for correct force-keyunit event handling
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/684 >
2020-06-05 10:04:43 +00:00
Sebastian Dröge
01eecc69bd
videoencoder: Fix force-keyunit handling in test
...
This now behaves according to the videoencoder API instead of some other
signalling.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/684 >
2020-06-05 10:04:43 +00:00
Sebastian Dröge
6260c4be7e
videoencoder: When pushing headers as part of a keyframe mark the first header as keyframe
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/684 >
2020-06-05 10:04:43 +00:00
Sebastian Dröge
401d56a6a7
videoencoder: Handle all matching force-keyunit events at once
...
Previously we only handled one event at a time, which could lead to the
following two suboptimal situations:
- frame 0 at 20ms, frame 1 at 40ms and two force-keyunit events at 10ms
and 15ms. We would create a new keyframe for both of the frames.
- 100 force-keyunit events with running-time NONE would cause all
following 100 frames to be made into a keyframe.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/684 >
2020-06-05 10:04:43 +00:00
Sebastian Dröge
9b1f1f431a
videoencoder: Sort force-keyunit-events by their running time
...
That way we can more easily work with the whole list without iterating
over all of the elements.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/684 >
2020-06-05 10:04:43 +00:00
Edward Hervey
b087415757
uridecodebin: Dont link random pads
...
When linking source pads to decodebin, make sure we use the *specified* new
source pad and not some random one.
This avoids ending up with source pads being unlinked.
Main cause of random timeouts with rtsp change_state_intensive validate tests
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/687 >
2020-06-05 09:06:05 +00:00
Stéphane Cerveau
42dcbcd61f
video-hdr: fix memset warning
...
Fix warning on fedora arm64 target
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/685 >
2020-06-05 08:13:32 +00:00
Nicolas Dufresne
8e3c4a5d5a
video: Fix NV12_64Z32 number of component
...
This format has 3 components, just like NV12.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/686 >
2020-06-04 20:12:59 +00:00
Thibault Saunier
c2610d7f41
doc: Add a minimal GstVideoMultiviewFlagsSet documentation
2020-06-03 22:44:24 -04:00
Thibault Saunier
7495006efa
doc: Require hotdoc >= 0.11.0
2020-06-03 22:44:23 -04:00