- 01 May, 2019 32 commits
-
-
Tim-Philipp Müller authored
handle_header_buffer() does no take ownership of the buffer passed. Fixes leaks in various unit tests.
-
Marc Leeman authored
-
Nicolas Dufresne authored
The range was set to -1 to MAXINT, but the x,y value can be negative. Relax the restriction so that we can now have negative coordinates.
-
James Cowgill authored
These formats have 4 components, so they should also have 4 components of pixel stride.
-
Kristofer Bjorkstrom authored
The function fill_bytes could sometimes return a value greater than zero and in the same time set the GError. Function read_bytes calls fill_bytes in a while loop. In the special case above it would call fill_bytes with error already set. Thus resulting in "GError set over the top of a previous GError". Solved this by clearing GError when return value is greater than zero. Actions are taken depending on error type by caller of read_bytes. Eg. with EWOULDBLOCK gst_rtsp_source_dispatch_read will try to read the missing bytes again (GST_RTSP_EINTR ) #445
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
This allow building on advertised version of libdrm drm_fourcc.h files. Fixes #549
-
Seungha Yang authored
Add more test cases for async APIs such as gst_discoverer_{start,stop}, and gst_discoverer_discover_uri_async()
-
Seungha Yang authored
g_source_remove() works only for a GSource which was attached to default GMainContext, but the GSource might be attached to custom context depending on how gst_discoverer_start() was called. Whatever the attached context was, g_source_destroy() can clean it up.
-
Sebastian Dröge authored
We don't get ownership of the caps that are passed in, and doing so causes crashes at a later time. Fixes #546
-
Jordan Petridіs authored
If a badly formatted was passed into `parse_subrip_time` it would assert instead of exiting gracefully. This is problematic since the input is provided by the user, and will trigger a crash. #532
-
Sebastian Dröge authored
We use all those libraries internally and include headers from them in the public headers. And add the tag library to Requires.private as we use it internally and it would be needed when doing static linking. Fixes #537
-
Víctor Manuel Jáquez Leal authored
It might be the case that glgsinkbin would try to set a property to its internal sink which doesn't exist in it, leading to a glib's warning. For example, when playsink sets 'force-aspect-ratio' property and glsinkbin has, as internal sink, appsink, which doesn't handle that property. The patch validates the incoming property to forward to internal sink if it exists in the internal sink and both properties has the same type.
-
Sebastian Dröge authored
So that it behaves according to documentation.
-
Sebastian Dröge authored
24000/1001 is *not* a drop-frame framerate.
-
Sebastian Dröge authored
And add some comments about what exactly we're testing in the non-trivial cases.
-
Edward Hervey authored
In the unlikeliness the builder state is invalid, exit the top-level while(TRUE) loop.
-
Edward Hervey authored
In error cases, don't forget to reset it.
-
Olivier Crête authored
-
Per Forlin authored
gst_rtsp_connection_send() adds the Authorization header to the request. If this function is being called multiple times with the same request it will add one more Authorization header every time. To fix to this issue do not append a new Authorization header on top of an existing ones. Remove any existing Authorization headers first and then add the new one. Fixes gst-plugins-good#425
-
Marouen Ghodhbane authored
Endianness conversion should be based on the sample width instead of the sample depth. Fixes #510
-
Freyr666 authored
This fixes output caps format, so the output frames are not interlaced anymore
-
Philippe Normand authored
Running the context query in _start and during the NULL->READY state transition can fail because downstream elements might not be able to answer and thus the source element would not be able to reuse downstream GLContext and GLDisplay. This issue happened specifically when trying to use gltestsrc in playbin.
-
Maciej Wolny authored
This causes 'redefinition of typedef ...' errors on GCC 4.5.3
-
Tim-Philipp Müller authored
-
Sebastian Dröge authored
If we use the main loop it might happen that the caller (e.g. our unit test) already shut down the loop once the result was received and in that case the pipeline would never ever be shut down (and our unit test would hang).
-
Sebastian Dröge authored
-
Sebastian Dröge authored
We only care for the pre-roll sample.
-
Sebastian Dröge authored
-
Sebastian Dröge authored
While this creates a circular reference between the pipeline and the context, this ensures that the context stays alive for as long as any callbacks could be called on it. The circular reference is broken once the conversion is finished (or error, or timeout), which will then cause everything to be freed. Previously it was possible that a callback could be called on the context right after it was freed already. Also use only a single context structure, the second structure does not simplify anything and duplicates storage.
-
Xavier Claessens authored
-
Linus Svensson authored
The current sequence number will be the one from the first RTP buffer when a buffer list is pushed, but should be the last one. Fixes #495
-
- 22 Jan, 2019 1 commit
-
-
Tim-Philipp Müller authored
Make consistent with what autotools puts into enabled_gl_apis variable. Autotools puts 'gl' in there instead of 'opengl'. This would cause problems when building -bad glmixers plugin in meson against a -base that was built with autotools. See gst-plugins-bad#871
-
- 11 Jan, 2019 1 commit
-
-
Wim Taymans authored
We make an allocator for temporary lines and then use this for all the steps in the conversion that can do in-place processing. Keep track of the number of lines each step needs and use this to allocate the right number of lines. Previously we would not always allocate enough lines and we would end up with conversion errors as lines would be reused prematurely. Fixes #350
-
- 11 Nov, 2018 2 commits
-
-
Sjoerd Simons authored
Rather then letting gst_gl_memory_setup_buffer guess the GL format used for an eglimage after importing a dmabuf be explicit about it. This fixes issues where dmabuf import may have used another format then gst_gl_format_from_video_info would guess on the basis of the available GL extensions. In particular on etnaviv the gst_gl_format_from_video_info would assuming a luminance + alpha GL format is used for YUY2, but the dmabuf import will always use RG88. Which causes images to end up somewhat pink when displayed on the screen.
-
Sjoerd Simons authored
When importing an egl image from dmabuf gst_gl_format_from_video_info was used to work what the result GL format will be. Unfortunately that will only work if the conventional format and the choosen DRM fourcc for the format match up. On etnaviv platforms there is no support for GL_EXT_texture_rg, so the GL format chosen for YUY2 ends up being GST_GL_LUMINANCE_ALPHA. However DRM does not do luminance + alpha as it's a legacy GL thing, so the dmabuf import ends up using DRM_FORMAT_GR88. To fix this, tie the DRM_FORMAT and the GL format together so they always match up.
-
- 10 Nov, 2018 1 commit
-
-
Tim-Philipp Müller authored
compat_includes only exists in master. Fixes #507
-
- 08 Nov, 2018 3 commits
-
-
Matthew Waters authored
Fixes the internal viewconvert to not scale buffers for output with the following pipeline: gltestsrc ! glimagesink It also fixes overlay composition with a resized output with an OpenGL upstream: gltestsrc ! timeoverlay ! glimagesink
-
Matthew Waters authored
Attempting to use the MAX(1, display_rect) would result in the overlay composition attempting to draw into 1x1 buffer and calculate some grossly incorrect sizes. previously failing case: gltestsrc ! textoverlay text=GStreamer ! glimagesinkelement
-
Matthew Waters authored
-