platform/upstream/gstreamer.git
9 years agogleffects: Merge sobel filter into effects
Michał Dębski [Sun, 22 Mar 2015 10:20:49 +0000 (11:20 +0100)]
gleffects: Merge sobel filter into effects

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

9 years agogleffects: Merge blur filter into effects
Michał Dębski [Sun, 22 Mar 2015 10:13:30 +0000 (11:13 +0100)]
gleffects: Merge blur filter into effects

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

9 years agogleffects: Correct attributes for hconv and vconv shaders
Michał Dębski [Sat, 21 Mar 2015 22:50:33 +0000 (23:50 +0100)]
gleffects: Correct attributes for hconv and vconv shaders

Width and height were switched for glow shaders. For blur
filter attributes names were obsolete.

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

9 years agogleffects: Fix fisheye shader - pass float to sqrt
Michał Dębski [Sat, 21 Mar 2015 22:21:13 +0000 (23:21 +0100)]
gleffects: Fix fisheye shader - pass float to sqrt

On OSX passing literal int to sqrt() in GLSL results in error.

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

9 years agogltransformation: fix shader memory leak
Lubosz Sarnecki [Tue, 21 Apr 2015 05:28:58 +0000 (07:28 +0200)]
gltransformation: fix shader memory leak

9 years agoglwindow: track context activation properly
Matthew Waters [Tue, 21 Apr 2015 02:25:11 +0000 (12:25 +1000)]
glwindow: track context activation properly

We only need to deactivate/reactivate the context iff it was already
active.

9 years agogldisplay: synchronize the searching and creation of GstGLContext's
Matthew Waters [Tue, 21 Apr 2015 02:19:46 +0000 (12:19 +1000)]
gldisplay: synchronize the searching and creation of GstGLContext's

Ootherwise we could end up with multiple elements in different chains
each creating a context.  Fixes context creation with glvideomixer.

9 years agoh264parse: Remove dead code
Edward Hervey [Mon, 20 Apr 2015 12:35:19 +0000 (14:35 +0200)]
h264parse: Remove dead code

The detection for missing format/alignment is done way before this
codepath is reached (at which point we have already decided of a
format and alignment).

CID #1232800

9 years agohanddetect: remove unneeded check
Edward Hervey [Wed, 7 Jan 2015 16:26:57 +0000 (16:26 +0000)]
handdetect: remove unneeded check

Variable hands is already checked to contain a value previously at the beginning
of the current block. There is no need to check again. This is logically dead code.

CID 1197693

9 years agoshmpipe: Ensure string received from recv() is NULL-terminated
Edward Hervey [Mon, 20 Apr 2015 12:20:05 +0000 (14:20 +0200)]
shmpipe: Ensure string received from recv() is NULL-terminated

We will be doing string operations on it later.

CID #1292830

9 years agotsdemux: clean assignment typo
Luis de Bethencourt [Mon, 20 Apr 2015 10:30:10 +0000 (11:30 +0100)]
tsdemux: clean assignment typo

No need to set the value twice.

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

CID #295122

9 years agotsdemux: remove dead code
Luis de Bethencourt [Mon, 20 Apr 2015 09:57:41 +0000 (10:57 +0100)]
tsdemux: remove dead code

position of GstSegment is an unsigned int64, it can never be below zero.

CID #1295123

9 years agofieldanalysis: exception when block width to 0
Vineeth T M [Mon, 9 Feb 2015 05:59:46 +0000 (11:29 +0530)]
fieldanalysis: exception when block width to 0

When block width property is set to 0, exception occurs.
This happens due to divide by zero errors in calculations.
block width property can never be 0. Hence adjusting the minimum value to 1.

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

9 years agoglmixer: fix caps leak in gst_gl_mixer_pad_sink_getcaps()
Guillaume Desmottes [Wed, 15 Apr 2015 13:22:37 +0000 (15:22 +0200)]
glmixer: fix caps leak in gst_gl_mixer_pad_sink_getcaps()

Caps refcounting was all wrong in this function. Rewrote it and add some
comments to make it clearer.

Fix caps leaks with the
validate.file.glvideomixer.simple.play_15s.synchronized scenario.

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

