summaryrefslogtreecommitdiff
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* smoothstreaming: remove unused dependency on uridownloaderTim-Philipp Müller2016-01-312-2/+0
|
* faad: simplify configure check and require faad >= 2.7Tim-Philipp Müller2016-01-313-55/+2
| | | | | | | Just check whether LATM is defined which is only available in 2.7 and later. Allows us to simplify the configure check a little and we can get rid of some hackish workarounds for problems with earlier version headers.
* gleffects: fix gleffects fisheye shader compile errorHaihua Hu2016-01-291-1/+1
| | | | | | | | On some embedded systems, sqrt() is not supported in the shader, use the actual value of sqrt(2) instead. Signed-off-by: Haihua Hu <b55597@freescale.com> Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=761271
* glvideomixer: par may not exist in the capsMatthew Waters2016-01-291-6/+4
| | | | | | | Fixes a critical in the gst-validate tests: gst_structure_fixate_field_nearest_fraction: assertion 'gst_structure_has_field (structure, field_name)
* videoaggregator: don't do caps processing that is not overridableMatthew Waters2016-01-273-31/+87
| | | | | | | | | | | | | | | Allows the subclass to completely override the chosen src caps. This is needed as videoaggregator generally has no idea exactly what operation is being performed. - Adds a fixate_caps vfunc for fixation - Merges gst_video_aggregator_update_converters() into gst_videoaggregator_update_src_caps() as we need some of its info for proper caps handling. - Pass the downstream caps to the update_caps vfunc https://bugzilla.gnome.org/show_bug.cgi?id=756207
* glcolorbalance: return HARDWARE from get_balance_typeMatthew Waters2016-01-271-1/+1
|
* glsinkbin: add glcolorbalance elementMatthew Waters2016-01-272-1/+145
| | | | | This makes playbin not plug videobalance as glcolorbalance already exists and implements the GstColorBalance interface.
* gl: move control binding proxy implementation from glvideomixerMatthew Waters2016-01-271-169/+33
| | | | Other elements may need to use it's functionality
* glcolorbalance: create the shader if it doesn't exist in the render callbackMatthew Waters2016-01-271-3/+17
| | | | | Changing the properties may result in glcolorbalance moving from passthrough to non-passthrough and we weren't creating the shader in that case.
* qt: specify that we currently only take 2D texturesMatthew Waters2016-01-271-2/+6
| | | | Fixes black screen video playback on android without a caps filter.
* glvideoflip: incorporate the aspect ratio into the scale_x calculationsMatthew Waters2016-01-272-40/+66
| | | | | | | 1. Otherwise rotating the video will clip and show black bars due to gltransformation's implementation. 2. The other option of make gltransformation aspect-agnostic produces incorrect output with perspective transformations.
* opencv: add mask property to cvlaplaceLuis de Bethencourt2016-01-252-2/+21
| | | | | | Add a "mask" property that sets whether the edges by cvLaplace should be used as a mask on the original input or not. The same way the original image is copied to the edges in edgedetect.
* opencv: add mask property to cvsobelLuis de Bethencourt2016-01-252-2/+20
| | | | | | Add a "mask" property that sets whether the detected derivative edges should be used as a mask on the original input or not. The same way the original image is added to the edges in edgedetect.
* opencv: update deprecated function in skindetectLuis de Bethencourt2016-01-251-3/+1
| | | | | | cvCvtPixToPlane() has been deprecated in OpenCV 3.0, and cvSplit() is the suggested replacement. Since cvSplit() is available in OpenCV 2.4, it is safe and cautious to update the function usage before it becomes an issue.
* opencv: fix cvlaplaceLuis de Bethencourt2016-01-252-101/+72
| | | | | | | | | cvlaplace was also affected by the silent change in OpenCV API, same as cvsobel. It hasn't been working for a while. It would return a plain black image. This commit updates the usage of cvLaplace by using cvCvtColor to create the grayscale intermediate image to process. This also means there is no need anymore to use GstBaseTransform's transform_caps, since the pads are RGB.
* opencv: fix cvsobelLuis de Bethencourt2016-01-242-72/+85
| | | | | | | | cvsobel han't been working for a while due to a silent change in OpenCV API. It would return a plain black image. This commit updates the usage of cvSobel by using cvCvtColor to create the grayscale image to process. This also means there is no need to use GstBaseTransform's transform_caps anymore, since the pads can be RGB.
* mpdparser: Use RepresentationIndex instead of Initialization to get the URL ↵John Chang2016-01-221-1/+1
| | | | | | of the RepresentationIndex https://bugzilla.gnome.org/show_bug.cgi?id=760936
* spandsp: Add tone generatorSebastian Dröge2016-01-214-3/+509
|
* gl: fix compiler warnings with gcc-6Tim-Philipp Müller2016-01-193-171/+217
| | | | | | | In file included from effects/gstgleffectrgbtocurve.c:25:0: effects/gstgleffectscurves.h:174:32: error: 'xray_curve' defined but not used static const GstGLEffectsCurve xray_curve = { ...
* dashdemux: added check that availabilityStartTime is present for live streamsFlorin Apostol2016-01-181-0/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=757602
* adaptivedemux: improved error message if availabilityStartTime is missing ↵Florin Apostol2016-01-181-3/+6
| | | | | | | | | | | | | | for a live stream For a live mpd, if availabilityStartTime is missing, adaptive demux asserts with: Unexpected critical/warning: gst_date_time_to_g_date_time: assertion 'datetime != NULL' failed. This patch improves the error message to: Unexpected critical/warning: gst_mpd_client_seek_to_time: assertion 'client->mpd_node->availabilityStartTime != NULL' failed https://bugzilla.gnome.org/show_bug.cgi?id=757602
* adaptivedemux: replace ghostpad with a standard padThiago Santos2016-01-153-7/+3
| | | | | | | | | | | | Handling the ghostpad and its internal pad was causing more issues than helping because of their coupled activation/deactivation actions. As we have to install custom chain,event and query functions it is better to use a floating sink pad internally in the demuxer and just use those pad functions to push through a standard pad in the demuxer https://bugzilla.gnome.org/show_bug.cgi?id=757951
* qml: Mark material dirty when texture buffer is updatedSergey Borovkov2016-01-151-0/+1
| | | | | | Qt might not redraw the scene otherwise. https://bugzilla.gnome.org/show_bug.cgi?id=758286
* gl: add a videoflip elementMatthew Waters2016-01-154-1/+567
| | | | Behaves exactly the same as the non-GL videoflip element
* gltransformation: always build a valid mvp matrixMatthew Waters2016-01-151-54/+61
| | | | The default case is to build an identity matrix.
* gltransformation: support negative scalesMatthew Waters2016-01-151-2/+4
| | | | A scale of -1.0 means to flip the video.
* gltransformation: implement passthrough handlingMatthew Waters2016-01-151-0/+14
|
* gltransformation: implement navigation eventsMatthew Waters2016-01-152-25/+178
| | | | | | | | | | | Reverses the transformation applied through the properties and forwards the event. The process for finding the coordinates on the video are as follows: 1. Convert the given pointer_x and pointer_y to model space at the near and far planes 2. Get the equation of the video plane 3. Find where the ray in 1 intersects the plane 4. Profit!
* glimagesink: remove reduntant glimagesink from debug loggingMatthew Waters2016-01-141-4/+2
|
* gl: implement a colorbalance elementMatthew Waters2016-01-134-0/+624
| | | | | | It performs the exact same operation as videobalance but with opengl shaders and was tested with glvideomixer by comparing frames from videobalance and glcolorbalance.
* glvideomixer: implement glBlendFunc and glBlendEquationMatthew Waters2016-01-132-12/+500
| | | | | | | | | | | | | | | Allows more blending options than just A over B e.g. frame comparisons are now possible. glvideomixer name=m sink_0::zorder=0 sink_1::zorder=1 sink_1::blend-equation-rgb={subtract,reverse-subtract} sink_1::blend-function-src-rgb=src-color sink_1::blend-function-dst-rgb=dst-color ! glimagesinkelement videotestsrc pattern=checkers-4 ! m.sink_0 videotestsrc pattern=checkers-8 ! m.sink_1
* sbc: sbcdec: Fix frame length calculationTim Sheridan2016-01-121-4/+4
| | | | | | | | | SBC frame length calculation wasn't being rounded up to the nearest byte (as specified in the A2DP 1.0 specification, section 12.9). This could cause 'stereo' and 'joint stereo' mode SBC streams to have incorrectly calculated frame lengths. https://bugzilla.gnome.org/show_bug.cgi?id=742446
* opencv: remove check for OpenCV versionLuis de Bethencourt2016-01-081-3/+0
| | | | | | | | | | After commit 64080e632, configure checks for all the header files that should be available in OpenCV 2.3 and later. If any of these files isn't there the OpenCV elements won't be part of the build. No need to recheck for opencv2/legacy/legacy.hpp again in gstpyramidsegment.h. Minimum supported OpenCV version must have this header and configure already checks for it. Removing check.
* opencv: always do cvsmooth in placeLuis de Bethencourt2016-01-081-32/+1
| | | | | After the update to new OpenCV API the transform function using an out buffer is not necessary. We can always do the transformation in place.
* opencv: do pyramidsegment's transformation in placeLuis de Bethencourt2016-01-082-22/+8
| | | | | | Run the transform function of pyramidsegment in place, reusing the image data as both source and destination in cvPyrSegmentation. This avoids copying the image back and forth and the extra memory.
* hlsdemux: put boolean values into gboolean variablesTim-Philipp Müller2016-01-061-4/+3
| | | | And remove superfluous assignments.
* hlsdemux: fix reverse playback seek with snap flagsThiago Santos2016-01-061-5/+24
| | | | | | | | | | | | | | Properly handle snap flags during reverse seeking. In this case the before/after are also reversed, so handle those as such. For example: with a sequence of 1s fragments: |-- 0 --|-- 1 --|-- 2 --|-- 3 --| If you seek to 1.5s it is inside fragment 1. With reverse and snap-before: should play from the end of fragment 1 snap-after: should play from the end of fragment 0
* hlsdemux: simplify snap flags checkingThiago Santos2016-01-061-6/+4
| | | | | | | | Replace: if (boolean) var = true; with: var = (boolean);
* hlsdemux: respect keyunit flag for positionThiago Santos2016-01-061-2/+3
| | | | Set the segment start position when keyunit flag is active
* glcolorconvert: implement usage of a buffer poolMatthew Waters2016-01-061-0/+3
| | | | | Saves unnecessary glGenTextures and glDeleteTextures which may have a non-trivial cost.
* rtmp: refer to both elements in the READMEReynaldo H. Verdejo Pinochet2015-12-301-2/+2
|
* rtmpsrc: check for failed RTMP context allocReynaldo H. Verdejo Pinochet2015-12-301-6/+15
| | | | | | | | | | | Avoids an unlikely crash. Arguably, if allocation fails we have no chance of recovering but nonetheless, RTMP_Alloc can fail and librtmp's RTMP_init() (called next) assumes a non-NULL pointer is passed without checking. Additionally, unify exit path on error.
* rtmpsink: check for failed RTMP context allocReynaldo H. Verdejo Pinochet2015-12-301-5/+16
| | | | | | | | | | | Avoids an unlikely crash. Arguably, if allocation fails we have no chance of recovering but nonetheless, RTMP_Alloc can fail and librtmp's RTMP_init() (called next) assumes a non-NULL pointer is passed without checking. Additionally, unify exit path on error.
* rtmp: correct librtmp log-level mappingsReynaldo H. Verdejo Pinochet2015-12-301-9/+28
| | | | | | Additionally, move to a switch in _set_debug_level() to make easier to follow and compare with the mappings in _log_callback()
* gleffects: fix shader compilation with legacy openglMatthew Waters2015-12-301-1/+2
| | | | | | | All the gleffects shaders can be run against a gles2 or a legacy opengl glsl compiler but weren't being advertised as such. Fixes gleffects under desktop opengl < 3.2.
* dashdemux: removed unnecessary space trimming in gst_dash_demux_parse_http_headFlorin Apostol2015-12-281-3/+0
| | | | | | | sscanf has removed all spaces when it has constructed zone string. There is no need to search for leading spaces. https://bugzilla.gnome.org/show_bug.cgi?id=759743
* dashdemux: accept 2 or 4 digit year when using HTTP HEAD for calculating ↵Florin Apostol2015-12-281-4/+7
| | | | | | | | | | clock compensation Convert year from 2 digits to 4 digits in gst_dash_demux_parse_http_head https://bugzilla.gnome.org/show_bug.cgi?id=759743 Also updated references to Rfc822 to Rfc5322
* glshader: fix usage docFlorent Thiéry2015-12-281-3/+3
| | | | | | | | The property location has been changed in favor of vertex/fragment string properties; the doc had not been updated and was still referring to the previous property; also, now the #version header has become mandatory https://bugzilla.gnome.org/show_bug.cgi?id=759902
* glimagesink: Post unhandled navigation events on the busFlorent Thiéry2015-12-281-7/+11
| | | | | | Based off xvimagesink implementation https://bugzilla.gnome.org/show_bug.cgi?id=759869
* motioncells: fix splitting of RGB color stringReynaldo H. Verdejo Pinochet2015-12-271-2/+5
| | | | | | | | | No need to attempt splitting the RGB string in 255 tokens if we only expect 3. Left max_tokens at 4 to preserve the current logic (which allows for extra stuff at the end) and added a warning on parsing failure instead of silently discarding the value.