| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
CID: 1373420
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=772186
|
|
|
|
|
|
| |
This fixes muxing in MPEG TS.
https://bugzilla.gnome.org/show_bug.cgi?id=772108
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
The docs say we should continue feeding in data and decoding
https://bugzilla.gnome.org/show_bug.cgi?id=772067
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=770455
|
|
|
|
| |
And while at it, also clean up some code.
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Upstream must configure the pool before using it. Pre-configuring
the proposed pool could hide bugs in upstream elements.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=738079
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Otherwise those error may go unseen making debugging much
harder.
|
| |
|
|
|
|
|
| |
This fixes the property show-preroll-frame expose by the VideoSink base
class and removes redundant code.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Signed-off-by: Scott D Phillips <scott.d.phillips@intel.com>
https://bugzilla.gnome.org/show_bug.cgi?id=767671
|
| |
|
| |
|
|
|
|
|
| |
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'.
|
|
|
|
| |
Allows upstream elements that use our memory to passthrough without copying.
|
|
|
|
| |
g_strv* functions require this to not read off the end of the array.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Temporarily release the object lock which is needed to post error
messages on the bus.
https://bugzilla.gnome.org/show_bug.cgi?id=770933
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=770158
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=770408
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Add some example pipelines for glstereomix, and fix up
the example pipelines for glviewconvert
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Based on sample rate and channel count, see
http://wiki.hydrogenaud.io/index.php?title=Fraunhofer_FDK_AAC#Recommended_Sampling_Rate_and_Bitrate_Combinations
|
|
|
|
| |
mpg123 was moved to ugly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
_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.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=770102
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|