Signed-off-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
9 years agoapplemedia: avoid implicit color conversions
Alessandro Decina [Mon, 20 Apr 2015 07:08:23 +0000 (17:08 +1000)]
applemedia: avoid implicit color conversions

Rework the GL texture code a little to avoid implicit color conversion inside
AVF/VT on both iOS and OSX.

9 years agocorevideotexturecache: free texture cache on iOS
Ilya Konstantinov [Sat, 18 Apr 2015 22:15:07 +0000 (01:15 +0300)]
corevideotexturecache: free texture cache on iOS

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

9 years agoavfvideosrc: check for failure to create buffer
Ilya Konstantinov [Sat, 18 Apr 2015 22:21:40 +0000 (01:21 +0300)]
avfvideosrc: check for failure to create buffer

gst_core_media_buffer_new and gst_core_video_texture_cache_get_gl_buffer
can fail for various platform reasons.

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

9 years agoavfvideosrc: fix build failure with clang
Yujin Lee [Sun, 19 Apr 2015 04:12:05 +0000 (13:12 +0900)]
avfvideosrc: fix build failure with clang

Use fabs for floating point input.

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

9 years agompegtsbase: Remove unused latency query code
Olivier Crête [Fri, 17 Apr 2015 19:57:38 +0000 (13:57 -0600)]
mpegtsbase: Remove unused latency query code

The behavior changes based on the type of segment,
not on the liveness of the source.

9 years agotsdemux: Cleanup latency query handling
Olivier Crête [Fri, 17 Apr 2015 19:55:26 +0000 (13:55 -0600)]
tsdemux: Cleanup latency query handling

The minimum latency is always 0 or more. And we should
requery upstream as it may have changed.

9 years agoandroidmedia: Handle queue/release errors non-fatal
Sebastian Dröge [Thu, 17 Jul 2014 08:53:30 +0000 (10:53 +0200)]
androidmedia: Handle queue/release errors non-fatal

They can happen sometimes as a transient problem, e.g. if there
is a problem in the stream. Only handle them as fatal if many of
them happen in a row.

9 years agoopencv: Change opencv plugin to use opencv2-style includes
Руслан Ижбулатов [Sat, 11 Apr 2015 16:53:38 +0000 (16:53 +0000)]
opencv: Change opencv plugin to use opencv2-style includes

If old opencv1-style legacy include directory is available,
this change becomes purely cosmetic (maybe will compile a bit faster).
It becomes an FTBFS fix when opencv1-style include directory is missing
(possibly because opencv package maintainer decided not to pack it).

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

9 years agoopencv: Change configure test to check for OpenCV2 headers
Руслан Ижбулатов [Sun, 12 Apr 2015 00:56:48 +0000 (00:56 +0000)]
opencv: Change configure test to check for OpenCV2 headers

* Checks for opencv2 headers only, not for legacy opencv1 headers
* Checks for every opencv2 header that the implementation needs,
  not just highgui_c.h

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

9 years agoavfvideosrc: get connection and input clock early
Ilya Konstantinov [Fri, 17 Apr 2015 02:12:10 +0000 (05:12 +0300)]
avfvideosrc: get connection and input clock early

9 years agompegtspacketizer: Unify debug statements
Edward Hervey [Fri, 17 Apr 2015 13:32:56 +0000 (15:32 +0200)]
mpegtspacketizer: Unify debug statements

Use 0x%04x for PIDs

9 years agotsdemux: Unify duration querying code
Edward Hervey [Fri, 17 Apr 2015 13:30:29 +0000 (15:30 +0200)]
tsdemux: Unify duration querying code

And properly use it in the SEEKING query.

Fixes seeking with gst-play

9 years agovideoaggregator: fix caps leak when early returning
Guillaume Desmottes [Thu, 16 Apr 2015 12:17:04 +0000 (14:17 +0200)]
videoaggregator: fix caps leak when early returning

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

Signed-off-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
9 years agoglmixer: unref owned caps when finalizing the mixer
Guillaume Desmottes [Thu, 16 Apr 2015 12:21:16 +0000 (14:21 +0200)]
glmixer: unref owned caps when finalizing the mixer

