| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Fixes a critical in the gst-validate tests:
gst_structure_fixate_field_nearest_fraction: assertion 'gst_structure_has_field
(structure, field_name)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
This makes playbin not plug videobalance as glcolorbalance already exists and
implements the GstColorBalance interface.
|
|
|
|
| |
Other elements may need to use it's functionality
|
|
|
|
|
| |
Changing the properties may result in glcolorbalance moving from passthrough to
non-passthrough and we weren't creating the shader in that case.
|
|
|
|
| |
Fixes black screen video playback on android without a caps filter.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
of the RepresentationIndex
https://bugzilla.gnome.org/show_bug.cgi?id=760936
|
| |
|
|
|
|
|
|
|
| |
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 = {
...
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=757602
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Qt might not redraw the scene otherwise.
https://bugzilla.gnome.org/show_bug.cgi?id=758286
|
|
|
|
| |
Behaves exactly the same as the non-GL videoflip element
|
|
|
|
| |
The default case is to build an identity matrix.
|
|
|
|
| |
A scale of -1.0 means to flip the video.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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!
|
| |
|
|
|
|
|
|
| |
It performs the exact same operation as videobalance but with opengl shaders and
was tested with glvideomixer by comparing frames from videobalance and
glcolorbalance.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
And remove superfluous assignments.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Replace:
if (boolean) var = true;
with:
var = (boolean);
|
|
|
|
| |
Set the segment start position when keyunit flag is active
|
|
|
|
|
| |
Saves unnecessary glGenTextures and glDeleteTextures which may have a
non-trivial cost.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Additionally, move to a switch in _set_debug_level()
to make easier to follow and compare with the
mappings in _log_callback()
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Based off xvimagesink implementation
https://bugzilla.gnome.org/show_bug.cgi?id=759869
|
|
|
|
|
|
|
|
|
| |
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.
|