platform/upstream/gstreamer.git
8 years agogl/examples: add a live shader demo using the new GstGLSLStage
Matthew Waters [Fri, 16 Oct 2015 14:08:29 +0000 (01:08 +1100)]
gl/examples: add a live shader demo using the new GstGLSLStage

Implemented with videotestsrc ! glshader ! glupload ! gtkglsink

Errors on an invalid shader compilation are ignored however any error
provided by the glsl compiler is printed to stdout.

8 years agosrtpdec: skip padding when mapping RTP packets
Miguel París Díaz [Thu, 15 Oct 2015 22:23:56 +0000 (00:23 +0200)]
srtpdec: skip padding when mapping RTP packets

https://bugzilla.gnome.org/show_bug.cgi?id=756653

8 years agoamcvideodec: Properly forward the return value of gst_video_decoder_negotiate()
Sebastian Dröge [Wed, 14 Oct 2015 16:32:07 +0000 (19:32 +0300)]
amcvideodec: Properly forward the return value of gst_video_decoder_negotiate()

https://bugzilla.gnome.org/show_bug.cgi?id=756578

8 years agoamcvideodec: Implement support for COLOR_QCOM_FormatYVU420SemiPlanar32mMultiView...
Sebastian Dröge [Wed, 14 Oct 2015 16:24:22 +0000 (19:24 +0300)]
amcvideodec: Implement support for COLOR_QCOM_FormatYVU420SemiPlanar32mMultiView for decoding

https://bugzilla.gnome.org/show_bug.cgi?id=756578

8 years agoglslstage: add brackets around pointer dereference referencing an array
Matthew Waters [Thu, 15 Oct 2015 15:57:19 +0000 (02:57 +1100)]
glslstage: add brackets around pointer dereference referencing an array

While technically, i is always 0 and *vertex_sources[i++] is equivalant
to (*vertex_sources)[i++].  Be future-proof in the case of code
moves/changes/etc.

CID 1327406

8 years agogl/caopengllayersink: port to new GstGLShader API
Matthew Waters [Thu, 15 Oct 2015 12:47:11 +0000 (23:47 +1100)]
gl/caopengllayersink: port to new GstGLShader API

fixes build error:
"undefined symbols for architecture:
gst_gl_shader_compile_with_default_vf_and_check"

8 years agogl/tests: port glcontext test to opengl
Matthew Waters [Thu, 15 Oct 2015 11:42:26 +0000 (22:42 +1100)]
gl/tests: port glcontext test to opengl

Now uses vao's and vbo's when possible like the rest of the gstgl library.

8 years agoglshader: port element to GstGLSLStage
Matthew Waters [Fri, 4 Sep 2015 06:16:51 +0000 (16:16 +1000)]
glshader: port element to GstGLSLStage

- Provide a shader property to set the full shader pipeline
- Provide vertex and fragment properties for just providing simple
  shader sources.

8 years agoglshader: port to using GstGLSLStage objects for string management
Matthew Waters [Fri, 4 Sep 2015 06:02:32 +0000 (16:02 +1000)]
glshader: port to using GstGLSLStage objects for string management

A GstGLShader is now simply a collection of stages that are
compiled and linked together into a program.  The uniform/attribute
interface has remained the same.

8 years agoglsl: add a shader stage object GstGLSLStage
Matthew Waters [Fri, 4 Sep 2015 04:36:47 +0000 (14:36 +1000)]
glsl: add a shader stage object GstGLSLStage

Represents a stage (vertex, geometry, fragment, etc) in the shader
pipeline.

8 years agogl/shader/variables: include generic gl.h header
Matthew Waters [Thu, 3 Sep 2015 14:09:09 +0000 (00:09 +1000)]
gl/shader/variables: include generic gl.h header

Otherwise we may miss some forward declarations

Fixes build error: undefined reference to GstGLSLStage

8 years agogl: add some GLSL utility functions
Matthew Waters [Thu, 20 Aug 2015 05:11:06 +0000 (15:11 +1000)]
gl: add some GLSL utility functions

Specifically parsing/setting GLSL versions and the shader related
function table.

8 years agodtls: Fix name conflict with openssl on win32
Paul Arzelier [Wed, 14 Oct 2015 20:51:29 +0000 (22:51 +0200)]
dtls: Fix name conflict with openssl on win32

https://bugzilla.gnome.org/show_bug.cgi?id=756592

