Matthew Waters
a3ce46a454
gl/caopengllayer: use public GstGLContext instead of Cocoa-specific one
...
Allows keeping the GstGLCAOpenGLLayer public but not the winsys-specific
context/display/window.
2017-11-27 15:20:28 +11:00
Nicolas Dufresne
9c866da336
waylandsink: Add prototype for gst_wayand_pool_get_type()
2017-11-25 20:06:57 -05:00
Nicolas Dufresne
2db81d6597
waylandsink: Rollback video info changes when copying
...
We change the video info base on the received buffer. We need to
rollback these changes whenever we want to copy into our internal
pool of buffers.
https://bugzilla.gnome.org/show_bug.cgi?id=790057
2017-11-25 14:59:03 -05:00
Nicolas Dufresne
1a7363e023
waylandsink: Validate strides and offset when using FD as SHM
...
As SHM interface only support 1 stride, and 1 offset, we need to
make sure that there is no padding between planes for planar formats.
https://bugzilla.gnome.org/show_bug.cgi?id=790057
2017-11-25 14:59:03 -05:00
Nicolas Dufresne
cc033355ab
waylandsink: Update video info size to buffer size
...
We where setting the size to the first memory size, this may be
too small in case we received a buffer with multiple memory.
https://bugzilla.gnome.org/show_bug.cgi?id=790057
2017-11-25 14:59:03 -05:00
Nicolas Dufresne
02df3a47b3
waylandsink: Allocate only what's needed when copying
...
There was this regression that we'd be using the updated video
info size instead of default size when initializing the pool.
https://bugzilla.gnome.org/show_bug.cgi?id=790057
2017-11-25 14:59:03 -05:00
Nicolas Dufresne
9bbd5ef722
waylandsink: Only try SHM for single memory buffer
...
https://bugzilla.gnome.org/show_bug.cgi?id=790057
2017-11-25 14:59:03 -05:00
Nicolas Dufresne
51bb235cc6
wlwindow: Only update video info on new render
...
The sink->video_info might not reflect the current buffer
when expose is being called.
https://bugzilla.gnome.org/show_bug.cgi?id=790057
2017-11-25 14:59:03 -05:00
Nicolas Dufresne
b06a8bffde
waylandsink: Disable video-alignment from the pool
...
The SHM interface does not allow passing arbitrary strides and offsets,
for this reason, we simply disable this feature from the proposed pool.
This fixes video artifact seen when using the FFMPEG based video
decoder.
https://bugzilla.gnome.org/show_bug.cgi?id=790057
2017-11-25 14:59:03 -05:00
Havard Graff
0a9d924131
opusparse: fix uninitialized-warning
2017-11-25 12:13:05 +00:00
Edward Hervey
c92694e12a
hls: Don't leak mutex
2017-11-25 13:10:11 +01:00
Edward Hervey
2877aac9a5
dashdemux: Handle bitrate > 2**31
...
On very-high connection, we could quite well exceed that. Instead use
gint64 for max-bitrate.
2017-11-25 09:41:00 +01:00
Edward Hervey
b27bdc1786
gtk: Fix possibility of NULL variable
...
It's quite unlikely since it's initialized in instance initialization.
CID #1417721
2017-11-24 08:00:21 +01:00
Edward Hervey
e7724354d9
dc1394src: Remove logically dead code
...
buffer would always be NULL in the error case. Simplify and just
return GST_FLOW_ERROR
CID #1417216
2017-11-24 07:57:49 +01:00
Jan Schmidt
b906601c7b
Revert "gl: Use GstGLDisplayEGL directly instead of creating a GstGLDisplayVIVFb subclass"
...
This reverts commit 47fd4d391e
.
This patch is incorrect. It doesn't actually compile, and causes a crash
because the viv-fb window implementation needs a native EGL handle
to pass to fbCreateWindow, but the GstGLDisplayEGL handleis actually
an EGLDisplay now (and gets cast to the wrong type)
2017-11-24 01:48:27 +11:00
Edward Hervey
8d99867c13
curlhttpsrc: Don't leak structure
...
CID #1415716
2017-11-22 16:58:11 +01:00
Mathieu Duponchelle
56fc5bef18
aggregator: Remove klass->sinkpads_type
...
This posed problems for the python bindings (and possibly others).
Instead, subclasses now use add_pad_template_with_gtype.
https://bugzilla.gnome.org/show_bug.cgi?id=789986
2017-11-22 16:52:29 +01:00
Tim-Philipp Müller
16294a147e
curl: fix meson build
...
Include libsdir so our i18n header there is found.
2017-11-21 20:56:38 +01:00
Edward Hervey
d6784c238b
de265: Don't leak CodecState
...
Unref it in error case
CID #1417220
2017-11-21 16:43:03 +01:00
Edward Hervey
87dbd558cc
vulkan: Fix out-of-bound read
...
G_N_ELEMENTS is the *number* of entries, not the maximum entry number
CID #1417215
2017-11-21 16:39:14 +01:00
Edward Hervey
d4afba794a
curlhttpsrc: Post an error message if no URI was set
...
Like for other sources
2017-11-21 16:30:35 +01:00
Edward Hervey
69d794b004
curl: Add i18n
2017-11-21 16:30:17 +01:00
Edward Hervey
6e1e87d403
smoothstreaming: Handle invalid XML
...
Nothing guarantees the manifest is valid and will return a root node
2017-11-21 15:33:57 +01:00
Edward Hervey
26108d829b
curlhttpsrc: Fix return value
...
The function returns a gchar * (and not a boolean)
2017-11-21 15:33:08 +01:00
Edward Hervey
b8cb08c319
curlhttpsrc: Don't switch to PAUSED if not URI was specified
...
Like for other sources
2017-11-21 15:31:05 +01:00
Jun Xie
0ef2a41d84
hlsdemux: Fix memory leak caused by double buffer map
...
https://bugzilla.gnome.org/show_bug.cgi?id=789999
2017-11-17 11:53:05 +02:00
Justin Kim
ec32124cf0
srt: add passphrase and key length properties
...
For stream encryption, both `passphrase` and `key-length`
properties are required.
https://bugzilla.gnome.org/show_bug.cgi?id=790315
2017-11-15 10:51:38 -05:00
Justin Kim
f78be9d698
srt: Introduce SRT source and sink
...
SRT[0] is an open source transport technology[1] that optimizes
streaming performance across unpredictable networks.
Although SRT is based on UDP, it works like connection-oriented
protocol. However, it doesn't mean that the SRT server or client
is necessarily to link to a receiver or a sender so, here, the
pairs of source and sink elements are introduced.
- srtserversink: SRT server to feed SRT stream
- srtclientsrc: SRT client to get SRT stream from srtserversink
- srtclientsink: SRT client to send SRT stream
- srtserversrc: SRT server to listen from srtclientsink
[0] https://github.com/Haivision/srt
[1] http://www.srtalliance.org/
https://bugzilla.gnome.org/show_bug.cgi?id=785730
2017-11-07 14:34:48 -05:00
Matthew Waters
bbbe9ef2ce
gltestsrc: guard stop in gl thread
...
So we don't result in a critical when we've never created the GL context:
gst_gl_context_thread_add: assertion 'GST_IS_GL_CONTEXT (context)' failed
2017-11-07 12:39:58 +11:00
Matthew Waters
c85b825bb2
gltestsrc: free in the GL thread on stop
...
Calling GL functions not on the GL thread may crash in some GL
implementations.
https://bugzilla.gnome.org/show_bug.cgi?id=789665
2017-11-06 23:21:52 +11:00
Tim-Philipp Müller
4576e0737d
gl: use new gst_element_foreach_sink_pad()
...
Instead of gst_aggregator_iterate_sinkpads() which will
soon be removed.
https://bugzilla.gnome.org/show_bug.cgi?id=785679
2017-11-02 12:47:28 +00:00
Mathieu Duponchelle
2bf57a92cc
fdkaacenc: check fdk-aac version in meson.build
...
configure.ac used to set -DHAVE_FDK_AAC_0_1_4 , which enables
7.1 support.
https://bugzilla.gnome.org/show_bug.cgi?id=789471
2017-10-25 14:36:55 +02:00
Jan Alexander Steffens (heftig)
e5977b8794
openjpeg: Remove compatibility with openjpeg 2.0
...
Everyone seems to be shipping 2.1 as the oldest v2 version, even debian
oldstable (jessie).
Also remove an unneeded (debug?) #include <stdio.h>.
https://bugzilla.gnome.org/show_bug.cgi?id=788703
2017-10-20 12:27:30 +02:00
Jan Alexander Steffens (heftig)
bff2d834a4
openjpeg: Support building with openjpeg 2.3, simpler
...
OpenJPEG 2.3 installs its headers to /usr/include/openjpeg-2.3. However,
since libopenjp2.pc seems to provide the right includedir CFLAGS at
least since version 2.1, instead of adding yet another version check,
just remove the subdir and the check for 2.2.
https://bugzilla.gnome.org/show_bug.cgi?id=788703
2017-10-20 12:27:30 +02:00
Jan Alexander Steffens (heftig)
d1cbeb4fe7
Revert "openjpeg: Support building with openjpeg 2.3"
...
This reverts commit ef4d6b93e6
.
A better fix follows.
https://bugzilla.gnome.org/show_bug.cgi?id=788703
2017-10-20 12:27:30 +02:00
Andreas Frisch
07d6b7f56d
lcms: Add LCMS ICC color correction element
...
https://bugzilla.gnome.org/show_bug.cgi?id=765927
2017-10-19 16:46:24 +02:00
Jan Alexander Steffens (heftig)
519ead2462
m3u8: Refine sequence update debug messages
...
Actually give some details about why it failed.
https://bugzilla.gnome.org/show_bug.cgi?id=788417
2017-10-19 15:47:04 +02:00
Jan Alexander Steffens (heftig)
7690a4a521
m3u8: Don't try to match URIs when we have media sequences
...
It is legal for a stream to reuse segments (marking discontinuities as
needed). Uplynk delivers such playlists for their placeholder loops.
Leave the URI scanning in place for playlists which have no
EXT-X-MEDIA-SEQUENCE tag. This should be harmless since the spec
requires these playlists to not be missing segments (RFC8216 6.2.2),
so we should be always matching on the first segment.
https://bugzilla.gnome.org/show_bug.cgi?id=788417
2017-10-19 15:47:04 +02:00
Jan Alexander Steffens (heftig)
025633b162
m3u8: Ignore empty playlists in check_media_seqnums
...
Let these error in the immediately following check in gst_m3u8_update.
https://bugzilla.gnome.org/show_bug.cgi?id=788417
2017-10-19 15:47:03 +02:00
Jan Alexander Steffens (heftig)
f80ad048e6
m3u8: Split gst_m3u8_update_check_consistent_media_seqnums
...
The function was basically one big if-else. Move the branch to the
one caller.
Currently, it's never called with previous_files == NULL. Assert that
this continues.
https://bugzilla.gnome.org/show_bug.cgi?id=788417
2017-10-19 15:47:03 +02:00
Jan Alexander Steffens (heftig)
234a8ecc50
m3u8: Simplify control flow for sequence update
...
Split the tail from the rest of the loop.
https://bugzilla.gnome.org/show_bug.cgi?id=788417
2017-10-19 15:47:02 +02:00
Michał Górny
a8889bdcbc
opencv: Support smoothing only part of the image
...
https://bugzilla.gnome.org/show_bug.cgi?id=788567
2017-10-16 11:07:07 +02:00
Michał Górny
798d899a25
opencv: Add 'kernel' prefix to width/height
...
Rename width to kernel-width, and height to kernel-height to avoid
ambiguity in the name.
https://bugzilla.gnome.org/show_bug.cgi?id=788567
2017-10-16 11:07:07 +02:00
Thibault Saunier
ef4d6b93e6
openjpeg: Support building with openjpeg 2.3
...
And avoid failling the build each time openjpeg releases a new version.
2017-10-16 11:05:12 +02:00
Tim-Philipp Müller
43af41234a
qt: update qmake .pro file
...
Update for renaming of plugin file, and add some
missing source files.
2017-10-13 12:25:22 +01:00
Cassandra Rommel
47fd4d391e
gl: Use GstGLDisplayEGL directly instead of creating a GstGLDisplayVIVFb subclass
...
This simplifies the code a lot without any functional changes apart from
not closing the display connection. Closing the display connection is
not safe to do as it is shared between all other code in the same
process and no reference counting or anything happens at the platform
layer.
2017-10-03 10:14:51 +02:00
Ponnam Srinivas
4b051ea36d
glmixer: Unmap video frame in error case
...
https://bugzilla.gnome.org/show_bug.cgi?id=788127
2017-09-26 11:12:04 +03:00
Ponnam Srinivas
d99cef0b40
webpenc: Unmap video frame in failed case
...
https://bugzilla.gnome.org/show_bug.cgi?id=787985
2017-09-23 08:38:39 +01:00
Haihua Hu
379f6bd5d9
glvidemixer: need reconfigure output gemotry after caps renegotiated
2017-09-21 11:59:32 +10:00
Matthew Waters
d4c9861a6c
Revert "glvideomixer: need update output geometry after src caps reconfigure"
...
This reverts commit d6e538dc56
.
2017-09-21 11:59:22 +10:00