summaryrefslogtreecommitdiff
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* hlsdemux: don't try to access non-existant iframe variantMichael Olbrich2016-10-311-8/+10
| | | | | | | | | If the playlist does not contain any iframe variants then demux->master->iframe_variants is NULL. If the previous variant is an iframe variant then there is at least one iframe variant and demux->master->iframe_variants->data can be safely used. https://bugzilla.gnome.org/show_bug.cgi?id=773635
* timidity: add support for libtimidity-0.2.xsezero2016-10-311-0/+4
| | | | | | | mid_istream_open_mem() doesn't accept an autofree argument as of libtimidity >= 0.2.0 https://bugzilla.gnome.org/show_bug.cgi?id=772503
* dtls: port to OpenSSL 1.1.0Daiki Ueno2016-10-312-9/+93
| | | | | | | | | | | | | | Changes are: - Use the wrapper functions to access opaque data types. To preserve backward compatibility, define fallback definitions - Remove the use of idiom "pqueue_size(ssl->d1->sent_messages)", since there is no replacement - Use RSA_generate_key_ex instead of the deprecated RSA_generate_key https://bugzilla.gnome.org/show_bug.cgi?id=773540
* plugins: Use explicit type conversion from enumsNirbheek Chauhan2016-10-272-4/+5
| | | | | | | MSVC warns about this because it's a C++ compiler, and this actually results in useful things such as the incorrect 'gboolean' return value for functions that return GstFlowReturn, so let's do explicit conversions to reduce the noise and increase its efficacy.
* Explicitly define float constants as floatNirbheek Chauhan2016-10-272-2/+2
| | | | | | | | | | With MSVC, this gives the following warning: warning C4305: 'function': truncation from 'double' to 'gfloat' Apparently, MSVC does not figure out what type to use for constants based on the assignment. This warning is very spammy, so let's try to fix it.
* Fix incorrect return type in several functionsNirbheek Chauhan2016-10-274-5/+5
| | | | All these should return GstFlowReturn, not gboolean
* ext/gl: Don't define boolean on Windows with MSVCNirbheek Chauhan2016-10-271-0/+3
| | | | | | The headers we include already define boolean on Windows with MSVC, and it leads to a typedef redefinition error with jpeglib.h which tries to redefine it in jmorecfg.h
* meson: hls: Only build when any crypto_dep is foundScott D Phillips2016-10-241-11/+13
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=773114
* dash: do not use invalid stream durationThiago Santos2016-10-201-1/+2
| | | | | | If it is is unknown, consider it infinite https://bugzilla.gnome.org/show_bug.cgi?id=768460
* dash: properly inherit segmentlist from periodThiago Santos2016-10-201-4/+9
| | | | | | | Representation can inherit SegmentList from Period if none is available from the AdaptationSet https://bugzilla.gnome.org/show_bug.cgi?id=768460
* meson: gl: add support for building with dispmanx on the rpiMatthew Waters2016-10-192-3/+6
|
* qt: Fix failing build on RPISergey Borovkov2016-10-181-0/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=773026
* waylandsink: Properly configure internal poolArun Raghavan2016-10-131-1/+1
| | | | | There was a small omission in the code. It still worked, but the pool configuration may not have been optimimal.
* hlsdemux: fix hls demux stream type inheritanceArnaud Vrac2016-10-111-1/+1
| | | | | | | GstHLSDemuxStream inherits GstAdaptiveDemuxStream, not GstAdaptiveDemux. Fixes memory corruption issues. https://bugzilla.gnome.org/show_bug.cgi?id=772704
* opencv: Fix memory leak by gst_caps_to_stringJimmy Ohn2016-10-061-1/+4
| | | | | | | gst_caps_to_string function returned allocated memory. So, It should be freed using g_free function. https://bugzilla.gnome.org/show_bug.cgi?id=772499
* gluploadelement: fix leak of upload library objectMatthew Waters2016-10-051-0/+15
| | | | | | | When only linking the element, the upload object will be created from _transform_caps() but will never be unreffed as the only case is in _stop(). Add an unref if non-NULL to a new finalize handler for this case.
* vkdisplay: hold a weakref on the list of windowsMatthew Waters2016-10-051-2/+33
| | | | | | | It's possible that the window may have been destroyed when a winsys event comes in for it. Fixes an assertion in make -C tests/check generic/states.check
* vkdevice: only unref the gstcontext query if non-NULLMatthew Waters2016-10-051-2/+2
| | | | Fixes an assertion in make -C tests/check generic/states.check
* 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.