Fix a caps leak with the
validate.file.glvideomixer.simple.play_15s.synchronized scenario.

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

Signed-off-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
9 years agoglmixer: pass the proper free function to frames and buffers array
Guillaume Desmottes [Wed, 15 Apr 2015 13:16:33 +0000 (15:16 +0200)]
glmixer: pass the proper free function to frames and buffers array

'array_buffers' contain borrowed GstBuffer and so shouldn't have a free
function. 'frames' is the one containing GstGLMixerFrameData and so should use
_free_glmixer_frame_data as free function.

Fix GstGLMixerFrameData leaks with the
validate.file.glvideomixer.simple.play_15s.synchronized scenario.

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

Signed-off-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
9 years agogldownloadelement: Download *from* OpenGL, not into
Sebastian Dröge [Fri, 17 Apr 2015 13:20:12 +0000 (15:20 +0200)]
gldownloadelement: Download *from* OpenGL, not into

9 years agoopenh264enc: Add complexity property for speed/quality tradeoff
Robert Swain [Fri, 17 Apr 2015 07:24:12 +0000 (09:24 +0200)]
openh264enc: Add complexity property for speed/quality tradeoff

9 years agoglcontext: Make gst_gl_context_egl_activate fail if the old surface could not be...
Matthieu Bouron [Fri, 17 Apr 2015 12:24:28 +0000 (14:24 +0200)]
glcontext: Make gst_gl_context_egl_activate fail if the old surface could not be destroyed

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

9 years agogluploadelement: Unref GstGLUpload object and caps in ::stop()
Matthieu Bouron [Fri, 17 Apr 2015 08:38:16 +0000 (10:38 +0200)]
gluploadelement: Unref GstGLUpload object and caps in ::stop()

Fix leak of the GstGLUpload object.

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

9 years agogl: Remove some empty ::finalize() implementations
Sebastian Dröge [Fri, 17 Apr 2015 12:09:47 +0000 (14:09 +0200)]
gl: Remove some empty ::finalize() implementations

9 years agogldownloadelement: Fix element description
Sebastian Dröge [Fri, 17 Apr 2015 12:06:03 +0000 (14:06 +0200)]
gldownloadelement: Fix element description

9 years agogldownloadelement: Remove unused ::finalize() implementation
Sebastian Dröge [Fri, 17 Apr 2015 12:05:44 +0000 (14:05 +0200)]
gldownloadelement: Remove unused ::finalize() implementation

9 years agoglcolorconvertelement: Also unref caps in ::stop() already
Sebastian Dröge [Fri, 17 Apr 2015 12:03:21 +0000 (14:03 +0200)]
glcolorconvertelement: Also unref caps in ::stop() already

They are not useful anymore afterwards, so keeping them until ::finalize()
might only cause someone to use them later and then fail.

9 years agoglcolorconvertelement: fix GstGLColorConvert leak
Guillaume Desmottes [Wed, 15 Apr 2015 12:49:02 +0000 (14:49 +0200)]
glcolorconvertelement: fix GstGLColorConvert leak

convert->convert was never unreffed.

This can be reproduce with the
validate.file.glvideomixer.simple.play_15s.synchronized scenario.

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

9 years agoapexsink: Fix buffer overflow, in case anyone ever ports it.
Jan Schmidt [Thu, 16 Apr 2015 12:43:54 +0000 (22:43 +1000)]
apexsink: Fix buffer overflow, in case anyone ever ports it.

Fix a simple buffer overflow - 16 bytes isn't enough to hold
the string representation of a gulong on x86_64. I guess the
intent was to generate a 32 bit random key, so let's do that.

Only matters if anyone ever ports the sink to 1.x

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

9 years agompegdemux: fix pad leak when not adding a new pad after no-more-pads
Vincent Penquerc'h [Thu, 16 Apr 2015 12:35:00 +0000 (13:35 +0100)]
mpegdemux: fix pad leak when not adding a new pad after no-more-pads

9 years agotsdemux: fix segment position tracking for the general case
Vincent Penquerc'h [Thu, 9 Apr 2015 16:35:55 +0000 (17:35 +0100)]
tsdemux: fix segment position tracking for the general case

Different streams can have different PTS/DTS bases, and some
streams may not even have DTS.

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