8 years agohls: if media sequence is not specified, use 0
Thiago Santos [Fri, 4 Sep 2015 21:40:18 +0000 (18:40 -0300)]
hls: if media sequence is not specified, use 0

Allows playlists that are missing the mediasequence information to
be correctly parsed. If the playlist was updated without reseting
the mediasequence it would constantly increase over subsequent updates,
leading to issues during playback.

8 years agowaylandsink: fix fallback buffer allocation
George Kiagiadakis [Sun, 30 Aug 2015 12:56:57 +0000 (14:56 +0200)]
waylandsink: fix fallback buffer allocation

Copy-paste mistake; the wl_buffer was attached on the wrong buffer...

8 years agowaylandsink: rename GstWlDisplay::formats array to shm_formats
George Kiagiadakis [Sun, 30 Aug 2015 12:55:11 +0000 (14:55 +0200)]
waylandsink: rename GstWlDisplay::formats array to shm_formats

These formats are specific to the wl_shm interface. We are going
to add dmabuf formats later as well.

8 years agowaylandsink: replace the custom GstWlShmMemory with GstFdMemory
George Kiagiadakis [Sat, 29 Aug 2015 20:29:17 +0000 (22:29 +0200)]
waylandsink: replace the custom GstWlShmMemory with GstFdMemory

8 years agopo: Update POTFILES.in for OpenCV C++ file rename
Sebastian Dröge [Wed, 14 Oct 2015 16:53:34 +0000 (19:53 +0300)]
po: Update POTFILES.in for OpenCV C++ file rename

8 years agohls: Allow debugging of the playlist
Edward Hervey [Wed, 14 Oct 2015 15:41:05 +0000 (17:41 +0200)]
hls: Allow debugging of the playlist

Helps debugging issues

8 years agohlsdemux: Avoid negative sequence numbers
Edward Hervey [Wed, 14 Oct 2015 15:38:39 +0000 (17:38 +0200)]
hlsdemux: Avoid negative sequence numbers

For live streams, we want to make sure there's a certain distance
between the sequence to play and the last (earliest) fragment.

The problem is that it assumes there are at least 3 fragments in
the playlist, which might not always be the case (like in the case
of a server restarting and gradually adding fragments).

In order to avoid ending up with negative sequence numbers (which
will just loop forever), limit the new target sequence number to
the highest of:
* either the first sequence number of the playlist (fallback)
* or 3 fragments from the last one (standard behaviour)

8 years agoopencv: switch remaining to C++
Luis de Bethencourt [Wed, 14 Oct 2015 14:30:05 +0000 (15:30 +0100)]
opencv: switch remaining to C++

Switch remaining C files to C++ for consistency with other OpeCV elements,
and support of the new 2.4.11 API.

https://bugzilla.gnome.org/show_bug.cgi?id=754148

8 years agompdparser: Set default last_byte_pos to -1
Sebastian Dröge [Wed, 14 Oct 2015 07:31:23 +0000 (10:31 +0300)]
mpdparser: Set default last_byte_pos to -1

The value is optional in the range, and if it is absent it means we should
download until the end of stream. Not until position 0.

https://bugzilla.gnome.org/show_bug.cgi?id=748316

8 years agoadaptivedemux: HTTP ranges are inclusive, GStreamer segment.stop is exclusive
Sebastian Dröge [Wed, 14 Oct 2015 07:34:58 +0000 (10:34 +0300)]
adaptivedemux: HTTP ranges are inclusive, GStreamer segment.stop is exclusive

Translate the values accordingly.

https://bugzilla.gnome.org/show_bug.cgi?id=748316

8 years agoopencv: motioncells: Switch to C++
Luis de Bethencourt [Wed, 14 Oct 2015 13:34:32 +0000 (14:34 +0100)]
opencv: motioncells: Switch to C++

Switch gstmotioncells to C++ for consistency with other OpenCV elements,
and support of the new 2.4.11 API.

https://bugzilla.gnome.org/show_bug.cgi?id=754148

8 years agobuild: add liveadder directory to the cruft list
Matthew Waters [Wed, 14 Oct 2015 11:35:26 +0000 (22:35 +1100)]
build: add liveadder directory to the cruft list

So that we can remove it and avoid duplicate GstLiveAdder GType registrations.

8 years agogl: fix leak in gst_gl_insert_debug_marker()
Guillaume Desmottes [Tue, 13 Oct 2015 10:40:04 +0000 (12:40 +0200)]
gl: fix leak in gst_gl_insert_debug_marker()

The string allocated by g_vasprintf() was leaked.

