Luis de Bethencourt [Sun, 4 May 2014 01:05:19 +0000 (21:05 -0400)]
gl/examples/generic: remove trailing whitespaces
Sebastian Dröge [Sat, 3 May 2014 18:48:33 +0000 (20:48 +0200)]
Back to development
Sebastian Dröge [Sat, 3 May 2014 16:16:21 +0000 (18:16 +0200)]
Release 1.3.1
Sebastian Dröge [Sat, 3 May 2014 16:16:07 +0000 (18:16 +0200)]
Update .po files
Sebastian Dröge [Sat, 3 May 2014 17:45:37 +0000 (19:45 +0200)]
examples: Fix CFLAGS in clutter GL examples
Sebastian Dröge [Sat, 3 May 2014 17:42:37 +0000 (19:42 +0200)]
examples: Add all gl subdirs to DIST_SUBDIRS to fix the build
Sebastian Dröge [Sat, 3 May 2014 15:24:17 +0000 (17:24 +0200)]
po: Update translations
Sebastian Dröge [Sat, 3 May 2014 11:12:40 +0000 (13:12 +0200)]
mfc: Remove mfc plugin, it is obsoleted by the v4l2videodec element from gst-plugins-good
Sebastian Dröge [Sat, 3 May 2014 10:02:27 +0000 (12:02 +0200)]
mpegtsmux: Use complete caps for setting up the streams in the test
Sebastian Dröge [Sat, 3 May 2014 08:15:16 +0000 (10:15 +0200)]
Automatic update of common submodule
From bcb1518 to 211fa5f
Per x Johansson [Wed, 19 Mar 2014 08:22:08 +0000 (09:22 +0100)]
watchdog: Add handling of PAUSED state
Also allow disabling the timeout by setting it to 0.
https://bugzilla.gnome.org/show_bug.cgi?id=726156
Olivier Crête [Fri, 2 May 2014 21:27:56 +0000 (17:27 -0400)]
srtpenc: Add config for the replay window size
Olivier Crête [Fri, 2 May 2014 21:24:47 +0000 (17:24 -0400)]
srtpenc: Remove unused object members
Olivier Crête [Fri, 2 May 2014 21:19:21 +0000 (17:19 -0400)]
srtpenc: Remove useless structure
Remove now useless structure
Olivier Crête [Fri, 2 May 2014 21:14:14 +0000 (17:14 -0400)]
srtpenc: Remove ssrc parsing from stream
It's no longer used
Olivier Crête [Fri, 2 May 2014 21:13:54 +0000 (17:13 -0400)]
srtpenc: Remove SSRC from signal, it's meaningless
Olivier Crête [Fri, 2 May 2014 21:07:21 +0000 (17:07 -0400)]
srtpenc: Set the SRTP key as a shared key for all SSRCs
This is already how it was used.
Blake Tregre [Fri, 2 May 2014 12:20:58 +0000 (14:20 +0200)]
rfbsrc: Send stream-start event in the beginning
https://bugzilla.gnome.org/show_bug.cgi?id=726802
Sebastian Dröge [Fri, 2 May 2014 08:44:41 +0000 (10:44 +0200)]
hlsdemux: Update for URI downloader API changes
And make sure to set refresh=TRUE when updating the playlist.
Sebastian Dröge [Fri, 2 May 2014 08:43:06 +0000 (10:43 +0200)]
mssdemux: Update for URI downloader API changes
And include the manifest file as referer in requests, and make sure
to set refresh=TRUE when updating the manifest.
Sebastian Dröge [Fri, 2 May 2014 08:39:22 +0000 (10:39 +0200)]
dashdemux: Update for URI downloader API changes
And include the MPD file as referer in requests, and make sure
to set refresh=TRUE when updating the MPD.
Sebastian Dröge [Fri, 2 May 2014 08:36:21 +0000 (10:36 +0200)]
uridownloader: Add refresh parameter to hint caches that they should check if they're up to date
Matthew Waters [Fri, 2 May 2014 05:56:59 +0000 (15:56 +1000)]
gl: use the bufferpool's upload when available
Avoids duplicating GL resources
https://bugzilla.gnome.org/show_bug.cgi?id=728872
Julien Isorce [Fri, 2 May 2014 04:57:00 +0000 (05:57 +0100)]
gl: show internal cocoa window on top of others
Useful when your OSX terminal is fullscreen
https://bugzilla.gnome.org/show_bug.cgi?id=728127
Julien Isorce [Fri, 2 May 2014 04:51:36 +0000 (05:51 +0100)]
gl: pass NSView instead of NSWindow in cocoa-videooverlay example
https://bugzilla.gnome.org/show_bug.cgi?id=728451
Julien Isorce [Fri, 2 May 2014 04:50:18 +0000 (05:50 +0100)]
gl: add copyright to cocoa example
Julien Isorce [Fri, 2 May 2014 04:46:18 +0000 (05:46 +0100)]
gl: rename cocoa example and move it to its parent directory
Julien Isorce [Fri, 2 May 2014 04:29:41 +0000 (05:29 +0100)]
gl: remove unuseful README for cocoa example
Matthew Waters [Thu, 1 May 2014 06:07:05 +0000 (16:07 +1000)]
gl/pool: init the upload object on start
Theoretically, set_config could be called multiple times
Olivier Crête [Thu, 1 May 2014 23:16:35 +0000 (19:16 -0400)]
srtpdec: Only clear streams if they have been created
Olivier Crête [Thu, 1 May 2014 23:10:43 +0000 (19:10 -0400)]
srtpdec: Use object debug
Sebastian Dröge [Thu, 1 May 2014 13:59:28 +0000 (15:59 +0200)]
hlsdemux: Always succeed the LATENCY event
Upstream and our internal source is irrelevant for the latency
and we don't want the LATENCY event to ever fail.
Sebastian Dröge [Thu, 1 May 2014 13:56:55 +0000 (15:56 +0200)]
hlsdemux: Reset the last flow return before restarting the internal source
Otherwise we will never recover from previous errors, and especially
will never start again after a flushing seek if downstream returned
GST_FLOW_FLUSHING to us.
Sebastian Dröge [Thu, 1 May 2014 13:29:37 +0000 (15:29 +0200)]
hlsdemux: Only set PTS on the first buffer of a fragment instead of setting the same on all of them
Thiago Santos [Wed, 30 Apr 2014 20:59:28 +0000 (17:59 -0300)]
hlsdemux: Always flush the internal proxy pads before downloading
hlsdemux can't rely on the source to push flushes on a seek on ready
as that might not make sense. So always resort to flushing the
internal proxy pads by pushing flush events from the source's src pad.
Also as the seeking is not required anymore, only seek if there is
really a byte range to be used. And store a ref to the source's
src pad to avoid doing get_static_pad for every fragment.
Sebastian Dröge [Thu, 1 May 2014 12:36:54 +0000 (14:36 +0200)]
gl: Try harder to load symbols from the correct place
This commit makes the loading of the GModules threadsafe, and
always first tries to load the symbol for the GL library that
is selected for the current context. Only then it falls back
to looking into the current module (NULL), and only as a last
resort the context specific function (e.g. eglGetProcAddress())
is called.
Also add configure parameters to select the names of the library
modules instead of using the defaults, and let the defaults be
independent of the G_MODULE_SUFFIX.
https://bugzilla.gnome.org/show_bug.cgi?id=728753
Matthew Waters [Thu, 1 May 2014 04:11:00 +0000 (14:11 +1000)]
glcolorscale: fix operation with dual GL, GLES2 libgstgl
Matthew Waters [Thu, 1 May 2014 03:57:16 +0000 (13:57 +1000)]
gl/mem: implement texture copying between formats with strides properly
Previously, we used the width to determine the amount of data to be
copied using pbos. This, makes it allocate enough data for the
the strides as well.
Matthew Waters [Thu, 1 May 2014 02:51:06 +0000 (12:51 +1000)]
gl/mem: pad the public struct
Nicolas Dufresne [Wed, 30 Apr 2014 17:37:27 +0000 (18:37 +0100)]
gl: no need to provide full lib path to load symbols
- Make gstgl work on Mali
- Keep it work on RPI
- fallback to NULL name module if fails with usual lib name
https://bugzilla.gnome.org/show_bug.cgi?id=728753
Vincent Penquerc'h [Wed, 30 Apr 2014 09:05:15 +0000 (10:05 +0100)]
kate: avoid read buffer overflow in crafted stream
Coverity 1208777
Julien Isorce [Wed, 30 Apr 2014 16:30:06 +0000 (17:30 +0100)]
glcolorscale: use a shader on GLESv2
Otherwise you only see black frames
Fix https://bugzilla.gnome.org/show_bug.cgi?id=728947
Julien Isorce [Wed, 30 Apr 2014 14:30:53 +0000 (15:30 +0100)]
glimagesink: use new helper function to avoid duplicating default shader text
Julien Isorce [Wed, 30 Apr 2014 14:28:35 +0000 (15:28 +0100)]
gleffects: use new helper functions to avoid duplicating the same vertex shader text
And also use the default fragment shader text for the identity effect
Julien Isorce [Wed, 30 Apr 2014 14:20:23 +0000 (15:20 +0100)]
gl: add convenient functions to setup default vertex and fragment shaders
Most of our 2D filters use the same simple vertex shader.
Also define the default fragment shader as the identity.
Avoid duplicating the same vertex and fragment shader text.
Sebastian Dröge [Wed, 30 Apr 2014 06:53:19 +0000 (08:53 +0200)]
hlsdemux: Only unref pending buffer if there is one
Thiago Santos [Tue, 29 Apr 2014 21:15:05 +0000 (18:15 -0300)]
hlsdemux: Do not push last buffer after error
In decryption scenario, a buffer is always stored to be sent later
to wait for more data or EOS to be able to strip the final bytes
if requested. In case an error hapenned this buffer can be ignored
and not pushed downstream.
Thiago Santos [Tue, 29 Apr 2014 21:14:29 +0000 (18:14 -0300)]
hlsdemux: flush the adapter in the end of a fragment
In case of error there might be some data left in the
adapter when EOS is received. Clear the adapter to be
able to restart again later if requested.
Thiago Santos [Tue, 29 Apr 2014 21:14:14 +0000 (18:14 -0300)]
hlsdemux: handle more error cases
Handle some more error cases:
1) When the source element fails to go to ready
2) When decryption fails
3) When there is no source to handle a specific URI
4) When the URI is invalid
Thiago Santos [Tue, 29 Apr 2014 18:19:51 +0000 (15:19 -0300)]
hlsdemux: handle errors from internal source
Set up a message handling function to catch errors from the internal
source and store the last return code to identify error situations
when returning from a fragment download.
Also moves the duration increase to after the download when we
know if it was successful or not
Thiago Santos [Tue, 29 Apr 2014 18:17:00 +0000 (15:17 -0300)]
hlsdemux: Improve pad switching conditions
When using the internal source, hlsdemux doesn't know the caps of
the input before adding the pad, so remove the arguments that would
use that as it is always NULL.
And use an specific flag to signal when a pad switch is required.
Using the discont flag is a bad idea now because when a fragment
download fails it will lead to exposing a pad group without any
data, causing decodebin to abort.
Thiago Santos [Mon, 28 Apr 2014 23:01:48 +0000 (20:01 -0300)]
hlsdemux: properly flush decryption status on seeks
Avoids mixing decryption of different fragments when seeking happens
and leading to broken stream output.
Thiago Santos [Mon, 28 Apr 2014 22:10:02 +0000 (19:10 -0300)]
hlsdemux: Track fragments duration
When receving EOS from the internal src, increase the current positon
by the fragment duration to allow correct restoring of download position
if the bitrate changes
Thiago Santos [Fri, 25 Apr 2014 15:55:54 +0000 (12:55 -0300)]
hlsdemux: properly stop tasks by stopping fragment download
Issue a signal to the fragment download cond to stop
the task earlier
Thiago Santos [Fri, 25 Apr 2014 13:40:50 +0000 (10:40 -0300)]
hlsdemux: decrypt before typefinding
Make sure typefinding gets the decrypted content instead of
trying to typefind the encrypted data.
Thiago Santos [Fri, 25 Apr 2014 13:39:19 +0000 (10:39 -0300)]
hlsdemux: fix decryption function return
Correctly return the decrypted buffer when it succeeds and
return NULL otherwise
Thiago Santos [Tue, 22 Apr 2014 23:19:54 +0000 (20:19 -0300)]
hlsdemux: keep connection alive between downloads
Use the same properties as uridownloader to keep connections alive
between consecutive fragments downloads.
1) set keep-alive property to true
2) keep the element in READY instead of in NULL
Thiago Santos [Wed, 16 Apr 2014 23:02:35 +0000 (20:02 -0300)]
hlsdemux: create sources from uri
Instead of using always an http source, create it dynamically from
uri when needed. If not needed just replace the URI on the current
element
Thiago Santos [Wed, 16 Apr 2014 21:04:05 +0000 (18:04 -0300)]
hlsdemux: do not try to run typefind again if caps is the same
Always reset the do_typefind flag if hls did typefind because
trying it on non-zero offsets doesn't make sense and will cause
assertions
Thiago Santos [Wed, 16 Apr 2014 09:12:42 +0000 (06:12 -0300)]
hlsdemux: enable download bitrate measure
Measure the download bitrate to be able to select
the best playlist.
As the buffers are directly pushed downstream and it
might block. The time is only measured from the download
until the pad push and it is started again after the push
returns.
Thiago Santos [Tue, 8 Apr 2014 20:31:32 +0000 (17:31 -0300)]
hlsdemux: re-enable decryption after uridownloader removal
Now the decryption is done buffer by buffer instead of on the
whole fragment at once. As it expects multiples of 16 bytes a
GstAdapter was added to properly chunk the buffers.
Also the last buffer must be resized depending on the value of the
last byte of the fragment, so hlsdemux always keeps a pending buffer
as it doesn't know if it is the last one yet
Thiago Santos [Mon, 7 Apr 2014 16:57:26 +0000 (13:57 -0300)]
hlsdemux: replace uridownloader with a GstElement
The GstElement is directly linked into a ghost pad and
its buffers are pushed as received downstream. This way the
buffers are small enough and not a whole fragment that usually
causes extra latency and makes buffering harder
Philippe Normand [Tue, 29 Apr 2014 18:24:08 +0000 (19:24 +0100)]
gl: add missing G_BEGIN/END_DECLS in utils header
Thiago Santos [Tue, 29 Apr 2014 16:21:27 +0000 (13:21 -0300)]
examples: gl: add missing entry to cflags to find gst/gl/gl.h
Otherwise build fails
Stefan Sauer [Tue, 29 Apr 2014 14:44:59 +0000 (16:44 +0200)]
tests: drop direct include
It is only allowed to include gdk/gdkx.h and that will bring all the x11 things.
Stefan Sauer [Mon, 6 Jan 2014 21:13:21 +0000 (22:13 +0100)]
sndfile: send a toc for the segments in the audio file
Haakon Sporsheim (ieei) [Tue, 29 Apr 2014 15:06:00 +0000 (15:06 +0000)]
h264parse: unref/replace force_key_unit_event in gst_h264_parse_reset
https://bugzilla.gnome.org/show_bug.cgi?id=729200
Jan Schmidt [Tue, 29 Apr 2014 12:18:14 +0000 (22:18 +1000)]
gl/sdl example: Fix uninstalled build
Jan Schmidt [Wed, 23 Apr 2014 10:29:47 +0000 (20:29 +1000)]
gl: Reduce noisy Info level output to LOG
Matthew Waters [Tue, 29 Apr 2014 08:32:22 +0000 (18:32 +1000)]
gl/examples/sdl: update for the latest gstgl changes
Matthew Waters [Tue, 29 Apr 2014 06:38:55 +0000 (16:38 +1000)]
gl/examples: move to -bad
- fix all the compiler errors
- give them their own gl directory
Julien Isorce [Mon, 28 Apr 2014 14:56:06 +0000 (15:56 +0100)]
egl: remove pc files
Forgot to do that in
09116bf10d515d50bdd1e9a20278be816cb762aa:
"egl/eglglessink: remove since EGLImage and iOS support have been added in glimagesink"
Julien Isorce [Mon, 28 Apr 2014 14:52:41 +0000 (15:52 +0100)]
gl: append GL_LIB and GL_CFLAGS in pc files
Julien Isorce [Mon, 28 Apr 2014 14:47:27 +0000 (15:47 +0100)]
gl: append EGL_LIB to GL_LIB
Julien Isorce [Mon, 28 Apr 2014 14:15:20 +0000 (15:15 +0100)]
gl: use gst_gl_platform_from_string because we support gl shareList on all platforms
Julien Isorce [Mon, 28 Apr 2014 14:07:34 +0000 (15:07 +0100)]
glfilter: only warn when other_context attribute is set
Fix false positive
Julien Isorce [Mon, 28 Apr 2014 13:54:21 +0000 (14:54 +0100)]
gl: fix string literal warning
warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
Sebastian Dröge [Mon, 28 Apr 2014 08:12:52 +0000 (10:12 +0200)]
uridownloader: Unset referer if none was specified later on
Sebastian Dröge [Mon, 28 Apr 2014 07:32:54 +0000 (09:32 +0200)]
hlsdemux: Set Referer in requests to the playlist URI
Sebastian Dröge [Mon, 28 Apr 2014 07:23:34 +0000 (09:23 +0200)]
uridownloader: Add API to specify the referer of a request
Gwenole Beauchesne [Sun, 27 Apr 2014 21:29:41 +0000 (23:29 +0200)]
codecparsers: h264: fix parsing of slice groups for map type = 2.
When parsing slice groups information for slice_group_map_type = 2, we
should only be reading up to num_slice_groups_minus1 groups since there
is always a "leftover" slice group and as many "foreground" slice groups
as needed.
This fixes parsing for SVCBMT-5 and SVCBMT-12 whereby the base layer would
have incorrectly been parsed to have up to 38 reference frames in list0,
which is not possible.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Nicolas Dufresne [Sun, 27 Apr 2014 13:25:50 +0000 (09:25 -0400)]
decklink: Don't fail if HW does not have all interfaces
This patch completes
1c1cc73a3b230454663971656515297f9ee8bd9f. These
changes where accidentally pushed as a separate patch with wrong commit
message.
https://bugzilla.gnome.org/show_bug.cgi?id=7273
Tim-Philipp Müller [Sun, 27 Apr 2014 12:09:52 +0000 (13:09 +0100)]
Revert "y4mdec: check for VIDEO meta instead of CROP meta"
This reverts commit
68309bd21592a96dc8241702f17ded4e5f545f33.
Commit message and files changed do not match.
Tim-Philipp Müller [Sat, 26 Apr 2014 23:36:32 +0000 (00:36 +0100)]
docs: remove outdated and pointless 'Last reviewed' lines from docs
They are very confusing for people, and more often than not
also just not very accurate. Seeing 'last reviewed: 2005' in
your docs is not very confidence-inspiring. Let's just remove
those comments.
Gwenole Beauchesne [Sat, 26 Apr 2014 06:08:57 +0000 (08:08 +0200)]
codecparsers: h264: fix derivation of default scaling lists.
When useDefaultScalingMatrixFlag is computed to be 1 while parsing
scaling_list(), then the scaling list shall be inferred to be equal
to the default list (7.4.2.1.1.1). That default list is really one
of Default_4x4_{Intra,Inter} or Default_8x8_{Intra,Inter} and not
one from fall-back rule sets A or B.
This fixes parsing for FRExt1_Panasonic_D, FRExt2_Panasonic_C,
FRExt3_Panasonic_E and FRExt4_Panasonic_B.
https://bugzilla.gnome.org/show_bug.cgi?id=724518
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Sebastian Rasmussen [Tue, 15 Apr 2014 23:50:16 +0000 (01:50 +0200)]
curl*sink: report errors from curl when setting options
https://bugzilla.gnome.org/show_bug.cgi?id=728960
Sebastian Rasmussen [Tue, 15 Apr 2014 21:53:32 +0000 (23:53 +0200)]
curl*sink: post error on bus in element, not transfer thread
https://bugzilla.gnome.org/show_bug.cgi?id=728960
Sebastian Rasmussen [Tue, 22 Apr 2014 20:26:32 +0000 (22:26 +0200)]
curlhttpsink: allow for unconditionally disabling proxying
Previously if the proxy server hostname was the empty string
curlhttpsink would never even set the libcurl option. For libcurl
however, having a proxy server hostname be the empty string means that
proxying should be disabled even if environment variables might be set.
Now with the restriction lifted, doing this is allowed.
https://bugzilla.gnome.org/show_bug.cgi?id=728960
Sebastian Rasmussen [Tue, 22 Apr 2014 20:26:56 +0000 (22:26 +0200)]
curl*sink: improve return value checks in test cases
https://bugzilla.gnome.org/show_bug.cgi?id=728960
Sebastian Rasmussen [Tue, 22 Apr 2014 20:26:12 +0000 (22:26 +0200)]
curl*sink: fix typos
https://bugzilla.gnome.org/show_bug.cgi?id=728960
Sebastian Rasmussen [Tue, 15 Apr 2014 23:50:03 +0000 (01:50 +0200)]
curl*sink: fix some gst-indent problems
https://bugzilla.gnome.org/show_bug.cgi?id=728960
Luis de Bethencourt [Fri, 25 Apr 2014 20:18:07 +0000 (16:18 -0400)]
gl: check the correct GstGLMemory in basic_test
Sebastian Dröge [Fri, 25 Apr 2014 15:40:56 +0000 (17:40 +0200)]
mpegtsmux: Only require alignment and stream-format for h264, parsed is implicit
Sebastian Dröge [Fri, 25 Apr 2014 12:41:27 +0000 (14:41 +0200)]
uridownloader: Set source state to NULL if downloading failed for whatever reason
Nicolas Dufresne [Thu, 24 Apr 2014 17:59:35 +0000 (13:59 -0400)]
gl/x11: Removed unused variable
Sebastian Dröge [Thu, 24 Apr 2014 16:33:03 +0000 (18:33 +0200)]
gl/x11: Get rid of unneeded second display connection and do everything from the main loop
Sebastian Dröge [Thu, 24 Apr 2014 16:28:34 +0000 (18:28 +0200)]
gl/x11: Block rendering until swapbuffers is called and don't go via X11 events as unneeded indirection
This should fix QoS problems, where basesink believed it was rendering with
20FPS but actually we were just queueing up X11 Expose events and only once
in a while something was rendered.
Julien Isorce [Thu, 24 Apr 2014 15:05:32 +0000 (16:05 +0100)]
gl: fails glimagesink when shader compilation went wrong
Those shaders are fixed and very simple so it should not fail
but it's worth to handle a such case.
Julien Isorce [Thu, 24 Apr 2014 14:36:47 +0000 (15:36 +0100)]
gl: call glClearColor before glClear
Josep Torra [Thu, 24 Apr 2014 14:33:56 +0000 (16:33 +0200)]
pkgconfig: fix gstreamer-gl uninstalled
Ensure to provide libgstgl also in the uninstalled setup.
Fixes build of gst-omx for RPI in uninstalled setup.