summaryrefslogtreecommitdiff
path: root/gst-libs
Commit message (Collapse)AuthorAgeFilesLines
* glmemory: Use glBlitFramebuffer() instead of glCopyTexImage2D() if availableSebastian Dröge2017-02-232-20/+80
| | | | | | | | | | | | | glBlitFramebuffer() is new GLES3/GL3 API. They are probably often implemented in terms of each other, and glBlitFramebuffer() can potentially be implemented more flexible. Let's use it if available. Also it actually works on imx6 with DirectVIV textures. Based on a patch by Haihua Hu <jared.hu@nxp.com> from https://github.com/Freescale/meta-freescale/blob/master/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/ https://bugzilla.gnome.org/show_bug.cgi?id=779070
* configure: Remove unused Mali EGL/fbdev_window supportSebastian Dröge2017-02-161-1/+1
| | | | | This existed a long time ago but there's no actual code for this anymore.
* adaptivedemux: Convert premature EOS on non-exposed pads to ERRORJan Schmidt2017-02-091-1/+7
| | | | | | | | If we need to send EOS on a pad that hasn't prerolled, generate an error on the bus instead, otherwise the app will have no idea. Fixes the HLS testFragmentNotFound test, which is waiting for either EOS or an error.
* adaptivedemux: Handle errors from prepared_streams tooJan Schmidt2017-02-091-26/+43
| | | | | | Check both active and prepared_streams when we receive an error on the bus, so we post errors for streams that are still pre-rolling
* adaptivedemux: Fix bitrate printed in debugJan Schmidt2017-02-071-2/+1
| | | | | | The download bitrate is already in bits per second, no need to multiply it by 8 again when printing it for debug.
* adaptivedemux: Preroll streams before exposing themJan Schmidt2017-02-072-31/+180
| | | | | | | | | | | | | To ensure that pads have caps when they are exposed, do the exposing when all pending streams have prerolled an output buffer, and only then EOS and remove any old pads. Improves the switching sequence by making caps available as soon as a pad appears. With fixes from Seungha Yang <sh.yang@lge.com> https://bugzilla.gnome.org/show_bug.cgi?id=758257
* adaptivedemux: Handle SEEK event only onceSeungha Yang2017-01-311-0/+7
| | | | | | | | send_event() of parent class (i.e., GstBinClass) iterates srcpads to send SEEK event. And performing it per srcpad is inefficient. So, let's drop duplicated SEEK event by checking seqnum https://bugzilla.gnome.org/show_bug.cgi?id=776612
* meson: Build GIR filesThibault Saunier2017-01-234-5/+75
|
* player: Add support for selecting a specific video sinkLyon Wang2017-01-172-1/+38
| | | | | | | | - Add overlay video renderer "video-sink" property, so that can be set - In create_video_sink, it returns video sink instead of always NULL - Add new renderer_new_with_sink() API to set video sink https://bugzilla.gnome.org/show_bug.cgi?id=776490
* player: Add missing documentation for deprecated functionsSebastian Dröge2017-01-171-0/+21
|
* player: Add get video snapshot APILyon Wang2017-01-172-0/+109
| | | | | | | Add get video snapshot API: gst_player_get_video_snapshot() https://bugzilla.gnome.org/show_bug.cgi?id=773709
* gl: update sys dependants for function removalsMatthew Waters2017-01-131-0/+1
| | | | | 4315a4b54d9 forgot to change the androidmedia/videotoolbox/caopengllayer sources as required.
* glslstage: define GL constants if needed instead of using #ifdefJuan Pablo Ugarte2017-01-131-16/+13
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=777144
* glutils: document functionsMatthew Waters2017-01-132-3/+91
|
* glutils: privatise matrix multiplication/videoaffinetransformation retrievalMatthew Waters2017-01-134-7/+3
|
* gl/utils: also take care of the local GL context in query functionsMatthew Waters2017-01-134-112/+166
| | | | | Simplifies a deduplicates a lot of code in elements retrieving/setting the local OpenGL context.
* glutils: remove trivial helper functionMatthew Waters2017-01-133-20/+9
| | | | | gst_gl_caps_replace_all_caps_features() is only used in two places and can be trivially reproduced.
* gl/docs: add symbols from -unused.txtMatthew Waters2017-01-132-8/+6
|
* gl/docs: some type fixes of type namesMatthew Waters2017-01-133-4/+3
|
* codecparsers: remove problematic 'extern inline'Tim-Philipp Müller2017-01-101-7/+7
| | | | | | | | | | | 'extern inline' was added in 2fb76c89 for MSVC (it was just 'inline' before), but all of this doesn't really make sense, the functions are not going to be inlined anyway, and what 'extern inline' means exactly also appears to depend on the Cxx standard targetted. Let's just remove the 'extern inline' entirely. At least gcc6 still emits the exact same code as before anyway. Fixes compilation/linking with gcc 4.8 as used on L4T on the TK1.
* adaptivedemux: Use a simple queue instead of queue2Edward Hervey2017-01-101-3/+3
| | | | | | The reason we previously used queue2 was to calculate the download rate, but that wasn't entirely correct and we therefore calculate it before queue2. We therefore now just need a simple queue.
* adaptivedemux: Remove unneeded variablesEdward Hervey2017-01-102-12/+2
| | | | We now have properly non-blocking download time calculation
* glwindow: use the same parameter names between vfuncs and functions of the ↵Matthew Waters2017-01-101-1/+1
| | | | | | | same name Silences GI warnings about symbol's not being used from source code comment block
* glbasememory: type fix for GstGLBaseMemoryAllocatorAllocFunctionMatthew Waters2017-01-101-1/+1
|
* gldisplay: add missing transfer annotationsMatthew Waters2017-01-101-2/+2
|
* gl: add skip annotations to non-GI possible struct constructorsMatthew Waters2017-01-102-2/+2
|
* glbasememory: remove unused and #if 0'ed function definitionsMatthew Waters2017-01-101-4/+0
|
* gl: add necessary get_type() functions for allocation params structuresMatthew Waters2017-01-108-0/+32
| | | | All using the existing GstGLAllocationParams infrastructure
* gldisplay: some annotation updates/typo fixesMatthew Waters2017-01-102-5/+6
|
* gl: remove reference to non-existant headerMatthew Waters2017-01-101-1/+0
| | | | | | ../../../../gst-libs/gst/gl/gl.h:57:45: fatal error: gst/gl/gstglcontrolbindingproxy.h: No such file or directory #include <gst/gl/gstglcontrolbindingproxy.h> ^
* gl: remove custom control binding proxyMatthew Waters2017-01-104-221/+1
| | | | Use the existing GstProxyControlBinding instead.
* gl: remove unneeded gst_gl_buffer_alloc from header fileMatthew Waters2017-01-101-7/+0
| | | | There's no implementation anymore!
* gl/egl: remove use of texture orientationMatthew Waters2017-01-104-49/+6
|
* glcontext/egl: don't overwrite set GErrorMatthew Waters2017-01-101-6/+8
| | | | | | Doing so is an error and will cause a glib warning to be printed. https://bugzilla.gnome.org/show_bug.cgi?id=776722
* player: Add deprecated compatibility functions for the audio/video/subtitle ↵Sebastian Dröge2016-12-212-0/+37
| | | | stream getters
* player: Move audio/video/subtitle stream list getters into the correct namespaceSebastian Dröge2016-12-213-11/+13
|
* player: Add get track number media info APILyon Wang2016-12-212-0/+70
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=773570
* gl/format: use the unsized format for RGB on GLES2Matthew Waters2016-12-171-1/+2
| | | | | | | In GLES2 GL_RGB8 doesn't exist so we cannot use it, use GL_RGB instead. https://bugzilla.gnome.org/show_bug.cgi?id=776141
* gl/window: remove unused priv variableMatthew Waters2016-12-161-1/+0
| | | | https://ci.gstreamer.net/job/GStreamer-master/7989/console
* gl/window: remove use of main_context_push/pop_thread_default()Matthew Waters2016-12-164-27/+13
| | | | | | | | | No-one's using/depending on it (it would have criticalled and not worked) and it's causing more problems than it's solving. Store the GMainContext in the public struct instead for subclasses to optionally use instead of relying on the push/pop state to be correct. https://bugzilla.gnome.org/show_bug.cgi?id=775970
* videoaggregator: Remove unlock() if set_info() failsSebastian Dröge2016-12-141-2/+0
| | | | There is not mutex locked here that needs to be unlocked.
* gst: Don't declare variables inside the for loop headerSebastian Dröge2016-12-132-2/+5
| | | | This is a C99 feature.
* adaptivedemux: Avoid using unset GErrorEdward Hervey2016-12-121-1/+1
| | | | | gst_uri_handler_set_uri() doesn't guarantee the GError will be set if it returns FALSE.
* player: Don't try to cache the GQuark for GST_PLAYER_ERRORArun Raghavan2016-12-081-6/+1
| | | | | | | | | | | This is potentially racy (in the unlikely scenario that we get two first-time calls to gst_player_error_quark() at the same time). This should not impact anything in terms of performance since it's only on the error path. The call itself could just be inlined by making GST_PLAYER_ERROR be defined to the g_quark_from_static_string() call, but this feels ugly from an API perspective.
* gstglupload: relax EGL context checkJulien Isorce2016-12-011-1/+2
| | | | | | Check for GST_GL_PLATFORM_EGL enum instead of type GstGLContextEGL. https://bugzilla.gnome.org/show_bug.cgi?id=774518
* gstglcontext: is_shared should return FALSE if no groupJulien Isorce2016-12-011-0/+4
| | | | | | | | | | | | If a sub class of GstGLContext does not create a group then it currently crashes: 0 g_atomic_int_get (&share->refcount) 1 _context_share_group_is_shared (context->priv->sharegroup) 2 gst_gl_context_is_shared 3 _default_set_sync_gl https://bugzilla.gnome.org/show_bug.cgi?id=774518
* glmemoryegl: remove spurious #if GST_GL_HAVE_DMABUF conditionsMatthew Waters2016-11-301-5/+0
| | | | | | | 8c2118823b3d42840cc6f48cbdc0e1b342f90b80 had some incorrect preprocessor conditions that aren't actually needed. Remove them. https://bugzilla.gnome.org/show_bug.cgi?id=775248
* opencv: add opencv image format documentationPhilippe Renon2016-11-291-0/+49
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=774576
* opencv: account for sparse/padded formats when converting caps to cv image typePhilippe Renon2016-11-292-27/+55
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=774576
* opencvvideofilter: Don't parse the caps twiceNicolas Dufresne2016-11-293-14/+25
| | | | | | | The GstVideoFilter already provide caps parsed into GstVideoInfo. Avoid doing that twice by splitting the helper. https://bugzilla.gnome.org/show_bug.cgi?id=775288