Reproduced using the
validate.file.compositor.simple.play_15s.synchronized validate scenario.

https://bugzilla.gnome.org/show_bug.cgi?id=756492

8 years agodocs: update to git
Tim-Philipp Müller [Mon, 12 Oct 2015 10:07:32 +0000 (11:07 +0100)]
docs: update to git

https://bugzilla.gnome.org/show_bug.cgi?id=756424

8 years agoliveadder: latency property is an uint64 in audiomixer
Tim-Philipp Müller [Mon, 12 Oct 2015 08:36:29 +0000 (09:36 +0100)]
liveadder: latency property is an uint64 in audiomixer

8 years agotextoverlay: Switch to C++
Luis de Bethencourt [Sun, 11 Oct 2015 22:44:25 +0000 (23:44 +0100)]
textoverlay: Switch to C++

Switch gsttextoverlay to C++ for consistency with other OpenCV elements,
and support of the new 2.4.11 API.

https://bugzilla.gnome.org/show_bug.cgi?id=754148

8 years agoopencv: pyramidsegment: Switch to C++
Luis de Bethencourt [Sun, 11 Oct 2015 20:54:30 +0000 (21:54 +0100)]
opencv: pyramidsegment: Switch to C++

Switch gstpyramidsegment to C++ for consistency with other OpenCV elements,
and support of the new 2.4.11 API.

https://bugzilla.gnome.org/show_bug.cgi?id=754148

8 years agoliveadder: Remove plugin, replace by compat subclass of audiomixer
Olivier Crête [Sun, 4 Oct 2015 23:55:36 +0000 (00:55 +0100)]
liveadder: Remove plugin, replace by compat subclass of audiomixer

New subclass with a similar behaviour as the old liveadder, but
a slightly different API as the latency is in nanoseconds, not
milliseconds. Also, the new liveadder has a effective latency that
is latency + output-buffer-duration. In practice, just setting a non-zero
latency with the new audiomixer gives you the right behavior in 99% of the
cases.

8 years agodashdemux: fix undefined reference to gst_ntp_clock_new
Julien Isorce [Sun, 11 Oct 2015 09:00:43 +0000 (10:00 +0100)]
dashdemux: fix undefined reference to gst_ntp_clock_new

Found with gst-inspect-1.0 -b in gst-uninstalled env.

https://bugzilla.gnome.org/show_bug.cgi?id=756383

8 years agocvsobel: Switch to C++
Luis de Bethencourt [Sat, 10 Oct 2015 16:52:23 +0000 (17:52 +0100)]
cvsobel: Switch to C++

Switch gstcvlsobel to C++ for consistency with other OpenCV elements, and
support of the new 2.4.11 API.

https://bugzilla.gnome.org/show_bug.cgi?id=754148

8 years agocvlaplace: Switch to C++
Luis de Bethencourt [Sat, 10 Oct 2015 16:00:55 +0000 (17:00 +0100)]
cvlaplace: Switch to C++

Switch gstcvlaplace to C++ for consistency with other OpenCV elements, and
support of the new 2.4.11 API.

https://bugzilla.gnome.org/show_bug.cgi?id=754148

8 years agocvequalizehist: Switch to C++
Luis de Bethencourt [Sat, 10 Oct 2015 15:57:36 +0000 (16:57 +0100)]
cvequalizehist: Switch to C++

Switch gstcvequalizehist to C++ for consistency with other OpenCV elements,
and support of the new 2.4.11 API.

https://bugzilla.gnome.org/show_bug.cgi?id=754148

8 years agocverode: Switch to C++
Luis de Bethencourt [Sat, 10 Oct 2015 13:10:32 +0000 (14:10 +0100)]
cverode: Switch to C++

Switch gstcverode to C++ for consistency with other OpenCV elements, and
support of the new 2.4.11 API.

https://bugzilla.gnome.org/show_bug.cgi?id=754148

8 years agodvb: simplify ZAP file format parser
Reynaldo H. Verdejo Pinochet [Thu, 8 Oct 2015 21:46:10 +0000 (14:46 -0700)]
dvb: simplify ZAP file format parser

Simplify state handing, drop unneeded local vars, etc.

8 years agodashdemux: fixed has_next_period
Florin Apostol [Wed, 7 Oct 2015 13:22:46 +0000 (14:22 +0100)]
dashdemux: fixed has_next_period

gst_mpd_client_has_next_period now calls gst_mpd_client_setup_media_presentation
to refresh the period information.

