summaryrefslogtreecommitdiff
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* waylandsink: Actually use buffer pool config after setting it upArun Raghavan2016-09-301-2/+3
| | | | CID: 1373420
* fix for https://bugzilla.gnome.org/show_bug.cgi?id=771871Sergey Mamonov2016-09-291-6/+12
|
* fdkaacenc: fix accessing freed memoryVincent Penquerc'h2016-09-291-2/+6
| | | | | | | | | | | | | | | | The buffer data is not always copied in _Fill, and will be read in _DecodeFrame. We unmap at the end of the function, whether we get there via failure or early out, and keep a ref to the buffer to ensure we can use it to unmap the memory even after _finish_frame is called, as it unrefs the buffer. Note that there is an access beyond the allocated buffer, which is only apparent when playing from souphttpsrc (ie, not from filesrc). This appears to be a bug in the bit reading code in libfdkaac AFAICT. https://bugzilla.gnome.org/show_bug.cgi?id=772186
* fdkaacdec: avoid memory corruption on decoding errorVincent Penquerc'h2016-09-292-5/+5
| | | | | | | The buffer size is expected to be in multiples of the sample size, not in bytes. https://bugzilla.gnome.org/show_bug.cgi?id=772186
* fdkaacenc: fix buffer leakVincent Penquerc'h2016-09-291-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=772186
* fdkaacenc: set framed=true on src capsVincent Penquerc'h2016-09-281-1/+2
| | | | | | This fixes muxing in MPEG TS. https://bugzilla.gnome.org/show_bug.cgi?id=772108
* fdkaacenc: set transmux on the fdkaac libVincent Penquerc'h2016-09-271-0/+6
| | | | | | | Not doing so will fail to decode in a simple fdkaacenc ! fdkaacdec pipeline, though would work if this goes through a file. https://bugzilla.gnome.org/show_bug.cgi?id=772067
* fdkaacdec: do not error out of out of sync returnVincent Penquerc'h2016-09-271-0/+6
| | | | | | The docs say we should continue feeding in data and decoding https://bugzilla.gnome.org/show_bug.cgi?id=772067
* fdkaac: fix error with AOT_MP2_AAC_LC removed from libfdkaac APIVincent Penquerc'h2016-09-271-6/+2
| | | | | | | | | AOT_MP2_AAC_LC is a "pseudo AOT" which got removed after 0.1.4, and maps to AOT_AAC_LC. Remove mpegversion 2 from th caps to match. https://bugzilla.gnome.org/show_bug.cgi?id=772067
* fdkaac: fix mixup setting interleaved outputOlivier Crête2016-09-261-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=770455
* openjpegdec: Properly offset and shift for all formats when convertingSebastian Dröge2016-09-241-133/+114
| | | | And while at it, also clean up some code.
* waylandsink: Don't leak GValues in getcapsNicolas Dufresne2016-09-231-4/+5
|
* waylandsink: Update our window size on configure eventNicolas Dufresne2016-09-223-10/+26
| | | | | | | | This is specific to when the waylandsink is not being embedded. In this patch we pass the render lock to the window so it can safely call gst_wl_window_set_render_rectangle() with the new size. https://bugzilla.gnome.org/show_bug.cgi?id=722343
* waylandsink: Remove atomic operationNicolas Dufresne2016-09-221-4/+7
| | | | | | We already take the render lock from the wlqueue thread in some other place which indicates that there is no use of this atomic instead of a proper locking mechanism.
* waylandsink: Do not pre-configure proposed poolNicolas Dufresne2016-09-221-12/+15
| | | | | Upstream must configure the pool before using it. Pre-configuring the proposed pool could hide bugs in upstream elements.
* waylandsink: Properly draw black border in absence of viewporterNicolas Dufresne2016-09-222-36/+60
| | | | | | When we don't have a viewporter (scaling support), we can't use the 1x1 scaleup image trick. Instead, we need to allocate a buffer with the same size as the area that need to have black background.
* waylandsink: Destroy viewporter when doneNicolas Dufresne2016-09-211-0/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=738079
* waylandsink: Port to vmeta and GstVideoFrameNicolas Dufresne2016-09-211-4/+43
| | | | | | | This add support for non-standard strides to be used. Note that some extra work is needed for multi-plane format which may have a different GstMemory object per plane. This is not currently a problem since SHM interface is limited to 1 memory.
* waylandsink: Don't propose multiple time the same buffer poolNicolas Dufresne2016-09-211-7/+18
| | | | | | The buffer pool API does not allow multiple of owner. This otherwise lead to error when renegotiation take place. Aso consider the allocation query "need_pool" boolean.
* waylandsink: Promote debug trace into error traceNicolas Dufresne2016-09-211-2/+2
| | | | | Otherwise those error may go unseen making debugging much harder.
* waylandsink: Factor-out the pool creationNicolas Dufresne2016-09-211-19/+28
|
* waylansink: Implement _show_frame()Nicolas Dufresne2016-09-211-14/+8
| | | | | This fixes the property show-preroll-frame expose by the VideoSink base class and removes redundant code.
* wayland: fix distcheck some moreTim-Philipp Müller2016-09-201-11/+3
|
* glcolorbalance: reconfigure on passthrough changesMatthew Waters2016-09-191-1/+4
| | | | | | | | Fixes an assertion when moving from passthrough to non-passthrough Without an explicit reconfigure, glfiter won't have created the GL resources such as the FBO, GL bufferpool, etc and basetransform will allocate sysmem buffers instead.
* wayland: fix distcheck when wayland-scanner is not installedTim-Philipp Müller2016-09-171-4/+4
|
* waylandsink: Make wl_viewporter optionalNicolas Dufresne2016-09-152-14/+33
| | | | | | | This makes the viewporter interface optional. The end result is obviously far from optimal, though it greatly helps testing on older compostitors or gnome-wayland. We can make it strictly needed later when this new interface get widely adopted.
* wayland: Update from scaler to viewporter protocolScott D Phillips2016-09-156-236/+36
| | | | | | Signed-off-by: Scott D Phillips <scott.d.phillips@intel.com> https://bugzilla.gnome.org/show_bug.cgi?id=767671
* meson: add build files for vulkanMatthew Waters2016-09-093-0/+90
|
* meson: add build files for the gtk pluginMatthew Waters2016-09-092-1/+55
|
* meson: add some starting build files for GLMatthew Waters2016-09-092-1/+111
| | | | | Currently only works on linux with egl/glx + wayland/x11 but the general principals have been layed out for adding the other GL platforms/winsys'.
* vkupload: add video/x-raw to the VulkanBuffer uploaderMatthew Waters2016-09-081-1/+2
| | | | Allows upstream elements that use our memory to passthrough without copying.
* vkutils: set the last element of the layer array to NULLMatthew Waters2016-09-081-0/+2
| | | | g_strv* functions require this to not read off the end of the array.
* qmlglsink: check qt_context_ first in GstQSGTexture::bind()Haihua Hu2016-09-071-0/+4
| | | | | | | | When start qmlglsink app, it will set NULL buffer to GstQSGTexture in which case that qt_context_ will be a random value and cause gst_gl_context_activate() fail. https://bugzilla.gnome.org/show_bug.cgi?id=770925
* srtpenc: prevent deadlock in create_sessionPhilippe Normand2016-09-061-0/+4
| | | | | | | Temporarily release the object lock which is needed to post error messages on the bus. https://bugzilla.gnome.org/show_bug.cgi?id=770933
* glupload: create the GstGLUpload object in ::transform_capsAlessandro Decina2016-09-051-2/+3
| | | | | | | | | Previously it was created in the init function and destroyed in ::stop, which lead to segfaults when reusing the element. Now the upload object is created in ::transform_caps if it is NULL, which is the earliest we need it. The other vfuncs already bail out if the upload object is NULL, which means that negotiation wasn't done.
* Use the new API to post flow ERROR messages on the busThibault Saunier2016-08-265-15/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=770158
* dashdemux: Add properties to select maximum allowed width/height and framerateSebastian Dröge2016-08-264-8/+93
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=770408
* gstglupload: make the GLMemoryUpload method output the correct texture-targetAlessandro Decina2016-08-261-4/+12
| | | | | | | | | | Now when used with video/x-raw as input, the GLMemoryUpload method checks for ->tex_target in input GLMemory(es) and sets the output texture-target accordingly. Fixes video corruption with a pipeline like avfvideosrc ! video/x-raw ! glimagesink where on macos avfvideosrc pushes RECTANGLE textures but glupload was configuring texture-target=2D as output.
* gl: Update glvideomixer docJan Schmidt2016-08-261-6/+6
|
* gl: Add/update docs for glviewconvert, glstereomixJan Schmidt2016-08-262-4/+42
| | | | | Add some example pipelines for glstereomix, and fix up the example pipelines for glviewconvert
* glstereomix: Fix caps negotiationJan Schmidt2016-08-262-118/+86
| | | | | | | The videoaggregator negotiation sequence changed some time back and broke glstereomix. Instead of doing nego incorrectly in the find_best_format() vfunc, do it directly in the update_caps() method.
* adaptivedemux: Enable bitrate selection for trick mode streaming againSebastian Dröge2016-08-253-7/+14
| | | | | | | | | | | | And scale the bitrate with the absolute rate (if it's bigger than 1.0) to get to the real bitrate due to faster playback. This allowed in my tests to play a stream with 10x speed without buffering as the lowest bitrate is chosen, instead of staying/selecting the highest bitrate and then buffering all the time. It was previously disabled for not very well specified reasons, which seem to be not valid anymore nowadays.
* glvideoflip: implement GstVideoDirection interfaceXabier Rodriguez Calvar2016-08-252-41/+63
| | | | | | | | It implements now this interface with its video-direction property. Values are changed to GstVideoOrientationMethod but they have the same value than the originals. https://bugzilla.gnome.org/show_bug.cgi?id=768687
* fdkaacenc: Implement some automatic bitrate selectionSebastian Dröge2016-08-241-4/+53
| | | | | Based on sample rate and channel count, see http://wiki.hydrogenaud.io/index.php?title=Fraunhofer_FDK_AAC#Recommended_Sampling_Rate_and_Bitrate_Combinations
* meson: remove unused mpg123 build fileTim-Philipp Müller2016-08-211-16/+0
| | | | mpg123 was moved to ugly.
* Add support for Meson as alternative/parallel build systemNirbheek Chauhan2016-08-2035-0/+788
| | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/mesonbuild/meson With contributions from: Tim-Philipp Müller <tim@centricular.com> Matej Knopp <matej.knopp@gmail.com> Jussi Pakkanen <jpakkane@gmail.com> (original port) Highlights of the features provided are: * Faster builds on Linux (~40-50% faster) * The ability to build with MSVC on Windows * Generate Visual Studio project files * Generate XCode project files * Much faster builds on Windows (on-par with Linux) * Seriously fast configure and building on embedded ... and many more. For more details see: http://blog.nirbheek.in/2016/05/gstreamer-and-meson-new-hope.html http://blog.nirbheek.in/2016/07/building-and-developing-gstreamer-using.html Building with Meson should work on both Linux and Windows, but may need a few more tweaks on other operating systems.
* plugins: Use stdint.h instead of _stdint.hNirbheek Chauhan2016-08-192-2/+7
| | | | | | _stdint.h is generated by Autotools and we don't really need it. All supported platforms now ship with stdint.h. The only stickler was MSVC, and since Visual Studio 2015 it also ships stdint.h now.
* daala: fix typo related compilation errorPhilippe Renon2016-08-191-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=770102
* gltransformation: rewrite the inverse transformation logicMatthew Waters2016-08-192-104/+181
| | | | | | It now returns the correct values for both orthographic and perspective projections and takes into account the aspect ratio of the video, handles the Y-flipping in GL and by us and uses some more helpers from graphene.
* mplex: Don't start task (yet/again) on pad release if we're in READY or NULLSebastian Dröge2016-08-181-1/+2
| | | | | | Fixes spurious segfault in unit test, where the task was started again during shutdown when all pads were removed... and was then still running while the element was finalized.