Nicolas Dufresne [Sun, 4 Dec 2016 03:02:23 +0000 (22:02 -0500)]
retinex: Port to GstOpencvVideoFilter base class
This allow reducing slightly the code. It also fixes a bug caused by
in-place buffer being mapped and never unmapped.
Edward Hervey [Sat, 3 Dec 2016 07:19:37 +0000 (08:19 +0100)]
Automatic update of common submodule
From d015674 to 39ac2f5
Nicolas Dufresne [Fri, 2 Dec 2016 03:02:51 +0000 (22:02 -0500)]
opencv/meson: check presence of required opencv_contrib headers
https://bugzilla.gnome.org/show_bug.cgi?id=772822
Nicolas Dufresne [Fri, 2 Dec 2016 02:55:04 +0000 (21:55 -0500)]
edgedetect: Avoid extra copy of the output image
Simply produce the result into the output image provided by the base
class. This avoid useless copy. This also removes unchecked buffer map
and ensure that GstVideoMeta is respected (for stride mostly).
https://bugzilla.gnome.org/show_bug.cgi?id=775377
Nicolas Dufresne [Fri, 2 Dec 2016 02:51:31 +0000 (21:51 -0500)]
edgedetect: Remove redundant CAPS event handler
There is already a cv_set_caps() implemented, so just do the
entire work there.
https://bugzilla.gnome.org/show_bug.cgi?id=775377
Nicolas Dufresne [Fri, 2 Dec 2016 02:45:53 +0000 (21:45 -0500)]
cvlaplace: Avoid extra copy of the output image
Simply produce the result into the output image provided by the base
class. This avoid useless copy. This also removes unchecked buffer map
and ensure that GstVideoMeta is respected (for stride mostly).
https://bugzilla.gnome.org/show_bug.cgi?id=775377
Nicolas Dufresne [Fri, 2 Dec 2016 02:43:04 +0000 (21:43 -0500)]
cvlaplace: Remove redundant CAPS event handler
There is already a cv_set_caps() implemented, so just do the
entire work there.
https://bugzilla.gnome.org/show_bug.cgi?id=775377
Nicolas Dufresne [Fri, 2 Dec 2016 02:36:13 +0000 (21:36 -0500)]
cvsobel: Avoid extra copy of the output image
Simply produce the result into the output image provided by the base
class. This avoid useless copy. This also removes unchecked buffer map
and ensure that GstVideoMeta is respected (for stride mostly).
https://bugzilla.gnome.org/show_bug.cgi?id=775377
Nicolas Dufresne [Fri, 2 Dec 2016 02:28:31 +0000 (21:28 -0500)]
cvsobel: Remove redundant CAPS event handler
There is already a cv_set_caps() implemented, so just do the
entire work there.
https://bugzilla.gnome.org/show_bug.cgi?id=775377
Nicolas Dufresne [Fri, 2 Dec 2016 02:13:23 +0000 (21:13 -0500)]
opencv: Remove uneeded buffer writability check
When set to in_place, the BaseTransform class will guaranty that buffers
passed to transform_ip() function are writable.
https://bugzilla.gnome.org/show_bug.cgi?id=775378
Julien Isorce [Thu, 1 Dec 2016 09:24:18 +0000 (09:24 +0000)]
gstglupload: relax EGL context check
Check for GST_GL_PLATFORM_EGL enum instead of type GstGLContextEGL.
https://bugzilla.gnome.org/show_bug.cgi?id=774518
Julien Isorce [Wed, 30 Nov 2016 09:22:17 +0000 (09:22 +0000)]
gstglcontext: is_shared should return FALSE if no group
If a sub class of GstGLContext does not create a group
then it currently crashes:
0 g_atomic_int_get (&share->refcount)
1 _context_share_group_is_shared (context->priv->sharegroup)
2 gst_gl_context_is_shared
3 _default_set_sync_gl
https://bugzilla.gnome.org/show_bug.cgi?id=774518
Nicolas Dufresne [Thu, 1 Dec 2016 03:40:45 +0000 (22:40 -0500)]
meson/ttml: Add missing math library dependency
This code call 'round' which may require linking against the math library
on some compilers.
Víctor Manuel Jáquez Leal [Wed, 30 Nov 2016 18:53:30 +0000 (19:53 +0100)]
kmssink: post error message if start() fails
It is expected to post an error message in the bus if the device cannot
be started.
Michael Tretter [Thu, 20 Oct 2016 10:37:48 +0000 (12:37 +0200)]
kmssink: configure display mode during set_caps
Configure the display mode when setting the negotiated caps instead of
during showing the first frame.
A framebuffer is required to set the mode. Allocate a buffer object
according to the negotiated caps and use it to set the mode. This buffer
object cannot be freed until another page flip happened on the crtc
(i.e., until the first frame is rendered).
https://bugzilla.gnome.org/show_bug.cgi?id=773473
Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
Michael Tretter [Tue, 18 Oct 2016 12:57:25 +0000 (14:57 +0200)]
kmssink: add parameter force-modesetting
The force-modesetting parameter forces the kmssink to ignore already
configured display modes, to configure the display mode itself and use
the base plane for output.
https://bugzilla.gnome.org/show_bug.cgi?id=773473
Michael Tretter [Tue, 8 Nov 2016 14:27:51 +0000 (15:27 +0100)]
kmssink: allow only supported resolutions
If the input buffers have a different size than the display, the frames
would have to be scaled or positioned on the display. The kmssink cannot
decide which behaviour would be appropriate for which use case.
In order to avoid scaling or positioning of the input stream, allow only
the supported connector resolutions in the sink caps.
https://bugzilla.gnome.org/show_bug.cgi?id=773473
Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
Michael Tretter [Tue, 8 Nov 2016 14:26:40 +0000 (15:26 +0100)]
kmssink: set mode based on framebuffer configuration
Displays usually support multiple modes. Therefore, the kmssink should
not only support the preferred mode, but any mode that is supported by
the display.
https://bugzilla.gnome.org/show_bug.cgi?id=773473
Michael Tretter [Fri, 14 Oct 2016 14:03:08 +0000 (16:03 +0200)]
kmssink: add mode setting and base plane rendering
The kmssink assumed that the mode was already set by another application
and used an overlay plane for displaying the frames.
Use the preferred mode of the monitor and render to the base plane if
the crtc does not have a valid mode.
https://bugzilla.gnome.org/show_bug.cgi?id=773473
Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
Vivia Nikolaidou [Wed, 30 Nov 2016 15:22:21 +0000 (17:22 +0200)]
interlace: Writing field-order into the src caps
Writing top-field-first vs bottom-field-first into the src caps
https://bugzilla.gnome.org/show_bug.cgi?id=775409
Tim-Philipp Müller [Wed, 30 Nov 2016 09:35:27 +0000 (09:35 +0000)]
docs: add aggregator _get_type functions for signals + properties
https://bugzilla.gnome.org/show_bug.cgi?id=775379
Matthew Waters [Wed, 30 Nov 2016 08:26:51 +0000 (19:26 +1100)]
glmemoryegl: remove spurious #if GST_GL_HAVE_DMABUF conditions
8c2118823b3d42840cc6f48cbdc0e1b342f90b80 had some incorrect preprocessor
conditions that aren't actually needed. Remove them.
https://bugzilla.gnome.org/show_bug.cgi?id=775248
Garima Gaur [Wed, 30 Nov 2016 05:10:42 +0000 (10:40 +0530)]
gst: Fix caps leak
https://bugzilla.gnome.org/show_bug.cgi?id=775072
Philippe Renon [Wed, 23 Nov 2016 17:30:40 +0000 (18:30 +0100)]
opencv: check presence of required opencv_contrib headers
https://bugzilla.gnome.org/show_bug.cgi?id=772822
Philippe Renon [Sat, 26 Nov 2016 15:53:24 +0000 (16:53 +0100)]
opencv: add opencv image format documentation
https://bugzilla.gnome.org/show_bug.cgi?id=774576
Philippe Renon [Sat, 26 Nov 2016 12:34:26 +0000 (13:34 +0100)]
opencv: account for sparse/padded formats when converting caps to cv image type
https://bugzilla.gnome.org/show_bug.cgi?id=774576
Nicolas Dufresne [Wed, 30 Nov 2016 02:09:14 +0000 (21:09 -0500)]
opencvvideofilter: Don't parse the caps twice
The GstVideoFilter already provide caps parsed into GstVideoInfo. Avoid
doing that twice by splitting the helper.
https://bugzilla.gnome.org/show_bug.cgi?id=775288
Nicolas Dufresne [Tue, 29 Nov 2016 02:54:57 +0000 (21:54 -0500)]
opencvfilter: Properly port to GstVideoFilter
This is a subblass of VideoFilter but yet does not use any of it's
features. This also fixes issue in case the incoming images have custom
strides as the VideoMeta is no longer ignored.
https://bugzilla.gnome.org/show_bug.cgi?id=775288
Philippe Normand [Tue, 29 Nov 2016 14:18:43 +0000 (15:18 +0100)]
mssdemux: fix meson build
Follow-up of
73721ad4e9e2d32e1c8b6a3b4aaa98401530e58a.
Forgot to add the fragment parser in the meson build file.
Philippe Normand [Tue, 29 Nov 2016 13:43:41 +0000 (14:43 +0100)]
mssdemux: improved live playback support
When a MSS server hosts a live stream the fragments listed in the
manifest usually don't have accurate timestamps and duration, except
for the first fragment, which additionally stores timing information
for the few upcoming fragments. In this scenario it is useless to
periodically fetch and update the manifest and the fragments list can
be incrementally built by parsing the first/current fragment.
https://bugzilla.gnome.org/show_bug.cgi?id=755036
Sebastian Dröge [Tue, 29 Nov 2016 13:35:09 +0000 (15:35 +0200)]
decklink: Fix compiler warning
gstdecklink.cpp: In member function ‘virtual HRESULT GStreamerDecklinkInputCallback::VideoInputFrameArrived(IDeckLinkVideoInputFrame*, IDeckLinkAudioInputPacket*)’:
gstdecklink.cpp:766:34: error: ‘base_time’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
capture_time -= base_time;
^
Anton Eliasson [Tue, 29 Nov 2016 10:08:14 +0000 (11:08 +0100)]
codecparsers: h264parse: improve documentation commentary
https://bugzilla.gnome.org/show_bug.cgi?id=775306
Anton Eliasson [Tue, 29 Nov 2016 10:06:43 +0000 (11:06 +0100)]
codecparsers: h264parse: docs spellcheck
Spell checks, correct capitalization and some rewording to
better fit the terms used in the H.264 spec.
https://bugzilla.gnome.org/show_bug.cgi?id=775306
Scott D Phillips [Tue, 29 Nov 2016 00:02:03 +0000 (16:02 -0800)]
schro: #include math.h before schroedinger headers
The schroedinger headers unconditionally #define over C99's rint when
compiling with msvc which messes up the later inclusion of math.h.
Including math.h before schroedinger headers avoids getting syntax
errors in math.h
https://bugzilla.gnome.org/show_bug.cgi?id=775293
Nirbheek Chauhan [Mon, 28 Nov 2016 20:11:28 +0000 (01:41 +0530)]
meson: Rework opencv plugin checks
a) Use get_pkgconfig_variable() to get the opencv prefix
b) Place an upper limit on the opencv version
c) Ensure that headers are available
(b) and (c) just copy what the configure.ac checks do.
Sebastian Dröge [Mon, 28 Nov 2016 18:05:02 +0000 (20:05 +0200)]
mpegtssection: Fix off-by-one in PMT parsing
Sebastian Dröge [Mon, 28 Nov 2016 17:52:24 +0000 (19:52 +0200)]
mpegtssection: Don't assert if the given section length is longer than the PMT actually is
Instead error out cleanly and just assert that we didn't read more than
the available data.
Sebastian Dröge [Mon, 28 Nov 2016 15:17:43 +0000 (17:17 +0200)]
decklink: Correctly set top-field-first/bottom-field-first
First of all, all the HD and UHD modes should be top-field-first, as
also returned by the Decklink mode iterator API.
Then we should include the caps field "field-order" in the caps of the
source (not the sink due to negotiation problems with optional fields).
And finally we should set the TFF flag on interlaced buffers that are
top-field-first.
Sebastian Dröge [Fri, 25 Nov 2016 13:03:08 +0000 (15:03 +0200)]
decklinksrc: Add property to drop frames that are marked as having no input signal
https://bugzilla.gnome.org/show_bug.cgi?id=774850
Sebastian Dröge [Fri, 25 Nov 2016 12:57:15 +0000 (14:57 +0200)]
decklinksrc: Add property to skip the first N seconds of capture
On some hardware the first few frames are bogus and not very useful.
Their timestamps are off, they have no timecodes, or there are spurious
black frames / no-signal frames. After a few frames this stabilizes
though.
https://bugzilla.gnome.org/show_bug.cgi?id=774850
Sebastian Dröge [Fri, 25 Nov 2016 12:36:37 +0000 (14:36 +0200)]
decklinksrc: Set GAP flag on buffers that are captured without signal
https://bugzilla.gnome.org/show_bug.cgi?id=774850
Sebastian Dröge [Thu, 24 Nov 2016 17:19:36 +0000 (19:19 +0200)]
decklinksrc: Keep track of a window of capture/stream time mappings and calculate relationship
Based on this we calculate the actual capture time, which should get us
rid of any capturing jitter by averaging it out.
Also add a output-stream-time property which forces the elements to
output the stream time directly instead of doing any conversion to the
pipeline clock. Use with care.
https://bugzilla.gnome.org/show_bug.cgi?id=774850
Sebastian Dröge [Tue, 22 Nov 2016 17:30:27 +0000 (19:30 +0200)]
decklinksrc: Stop using the "hardware" timestamps and directly use the pipeline clock
The hardware timestamps have no relation to when frames were produced,
only when frames arrived somewhere in the hardware. Especially there is
no guarantee that audio and video will have the same hardware timestamps
although they belong together, and even more important: the rate with
which the hardware timestamps increase is completely unrelated to the
rate with which the frames are captured!
As such we can as well use the pipeline clock directly and stop doing
complicated calculations. Also as a side effect this allows now running
without any pipeline clock, by directly making use of the stream times
as reported by the driver.
https://bugzilla.gnome.org/show_bug.cgi?id=774850
Sebastian Dröge [Mon, 28 Nov 2016 12:25:49 +0000 (14:25 +0200)]
rawparse: Whitespace cleanup
Tim-Philipp Müller [Mon, 28 Nov 2016 11:26:50 +0000 (11:26 +0000)]
dataurisrc: remove plugin, moved to core
https://bugzilla.gnome.org/show_bug.cgi?id=774527
Sebastian Dröge [Mon, 28 Nov 2016 08:49:23 +0000 (10:49 +0200)]
m3u8: Mark uri_join() function as static
We don't really want to export this, especially not without any
namespacing. This can cause problems for static builds.
Sebastian Dröge [Mon, 28 Nov 2016 08:27:56 +0000 (10:27 +0200)]
tsdemux: Post an error message on the bus if we activated a program without pads
Otherwise decodebin and applications are going to wait forever for pads
to appear, which is never going to happen.
Happens on this stream, which probably just need support for it added:
https://samples.mplayerhq.hu/3D/AVC_codec_in_m2ts_not_recognized/AVC_codec_not_recognized_right_video_sample.m2ts
Matthew Waters [Mon, 28 Nov 2016 03:22:05 +0000 (14:22 +1100)]
glwindow: move g_main_context_push/pop_thread_default() to run()
Calling g_main_context_push_thread and then g_main_context_invoke()
(used by gst_gl_window_send_message_async()) in the same thread will
cause the invoked function to run immediately instead of being delayed.
This had implications for the creation of the OpenGL context not waiting
until the main loop had completely started up and as a result would
sometimes deadlock in short create/destroy scenarios.
https://bugzilla.gnome.org/show_bug.cgi?id=775171
Matthew Waters [Mon, 28 Nov 2016 03:19:18 +0000 (14:19 +1100)]
glcontext: fix race between creation/shutdown
626bcccff96f624f59c5212b3e21e472240171fd removed some locks that
allowed the main loop quit to occur before the context was fully
created.
2776cef25d2a98668b73272aecfe77e684e6627e attempted to readd them but
missed the scop of the quit() call.
Also remove the use of g_thread_join() as that's not safe to use when
it's possible to lose the last reference from the GL thread.
https://bugzilla.gnome.org/show_bug.cgi?id=775171
Sebastian Dröge [Sun, 27 Nov 2016 10:40:53 +0000 (12:40 +0200)]
rawbaseparse: Fix output buffer size trimming
For frame->buffer, baseparse is doing that automatically for us. For
frame->output_buffer it doesn't and assumes that the subclass is already
doing that. Consistency!
Sebastian Dröge [Sun, 27 Nov 2016 10:20:11 +0000 (12:20 +0200)]
dash: Fix stripping of space at the beginning/end of durations
The way how strchr() was called here, it could easily read after the end
of the string. Use g_ascii_isspace() instead.
Detected by asan in the unit test.
Sebastian Dröge [Sun, 27 Nov 2016 09:56:18 +0000 (11:56 +0200)]
opencv: Make the OpenCV plugin optional in the meson build
Sebastian Dröge [Sun, 27 Nov 2016 09:44:14 +0000 (11:44 +0200)]
rawparse: Properly align raw audio/video output buffers
That is, aligned to the basic type for audio and to 32 bytes for video.
Fixes crashes if the raw buffers are passed to SIMD processing functions.
https://bugzilla.gnome.org/show_bug.cgi?id=774428
Luis de Bethencourt [Tue, 15 Nov 2016 16:57:20 +0000 (16:57 +0000)]
opencv: Enable in meson build
https://bugzilla.gnome.org/show_bug.cgi?id=774223
Tim-Philipp Müller [Sat, 26 Nov 2016 11:20:51 +0000 (11:20 +0000)]
common: use https protocol for common submodule
https://bugzilla.gnome.org/show_bug.cgi?id=775110
Sebastian Dröge [Sat, 26 Nov 2016 10:28:57 +0000 (12:28 +0200)]
mxfdemux: Post an error message if we got EOS before having any source pads
Otherwise, sending an EOS event has no effect and the application waits
forever for something to happen.
Sebastian Dröge [Sat, 26 Nov 2016 10:16:39 +0000 (12:16 +0200)]
h264parse: Fix indentation
Sebastian Dröge [Sat, 26 Nov 2016 10:16:18 +0000 (12:16 +0200)]
h265parse: Fix assertion when encountering an invalid NALU
Error out properly instead.
https://bugzilla.gnome.org/show_bug.cgi?id=775130
Sebastian Dröge [Sat, 26 Nov 2016 10:15:50 +0000 (12:15 +0200)]
h264parse: Fix assertion when encountering an invalid NALU
Error out properly instead.
https://bugzilla.gnome.org/show_bug.cgi?id=775130
Edward Hervey [Sat, 26 Nov 2016 09:44:43 +0000 (10:44 +0100)]
mpegtssection: Add more section size checks
The smallest section ever needs to be at least 3 bytes (i.e. just the short
header).
Non-short headers need to be at least 11 bytes long (3 for the minimum header,
5 for the non-short header, and 4 for the CRC).
https://bugzilla.gnome.org/show_bug.cgi?id=775048
Edward Hervey [Sat, 26 Nov 2016 09:23:01 +0000 (10:23 +0100)]
mpegtssection: Fix PAT parsing
Use the estimated number of programs for parsing. Avoids over-reading.
https://bugzilla.gnome.org/show_bug.cgi?id=775120
Edward Hervey [Sat, 26 Nov 2016 08:26:36 +0000 (09:26 +0100)]
hlsdemux: Handle GST_SEEK_TYPE_NONE seek
When one is only updating the "stop" position (i.e. non-flushing seek,
with GST_SEEK_TYPE_NONE on the "start" (or stop in reverse) position),
we only need to store those values instead of moving the current position.
https://bugzilla.gnome.org/show_bug.cgi?id=775127
Sebastian Dröge [Fri, 25 Nov 2016 21:47:15 +0000 (23:47 +0200)]
ext: Fix various compiler warnings with clang
wldisplay.c:179:15: error: comparison of unsigned enum expression < 0 is always false [-Werror,-Wtautological-compare]
if (shm_fmt < 0)
~~~~~~~ ^ ~
gstsegmentation.cpp:419:40: error: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Werror,-Wconstant-conversion]
filter->cvFG->imageData[j] = 255;
~ ^~~
https://bugzilla.gnome.org/show_bug.cgi?id=775112
Sebastian Dröge [Fri, 25 Nov 2016 21:44:25 +0000 (23:44 +0200)]
gl/x11: Remove unused static function
Sebastian Dröge [Fri, 25 Nov 2016 14:46:45 +0000 (16:46 +0200)]
mxfdemux: Fix up another size check and prevent allocating too much memory
Sebastian Dröge [Fri, 25 Nov 2016 13:59:44 +0000 (15:59 +0200)]
mxfdemux: Handle zero-sized KLV items better and don't assert on them
Sebastian Dröge [Fri, 25 Nov 2016 13:53:50 +0000 (15:53 +0200)]
mxfdemux: Fix various logic errors in error handling of footer partition parsing
Sebastian Dröge [Fri, 25 Nov 2016 13:53:36 +0000 (15:53 +0200)]
mxfdemux: Don't try parsing empty metadata items
Sebastian Dröge [Thu, 24 Nov 2016 23:06:45 +0000 (01:06 +0200)]
mxfmetadata: Add missing NULL check
Florent Thiéry [Tue, 22 Nov 2016 17:06:52 +0000 (18:06 +0100)]
gldownload: fix element description (was "OpenGL uploader")
Sebastian Dröge [Thu, 24 Nov 2016 17:45:10 +0000 (19:45 +0200)]
mxf: Remove mxfdms1.[ch] from the build for now
It's completely unused currently but might be used in the future.
Sebastian Dröge [Thu, 24 Nov 2016 21:36:22 +0000 (23:36 +0200)]
mxfdemux: Add various missing bounds checks, NULL checks and integer overflow protection for error cases
Sebastian Dröge [Thu, 24 Nov 2016 12:48:35 +0000 (14:48 +0200)]
decklinkvideosrc: Free timecodes when done with a frame
Sebastian Dröge [Thu, 24 Nov 2016 12:41:59 +0000 (14:41 +0200)]
timecodestamper: Remove all existing timecode metas if requested to override existing
Edward Hervey [Thu, 24 Nov 2016 10:12:23 +0000 (11:12 +0100)]
mpegtssection: Don't free empty streams
Also avoids a useless assertion
Edward Hervey [Thu, 24 Nov 2016 10:11:35 +0000 (11:11 +0100)]
mpegtspacketizer: Don't add existing values to group
If the last value is already identical, there is no need in adding it
yet-another-time
Víctor Manuel Jáquez Leal [Wed, 23 Nov 2016 19:13:59 +0000 (20:13 +0100)]
kmssink: include drm.h after stdlib.h
As drm.h is internal to libdrm, it expects to have already included
stdlib.h.
Víctor Manuel Jáquez Leal [Wed, 23 Nov 2016 18:41:43 +0000 (19:41 +0100)]
kms: include stdlib.h
drm.h does not include all what it needs to compile, in particular
stdlib.h which defines size_t
Sebastian Dröge [Wed, 23 Nov 2016 17:01:04 +0000 (19:01 +0200)]
mpdparser: Don't set variable just to overwrite it again later
We set it to TRUE here, but later we set it to TRUE again anyway if the
parsing actually succeeded at this point. Let's keep the second one.
CID 1374360.
Sebastian Dröge [Wed, 23 Nov 2016 16:45:42 +0000 (18:45 +0200)]
wldisplay: Don't compare a guint with < 0
-1 is the "invalid" value, compare to it directly.
CID 1394490.
Sebastian Dröge [Fri, 18 Nov 2016 19:00:03 +0000 (21:00 +0200)]
audiobuffersplit: New element that splits raw audio buffers into equal-sized buffers
This is useful e.g. if audio buffers should be exactly the duration of a
video frame, or if a audio buffers should never be too large because of
latency constraints.
The element is taking a fractional buffer duration, to allow working
with e.g. 1001/30000 as output duration and it accumulates rounding
errors in the buffer durations and compensates for them by making some
buffers one sample larger than the others.
https://bugzilla.gnome.org/show_bug.cgi?id=774689
Michael Tretter [Wed, 19 Oct 2016 10:39:36 +0000 (12:39 +0200)]
kmssink: remove dependency on libkms
libkms should not be used, because it imposes limitations on the DRM
API, especially regarding bpp and stride. Instead the DRM IOCTL should
be used directly.
Switch from libkms to the IOCTL interface. Set bpp and height for
framebuffer allocation to properly handle planar video formats.
https://bugzilla.gnome.org/show_bug.cgi?id=773473
Signed-off-by: Víctor Jáquez <vjaquez@igalia.com>
Tim-Philipp Müller [Wed, 23 Nov 2016 10:31:29 +0000 (10:31 +0000)]
mimic: remove ancient codec
This was used by MSN messenger in prehistoric times, it's safe
to say no one needs or wants this any more these days. For
decoding old recordings there's still a decoder in ffmpeg.
https://bugzilla.gnome.org/show_bug.cgi?id=597616
Sebastian Dröge [Wed, 23 Nov 2016 08:52:05 +0000 (10:52 +0200)]
h265parse: Ensure codec_data has the required size when reading number of NAL arrays
https://bugzilla.gnome.org/show_bug.cgi?id=774896
Sebastian Dröge [Wed, 23 Nov 2016 08:51:17 +0000 (10:51 +0200)]
h264parse: Ensure codec_data has the required size when reading number of SPS
https://bugzilla.gnome.org/show_bug.cgi?id=774896
Matthew Waters [Wed, 23 Nov 2016 06:04:34 +0000 (17:04 +1100)]
gl/contextglx: error out on more invalid display/window combinations
https://bugzilla.gnome.org/show_bug.cgi?id=774851
Matthew Waters [Wed, 23 Nov 2016 04:57:05 +0000 (15:57 +1100)]
gl: add necessary context_egl.h #includes to the source files
Matthew Waters [Wed, 23 Nov 2016 02:32:38 +0000 (13:32 +1100)]
gl/memoryegl: remove access to private header gstglcontext_egl.h
It's been removed and thus compiling anything against GstGLMemoryEGL
would error with:
In file included from gstomxvideodec.c:41:0:
usr/include/gstreamer-1.0/gst/gl/egl/gstglmemoryegl.h:32:41: fatal error: gst/gl/egl/gstglcontext_egl.h: No such file or directory
#include <gst/gl/egl/gstglcontext_egl.h>
^
https://bugzilla.gnome.org/show_bug.cgi?id=774886
Sebastian Dröge [Tue, 22 Nov 2016 10:58:44 +0000 (12:58 +0200)]
mpegtspacketizer: Reset values before parsing each section
Sebastian Dröge [Tue, 22 Nov 2016 10:42:45 +0000 (12:42 +0200)]
mpegtspacketizer: Make sure in all cases that we have enough data left for reading a section start
In some cases we ended up parsing sections without.
Philippe Renon [Mon, 21 Nov 2016 16:19:46 +0000 (17:19 +0100)]
opencv: forward declare opencv types
Forward declare opencv types to avoid exposing them in the API.
https://bugzilla.gnome.org/show_bug.cgi?id=774223
Tim-Philipp Müller [Mon, 21 Nov 2016 10:52:39 +0000 (10:52 +0000)]
interfaces: photography: clean up header indentation
Seungha Yang [Sun, 20 Nov 2016 06:10:42 +0000 (15:10 +0900)]
mpdparser: Modify return of the function for loading external resources to void
gst_mpd_client_fetch_on_load_external_resources() never ever return
FALSE due to modified external xml loading functions.
https://bugzilla.gnome.org/show_bug.cgi?id=774463
Seungha Yang [Sat, 19 Nov 2016 14:04:04 +0000 (23:04 +0900)]
mpdparser: Handle invalid external xml link for SegmentList element
Ignore invalid xml link for SegmentList likewise external Period without error.
https://bugzilla.gnome.org/show_bug.cgi?id=774463
Seungha Yang [Sat, 19 Nov 2016 13:38:20 +0000 (22:38 +0900)]
mpdparser: Handle invalid external xml link for AdaptationSet element
Ignore invalid xml link for AdaptationSet likewise external Period without error.
https://bugzilla.gnome.org/show_bug.cgi?id=774463
Seungha Yang [Sat, 19 Nov 2016 09:37:54 +0000 (18:37 +0900)]
mpdparser: Handle invalid external xml link for Period element
Section 5.3.3 in ISO/IEC 23009-1:2014 defines that invalid references
(e.g., invalide URI or cannot be resolved) specified by "@xlink:href" attribute
shall be removed. That means, we should play it without error,
and just ignore the corresponding element.
It's similar to "urn:mpeg:dash:resolve-to-zero:2013".
https://bugzilla.gnome.org/show_bug.cgi?id=774463
David Evans [Thu, 17 Nov 2016 15:41:00 +0000 (15:41 +0000)]
gl: add gstreamer-video to pkg-config path
https://bugzilla.gnome.org/show_bug.cgi?id=774624
Tim-Philipp Müller [Sun, 20 Nov 2016 12:40:07 +0000 (12:40 +0000)]
tests: fix lib and cflags order in Makefile.am
pnm: add misssing continuation slash at end of line
vp8parser: no need to link codecparsers twice
dash_demux, mssdemux, hlsdemux: fix lib/flags ordering - local
libs and flags must come first, then base before core before rest
Seungha Yang [Sat, 19 Nov 2016 07:12:06 +0000 (16:12 +0900)]
dashdemux: Fix leak in gst_dash_demux_stream_free
Free parsed moof and sync samples with _stream_free().
https://bugzilla.gnome.org/show_bug.cgi?id=774702
Reynaldo H. Verdejo Pinochet [Thu, 17 Nov 2016 19:19:54 +0000 (11:19 -0800)]
wayland: avoid prefix clash in combined pkg-config check
Adittionally, remove leftover WAYLAND_DRM_ include flags var
Fixes building of ext/wayland/* broken by
dfd86de67a8c04f6d1
Related to:
https://bugzilla.gnome.org/show_bug.cgi?id=773927