https://bugzilla.gnome.org/show_bug.cgi?id=756186

8 years agoaudioaggregator: Fix build error
Vineeth TM [Tue, 6 Oct 2015 23:48:15 +0000 (08:48 +0900)]
audioaggregator: Fix build error

Build error due to wrong argument type in debug message
aagg->priv->offset and next_offset are of type int64, but uint64
formatter is being used in logs. Changing all those to int64

https://bugzilla.gnome.org/show_bug.cgi?id=756065

8 years agoglvideomixer: Proxy the ignore-eos videoaggregator property as well
Nirbheek Chauhan [Tue, 6 Oct 2015 15:53:11 +0000 (21:23 +0530)]
glvideomixer: Proxy the ignore-eos videoaggregator property as well

Identical to how the z-order property is proxied

8 years agoid3tag: fix sample memory leak
Vineeth TM [Mon, 5 Oct 2015 02:21:07 +0000 (11:21 +0900)]
id3tag: fix sample memory leak

When getting sample from taglist, the memory is not being freed resulting in memory leak.

https://bugzilla.gnome.org/show_bug.cgi?id=756070

8 years agortmpsrc: plug memory-leaks
Havard Graff [Thu, 1 Oct 2015 09:18:52 +0000 (11:18 +0200)]
rtmpsrc: plug memory-leaks

https://bugzilla.gnome.org/show_bug.cgi?id=756001

8 years agoresindvd: Port to new GLib mutex/cond API
Sebastian Dröge [Fri, 2 Oct 2015 19:57:27 +0000 (22:57 +0300)]
resindvd: Port to new GLib mutex/cond API

8 years agoUpdate GLib dependency to 2.40.0
Sebastian Dröge [Fri, 2 Oct 2015 19:24:19 +0000 (22:24 +0300)]
Update GLib dependency to 2.40.0

8 years agocvdilate: Change gstcvdilate to C++
Vanessa Chipirrás Navalón [Fri, 2 Oct 2015 18:02:26 +0000 (19:02 +0100)]
cvdilate: Change gstcvdilate to C++

Change the gstcvdilate.c file extension to cpp and add it into Makefile for
consistency with other elements of opencv and because Opencv not support C
language in new API 2.4.11.

https://bugzilla.gnome.org/show_bug.cgi?id=754148

8 years agoskindetect: Change gstskindetect to C++
Vanessa Chipirrás Navalón [Fri, 2 Oct 2015 17:50:45 +0000 (18:50 +0100)]
skindetect: Change gstskindetect to C++

Change the file extension to cpp and add it into Makefile for consistency
with other elements of opencv and because Opencv not support C language in
new API 2.4.11.

https://bugzilla.gnome.org/show_bug.cgi?id=754148

8 years agoopencvutils: add extern C, for the opencv elements work.
Vanessa Chipirrás Navalón [Mon, 31 Aug 2015 15:43:26 +0000 (17:43 +0200)]
opencvutils: add extern C, for the opencv elements work.

Adding G_BEGIN_DECLS and G_END_DECLS to gstopencvutils.h
to allow C-style linking.

https://bugzilla.gnome.org/show_bug.cgi?id=754148

8 years agoretinex: use OpenCV namespace
Luis de Bethencourt [Fri, 2 Oct 2015 17:40:43 +0000 (18:40 +0100)]
retinex: use OpenCV namespace

As part of the switch to C++, use the new OpenCV functions.

https://bugzilla.gnome.org/show_bug.cgi?id=754148

8 years agocvsmooth: port to C++
Vanessa Chipirrás Navalón [Fri, 2 Oct 2015 17:10:32 +0000 (18:10 +0100)]
cvsmooth: port to C++

Change the file extension to cpp and add it into Makefile for consistency
with other elements of opencv and because Opencv not support C language in
new API 2.4.11.

https://bugzilla.gnome.org/show_bug.cgi?id=754148

8 years agoretinex: Change retinex to C++
Vanessa Chipirrás Navalón [Fri, 2 Oct 2015 16:48:47 +0000 (17:48 +0100)]
retinex: Change retinex to C++

Change the gstretinex.c file to cpp and add it into Makefile.
It is necessary to migrate the retinex element to C++,
because new Opencv API leaves obsolete functions like cvSmooth.
This element uses this function.

You can see in this link:
http://docs.opencv.org/modules/imgproc/doc/filtering.html?
highlight=cvsmooth#void cvSmooth(const CvArr* src, CvArr* dst,
int smoothtype, int size1, int size2, double sigma1, double sigma2)