9 years agoglcontext: Make gst_gl_context_egl_activate fail if the surface could not be created
Matthieu Bouron [Thu, 16 Apr 2015 08:42:45 +0000 (10:42 +0200)]
glcontext: Make gst_gl_context_egl_activate fail if the surface could not be created

Also add some error logging.

9 years agoh264parse: Don't unref buffer that was unreffed just a few lines before already
Sebastian Dröge [Wed, 15 Apr 2015 19:07:35 +0000 (21:07 +0200)]
h264parse: Don't unref buffer that was unreffed just a few lines before already

9 years agoAdd adaptivedemux, badvideo and badbase to the link-list for the docscanner
Руслан Ижбулатов [Sat, 11 Apr 2015 04:20:43 +0000 (04:20 +0000)]
Add adaptivedemux, badvideo and badbase to the link-list for the docscanner

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

9 years agoavfvideosrc: remove unused variables
Ilya Konstantinov [Sat, 11 Apr 2015 22:58:31 +0000 (01:58 +0300)]
avfvideosrc: remove unused variables

Complement commit 5496fd3e75e65a4e387715d0ba0740790aefa5f6 by removing
the involved variables.

9 years agoapplemedia: vtdec: fix GL negotiation
Alessandro Decina [Tue, 14 Apr 2015 10:33:25 +0000 (20:33 +1000)]
applemedia: vtdec: fix GL negotiation

9 years agoavfvideosrc: log timestamps
Alessandro Decina [Tue, 14 Apr 2015 08:05:31 +0000 (18:05 +1000)]
avfvideosrc: log timestamps

9 years agoavfvideosrc: subtract time spent in AVF queues
Ilya Konstantinov [Mon, 13 Apr 2015 08:55:42 +0000 (11:55 +0300)]
avfvideosrc: subtract time spent in AVF queues

The time spent in AVF queues was being incorrectly added to running time
rather than subtracted.

9 years agoavfvideosrc: fix GL texture negotiation
Ilya Konstantinov [Sat, 11 Apr 2015 04:38:57 +0000 (07:38 +0300)]
avfvideosrc: fix GL texture negotiation

GST_VIDEO_GL_TEXTURE_UPLOAD_META_API_TYPE should no longer be used.
Instead, just get the GL context.

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

9 years agodtlsdec: Fix typo
Sebastian Dröge [Mon, 13 Apr 2015 17:40:31 +0000 (19:40 +0200)]
dtlsdec: Fix typo

9 years agodtlssrtpdec: Add some more debug output
Sebastian Dröge [Mon, 13 Apr 2015 17:40:22 +0000 (19:40 +0200)]
dtlssrtpdec: Add some more debug output

9 years agosrtpdec: Add some more debug output
Sebastian Dröge [Mon, 13 Apr 2015 17:40:03 +0000 (19:40 +0200)]
srtpdec: Add some more debug output

9 years agodashdemux: enable playback of content with text streams
Yujin Lee [Fri, 10 Apr 2015 00:34:01 +0000 (09:34 +0900)]
dashdemux: enable playback of content with text streams

There is a playback error when trying to play a content that
has 'application' mimeType. This commit prevents an exception from
setup text streams.

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

9 years agowinks: Reset DTS to GST_CLOCK_TIME_NONE
Sebastian Dröge [Sun, 12 Apr 2015 11:01:56 +0000 (13:01 +0200)]
winks: Reset DTS to GST_CLOCK_TIME_NONE

Otherwise we might get a previous DTS set from a recycled buffer that we get
back from a buffer pool, which then confuses synchronization.

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

9 years agoamc: Use new JNI utils almost everywhere
Sebastian Dröge [Sat, 28 Mar 2015 14:44:43 +0000 (15:44 +0100)]
amc: Use new JNI utils almost everywhere

9 years agoamc: Allow creating global and local references of objects
Sebastian Dröge [Sat, 28 Mar 2015 14:48:28 +0000 (15:48 +0100)]
amc: Allow creating global and local references of objects

9 years agoamc: Make GError argument order more consistent
Sebastian Dröge [Sat, 28 Mar 2015 14:21:02 +0000 (15:21 +0100)]
amc: Make GError argument order more consistent

