- Dec 24, 2015
-
-
Sebastian Dröge authored
-
Sebastian Dröge authored
-
Sebastian Dröge authored
-
- Dec 23, 2015
-
-
Tim-Philipp Müller authored
-
-
-
Sebastian Dröge authored
-
Sebastian Dröge authored
-
Sebastian Dröge authored
This will be automatically be updated together with the next common update again.
-
Sebastian Dröge authored
The unit test is downloading a few small media files from the Internet, which are then used during the test. "make clean" removes the files again.
-
Sebastian Dröge authored
-
Sebastian Dröge authored
Based on https://github.com/sdroege/gst-player commit 9ce6ae0dbb8eeeefaf794cfae80e279a03cc598d
-
Sebastian Dröge authored
It's not clear if these are intentionally unused or the code should be changed, but this fixes compilation for the time being at least. See https://bugzilla.gnome.org/show_bug.cgi?id=759679
-
- Dec 22, 2015
-
-
Alex Ashley authored
If the query parameter (for example http://example.net/1054559_1500k.mp4/master.m3u8?acl=/*1054559_1500k.mp4), check that m3u8.c correctly converts the relative URLs of the media playlists in to absolute URLs. It must not use the last '/' it finds in the URL, as according to RFC3986 the '/' character is allowed in the query part of the URL. https://bugzilla.gnome.org/show_bug.cgi?id=758384
-
Alex Ashley authored
The URI attribute from the EXT-X-KEY tag and the URI attribute from the EXT-X-I-FRAMES-ONLY tag are both quoted-string attibutes that have their quotation marks removed during parsing. The CODECS attribute of the EXT-X-STREAM-INF is also a quoted-string attribute, but this attribute was not being un-quoted. This commit changes the parser to always unquote all quoted-string attributes and adjusts the unit tests to this new bevahiour for the CODECS attribute. An additional test is added to check that parsing of all of the fields in the EXT-X-STREAM tag is correct, including those that contain comma characters. https://bugzilla.gnome.org/show_bug.cgi?id=758384
-
Alex Ashley authored
Using the new GstAdaptiveDemux test framework, add tests that exercise hlsdemux. The following tests are added: simpleTest A simple playlist that contains some media URLs testMediaPlaylist A master playlist with a variant playlist that contains media URLs testMediaPlaylistNotFound A master playlist that points to a missing variant playlist testFragmentNotFound A master playlist with a variant playlist that contains media URLs There is a missing media file referenced from the variant playlist. testFragmentDownloadError A master playlist with a variant playlist that contains media URLs During the download of one media file, the test simulates the network connection being dropped. testSeek A simple test of trying to perform a seek on an HLS stream.
-
Alex Ashley authored
To allow code from dash_demux.c to be used by other elements that are based upon GstAdaptiveDemux, the code has been refactored into four new files: adaptive_demux_engine.[ch] adaptive_demux_common.[ch] The code in adaptive_demux_engine.c provides a generic test engine for elements based upon GstAdaptiveDemux. The code in adaptive_demux_common.c provides a set of utility functions that are common between the tests for hlsdemux and dashdemux. As part of the refactoring, variables in structures were renamed from using camelCase to underscore_case to match other GStreamer source code. The fake_http_src was renamed test_http_src and changed to use callbacks to provide input data and error conditions. Rather than using an array of input data that tries to encode all the possible use cases for the GstTestHTTPSrc element, use a struct of callbacks. Users of this element are obliged to implement at least the src_start callback, which provides a way to link from a URI to the settings for that URI.
-
We need a static lock to protect various NVENC methods in _set_format(). Without this the CPU use increases dramatically on initialisation of the element when there are multiple elements being initialised at the same time. https://bugzilla.gnome.org/show_bug.cgi?id=759742
-
Thiago Santos authored
Otherwise it segfaults when reporting the error in the bus
-
- Dec 21, 2015
-
-
Sebastian Dröge authored
Which is equivalent to g_strdup(NULL). https://bugzilla.gnome.org/show_bug.cgi?id=759728
-
Sebastian Dröge authored
While this is more useful for libraries, some of our plugins with multiple files and some internal API can also benefit from this.
-
Sebastian Dröge authored
-
Sebastian Dröge authored
glcontext: Signal context creation from inside the context loop and use g_thread_join() instead of a custom condition variable Also protect against spurious condition variable wakeups during context creation.
-
Sebastian Dröge authored
glwindow: Hide navigation specific internal API and add API to asynchronously send navigation events Exposing the navigation thread's main context, GSourceFuncs and structs called key_event and mouse_event is exposing a bit too much of the internals. Let's just go with two functions to asynchronously send navigation events on the window with the same API as the synchronous ones.
-
Sebastian Dröge authored
glwindow: Use g_thread_join() instead of a custom condition variable for waiting for the navigation thread to finish Also hide some internal functions and fields while we're at it and fix a race condition with the startup condition variable.
-
When stopping the navigation thread, call g_thread_join() to release the resources hold by it. https://bugzilla.gnome.org/show_bug.cgi?id=758820
-
- Dec 19, 2015
-
-
Tim-Philipp Müller authored
-
Tim-Philipp Müller authored
Reduce indentation by erroring out directly on failure.
-
Tim-Philipp Müller authored
Clear error as soon as we determine that the download failed, otherwise there are code paths where we might return without clearing it ever, which would leak the GError then. Also, we can pass a NULL GError pointer to _fetch_uri(), so just do that instead of passing one that we're going to just free again right away anyway.
-
Luis de Bethencourt authored
-
Luis de Bethencourt authored
-
- Dec 18, 2015
-
-
Thiago Santos authored
-
Thiago Santos authored
Downstream needs to be able to restore the timestamps after a discont to do reverse playback https://bugzilla.gnome.org/show_bug.cgi?id=759592
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
This upload method detect and optimize uploads of DMABuf memory. This is done by creating and caching EGLImages wrapper around DMABuf. The EGLImages are then binded to a texture which get converter using standard shader. Example pipeline: GST_GL_PLATFORM=egl \ gst-launch-1.0 v4l2src device=/dev/video1 io-mode=4 ! \ video/x-raw,format=NV12 ! glimagesink https://bugzilla.gnome.org/show_bug.cgi?id=743345
-
-
-
Maps GstVideoFormats to suitable DRM fourccs which work with glcolorconvert, using gst_gl_memory_alloc(). We require mostly only 4 formats to be supported by the driver. We require DRM equivalent to RGB16, RGBA, R8 and RG88. This way it's compatible with DesktopGL, since GL_TEXTURE_2D is used and limit driver requirements. With this we can virtually support all formats the glcolorconvert supports. https://bugzilla.gnome.org/show_bug.cgi?id=743345
-
configure.ac: Build dmabuf when EGL and drm_fourcc.h is available. gl: Link gst-allocators. https://bugzilla.gnome.org/show_bug.cgi?id=743345
-
Adds more meaningful error than "Failed to convert multiview video buffer", which is always used when prepare_next_buffer() fails in gst_glimage_sink_prepare(). https://bugzilla.gnome.org/show_bug.cgi?id=743345
-