platform/upstream/gstreamer.git
9 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.

9 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

9 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

9 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

9 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)

9 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

9 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

9 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

9 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

9 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.

9 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

9 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

9 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

9 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

9 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

9 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.

9 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

9 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

9 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

9 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

9 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

9 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.

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

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

9 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

9 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()

9 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

9 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

9 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

9 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

9 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/

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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.

9 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

9 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

9 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.

9 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

9 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.

9 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.

9 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.

9 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

9 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.

9 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

9 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

9 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().

9 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.

9 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

9 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

9 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.

9 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

9 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

9 years agoassrender: fix leak of tag samples in the tag list
Arnaud Vrac [Mon, 28 Sep 2015 18:56:56 +0000 (20:56 +0200)]
assrender: fix leak of tag samples in the tag list

Move handling of a GstSample in a separate function, and unref the
sample after calling it. libass copies the font data so we don't need to
keep it around.

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

9 years agoassrender: fix gap event leak and invalid return value
Arnaud Vrac [Mon, 28 Sep 2015 18:30:17 +0000 (20:30 +0200)]
assrender: fix gap event leak and invalid return value

We don't want the gap event to be forwarded

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

9 years agonvenc: call the parent class on GstElement::set_context
Matthew Waters [Tue, 29 Sep 2015 06:17:22 +0000 (16:17 +1000)]
nvenc: call the parent class on GstElement::set_context

9 years agogl/eagl: use the default GL context debug category
Matthew Waters [Thu, 17 Sep 2015 06:59:16 +0000 (16:59 +1000)]
gl/eagl: use the default GL context debug category

9 years agoAdd Nvidia based hardware encoder element
Matthew Waters [Thu, 30 Jul 2015 06:42:38 +0000 (16:42 +1000)]
Add Nvidia based hardware encoder element

Currently only h264 is supported

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

9 years agogtk: fix assertion when the element has no peer
Matthew Waters [Mon, 28 Sep 2015 14:25:00 +0000 (00:25 +1000)]
gtk: fix assertion when the element has no peer

When proxying keyboard/navigation/mouse events, only unref a successfully
retreived peer pad.

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

9 years agoRevert "midi: add an ALSA MIDI sequencer source"
Stefan Sauer [Mon, 28 Sep 2015 13:30:30 +0000 (15:30 +0200)]
Revert "midi: add an ALSA MIDI sequencer source"

This reverts commit cd7f4e524718a2f75467852235e4e13d64d2ac82.

9 years agogl: set the context on the element on a context query
Matthew Waters [Mon, 28 Sep 2015 12:31:09 +0000 (22:31 +1000)]
gl: set the context on the element on a context query

Otherwise it's possible to lose the context information if the
context is only propagated through queries.

9 years agogl: chain up to the parent class for GstElement::set_context
Matthew Waters [Mon, 28 Sep 2015 12:20:29 +0000 (22:20 +1000)]
gl: chain up to the parent class for GstElement::set_context

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

9 years agomidi: add an ALSA MIDI sequencer source
Antonio Ospite [Fri, 7 Aug 2015 13:28:54 +0000 (15:28 +0200)]
midi: add an ALSA MIDI sequencer source

The alsamidisrc element allows to get input event from ALSA MIDI
sequencer devices, and possibly convert them to sound using some
downstream element like fluiddec.

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

9 years agoqml: remove overwritten value
Luis de Bethencourt [Fri, 28 Aug 2015 15:35:39 +0000 (16:35 +0100)]
qml: remove overwritten value

Value in tex is overwritten before being used. Removing it.

CID 1320715

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

9 years agoqt: add support for building/running on android
Matthew Waters [Wed, 2 Sep 2015 13:45:07 +0000 (23:45 +1000)]
qt: add support for building/running on android

Including:
- Necessary configure checks
- Necessary compile time platform checks
- Necessary runtime qt android platform detection
- Escaping GLsync definition with Qt's GLES2 implementation

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

9 years agoqt: don't use CPPFLAGS for tools that cannot use them
Matthew Waters [Wed, 2 Sep 2015 13:40:31 +0000 (23:40 +1000)]
qt: don't use CPPFLAGS for tools that cannot use them

For example moc will bail out when given arguments it does not
know about.  The moc specific MOC_CPPFLAGS can still be used
to pass flags to moc.

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

9 years agoqt: rename library to include gst prefix
Matthew Waters [Wed, 2 Sep 2015 13:39:54 +0000 (23:39 +1000)]
qt: rename library to include gst prefix

libqtsink -> libgstqtsink

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

9 years agogl: sprinkle some debug markers to ease debugging
Matthew Waters [Mon, 31 Aug 2015 09:21:54 +0000 (19:21 +1000)]
gl: sprinkle some debug markers to ease debugging