9 years agoamc: Add helper function for getting a direct buffer array
Sebastian Dröge [Sat, 28 Mar 2015 14:08:15 +0000 (15:08 +0100)]
amc: Add helper function for getting a direct buffer array

9 years agoamc: Java longs are gint64s
Sebastian Dröge [Sat, 28 Mar 2015 14:08:02 +0000 (15:08 +0100)]
amc: Java longs are gint64s

9 years agoamc: Improve JNI utilities and add some missing ones
Sebastian Dröge [Sat, 28 Mar 2015 13:31:41 +0000 (14:31 +0100)]
amc: Improve JNI utilities and add some missing ones

We now fill GErrors for everything that could throw an exception, and method
calls now always return a gboolean and their value in an out-parameter to
distinguish failures from other values.

9 years agoglcolorconvert: Fix last commit
Sebastian Dröge [Sat, 11 Apr 2015 17:35:48 +0000 (19:35 +0200)]
glcolorconvert: Fix last commit

9 years agogl: Remove iOS/EAGL workaround for R/RG textures
Sebastian Dröge [Sat, 11 Apr 2015 17:17:00 +0000 (19:17 +0200)]
gl: Remove iOS/EAGL workaround for R/RG textures

This should be unneeded now after https://bugzilla.gnome.org/show_bug.cgi?id=732507

9 years agoglcolorconvert: Add correct check for RG/R textures in glcolorconvert too
Sebastian Dröge [Sat, 11 Apr 2015 17:14:34 +0000 (19:14 +0200)]
glcolorconvert: Add correct check for RG/R textures in glcolorconvert too

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

9 years agowinks: fix debug message parameter format
Tim-Philipp Müller [Sat, 11 Apr 2015 11:12:57 +0000 (12:12 +0100)]
winks: fix debug message parameter format

The first part of the GUID structure is a DWORD
which is defined as an unsigned long, so we need
to either cast or use %08lx.

9 years agopcapparse: Take buffer directly from the adapter
Olivier Crête [Sat, 11 Apr 2015 00:25:49 +0000 (20:25 -0400)]
pcapparse: Take buffer directly from the adapter

No need to make a copy into a new buffer, just take the data
from the adapter.

9 years agopcapparse: Produce GstBufferList
Olivier Crête [Sat, 11 Apr 2015 00:15:52 +0000 (20:15 -0400)]
pcapparse: Produce GstBufferList

9 years agowrappercamerabinsrc: remove unused attribute and related pad probe
Thiago Santos [Fri, 10 Apr 2015 19:23:25 +0000 (16:23 -0300)]
wrappercamerabinsrc: remove unused attribute and related pad probe

The variable was never set to true and can be removed along
with the probe in which it used to act

9 years agoglbasefilter: avoid segfault when gl platform is not available
Anton Obzhirov [Tue, 31 Mar 2015 16:10:45 +0000 (17:10 +0100)]
glbasefilter: avoid segfault when gl platform is not available

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

9 years agotests: fix type mismatch in varargs passing
Vincent Penquerc'h [Thu, 9 Apr 2015 15:20:44 +0000 (16:20 +0100)]
tests: fix type mismatch in varargs passing

A bitmask is 64 bits, but integer immediates are passed as int
in varargs, which happen to be 32 bit with high probability.

This triggered a valgrind jump-relies-on-uninitalized-value
report well away from the site, since it doesn't trigger on
stack accesses, and there must have been enough zeroes to stop
g_object_set at the right place.

9 years agotsdemux: handle seeks with no target (ie, keep current position)
Vincent Penquerc'h [Wed, 20 Aug 2014 12:46:12 +0000 (13:46 +0100)]
tsdemux: handle seeks with no target (ie, keep current position)

Such seeks are used to change playback rate and we do not want
to alter the position in that case, so we bypass the flush/seek
logic, and set things up so a new segment is scheduled to be
regenerated.

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

9 years agotsparse: fix timestamps not updating after a PMT change
Vincent Penquerc'h [Thu, 26 Mar 2015 13:46:16 +0000 (13:46 +0000)]
tsparse: fix timestamps not updating after a PMT change

