Matthew Waters [Mon, 4 Apr 2016 10:55:51 +0000 (20:55 +1000)]
videoaggregator: repect the result of find_best_format in the default update_caps
We weren't using the result of find_best_format at all.
Also, move the find_best_format usage to the default update_caps() to make
sure that it is also overridable.
https://bugzilla.gnome.org/show_bug.cgi?id=764363
Nicolas Dufresne [Wed, 6 Apr 2016 01:40:58 +0000 (21:40 -0400)]
rfbsrc: Fix fallback to GstVideoBufferPool
The replacement pool need to be added to the query, otherwise the
baseclass won't see it. We also need to properly remove the rejected
pools.
https://bugzilla.gnome.org/show_bug.cgi?id=763441
Nicolas Dufresne [Wed, 6 Apr 2016 01:07:32 +0000 (21:07 -0400)]
rfbsrc: Implement decide_allocation virtual
This way we can use the base class for buffer allocation, hence use
fill() instead of create() virtual. This also adds a strict check on the
select pool buffer size as we don't support strides and padding.
This is based on initial patch proposed by Sebastien Dröge, from which I
also fixed a buffer pool leak.
https://bugzilla.gnome.org/show_bug.cgi?id=763441
Nicolas Dufresne [Tue, 5 Apr 2016 19:31:49 +0000 (15:31 -0400)]
rfbsrc: Fix caps negotiation
As we currently only use the server reported "natural" format, caps
negotiation should simply be limited to telling the base class which
format to use. Fix the negotiation by moving the associated code
into negotiate() virtual function. Also, use gst_base_src_set_caps()
rather then setting it on the pad directly. Also protect against this
method being called multiple time (we can't renegotiate for now).
This change also moves some network code that was being run during the
application state change call, to be run on the streaming thread.
https://bugzilla.gnome.org/show_bug.cgi?id=739598
Nicolas Dufresne [Sat, 26 Mar 2016 17:36:34 +0000 (13:36 -0400)]
rfbsrc: Implement unlock() method
This prevent stalls when we try to stop the source while waiting
for the server to send more updates.
Nicolas Dufresne [Thu, 24 Mar 2016 22:27:54 +0000 (18:27 -0400)]
rfbsrc: Check for connection being closed
Although it's not very well documented, g_input_stream_read_all() will
set the number of bytes read to 0 if the connection is closed rather
then returning an error.
Nicolas Dufresne [Thu, 24 Mar 2016 22:26:46 +0000 (18:26 -0400)]
rfbsrc: Check for read/write error
Check for read/write error. This prevent undefined behaviour that rely
on unitialized buffer.
Nicolas Dufresne [Thu, 24 Mar 2016 22:14:17 +0000 (18:14 -0400)]
rfbsrc: Add a internal method to disconnect
This also removes the disconnected boolean hack.
Nicolas Dufresne [Thu, 24 Mar 2016 22:14:37 +0000 (18:14 -0400)]
rfbsrc: Don't ignore errors
This prevents recursion on error. This used to happen as we
don't change the state when something fails. We end up running
and failing in the same state forever.
Nicolas Dufresne [Thu, 24 Mar 2016 20:46:49 +0000 (16:46 -0400)]
rfbsrc: Serialize write operations
Currently we send key events from seperate threads. IOStream does not
allow concurrent write operations, so protect this operation using a
mutex.
Nicolas Dufresne [Thu, 17 Mar 2016 19:24:52 +0000 (15:24 -0400)]
rfbsrc: Add 3.7/3.8 security type negotiation
Nicolas Dufresne [Wed, 16 Mar 2016 22:48:49 +0000 (18:48 -0400)]
rfbsrc: Port to GSocketClient
Using GSocketClient we can simplify a lot the read/write operation.
This also provide an GSocketConnection (a GIOStream) which can then
be used with the GTlsClientConnection for secure connections. Note
that we use _write_all() to ensure all bytes have been read. This is
to follow the fact the none of the _send() calls check the return
value.
Nicolas Dufresne [Wed, 16 Mar 2016 20:49:29 +0000 (16:49 -0400)]
rfbsrc: Remove useless library wrapping
We use a sinlge .c file, simplify everything by removing that
static library.
Nicolas Dufresne [Wed, 16 Mar 2016 20:49:09 +0000 (16:49 -0400)]
rfbsrc: Cleanup dead code
Remove all the unused stuff, the include header, definition and C code
that don't contribute anything to this element.
Nicolas Dufresne [Mon, 14 Mar 2016 19:08:13 +0000 (15:08 -0400)]
rfbsrc: Properly fallback to 3.3
If the major version is not 3, then the minor version provided
should be ignored, as it is meaningless for our fallback.
Nicolas Dufresne [Mon, 14 Mar 2016 19:05:45 +0000 (15:05 -0400)]
rfbsrc: Cleanly handle security negotiation failure
When the security cannot be negotiated, the server returns
security type of 0 (failure). In that case, the next step is
to read the error reason string.
Vincent Penquerc'h [Fri, 1 Apr 2016 13:36:15 +0000 (14:36 +0100)]
mpdparser: clamp segment durations to each other and period end
5.3.2.1 in the spec.
https://bugzilla.gnome.org/show_bug.cgi?id=751792
Florin Apostol [Thu, 10 Sep 2015 12:22:58 +0000 (13:22 +0100)]
dashdemux: unit testing reproducing segment duration overflow
unit test reproducing https://bugzilla.gnome.org/show_bug.cgi?id=751792
With minor changes by Vincent Penquerc'h.
Sebastian Dröge [Tue, 5 Apr 2016 11:49:51 +0000 (14:49 +0300)]
decklinkaudiosrc: Don't accept packets without timestamps after a discont
We have no idea which timestamps they are supposed to have so the only thing
we can do at this point is to drop them. Packets without timestamps happen if
audio was captured but no corresponding video, which shouldn't happen under
normal circumstances.
https://bugzilla.gnome.org/show_bug.cgi?id=747633
Sebastian Dröge [Mon, 4 Apr 2016 19:21:30 +0000 (22:21 +0300)]
decklinkaudiosrc: Don't crash when receiving video frames but no audio
And mark these events as disconts to reset time tracking in the audio source.
https://bugzilla.gnome.org/show_bug.cgi?id=747633
Tim-Philipp Müller [Sat, 8 Aug 2015 14:17:54 +0000 (15:17 +0100)]
decklinkvideosrc: don't crash if we get NULL video frames in the callback
For some reason we seem to sometimes get NULL video_frames in the
::VideoInputFrameArrived() callback, observed on Intensity Pro cards.
https://bugzilla.gnome.org/show_bug.cgi?id=747633
Matthew Waters [Wed, 23 Mar 2016 03:16:11 +0000 (03:16 +0000)]
glvideomixer: add support for the affine transformation meta
Matthew Waters [Wed, 23 Mar 2016 03:14:40 +0000 (03:14 +0000)]
glimagesink: support the affine transformation meta for any texture target
Matthew Waters [Tue, 5 Apr 2016 06:22:49 +0000 (16:22 +1000)]
glmixer: set the current texture to 0 before mapping
If we fail mapping, we don't want to use undefined video data in the subclass.
Patricia Muscalu [Tue, 8 Sep 2015 12:37:57 +0000 (14:37 +0200)]
curlsink: catch an unknown error
In this case the socket callback has not been called
by libcurl and the curlsink has not been notified about any
connection problems by libcurl.
This indicates that it's a bug in libcurl so catch it as
an unknown error.
https://bugzilla.gnome.org/show_bug.cgi?id=754432
Matthew Waters [Mon, 4 Apr 2016 03:43:30 +0000 (13:43 +1000)]
glmixerbin: proxy the start-time-* properties from aggregator
Santiago Carot-Nemesio [Mon, 4 Apr 2016 09:28:35 +0000 (11:28 +0200)]
dtls: Use unique names for internal elements to ease debugging
https://bugzilla.gnome.org/show_bug.cgi?id=748651
Aurélien Zanelli [Sun, 3 Apr 2016 15:56:06 +0000 (17:56 +0200)]
aggregator: remove duplicated test of flow_return in pad_chain_internal
https://bugzilla.gnome.org/show_bug.cgi?id=764549
Kouhei Sutou [Sun, 3 Apr 2016 09:06:20 +0000 (18:06 +0900)]
directsoundsrc: add missing -lole32
CLSIDFromString() requires ole32.dll.
See https://msdn.microsoft.com/en-us/library/windows/desktop/ms680589%28v=vs.85%29.aspx
CLSIDFromString() is introduced at
f9464ce3549c2b3948a582464631ba4f8dd0d5e7 .
https://bugzilla.gnome.org/show_bug.cgi?id=764523
Christoffer Stengren [Thu, 31 Mar 2016 09:21:35 +0000 (11:21 +0200)]
gdpdepay: Query for buffer allocator before using default
https://bugzilla.gnome.org/show_bug.cgi?id=764361
Vivia Nikolaidou [Tue, 22 Mar 2016 17:27:39 +0000 (19:27 +0200)]
interlace: Allow interlaced sink caps, do passthrough
Allow interlace to receive already interlaced content, if compatible with its
configuration. In that case, it will just do passthrough.
https://bugzilla.gnome.org/show_bug.cgi?id=764036
Stefan Sauer [Fri, 1 Apr 2016 19:24:34 +0000 (21:24 +0200)]
README: update to 1.0 and lilv
Stefan Sauer [Fri, 1 Apr 2016 16:33:13 +0000 (18:33 +0200)]
lv2filter: remove the variable for the registry klass tag
Just pass the string when registering.
Stefan Sauer [Fri, 1 Apr 2016 16:31:36 +0000 (18:31 +0200)]
lv2filter: remove copy and paste of doc blob
This doc block is already in gstlv2.c.
Vanessa Chipirras Navalon [Fri, 1 Apr 2016 10:59:19 +0000 (12:59 +0200)]
opencv: segmentation: Ported to OpenCV version 3.1
Add namespace bgsegm, replacement functions and Template class for new
OpenCV versions because these functions have been removed. cvarrToMat() is
added because it is compatible with all versions of OpenCV and the use of
class Mat constructor is eliminated, it is also deprecated in 3.X versions.
Use the namespace cv because some functions are called many times.
This patch keeps compatibility with 2.4
https://bugzilla.gnome.org/show_bug.cgi?id=760473
Sreerenj Balachandran [Fri, 1 Apr 2016 11:12:08 +0000 (14:12 +0300)]
codecparser: vp9: move persistent fields from GstVp9FrameHdr to GstVp9Parser
The subsampling_x, subsampling_y, bit_depth, color_space and color_range
fileds are moved from GstVp9FrameHdr to the global GstVp9Parser structure.
These fields are only present in keyframe or intra-only frame, no need to
duplicate them for inter-frames. This is an ABI change.
https://bugzilla.gnome.org/show_bug.cgi?id=764370
Vanessa Chipirras Navalon [Fri, 1 Apr 2016 10:08:53 +0000 (12:08 +0200)]
opencv: textoverlay: Ported to OpenCV version 3.1
imgproc_c.h is added because CvFont struct needs it in any 3.x version.
We use this structure in GstOpencvTextOverlay. This keeps compatibility
with 2.4.
https://bugzilla.gnome.org/show_bug.cgi?id=760473
Sebastian Dröge [Fri, 1 Apr 2016 08:56:20 +0000 (11:56 +0300)]
h264parse: constrained-baseline is a subset of baseline
We get into this code path if the profile is already constrained-baseline and
downstream does not support constrained-baseline. So we should try baseline
and the other compatible profiles.
https://bugzilla.gnome.org/show_bug.cgi?id=764448
Matthew Waters [Tue, 22 Mar 2016 07:19:03 +0000 (07:19 +0000)]
eglimage: perform eglCreateImage in the gl thread
while calling eglCreateImage without a GL context current in the executing
thread works on the RPi, some other implementations will return errors.
Marshall the eglCreateImage to the GL thread to appease these implementations.
Matthew Waters [Fri, 1 Apr 2016 03:58:56 +0000 (14:58 +1100)]
glviewconvert: support outputting to multiple draw buffers on GLES3
A similar change that was done to glcolorconvert adding the necessary shader
mangling.
Matthew Waters [Thu, 31 Mar 2016 08:50:28 +0000 (19:50 +1100)]
glcolorconvert: implement multiple render targets for GLES3
There are numerous slight differences required between Desktop GL and GLES3 for
multiple render targets.
1. gl_FragData doesn't exist at all and one is required to use
'layout (location = ?) out ...' instead.
2. gl_FragColor doesn't exist, same as 1
3. texture2D() has been deprecated
Fortunately most of these have been taken care of with GL3 and the shader
mangling already exists so just expand the conditions they are used in. The
gl_FragData issue requires a new mangle pass though. We also use this new
pass on desktop GL for consistency.
Thiago Santos [Thu, 31 Mar 2016 21:23:22 +0000 (18:23 -0300)]
tests: mssdemux: do not use gst_object_unref for pure GObject*
Deallocate GObject* with g_object_unref instead of gst_object_unref.
Even if it works now, it is confusing and in the future it might
not work if any GstObject specifics are added.
https://bugzilla.gnome.org/show_bug.cgi?id=762142
Florin Apostol [Tue, 16 Feb 2016 13:55:54 +0000 (13:55 +0000)]
dashdemux: tests: use g_object_unref for test data
The GstDashDemuxTestCase object is allocated using g_object_newv
but in many places was being deallocated using gst_object_unref.
This was caused by commit
ae3ed25025e34ea9b09df59d22d7ebd7294560bc.
https://bugzilla.gnome.org/show_bug.cgi?id=762142
Luis de Bethencourt [Thu, 31 Mar 2016 15:08:12 +0000 (16:08 +0100)]
motioncells: fully construct MotionCells
Some members of MotionCells were not being initialized in the constructor.
Protect from potential garbage memory usage by fully initializing it.
Moving m_frameSize out of the class because it is only used in
performDetectionMotionCells().
CID
1197704
Matthew Waters [Thu, 31 Mar 2016 13:23:25 +0000 (00:23 +1100)]
gl/build: add missing '\' at the end of the line in MakeFile.am
Otherwise the following elements aren't included in the correct variable.
Fixes error in 'make distcheck' failing to find gstgltestsrc.h
Matthew Waters [Thu, 31 Mar 2016 12:07:17 +0000 (23:07 +1100)]
gl/tests/pipelines: add custom _CFLAGS and LDADD
As is done everywhere else.
From what I can gather from make -C tests/check V=1 $(GST_PLUGINS_BAD_CFLAGS) is
required in order to find in-tree headers as well as srcdir != builddir
configurations.
Matthew Waters [Thu, 31 Mar 2016 11:20:01 +0000 (22:20 +1100)]
gl/tests: only build the simple-launch-lines test if we have GL
Matthew Waters [Thu, 31 Mar 2016 09:00:37 +0000 (20:00 +1100)]
glcolorconvert: don't use the predefined variable name sample
Using 'sample' as a variable name is an error in GLES3
Matthew Waters [Tue, 22 Mar 2016 12:10:24 +0000 (23:10 +1100)]
gl/examples: fix switchvideooverlay for wayland
and call XInitThreads() for X11
Matthew Waters [Mon, 21 Mar 2016 04:25:21 +0000 (15:25 +1100)]
gl/examples: remove duplicated videooverlay example
filtervideooverlay proved the exact same example (only with a extra glfiltercube).
Matthew Waters [Mon, 21 Mar 2016 04:23:41 +0000 (15:23 +1100)]
gl/examples/3d: additions for wayland support
Matthew Waters [Thu, 17 Mar 2016 12:51:44 +0000 (23:51 +1100)]
gl/tests: add missing test to the build system
Also update it for the current api
Matthew Waters [Thu, 17 Mar 2016 12:50:00 +0000 (23:50 +1100)]
gldifferencematte: port to gl3/gles2
Matthew Waters [Fri, 26 Feb 2016 09:55:47 +0000 (20:55 +1100)]
gltestsrc: port to gles2/gl3
This makes gltestsrc work everywhere \o/
- workaround RPi returning invalid values for positive coords in the
checker shader
- reduce the number of iterations in the mandelbrot shader for gles2
https://bugzilla.gnome.org/show_bug.cgi?id=751540
Matthew Waters [Fri, 26 Feb 2016 05:57:47 +0000 (16:57 +1100)]
gltestsrc: port smpte pattern to shaders
Loosely based on patch by
Lubosz Sarnecki <lubosz.sarnecki@collabora.co.uk>
https://bugzilla.gnome.org/show_bug.cgi?id=751540
Matthew Waters [Fri, 26 Feb 2016 01:02:15 +0000 (12:02 +1100)]
gltestsrc: implement the circular method
https://bugzilla.gnome.org/show_bug.cgi?id=759801
Matthew Waters [Thu, 25 Feb 2016 10:18:31 +0000 (21:18 +1100)]
gltestsrc: add a generic src framework
Any unsupported pattern (circular) results in an error
Matthew Waters [Mon, 29 Feb 2016 09:15:24 +0000 (20:15 +1100)]
glsterosplit: remove internal glupload/glcolorconvert
They are provided separately as elements and no other element contains the
internal references to glupload/glcolorconvert.
Matthew Waters [Thu, 31 Mar 2016 08:43:04 +0000 (19:43 +1100)]
gl: add support for building against GLES3 headers
with a fallback to GLES2 headers if available.
Matthew Waters [Thu, 31 Mar 2016 08:38:12 +0000 (19:38 +1100)]
glmemory: add checking the read implementation format/type on gles2 platforms
By default, reading GL_RED or GL_RG us unsupported by glReadPixels unless
exposed through GL_COLOR_READ_IMPLEMENTATION_FORMAT/TYPE. This allows
downloading multiple-planar video frames where possible.
Matthew Waters [Thu, 31 Mar 2016 08:35:09 +0000 (19:35 +1100)]
glbasememory: rollback map state when subclass map fails
Otherwise our state doesn't reflect reality.
Matthew Waters [Thu, 31 Mar 2016 08:31:00 +0000 (19:31 +1100)]
glmemorypbo: unmap pbo memory on pbo read error
Otherwise we are returning failure with a dangling map!
Also only unset the NEED_DOWNLOAD flag in download_transfer() if the read actually
succeeds.
Matthew Waters [Thu, 31 Mar 2016 08:25:32 +0000 (19:25 +1100)]
glshader: add glBindFragDataLocation
There are some cases where it's needed for binding in/out variables in shaders.
e.g. glsl 150 (gl 3.2) doesn't support the 'layout (location = ?)' specifiers in
the shader source so we have to bind them ourselves.
Sebastian Dröge [Thu, 31 Mar 2016 09:20:30 +0000 (12:20 +0300)]
adaptivedemux: Handle find_stream_for_pad() without g_assert_not_reached() if no pad is found
Happens e.g. if a RECONFIGURE event is sent from downstream while we're
switching pads at this very moment. The old pad is gone and the stream has a
new pad.
https://bugzilla.gnome.org/show_bug.cgi?id=764404
Matthew Waters [Wed, 30 Mar 2016 14:21:42 +0000 (01:21 +1100)]
nvenc: add support for building against version 6 of the SDK
While mostly API compatible, the ABI has changed so binaries will not work
across header versions (and ultimately nvidia driver releases).
https://bugzilla.gnome.org/show_bug.cgi?id=763324
Vanessa Chipirras Navalon [Wed, 30 Mar 2016 21:34:59 +0000 (22:34 +0100)]
opencv: pyramidsegment: delete element
cvPyrSegmentation() has been deprecated in OpenCV 3.0, and there isn't any
function to replace it. Deleting this element so we can support OpenCV 3.1
without build issues.
https://bugzilla.gnome.org/show_bug.cgi?id=760473
Vanessa Chipirras Navalon [Tue, 26 Jan 2016 15:52:37 +0000 (16:52 +0100)]
opencv: gstcvsmooth: Ported to OpenCV version 3.1
cvarrToMat() is added because it is compatible with all versions of Opencv
and the use the class constructor Mat is eliminated because is deprecated
in 3.X versions. This keeps compatibility with 2.4.
https://bugzilla.gnome.org/show_bug.cgi?id=760473
Vanessa Chipirras Navalon [Wed, 27 Jan 2016 09:05:13 +0000 (10:05 +0100)]
opencv: grabcut: Ported to OpenCV version 3.1
cvarrToMat() is added because it is compatible with all versions of Opencv
and using the class Mat constructor is eliminated, because is deprecated
in 3.X versions. The use the using namespace cv because is called some
functions many times. This keeps compatibility with 2.4.
https://bugzilla.gnome.org/show_bug.cgi?id=760473
Vanessa Chipirras Navalon [Wed, 27 Jan 2016 14:37:39 +0000 (15:37 +0100)]
opencv: faceblur: Ported to OpenCV version 3.1
cvarrToMat() is added because it is compatible with all versions of Opencv
and the use of the class constructor Mat is eliminated because is deprecated
in 3.X versions. Included 'using namespace std' because it is needed for the
Vector class in 3.X versions. This keeps compatibility with 2.4.
https://bugzilla.gnome.org/show_bug.cgi?id=760473
Vanessa Chipirras Navalon [Wed, 27 Jan 2016 14:51:37 +0000 (15:51 +0100)]
opencv: handdetect: Ported to OpenCV version 3.1
cvarrToMat() is added because it is compatible with all versions of Opencv
and the use of the class constructor Mat is eliminated because is deprecated
in 3.X versions. Included 'using namespace std' because it is needed for the
vector class in 3.X versions. This keeps compatibility with 2.4.
https://bugzilla.gnome.org/show_bug.cgi?id=760473
Vanessa Chipirras Navalon [Wed, 27 Jan 2016 15:51:13 +0000 (16:51 +0100)]
opencv: retinex: Ported to OpenCV version 3.1
cvarrToMat() is added because it is compatible with all versions of Opencv
and using the class constructor Mat is eliminated because is deprecated
in 3.X versions. This keeps compatibility with 2.4.
https://bugzilla.gnome.org/show_bug.cgi?id=760473
Vanessa Chipirras Navalon [Thu, 28 Jan 2016 15:19:46 +0000 (16:19 +0100)]
opencv: disparity: Ported to OpenCV version 3.1
'METHOD_VAR', 'METHOD_GC' is removed because there aren't equivalent functions
in new OpenCV versions. 'img_right_as_cvMat_rgb', 'img_left_as_cvMat_rgb' and
'depth_map_as_cvMat2' variables is removed because these aren't used.
cvarrToMat() is added because it is compatible with all versions of Opencv
and using the class Mat constructor is eliminated, because is deprecated
in 3.X versions. The use 'using namespace cv' because is called some
functions many times. This keeps compatibility with 2.4.
https://bugzilla.gnome.org/show_bug.cgi?id=760473
Vanessa Chipirras Navalon [Mon, 1 Feb 2016 12:58:49 +0000 (13:58 +0100)]
opencv: skindetect: Ported to OpenCV version 3.1
cvCVPixToPlane() has been deprecated in OpenCV 3.0, and there is
function to replace it cvSplit(). The include compat.hpp is deleted because
in 3.X versions doen't exist and it isn't necessary for 2.4.X versions
in this element. This keeps compatibility with 2.4.
https://bugzilla.gnome.org/show_bug.cgi?id=760473
Vanessa Chipirras Navalon [Thu, 28 Jan 2016 16:40:51 +0000 (17:40 +0100)]
opencv: Ported to OpenCV version 3.1 OpenCV
configure.ac was changed to work with new versions of OpenCV 3.X.
A new include is added gstopencvutils.cpp because it contains
the previous. This keeps compatibility with 2.4.
https://bugzilla.gnome.org/show_bug.cgi?id=760473
Sebastian Dröge [Wed, 30 Mar 2016 07:34:07 +0000 (10:34 +0300)]
ahcsrc: There's no point in read-only CONSTRUCT properties
And creating one is causing assertions. Also get rid of the other CONSTRUCT
property as it's a) unneeded for default initialization and b) you're not
supposed to use constructor properties when creating element instances and the
GStreamer API doesn't provide direct ways for doing so.
https://bugzilla.gnome.org/show_bug.cgi?id=764339
Edward Hervey [Mon, 7 Mar 2016 13:57:35 +0000 (14:57 +0100)]
teletexdec: Simplify negotiation code
No need to use a while() loop if we're going only going to use
the first structure of the caps ...
CID #
1341748
Sebastian Dröge [Mon, 28 Mar 2016 10:52:07 +0000 (13:52 +0300)]
aggregator: Fix leak in unit test
GST_PAD_PROBE_HANDLED means that we should've unreffed the probe data,
it was handled by us in one way or another.
Nirbheek Chauhan [Mon, 28 Mar 2016 03:16:10 +0000 (08:46 +0530)]
.gitignore: Ignore some more test temporary files
Nirbheek Chauhan [Mon, 28 Mar 2016 03:15:45 +0000 (08:45 +0530)]
tests/compositor: Add test for aggregator pad numbering
Tests that the behaviour in
7a5cb5a473 is being conformed to.
Nirbheek Chauhan [Sun, 27 Mar 2016 13:36:50 +0000 (19:06 +0530)]
aggregator: Fix strcmp test for sink template
Nirbheek Chauhan [Sun, 27 Mar 2016 13:11:30 +0000 (18:41 +0530)]
aggregator: Don't try to be too smart while allocating pad names
Previously, while allocating the pad number for a new pad, aggregator was
maintaining an interesting relationship between the pad count and the pad
number.
If you requested a sink pad called "sink_6", padcount (which is badly named and
actually means number-of-pads-minus-one) would be set to 6. Which means that if
you then requested a sink pad called "sink_0", it would be assigned the name
"sink_6" again, which fails the non-uniqueness test inside gstelement.c.
This can be fixed by instead setting padcount to be 7 in that case, but this
breaks manual management of pad names by the application since it then becomes
impossible to request a pad called "sink_2". Instead, we fix this by always
directly using the requested name as the sink pad name. Uniqueness of the pad
name is tested separately inside gstreamer core. If no name is requested, we use
the next available pad number.
Note that this is important since the sinkpad numbering in aggregator is not
meaningless. Videoaggregator uses it to decide the Z-order of video frames.
Thibault Saunier [Tue, 23 Feb 2016 14:11:36 +0000 (15:11 +0100)]
lv2: Port filters to GStreamer 1.0 and use lilv instead of slv2
Properly separate files as we will not have only one single base class
for all elements as we used to with 0.10, but the same way it is done
with ladspa, we subclass GstAudioFilter, GstBaseSource etc...
https://bugzilla.gnome.org/show_bug.cgi?id=678207
Nirbheek Chauhan [Sun, 27 Mar 2016 08:59:58 +0000 (14:29 +0530)]
gtk: Fix logging in base widget and fix desc of GL sink
Set a default category for gtkgstbasewidget lest the logging go to the 'default'
category where it can't be found easily
Yann Jouanin [Sun, 27 Mar 2016 01:11:45 +0000 (03:11 +0200)]
rtmpsrc plugin : add timeout option
https://bugzilla.gnome.org/show_bug.cgi?id=764251
Sebastian Dröge [Fri, 18 Mar 2016 11:35:37 +0000 (13:35 +0200)]
mxfmux: Instead of releasing request pads on stop(), clear them only
Request pads are requested by applications and as such should only be released
by them again. Instead of releasing them when stopping the muxer, just clear
their state so that they can be used again when starting the muxer again.
https://bugzilla.gnome.org/show_bug.cgi?id=763862
Sebastian Dröge [Sat, 5 Mar 2016 07:47:27 +0000 (09:47 +0200)]
player: Add is_live flag to the GstPlayerMediaInfo
https://bugzilla.gnome.org/show_bug.cgi?id=763126
Sebastian Dröge [Mon, 29 Feb 2016 09:39:54 +0000 (11:39 +0200)]
sdp: Add new sdpsrc element
This can read from an SDP file or get the SDP data via property. Works
around the problem that sdpdemux inside decodebin fails because the
GST_STATE_CHANGE_NO_PREROLL is not observed by the pipeline.
See https://bugzilla.gnome.org/show_bug.cgi?id=702495
https://bugzilla.gnome.org/show_bug.cgi?id=762860
Matthew Waters [Fri, 25 Mar 2016 06:49:14 +0000 (17:49 +1100)]
gtk/gl: don't assert when gdk doesn't provide a GL context
Allows the application to check whether gtkglsink is supported by setting
the element to READY.
https://bugzilla.gnome.org/show_bug.cgi?id=764148
Thiago Santos [Mon, 7 Mar 2016 22:41:19 +0000 (19:41 -0300)]
mpegtsbase: plug EIT string leak
Thiago Santos [Mon, 7 Mar 2016 22:06:19 +0000 (19:06 -0300)]
dvbbasebin: unref pat table after usage
Remember to unref the GPtrArray of the PAT table after
use
Thiago Santos [Fri, 4 Mar 2016 23:05:38 +0000 (20:05 -0300)]
dvbbasebin: plug some leaks
Plug various leaks in dvbbasebin.
Thiago Santos [Thu, 3 Mar 2016 14:31:01 +0000 (11:31 -0300)]
mpegtspacketizer: simplify variable reset
Just set it directly to 0, instead of checking and reseting
Thiago Santos [Tue, 1 Mar 2016 21:21:12 +0000 (18:21 -0300)]
dvbsrc: print time in same format
Makes it easier to compare
Martin Kelly [Tue, 15 Mar 2016 23:22:59 +0000 (16:22 -0700)]
ahc: use g_slice_new instead of g_slice_new0
In many cases, we use g_slice_new0 and then immediately overwrite the
allocated memory. This is inefficient. Since we're going to immediately
overwrite it, we might as well use plain g_slice_new.
https://bugzilla.gnome.org/show_bug.cgi?id=763998
Vineeth TM [Wed, 9 Mar 2016 23:50:28 +0000 (08:50 +0900)]
d3dvideosink: post message to application for unhandled keyboard/mouse events
https://bugzilla.gnome.org/show_bug.cgi?id=763403
Vineeth TM [Wed, 9 Mar 2016 23:49:01 +0000 (08:49 +0900)]
dfbvideosink: post message to application for unhandled keyboard/mouse events
https://bugzilla.gnome.org/show_bug.cgi?id=763403
Vineeth TM [Wed, 9 Mar 2016 23:44:57 +0000 (08:44 +0900)]
gtkbasesink: post message to application for unhandled keyboard/mouse events
https://bugzilla.gnome.org/show_bug.cgi?id=763403
Justin Kim [Thu, 3 Mar 2016 11:10:16 +0000 (20:10 +0900)]
ahcsrc: remove probe_properties
It's a residue of 0.10.
https://bugzilla.gnome.org/show_bug.cgi?id=763100
Vineeth TM [Fri, 4 Mar 2016 06:50:26 +0000 (15:50 +0900)]
bad: use new gst_element_class_add_static_pad_template()
https://bugzilla.gnome.org/show_bug.cgi?id=763081
Martin Kelly [Tue, 8 Mar 2016 01:23:23 +0000 (17:23 -0800)]
ahc: eliminate AHC*_CALL macros
Currently, we use AHC*_CALL macros to call many of the Camera functions.
However, we already have helper classes to call the Camera functions, so
eliminate the macros.
As a nice side-benefit, we also get improved error handling and
reporting when something goes wrong calling these functions, because a
GError gets populated, and we log a GST_ERROR when something fails. This
was harder to do using macros, as all error handling was hidden from the
caller.
https://bugzilla.gnome.org/show_bug.cgi?id=763065