https://bugzilla.gnome.org/show_bug.cgi?id=754148

8 years agohanddetect: remove another unused variable
Vanessa Chipirrás Navalón [Fri, 2 Oct 2015 16:18:33 +0000 (17:18 +0100)]
handdetect: remove another unused variable

Memory is reserved for this variable and then released without making any
use of it.

https://bugzilla.gnome.org/show_bug.cgi?id=752528

8 years agohanddetect: CvPoint values changed from uint to int
Luis de Bethencourt [Fri, 2 Oct 2015 16:02:42 +0000 (17:02 +0100)]
handdetect: CvPoint values changed from uint to int

The x and y values of CvPoint changed from unsigned to signed integers
in OpenCV 2.4.11.

https://bugzilla.gnome.org/show_bug.cgi?id=752528

8 years agohanddetect: need to migrate to C++
Luis de Bethencourt [Fri, 2 Oct 2015 15:22:36 +0000 (16:22 +0100)]
handdetect: need to migrate to C++

The cascade classifier changes its structure on new version of OpenCV 2.4.11.
It is need to migrate to C++ to utilize the new load method of OpenCV which
allows to load the old and new classifiers.

https://bugzilla.gnome.org/show_bug.cgi?id=752528

8 years agohanddetect: Change gsthanddetect to C++
Luis de Bethencourt [Fri, 2 Oct 2015 15:01:29 +0000 (16:01 +0100)]
handdetect: Change gsthanddetect to C++

Change the gsthanddetect.c file to cpp and add it into Makefile.
It is necessary to migrate the handdetect plugin to C++,
in order to load new and old classifiers, to make handdetect work
with newer versions of Opencv.

https://bugzilla.gnome.org/show_bug.cgi?id=752528

8 years agodtls: fix printf format on win32
Polochon_street [Fri, 2 Oct 2015 15:05:11 +0000 (17:05 +0200)]
dtls: fix printf format on win32

8 years agogstreamer: bad: Fix memory leaks when context parse fails
Vineeth TM [Thu, 20 Aug 2015 07:03:29 +0000 (16:03 +0900)]
gstreamer: bad: Fix memory leaks when context parse fails

When g_option_context_parse fails, context and error variables are not getting free'd
which results in memory leaks. Free'ing the same.

And replacing g_error_free with g_clear_error, which checks if the error being passed
is not NULL and sets the variable to NULL on free'ing.

https://bugzilla.gnome.org/show_bug.cgi?id=753854

8 years agoassrender: optimize blending
Arnaud Vrac [Thu, 25 Jun 2015 17:17:36 +0000 (19:17 +0200)]
assrender: optimize blending

Skip empty source pixels when blending an image. There can be hundreds
of images to blend at each frame, so this brings a nice performance
boost.

https://bugzilla.gnome.org/show_bug.cgi?id=753821

8 years agoassrender: Use the window size from downstream
Arnaud Vrac [Wed, 19 Aug 2015 15:18:31 +0000 (17:18 +0200)]
assrender: Use the window size from downstream

This allows rendering the overlay at a resolution matching the video
resolution.

https://bugzilla.gnome.org/show_bug.cgi?id=753824

8 years agoassrender: Improve negotiation
Arnaud Vrac [Thu, 4 Sep 2014 16:16:00 +0000 (18:16 +0200)]
assrender: Improve negotiation

This is mostly a copy/paste of the negotiation function in
basetextoverlay, which was improved recently to handle many more cases.

This will allow us to negotiate a window size with downstream.

https://bugzilla.gnome.org/show_bug.cgi?id=753824

8 years agoassrender: render the subtitles with the proper aspect
Arnaud Vrac [Wed, 19 Aug 2015 11:44:35 +0000 (13:44 +0200)]
assrender: render the subtitles with the proper aspect

This bumps the libass version requirement to 0.10.2.

https://bugzilla.gnome.org/show_bug.cgi?id=753824

8 years agodashdemux: test: added unit test for presentation time offset
Florin Apostol [Mon, 7 Sep 2015 15:20:42 +0000 (16:20 +0100)]
dashdemux: test: added unit test for presentation time offset

https://bugzilla.gnome.org/show_bug.cgi?id=752409

8 years agodtls: require openssl >= 1.0.1
Aleix Conchillo Flaqué [Wed, 30 Sep 2015 17:27:06 +0000 (10:27 -0700)]
dtls: require openssl >= 1.0.1