The PCRs stay locked onto the same PID as before the change,
but the relevant PID has no reason to be the same after it.

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

9 years agotsdemux: send new segment when a stream is added
Vincent Penquerc'h [Tue, 24 Mar 2015 12:56:53 +0000 (12:56 +0000)]
tsdemux: send new segment when a stream is added

This will happen when the PMT changes, replacing streams with
new ones. In that case, we need to accumulate the running time
from the previous chain in the segment base.

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

9 years agotsdemux: keep track of current position
Vincent Penquerc'h [Mon, 9 Mar 2015 09:56:38 +0000 (09:56 +0000)]
tsdemux: keep track of current position

This allows seeking to correctly set the base on the segment.

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

9 years agocheck: Don't run the state change test on the dtls elements
Edward Hervey [Thu, 9 Apr 2015 13:41:57 +0000 (15:41 +0200)]
check: Don't run the state change test on the dtls elements

There isn't really any way to test the elements standalone.

9 years agovideoaggregator: Remove broken timestamps-going-backwards check
Sebastian Dröge [Thu, 9 Apr 2015 02:29:40 +0000 (19:29 -0700)]
videoaggregator: Remove broken timestamps-going-backwards check

This would've also triggered if for some reason the segment was updated
in such a way that PTS went backwards, but the running time increased. Like
what happens when non-flushing seeks are done.

We're doing a proper buffer-from-the-past check a few lines below based on the
running time, which is the only time we should care about here.

9 years agoksvideosrc: fix support for DV devices
Andoni Morales Alastruey [Wed, 8 Apr 2015 16:51:50 +0000 (18:51 +0200)]
ksvideosrc: fix support for DV devices

9 years agoksvideosrc: only list capture devices
Andoni Morales Alastruey [Tue, 10 Feb 2015 12:32:00 +0000 (13:32 +0100)]
ksvideosrc: only list capture devices

9 years agotests: Use AM_TESTS_ENVIRONMENT
Edward Hervey [Wed, 8 Apr 2015 14:46:11 +0000 (16:46 +0200)]
tests: Use AM_TESTS_ENVIRONMENT

Needed by the new automake test runner

9 years agoopensles: Explicitly specify layout=interleaved in caps
Arun Raghavan [Wed, 8 Apr 2015 05:22:17 +0000 (10:52 +0530)]
opensles: Explicitly specify layout=interleaved in caps

This is fine to hard-code. Section 9.1.8 of the OpenSL ES 1.1
specification, it is expected that multi-channel audio is always
interleaved.

9 years agoconfigure: Depend on openh264 >= 1.3.0
Edward Hervey [Tue, 7 Apr 2015 13:57:30 +0000 (15:57 +0200)]
configure: Depend on openh264 >= 1.3.0

Required for the version check header, as agreed upon on IRC

9 years agoavfvideosrc: fix setting of buffer offset end
Ilya Konstantinov [Sun, 5 Apr 2015 02:37:09 +0000 (05:37 +0300)]
avfvideosrc: fix setting of buffer offset end

Don't set offset end to random values off the stack.

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

9 years agoopen264: Fix GType/gsize usage
Edward Hervey [Tue, 7 Apr 2015 09:09:38 +0000 (11:09 +0200)]
open264: Fix GType/gsize usage

gstopenh264enc.cpp:108:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]

9 years agoopenh264: Detect 1.4 API change
Edward Hervey [Tue, 7 Apr 2015 09:21:55 +0000 (11:21 +0200)]
openh264: Detect 1.4 API change

As mentionned in release notes : Added new Sps/Pps strategies for real-time
video (replace the old setting variable 'bEnableSpsPpsIdAddition' with
'eSpsPpsIdStrategy')

9 years agoglimagesink: Disconnect mouse/key event signal handlers from window when shutting...
Sebastian Dröge [Tue, 7 Apr 2015 03:28:22 +0000 (20:28 -0700)]
glimagesink: Disconnect mouse/key event signal handlers from window when shutting down context

9 years agoglimagesink: Guard against disconnecting invalid signal ids
Sebastian Dröge [Tue, 7 Apr 2015 03:24:06 +0000 (20:24 -0700)]
glimagesink: Guard against disconnecting invalid signal ids

