Julien Isorce [Fri, 18 Dec 2015 10:30:25 +0000 (10:30 +0000)]
applemedia: set -mmacosx-version-min to 10.8
Otherwise qtkitvideosrc fails to build on OSX 10.10.4
because QTKit has been deprecated since OS X 10.9.
Also set -mmacosx-version-min=10.8 in front to allow
the user or cerbero to override the version.
https://bugzilla.gnome.org/show_bug.cgi?id=745564
Alessandro Decina [Fri, 18 Dec 2015 02:17:34 +0000 (13:17 +1100)]
glmemory: add gst_gl_memory_allocator_get_default
Add gst_gl_memory_allocator_get_default to get the default allocator based on
the opengl version. Allows us to stop hardcoding the PBO allocator which isn't
supported on gles2.
Fixes GL upload on iOS9 among other things.
Matthew Waters [Fri, 18 Dec 2015 00:49:25 +0000 (11:49 +1100)]
glimagesink: don't deadlock on resize
Performing any GL function marshalling off the GL thread with glimagesink's
render lock is prone to deadlocks between the GL thread and the non-GL thread.
What can happen is this:
1. non-GL thread attempts to function marshal to the GL thread.
2. while 1 is happening, the winsys gives an event (say resize)
3. This calls back into glimagesink which taks the render lock.
4. As the GL function marshalling is attempting to run on the GL
and already has glimagesink's render lock locked. This deadlocks
as the threads are waiting for each other.
Luis de Bethencourt [Thu, 17 Dec 2015 18:16:44 +0000 (18:16 +0000)]
opencv: update edgedetect to GstOpencvVideoFilter
Update edgedetect to inherit from GstOpencvVideoFilter instead of from
GstElement. This means less code and more uniformity with other OpenCV
elements.
Sebastian Dröge [Thu, 17 Dec 2015 14:56:57 +0000 (15:56 +0100)]
openjpegdec: Don't crash when decoding returns NULL data for any component
https://bugzilla.gnome.org/show_bug.cgi?id=758943
Matthew Waters [Tue, 15 Dec 2015 03:14:36 +0000 (14:14 +1100)]
glbasememory: don't unconditionally add the alignment bytes to the size
e.g when wrapping a data pointer we don't want to map/unmap off the end of
pointer with the alignment bytes.
Instead track that information separately as maxsize is used for mapping by
GstMemory and thus represents a size without any alignment padding bytes.
Luis de Bethencourt [Thu, 17 Dec 2015 09:51:31 +0000 (10:51 +0100)]
opencv: add blur and bilateral support in cvsmooth
Adding the support for the two other OpenCV linear filters to smooth
images. The new API does support spatial sigma in the bilateral filter,
hence bringing that property back.
Adding reference to new documentation.
Vineeth TM [Wed, 16 Dec 2015 23:51:48 +0000 (08:51 +0900)]
pnmenc: Fix wrong logic leading to memory mishandling
While encoding the frame in ASCII mode, per component four bytes are needed
and after every 20 bytes, a \n will be added. So the calculation should be
size = size * (4 + 1 / 20). This should exclude the header being written.
Since header is also being included in the calculations, memory mishandlings
are happening.
https://bugzilla.gnome.org/show_bug.cgi?id=759520
Matthew Waters [Thu, 17 Dec 2015 04:50:40 +0000 (15:50 +1100)]
glbuffer: add a name to the allocator
Matthew Waters [Thu, 17 Dec 2015 04:23:13 +0000 (15:23 +1100)]
gl*memory*: reverse the parameter order of user_data and destroy notify
The convention is to have the destroy notify last after any user data
Alessandro Decina [Thu, 17 Dec 2015 04:07:33 +0000 (15:07 +1100)]
applemedia: fix build on iOS
Fix build after
779dc3132c8f6dd560cb07cc2e2c3c72aeaa7845
Alessandro Decina [Thu, 17 Dec 2015 03:49:13 +0000 (14:49 +1100)]
applemedia: avfvideosrc: do fixate
Matthew Waters [Wed, 16 Dec 2015 07:41:06 +0000 (18:41 +1100)]
glmemorypbo: remove our own alloc()/wrapped()/etc functions
replaced by equivalent functionality within gst_gl_base_memory_alloc()
Matthew Waters [Wed, 16 Dec 2015 07:39:32 +0000 (18:39 +1100)]
glmemory: document gst_gl_memory_init
Matthew Waters [Wed, 16 Dec 2015 07:38:19 +0000 (18:38 +1100)]
glbuffer: remove unneeded gst_gl_buffer_alloc()
Replaced by gst_gl_base_memory_alloc()
Matthew Waters [Wed, 16 Dec 2015 07:37:11 +0000 (18:37 +1100)]
glbasememory: document some functions
Matthew Waters [Wed, 16 Dec 2015 07:36:13 +0000 (18:36 +1100)]
glmemory: add a default copy implementation
Subclasses still need to override this to copy into the correct memory type.
Matthew Waters [Wed, 16 Dec 2015 07:32:40 +0000 (18:32 +1100)]
glbufferpool: use gst_gl_base_memory_alloc as a generic GL allocation framework
Requires the usage of GstGLVideoAllocationParams however any user can set their
own parameters along with an allocator which will be used to allocate the
correct memory type.
Matthew Waters [Wed, 16 Dec 2015 07:30:59 +0000 (18:30 +1100)]
glmemorypbo: implement GstGLBaseMemory:alloc
Uses the GstGLVideoAllocationParams parameters
Matthew Waters [Wed, 16 Dec 2015 07:23:31 +0000 (18:23 +1100)]
glbuffer: implements GstGLBaseMemory::alloc
Create GstGLBufferAllocationParams which is subclass of GstGLAllocationParams
Matthew Waters [Wed, 16 Dec 2015 07:20:17 +0000 (18:20 +1100)]
glmemory: implement GstGLBaseMemory::alloc
- Create GstGLVideoAllocationParams which is a GstGLAllocationParams subclass.
- Make it possible to allocate glmemory objects directly if no frills are
needed.
Matthew Waters [Wed, 16 Dec 2015 07:13:21 +0000 (18:13 +1100)]
glbasememory: add a generic interface for allocating GL memories
This is made possible by a subclassable GstGLAllocationParams that holds
the allocation parameters
Every allocation would now go through gst_gl_base_memory_alloc with the
allocation parameters now being specified in a single struct to allow
extension by different allocators.
Matthew Waters [Thu, 17 Dec 2015 01:30:05 +0000 (12:30 +1100)]
revert common submodule change
8ae003326157438c12c45589e050c5f446723f61 contained a erroneous common change
Matthew Waters [Thu, 17 Dec 2015 00:06:34 +0000 (11:06 +1100)]
Revert "glbuffer: Don't pass allocation params"
This reverts commit
052f41e5c293ec17c038467ed1e7b92b04d494b0.
This is incorrect and will affect any other glbuffer user that needs/wants to
perform data alignment.
Luis de Bethencourt [Wed, 16 Dec 2015 19:21:24 +0000 (19:21 +0000)]
opencv: add medianBlur support in cvsmooth
With the deprecation of cvSmooth we have to handle the other smoothing
functions manually.
Luis de Bethencourt [Wed, 16 Dec 2015 18:37:37 +0000 (18:37 +0000)]
opencv: switch deprecated cvSmooth for GaussianBlur
The OpenCV cvSmooth function is deprecated [0] and the documentation
recommends to use GaussianBlur (). This makes the spatial property go
unused. Marking it as deprecated, making it non-functional and will remove
in the next cycle.
[0] http://docs.opencv.org/2.4/modules/imgproc/doc/filtering.html
Nicolas Dufresne [Wed, 16 Dec 2015 16:56:08 +0000 (11:56 -0500)]
glbuffer: Don't pass allocation params
The imported memory has already been allocated, passing allocation
parameters with alignment confuses the memory which endup with a
size different from maxsize and lead to overrun when the memory
is being copied.
Florin Apostol [Wed, 16 Dec 2015 13:59:18 +0000 (13:59 +0000)]
dashdemux: improve validation of UTCtiming element
gst_mpdparser_parse_utctiming_node does not validate the parsed values completely. The following scenarios are incorrectly accepted:
- elements with no schemeIdUri property should be rejected
- elements with unrecognized UTCTiming scheme should be rejected
- elements with empty values should be rejected
The last one triggers a division by 0 in gst_dash_demux_poll_clock_drift:
clock_drift->selected_url = clock_drift->selected_url % g_strv_length (urls);
because it urls is a valid pointer to an empty array.
https://bugzilla.gnome.org/show_bug.cgi?id=759547
Florin Apostol [Wed, 16 Dec 2015 10:41:47 +0000 (10:41 +0000)]
dashdemux: clock_cond is not used and should be removed
There are no threads waiting on clock_cond. It is just initialised and
signalled. It should be removed.
https://bugzilla.gnome.org/show_bug.cgi?id=759537
Florin Apostol [Wed, 16 Dec 2015 10:23:23 +0000 (10:23 +0000)]
adaptivedemux: fixed clock compensation in get_fragment_waiting_time
Clock compensation is calculated in usec but is added to a GstClockTime value.
https://bugzilla.gnome.org/show_bug.cgi?id=759534
Sebastian Dröge [Wed, 16 Dec 2015 09:21:59 +0000 (10:21 +0100)]
applemedia: Link to IOSurface.framework for the IOSurface API
Dave Craig [Tue, 15 Dec 2015 17:10:00 +0000 (17:10 +0000)]
videoparsers: Check for NULL return value of gst_pad_get_current_caps()
https://bugzilla.gnome.org/show_bug.cgi?id=759503
Vineeth TM [Wed, 16 Dec 2015 05:32:20 +0000 (14:32 +0900)]
ivtc: Fix value memory leak
gvalue variable should be unset instead of reset.
https://bugzilla.gnome.org/show_bug.cgi?id=759525
Vineeth TM [Wed, 16 Dec 2015 05:29:20 +0000 (14:29 +0900)]
combdetect: Fix value memory leak
gvalue variable should be unset instead of reset.
https://bugzilla.gnome.org/show_bug.cgi?id=759523
Vineeth TM [Wed, 16 Dec 2015 04:08:22 +0000 (13:08 +0900)]
pnmdec: Fix scanner memory leak
For corrupted files, scanner memory is being leaked.
https://bugzilla.gnome.org/show_bug.cgi?id=759522
Vineeth TM [Wed, 16 Dec 2015 04:06:45 +0000 (13:06 +0900)]
pnmdec: Fix buffer memory leak
In case of corrupted file, s->buf allocated is not being freed
https://bugzilla.gnome.org/show_bug.cgi?id=759522
Vineeth TM [Wed, 16 Dec 2015 00:05:42 +0000 (09:05 +0900)]
pnmenc: Fix string memory leak
header being allocated is not freed resulting in leak
https://bugzilla.gnome.org/show_bug.cgi?id=759520
Vineeth TM [Tue, 15 Dec 2015 23:52:12 +0000 (08:52 +0900)]
gdppay: Fix buffer memory leak
outbuffer being allocated is not being pushed to queue for EOS event and hence
should be freed.
https://bugzilla.gnome.org/show_bug.cgi?id=759519
Sebastian Dröge [Wed, 16 Dec 2015 08:39:03 +0000 (09:39 +0100)]
applemedia: Link to IOKit.framework for IOSurface related functions
Sebastian Dröge [Wed, 16 Dec 2015 08:33:12 +0000 (09:33 +0100)]
docs: update to git
Vineeth TM [Tue, 15 Dec 2015 23:25:19 +0000 (08:25 +0900)]
yadif: Fix illegal memory access
When applying the spatial prediction, there is an illegal access of -1 index of array.
Hence adding a condition to avoid this.
https://bugzilla.gnome.org/show_bug.cgi?id=759518
Vineeth TM [Tue, 15 Dec 2015 23:22:00 +0000 (08:22 +0900)]
yadif: Fix gvalue memory leak
gvalue variable should be unset instead of reset.
https://bugzilla.gnome.org/show_bug.cgi?id=759518
Alessandro Decina [Wed, 16 Dec 2015 06:02:27 +0000 (17:02 +1100)]
applemedia: vtdec: fix texture-target on iOS
Alessandro Decina [Wed, 16 Dec 2015 04:20:30 +0000 (15:20 +1100)]
applemedia: vtdec: remove obsolete FIXME
Alessandro Decina [Wed, 16 Dec 2015 03:38:44 +0000 (14:38 +1100)]
applemedia: avfvideosrc: rework GLMemory negotiation
Only do GLMemory when a GstGLContext is available AND GLMemory is actually
negotiated with downstream.
Alessandro Decina [Wed, 16 Dec 2015 02:47:00 +0000 (13:47 +1100)]
applemedia: avfvideosrc: update after IOSurface changes
Prefer GLMemory over sysmem. Also now when pushing GLMemory we push the
original formats (UYVY in OSX, BGRA in iOS) and leave it to downstream to
convert.
Alessandro Decina [Mon, 14 Dec 2015 05:10:01 +0000 (16:10 +1100)]
applemedia: vtdec: remove the internal GstGLColorConvert
It was added back in the day to make texture sharing work by default with
glimagesink inside playbin. These days glimagesink accepts (and converts) YUV
internally so it's no longer needed.
Alessandro Decina [Mon, 14 Dec 2015 03:23:20 +0000 (14:23 +1100)]
applemedia: vtdec: decouple outputting textures from outputting RGBA
We're going to be able to output NV12 textures soon.
Alessandro Decina [Fri, 11 Dec 2015 02:20:05 +0000 (13:20 +1100)]
applemedia: vtdec: switch to IOSurface on Mac
Switch to using IOSurface instead of CVOpenGLTextureCache on OSX. The latter can't be
used anymore to do YUV => RGB with opengl3 on El Capitan as GL_YCBCR_422_APPLE
has been removed from the opengl3 driver. Also switch to NV12 from UYVY, which
was the only YUV format supported by CVOpenGLTextureCache.
Alessandro Decina [Thu, 10 Dec 2015 05:22:08 +0000 (16:22 +1100)]
applemedia: rename GstCoreVideoTextureCache to GstVideoTextureCache
First of a few commits to stop using CVOpenGLTextureCache on OSX and use
IOSurfaces directly instead. CVOpenGLTextureCache hasn't been updated for OpenGL
3 which is why texture sharing is currently disabled on OSX.
Alessandro Decina [Tue, 17 Nov 2015 08:31:53 +0000 (19:31 +1100)]
Revert "vtdec: disable the texture cache on OSX"
This reverts commit
f02425c4afcd85260a1b387aeddf863774257917.
Alessandro Decina [Tue, 15 Dec 2015 03:17:16 +0000 (14:17 +1100)]
glupload: fix allocator name after GLMemory API changes
Nicolas Dufresne [Wed, 16 Dec 2015 00:28:05 +0000 (19:28 -0500)]
qtsink: Add configured GL cflags to the build
We don't directly link to GL in the element, though we use GL headers.
For this reason we need to include the proper GL headers path. This
prevent this element from using a different GL header then libgstgl.
Nicolas Dufresne [Wed, 16 Dec 2015 00:25:16 +0000 (19:25 -0500)]
gl: Allow using non-system mesa with both GL and GLES
GCC automatically disable redundance warnings for system headers. As
soon as we start using a non-system installed mesa, we would start
having issues. The test for both wasn't setting any flags, so it would
work but then fail at runtime.
This is being fixed by disabling in the code (where needed only) that
GCC warning. The test is also fixed to avoid the false positive we had.
Luis de Bethencourt [Tue, 15 Dec 2015 15:59:30 +0000 (15:59 +0000)]
opencv: pyramidsegment: fix example launch line
Use videotestsrc and autovideosink in the example gst-launch-1.0 line and
not a useless fakesrc-fakesink example.
Luis de Bethencourt [Tue, 15 Dec 2015 15:56:19 +0000 (15:56 +0000)]
opencv: add headers with example launch lines
Add description headers for all the OpenCV plugins missing them, so we can
have gst-launch-1.0 example launch lines for all of them.
Nicolas Dufresne [Mon, 14 Dec 2015 21:48:45 +0000 (16:48 -0500)]
opengl: Use pkg-config if available
libMesa ships .pc files now for gl/egl/glesv2. This patch makes use
of it while keeping support for system without.
https://bugzilla.gnome.org/show_bug.cgi?id=751068
Luis de Bethencourt [Tue, 15 Dec 2015 11:59:00 +0000 (11:59 +0000)]
geometrictransform: add headers with example launch lines
Add description headers for all geometrictransform elements so we can have
gst-launch-1.0 example launch lines for all of them.
Vineeth TM [Mon, 14 Dec 2015 02:09:46 +0000 (11:09 +0900)]
plugins-bad: Fix example pipelines
rename gst-launch --> gst-launch-1.0
replace old elements with new elements(ffmpegcolorspace -> videoconvert, ffenc_** -> avenc_**)
fix caps in examples
https://bugzilla.gnome.org/show_bug.cgi?id=759432
Nicolas Dufresne [Mon, 14 Dec 2015 20:01:09 +0000 (15:01 -0500)]
ignore: videoframe-audiolevel test
Xavier Claessens [Mon, 14 Dec 2015 19:44:31 +0000 (14:44 -0500)]
bad: Add g_autoptr() support to all types
https://bugzilla.gnome.org/show_bug.cgi?id=754464
Luis de Bethencourt [Mon, 14 Dec 2015 12:31:52 +0000 (12:31 +0000)]
glviewconvert: check pointer before dereferencing
priv->primary_out could be NULL, check before dereferencing it in
GST_BUFFER_FLAG_SET ()
CID 1308945
Vivia Nikolaidou [Mon, 14 Dec 2015 11:43:10 +0000 (13:43 +0200)]
videoframe-audiolevel: Fix possible division by zero
In update_rms_from_buffer(), division by "frames" wasn't checking whether
"frames" is zero.
CID 1341519.
https://bugzilla.gnome.org/show_bug.cgi?id=759443
Sebastian Dröge [Mon, 14 Dec 2015 08:38:41 +0000 (09:38 +0100)]
clutter: Fix compilation error in GL examples
Include gst/gl.h instead of specific headers to prevent such problems also in
the future.
In file included from ../../../../gst-libs/gst/gl/gl.h:47:0,
from ../../../../gst-libs/gst/gl/gstglbasememory.h:137,
from ../../../../gst-libs/gst/gl/gstglmemory.h:29,
from cluttershare.c:39:
../../../../gst-libs/gst/gl/gstglmemorypbo.h:51:20: error: field ‘mem’ has incomplete type
GstGLMemory mem;
^
../../../../gst-libs/gst/gl/gstglmemorypbo.h:124:24: error: field ‘parent’ has incomplete type
GstGLMemoryAllocator parent;
^
../../../../gst-libs/gst/gl/gstglmemorypbo.h:134:29: error: field ‘parent_class’ has incomplete type
GstGLMemoryAllocatorClass parent_class;
^
Matthew Waters [Mon, 14 Dec 2015 08:18:14 +0000 (19:18 +1100)]
applemedia: update for GLMemory API changes
Matthew Waters [Mon, 14 Dec 2015 08:15:14 +0000 (19:15 +1100)]
amcvideodec: update for GLMemory API changes
Matthew Waters [Mon, 14 Dec 2015 07:41:30 +0000 (18:41 +1100)]
tests: update for glmemory api changes
Matthew Waters [Mon, 14 Dec 2015 07:20:23 +0000 (18:20 +1100)]
glbuffer: bind/unbind on map/unmap for GL mappings
Bind the handle to the GL target on map/unmap to save the caller from
handling this themselves.
Matthew Waters [Mon, 14 Dec 2015 07:19:37 +0000 (18:19 +1100)]
glbuffer: remove buffer specific transfer flags
Instead rely on GstGLBaseMemory's transfer handling
Matthew Waters [Mon, 14 Dec 2015 07:18:20 +0000 (18:18 +1100)]
glmemorypbo: map/unmap pbo memory correctly for state tracking
Otherwise some downloads will fail to occur from the PBO.
Matthew Waters [Mon, 14 Dec 2015 07:15:42 +0000 (18:15 +1100)]
tests/glmemory: include the generic gl header
Including gstglmemory.h directly results in the compiler complaining
about incomplete types.
Matthew Waters [Mon, 14 Dec 2015 06:05:31 +0000 (17:05 +1100)]
glformat: add compatibility definitions for OES/rectangle textures
Matthew Waters [Mon, 14 Dec 2015 02:49:18 +0000 (13:49 +1100)]
glbasebuffer: remove unsed memory subclass
The functionality has been split into GstGLBaseMemory and GstGLBuffer.
Matthew Waters [Mon, 14 Dec 2015 02:43:59 +0000 (13:43 +1100)]
glmemory: base classify and add the pbo memory on top
The base class is useful for having multiple backing memory types other
than the default. e.g. IOSurface, EGLImage, dmabuf?
The PBO transfer logic is now inside GstGLMemoryPBO which uses GstGLBuffer
to manage the PBO memory.
This also moves the format utility functions into their own file.
Matthew Waters [Mon, 14 Dec 2015 02:08:10 +0000 (13:08 +1100)]
gl: add a GL buffer based GstMemory
Heavily based on GstGLBaseBuffer that is a subclass of GstGLBaseMemory.
Provides GPU and CPU accessible GL buffer objects by GL handle or by
sysmem data pointer.
Matthew Waters [Mon, 14 Dec 2015 01:59:02 +0000 (12:59 +1100)]
gl: add a base memory object
It handles the following
- GstAllocationParams -> gst_memory_init transformation
- Makes sure that map/unmap/create/destroy happen on the GL thread with
a GL context current.
- Holds a possible sysmem accessible data pointer with alignment.
- Holds the need upload/download transfer state
Matthew Waters [Mon, 14 Dec 2015 01:26:01 +0000 (12:26 +1100)]
gl: add convenience function for the start of a video frame
Get's the start of the video frame based on a GstVideoInfo and
GstVideoAlignment.
Matthew Waters [Fri, 11 Dec 2015 05:07:36 +0000 (16:07 +1100)]
gluploadmeta; remove convenience helper API
It was not really useful as if one knows about libgstgl, one can just use
GLMemory objects directly.
Matthew Waters [Fri, 11 Dec 2015 04:39:57 +0000 (15:39 +1100)]
gldownload: remove helper api from the library
It was never used by anyone and is not needed anymore with the element
and GstGLMemory's transparent support for downloading textures.
Luis de Bethencourt [Sat, 12 Dec 2015 20:07:32 +0000 (20:07 +0000)]
opencv: clean includes
The opencv element includes were full of duplicates and uneeded headers.
For example a few elements that stopped using gstcvopencvutils still
included that header file.
Luis de Bethencourt [Sat, 12 Dec 2015 19:31:55 +0000 (19:31 +0000)]
opencv: remove unused functions in gstopencvutils
Since commit
45ca8876b2f5267f7edb842b6d56d7a6c271ccb3 nobody is using
gst_opencv_get_ipl_depth_and_channels() or
gst_opencv_parse_iplimage_params_from_structure(). Remove this dead
code.
Luis de Bethencourt [Sat, 12 Dec 2015 19:13:42 +0000 (19:13 +0000)]
motioncells: Remove unused includes
Matthew Waters [Fri, 11 Dec 2015 23:06:55 +0000 (10:06 +1100)]
revert common submodule change
Matthew Waters [Fri, 11 Dec 2015 22:33:38 +0000 (09:33 +1100)]
gltransformation: clear to transparent
Otherwise composition will result in a black frame outside the transformed
video.
Thomas Roos [Fri, 11 Dec 2015 10:39:08 +0000 (11:39 +0100)]
directsoundsrc: Check return values of DirectSound functions in read loop
Otherwise we might end up in an infinite loop because of errors.
Also take the element's mutex in unprepare().
https://bugzilla.gnome.org/show_bug.cgi?id=738292
Sebastian Dröge [Thu, 10 Dec 2015 10:47:17 +0000 (12:47 +0200)]
mxfdemux: Only pre-set position for exactly the same essence track
The edit rate is only supposed to be the same in a source package, but there
might be multiple source packages with the same essence container. As such
just comparing the body/index SID is not sufficient.
Sebastian Dröge [Thu, 10 Dec 2015 10:25:54 +0000 (12:25 +0200)]
mxfdemux: Only pre-set the track position if it's for the same body/index SID
Alessandro Decina [Thu, 10 Dec 2015 03:41:44 +0000 (14:41 +1100)]
libgstgl: gstglcontext_cocoa: kCGLPFAStereo has been deprecated in 10.11
Also since the version scheme has changed (to include the micro number) since
10.10, use the MAC_OS_X_VERSION_* macro to avoid confusion.
Alessandro Decina [Thu, 10 Dec 2015 01:41:00 +0000 (12:41 +1100)]
glbufferpool: relax check for multiple texture targets
Only complain about multiple texture targets when _different_ texture targets
are configured.
Alessandro Decina [Thu, 10 Dec 2015 01:33:52 +0000 (12:33 +1100)]
glmemory: take subsampling into account for rectangle textures
Rectangle textures don't use normalized coordinates so subsampling needs to be
factored in explicitly.
Fixes YUV => RGB conversion for rectangle textures.
Sebastian Dröge [Wed, 9 Dec 2015 14:55:00 +0000 (16:55 +0200)]
mxfdemux: Only access the index table if it has enough elements
Sebastian Dröge [Wed, 9 Dec 2015 14:28:53 +0000 (16:28 +0200)]
mxfdemux: Use keyframe information from index table segments if available
We don't implement keyframe detection for all codecs and this will allow us to
implement better seeking.
Sebastian Dröge [Wed, 9 Dec 2015 14:31:19 +0000 (16:31 +0200)]
mxfdemux: Collect all index table segments after finding the random index pack
That way we always have the index table information available, especially the
keyframe-ness of all buffers.
Sebastian Dröge [Tue, 8 Dec 2015 16:15:55 +0000 (18:15 +0200)]
mxfdemux: Fix handling of IndexTableSegments
This was completely broken before and could only work on a very constrained
set of files. After these changes it should work except for situations where
PTS != DTS, which is not handled at all in mxfdemux currently.
https://bugzilla.gnome.org/show_bug.cgi?id=759118
Thiago Santos [Tue, 8 Dec 2015 17:06:21 +0000 (14:06 -0300)]
adaptivedemux: avoid pushing events with manifest lock
It can be an easy source of deadlocks. Reproducible with very
fast connections (local server).
Sebastian Dröge [Tue, 8 Dec 2015 18:24:45 +0000 (20:24 +0200)]
mxftypes: Fix parsing of index table segments
Sebastian Dröge [Tue, 8 Dec 2015 16:23:02 +0000 (18:23 +0200)]
mxfmux: Handle aggregation with NULL buffers without crashing
Sebastian Dröge [Tue, 8 Dec 2015 14:45:33 +0000 (16:45 +0200)]
mxfmux: Add FIXME about enforcing that all tracks in a source package have the same edit rate
The standard requires this and also the index table segments are not going to
work otherwise.
Sebastian Dröge [Mon, 7 Dec 2015 18:27:23 +0000 (20:27 +0200)]
mxfmux: Write index table segments
But only for the first essence track, and once for every keyframe every 2
seconds.
Sebastian Dröge [Mon, 7 Dec 2015 18:26:17 +0000 (20:26 +0200)]
mxfmetadata: Fix static local tag for index sid