https://bugzilla.gnome.org/show_bug.cgi?id=755892

8 years agodtls: fix printf format on win32
Paul Arzelier [Fri, 2 Oct 2015 12:46:59 +0000 (14:46 +0200)]
dtls: fix printf format on win32

https://bugzilla.gnome.org/show_bug.cgi?id=755981

8 years agodashdemux: Correctly assign earliest pts instead of overriding it with first offset
John Chang [Wed, 30 Sep 2015 03:00:39 +0000 (11:00 +0800)]
dashdemux: Correctly assign earliest pts instead of overriding it with first offset

https://bugzilla.gnome.org/show_bug.cgi?id=755824

8 years agoqt: add support for building on osx/ios
Matthew Waters [Mon, 14 Sep 2015 17:14:37 +0000 (03:14 +1000)]
qt: add support for building on osx/ios

Including:
- Necessary configure checks
- Necessary compile time platform checks
- Necessary runtime qt iOS/OSX platform detection

https://bugzilla.gnome.org/show_bug.cgi?id=755100

8 years agortmpsrc: Fix indentation with gst-indent
John Slade [Mon, 28 Sep 2015 10:29:29 +0000 (11:29 +0100)]
rtmpsrc: Fix indentation with gst-indent

https://bugzilla.gnome.org/show_bug.cgi?id=755732

8 years agoaudiovisualizers: Fix nodist_HEADERS
Sebastian Dröge [Fri, 2 Oct 2015 08:31:50 +0000 (11:31 +0300)]
audiovisualizers: Fix nodist_HEADERS

8 years agoRemove baseaudiovisualizer test.
Jan Schmidt [Fri, 2 Oct 2015 04:56:41 +0000 (14:56 +1000)]
Remove baseaudiovisualizer test.

The base class has moved into gst-plugins-base

8 years agoaggregator: Convert GST_ERROR_OBJECT() for seek events to GST_DEBUG_OBJECT()
Sebastian Dröge [Wed, 30 Sep 2015 17:05:35 +0000 (19:05 +0200)]
aggregator: Convert GST_ERROR_OBJECT() for seek events to GST_DEBUG_OBJECT()

8 years agoaggregator: For the start time selection, only set the segment position
Sebastian Dröge [Wed, 30 Sep 2015 17:03:05 +0000 (19:03 +0200)]
aggregator: For the start time selection, only set the segment position

segment.time and segment.start can stay the same, and were always the same
before anyway because of a mistake.

https://bugzilla.gnome.org/show_bug.cgi?id=755623

8 years agoaudioaggregator: Select the initial offset based on the start segment position
Sebastian Dröge [Wed, 30 Sep 2015 17:01:21 +0000 (19:01 +0200)]
audioaggregator: Select the initial offset based on the start segment position

instead of always using 0. Otherwise we might output a lot of silence in the
beginning instead of outputting from the relevant position.

https://bugzilla.gnome.org/show_bug.cgi?id=755623

8 years agoaudiovisualizers: merge audiovisualizer base classes
Luis de Bethencourt [Thu, 1 Oct 2015 14:35:37 +0000 (15:35 +0100)]
audiovisualizers: merge audiovisualizer base classes

These plugins now use the audiovisualizer base class in pbutils

https://bugzilla.gnome.org/show_bug.cgi?id=742875

8 years agogl: move debugging related functions to their own file
Matthew Waters [Thu, 1 Oct 2015 15:01:42 +0000 (01:01 +1000)]
gl: move debugging related functions to their own file

8 years agoglcolorscale: use glbasefilter vfuncs
Matthew Waters [Thu, 1 Oct 2015 13:20:19 +0000 (23:20 +1000)]
glcolorscale: use glbasefilter vfuncs

Uses less code \o/
Fixes legacy opengl rendering \o/

8 years agomssdemux: activate streams before configuring bitrate
Philippe Normand [Wed, 16 Sep 2015 10:50:46 +0000 (12:50 +0200)]
mssdemux: activate streams before configuring bitrate

Doing the contrary has no effect and the consequence is that playback
will start with the lowest bitrate even if we can already handle
higher bitrate.

https://bugzilla.gnome.org/show_bug.cgi?id=755108

8 years agomssdemux: PlayReady WRM parsing support
Philippe Normand [Mon, 8 Jun 2015 13:33:22 +0000 (15:33 +0200)]
mssdemux: PlayReady WRM parsing support