9 years agomxfdemux: fix memory leak
Guillaume Desmottes [Thu, 26 Mar 2015 10:52:33 +0000 (11:52 +0100)]
mxfdemux: fix memory leak

Reset the internal segment before freeing it.

mxf_index_table_segment_parse() allocates data inside the segment
(like segment->delta_entries) which have to be freed using
mxf_index_table_segment_reset().

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

9 years agohlssink: write the playlist end marker on EOS
Thiago Santos [Sat, 4 Apr 2015 13:56:56 +0000 (10:56 -0300)]
hlssink: write the playlist end marker on EOS

Catch EOS from the multifilesink and add the endlist marker to
the playlist when it happens

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

9 years agoaggregator: document gap handling behavior
Reynaldo H. Verdejo Pinochet [Sun, 29 Mar 2015 20:53:23 +0000 (17:53 -0300)]
aggregator: document gap handling behavior

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

9 years agoaggregator: drop stale white space at warning
Reynaldo H. Verdejo Pinochet [Fri, 27 Mar 2015 22:36:42 +0000 (19:36 -0300)]
aggregator: drop stale white space at warning

9 years agoaggregator: fix typo in test suite
Reynaldo H. Verdejo Pinochet [Fri, 27 Mar 2015 22:28:05 +0000 (19:28 -0300)]
aggregator: fix typo in test suite

9 years agoaggregator: add gap event handling unit test
Reynaldo H. Verdejo Pinochet [Fri, 27 Mar 2015 21:32:27 +0000 (18:32 -0300)]
aggregator: add gap event handling unit test

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

9 years agoaggregator: implement gap handling
Reynaldo H. Verdejo Pinochet [Wed, 18 Mar 2015 01:13:06 +0000 (22:13 -0300)]
aggregator: implement gap handling

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

9 years agoAutomatic update of common submodule
Tim-Philipp Müller [Fri, 3 Apr 2015 17:57:58 +0000 (18:57 +0100)]
Automatic update of common submodule

From bc76a8b to c8fb372

9 years agoopus: Fix incorrect fall-through condition in property getter
Arun Raghavan [Fri, 3 Apr 2015 06:16:12 +0000 (11:46 +0530)]
opus: Fix incorrect fall-through condition in property getter

9 years agoshmsink: add an shm-area-name property
Guillaume Emont [Fri, 27 Apr 2012 16:29:14 +0000 (18:29 +0200)]
shmsink: add an shm-area-name property

The shm-area-property tells the name of the shm area used by the element. This
is useful for cases where shmsink is not able to clean up (calling
shm_unlink()), e.g. if it is in a sandbox.

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

9 years agoaggregator: Unify downstream flow return and flushing
Olivier Crête [Thu, 2 Apr 2015 02:10:11 +0000 (22:10 -0400)]
aggregator: Unify downstream flow return and flushing

Also means that having a non-OK downstream flow return
wakes up the chain functions.

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

9 years agoaggregator: Flushing is always in pad lock, no need to atomics
Olivier Crête [Thu, 2 Apr 2015 01:45:01 +0000 (21:45 -0400)]
aggregator: Flushing is always in pad lock, no need to atomics

The usage of atomics was always doubtful as it was used to release a
GCond

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

9 years agoaggregator: Reset pending_eos on pad flush
Olivier Crête [Thu, 2 Apr 2015 01:38:11 +0000 (21:38 -0400)]
aggregator: Reset pending_eos on pad flush

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

9 years agoaggregator: Unify code to set a pad flushing
Olivier Crête [Thu, 2 Apr 2015 01:37:25 +0000 (21:37 -0400)]
aggregator: Unify code to set a pad flushing

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

9 years agolibgstgl: fix rendering on iOS
Alessandro Decina [Thu, 2 Apr 2015 07:05:55 +0000 (18:05 +1100)]
libgstgl: fix rendering on iOS

Stop assuming that the handle has been set by the time ->create_context is
called. After bc7a7259f357b0065dd94e0668b5a895d83fa53a set_window_handle always
happens after ->create_context in fact.

See also https://bugzilla.gnome.org/show_bug.cgi?id=745090