platform/upstream/gstreamer.git
9 years agoadd glliveshader program to .gitignore
Matthew Waters [Mon, 19 Oct 2015 04:02:10 +0000 (15:02 +1100)]
add glliveshader program to .gitignore

9 years agopnmdec: drop frame in case of _handle() failure
Reynaldo H. Verdejo Pinochet [Sat, 17 Oct 2015 19:48:11 +0000 (12:48 -0700)]
pnmdec: drop frame in case of _handle() failure

Allows baseclass to handle it from there

Related to:

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

9 years agopnmdec: propagate input state after parsing
Reynaldo H. Verdejo Pinochet [Sat, 17 Oct 2015 08:51:24 +0000 (01:51 -0700)]
pnmdec: propagate input state after parsing

Store and copy input state fields when setting the
output state of the decoder. Avoids problems like
the framerate set by an upstream element being ignored

Related to:

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

9 years agopnmdec: completely reset parsing state at flush
Reynaldo H. Verdejo Pinochet [Sat, 17 Oct 2015 03:45:42 +0000 (20:45 -0700)]
pnmdec: completely reset parsing state at flush

Makes sure the mngr struct reflects a clean state
for the next frame, avoiding failures like:

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

9 years agoglshaderelement: implement on-demand create-shader signalling
Matthew Waters [Sat, 17 Oct 2015 04:26:46 +0000 (15:26 +1100)]
glshaderelement: implement on-demand create-shader signalling

One may not have an GstGLContext available or current in the thread where one
would need to update the shader.  Support this by signalling create-shader
whenever the one-shot 'update-shader' is set to TRUE.

9 years agogl/calayer: don't leak a gl shader object
Matthew Waters [Fri, 16 Oct 2015 15:42:47 +0000 (02:42 +1100)]
gl/calayer: don't leak a gl shader object

We will always overwrite the ca_sink->redisplay_shader without freeing the
object.

9 years agogtk: separate out the widget/window destroy callbacks
Matthew Waters [Fri, 16 Oct 2015 15:40:50 +0000 (02:40 +1100)]
gtk: separate out the widget/window destroy callbacks

Fixes assertion due to the sink_finalize() being run before the widget destroy
callback.

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

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

9 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

9 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

9 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

9 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

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

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

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

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

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

9 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

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

9 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

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

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

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