If the manifest has a ProtectionHeader node then parse it and emit
protection events according to the specified protection SystemID.

https://bugzilla.gnome.org/show_bug.cgi?id=753613

8 years agomssdemux: always use timescale for gst timestamp calculation
Philippe Normand [Thu, 3 Sep 2015 13:11:00 +0000 (15:11 +0200)]
mssdemux: always use timescale for gst timestamp calculation

Not doing this can lead the demuxer to attempt downloading fragments
for an invalid start time. The server would then send a HTTP
Precondition failed error, the demuxer would try some more times to
download the invalid fragment and eventually error out.

https://bugzilla.gnome.org/show_bug.cgi?id=754523

8 years agogl: Pass GL_CFLAGS to g-ir-scanner
Antoine Jacoutot [Wed, 30 Sep 2015 06:36:15 +0000 (08:36 +0200)]
gl: Pass GL_CFLAGS to g-ir-scanner

This unbreaks building when some headers are under a non-standard path.
e.g. /usr/X11R6/include as on OpenBSD.

https://bugzilla.gnome.org/show_bug.cgi?id=755850

8 years agoapplemedia: dist missing header files
Aleix Conchillo Flaqué [Wed, 30 Sep 2015 07:44:16 +0000 (00:44 -0700)]
applemedia: dist missing header files

https://bugzilla.gnome.org/show_bug.cgi?id=755852

8 years agoaudiointerleave: typecast bit-mask to guint64 to fix segmentation fault
Vineeth TM [Wed, 30 Sep 2015 04:13:19 +0000 (13:13 +0900)]
audiointerleave: typecast bit-mask to guint64 to fix segmentation fault

While creating caps in audiointerleave tests, bitmask is being set as 0x9
This is resulting in segmentation fault. Fix the same by typecasting to guint64

https://bugzilla.gnome.org/show_bug.cgi?id=755840

8 years agoglcontext: fixup strstr lengths so we don't overrun
Matthew Waters [Wed, 30 Sep 2015 05:17:38 +0000 (15:17 +1000)]
glcontext: fixup strstr lengths so we don't overrun

8 years agoglupload: remove useless release_buffer
Matthew Waters [Wed, 30 Sep 2015 03:31:50 +0000 (13:31 +1000)]
glupload: remove useless release_buffer

It's a leftover from when we weren't outputting GstBuffer's and
returning raw texture id's.

8 years agoglutils: use gst_element_set_context for setting display/other_context
Matthew Waters [Tue, 29 Sep 2015 15:53:53 +0000 (01:53 +1000)]
glutils: use gst_element_set_context for setting display/other_context

1. So we get tracking inside GstElement properly when e.g. adding to a bin
2. Removes redundant code.  Now only one place where
   GstContext->GstGLDisplay/GstGLContext transformation occurs
3. Fixes a memory leak in the process
4. Make the retrieval of debug categories thread safe

8 years agogtk: add some GL debug statements to show up in GL traces
Matthew Waters [Tue, 29 Sep 2015 12:57:52 +0000 (22:57 +1000)]
gtk: add some GL debug statements to show up in GL traces

8 years agohls: m3u8playlist: more clean-ups
Tim-Philipp Müller [Sun, 30 Aug 2015 16:11:31 +0000 (17:11 +0100)]
hls: m3u8playlist: more clean-ups

Remove unused functions; move GstM3U8 struct into .c file,
and indent the header so it's nice to read.

8 years agohls: m3u8playlist: fix silly queue iteration code
Tim-Philipp Müller [Sun, 30 Aug 2015 16:01:13 +0000 (17:01 +0100)]
hls: m3u8playlist: fix silly queue iteration code

8 years agohls: m3u8playlist: more minor playlist_render() clean-ups
Tim-Philipp Müller [Sun, 30 Aug 2015 15:40:02 +0000 (16:40 +0100)]
hls: m3u8playlist: more minor playlist_render() clean-ups

Move the TAG defines directly into the code, not sure what
their purposes is, these are printf format strings so having
them directly as literals in the code where they're used
makes the code easier to follow.

8 years agohls: m3u8playlist: move entry rendering into render_playlist()
Tim-Philipp Müller [Sun, 30 Aug 2015 15:34:26 +0000 (16:34 +0100)]
hls: m3u8playlist: move entry rendering into render_playlist()

Makes the code easier to follow and avoids unnecessary temporary
strings, since we can just append to the playlist GString directly.

8 years agohls: m3u8playlist: simplify gst_m3u8_playlist_render()
Tim-Philipp Müller [Sun, 30 Aug 2015 15:24:41 +0000 (16:24 +0100)]
hls: m3u8playlist: simplify gst_m3u8_playlist_render()

Remove playlist_str GString variable from GstM3U8Playlist struct,
since it's only used temporarily in playlist_render(). Might just
as well keep it local then.

8 years agohls: remove unused macro and direct gio usage
Tim-Philipp Müller [Sun, 30 Aug 2015 14:55:51 +0000 (15:55 +0100)]
hls: remove unused macro and direct gio usage

8 years agompegtsmux: fix downstream key unit events handling with hlssink
Tim-Philipp Müller [Tue, 29 Sep 2015 23:36:14 +0000 (00:36 +0100)]
mpegtsmux: fix downstream key unit events handling with hlssink

The buffer timestamps in the collect function will already be
running time, don't try to convert them again to running time,
this would yield CLOCK_TIME_NONE now that the segment is shifted
to account for negative dts.

This fixes x264enc ! mpegtsmux ! hlssink, which was broken
because mpegtsmux would send a downstream key unit event with
running time NONE and then hlssink would immediately send
another one upstream and it would just be a flood of force
keyframe events in both directions after the first one. This
would then break hlssink because it uses multifilesink in
next-file=key-unit-event mode, and starting a new file after
every few kB does not work well for HLS.

8 years agoopencv: erode: remove non-ip transform func
Luis de Bethencourt [Thu, 20 Aug 2015 16:35:04 +0000 (17:35 +0100)]
opencv: erode: remove non-ip transform func

Transform is set to be done in place in gstcvdilateerode.c, so the in-place
transform function is always used and the other is redundant. Removing it.

https://bugzilla.gnome.org/show_bug.cgi?id=753885

8 years agoopencv: dilate: remove non-ip transform func
Luis de Bethencourt [Thu, 20 Aug 2015 16:23:40 +0000 (17:23 +0100)]
opencv: dilate: remove non-ip transform func

Transform is set to be done in place in gstcvdilateerode.c, so the in-place
transform function is always used and the other is redundant. Removing it.

https://bugzilla.gnome.org/show_bug.cgi?id=753885

8 years agoopencv: use gst_opencv_video_filter_set_in_place()
Luis de Bethencourt [Tue, 29 Sep 2015 19:00:02 +0000 (20:00 +0100)]
opencv: use gst_opencv_video_filter_set_in_place()

Using the gst_base_transform function directly won't work. Need to use
gst_opencv_video_filter_set_in_place().

8 years agohanddetect: check for haar cascade files path
Luis de Bethencourt [Tue, 29 Sep 2015 16:00:22 +0000 (17:00 +0100)]
handdetect: check for haar cascade files path

When running GStreamer from uninstalled sources, the location of the haar
cascade files will be local. Check if running in uninstalled and set the
file paths accordingly.

8 years agoadaptivedemux: remove unused variable
John Chang [Sat, 26 Sep 2015 09:02:09 +0000 (17:02 +0800)]
adaptivedemux: remove unused variable

https://bugzilla.gnome.org/show_bug.cgi?id=755656

8 years agovideoaggregator: fix compilation with older glib version
Tim-Philipp Müller [Tue, 29 Sep 2015 12:31:18 +0000 (13:31 +0100)]
videoaggregator: fix compilation with older glib version

Remove weird use of private gtype defines and fix compilation
with older glib versions such as 2.36.

https://bugzilla.gnome.org/show_bug.cgi?id=755754

8 years agoopencv: cvlaplace: add scale and shift properties
Luis de Bethencourt [Tue, 29 Sep 2015 12:52:47 +0000 (13:52 +0100)]
opencv: cvlaplace: add scale and shift properties

Add scale and shift properties so these can be used to tweak the values
used in cvConvertScale() instead of using only defaults.

8 years agoqtsink: explicitely fallthrough switch statement
Luis de Bethencourt [Fri, 28 Aug 2015 15:24:24 +0000 (16:24 +0100)]
qtsink: explicitely fallthrough switch statement

In case ret is False, fallthrough to default case.

CID #1320705

8 years agovc1parse: add break to switch case
Luis de Bethencourt [Fri, 28 Aug 2015 15:13:16 +0000 (16:13 +0100)]
vc1parse: add break to switch case

Even though all cases inside VC1_STREAM_FORMAT_ASF are goto or
g_assert_not_reached(), add a break at the end to appease Coverity.

CID #1320706