platform/upstream/gstreamer.git
10 years agomxfdemux: remove unread last_flow variable
Thiago Santos [Tue, 27 May 2014 10:42:14 +0000 (07:42 -0300)]
mxfdemux: remove unread last_flow variable

it isn't necessary anymore and is already unused

10 years agoglimagesink: make it actually honor show-preroll-frame property
Julien Isorce [Tue, 27 May 2014 10:28:27 +0000 (11:28 +0100)]
glimagesink: make it actually honor show-preroll-frame property

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

10 years agomxfdemux: Compare positions to find the earliest pad, not flow returns
Sebastian Dröge [Tue, 27 May 2014 10:08:50 +0000 (12:08 +0200)]
mxfdemux: Compare positions to find the earliest pad, not flow returns

10 years agogl: add missing cgl and eagl context type
Julien Isorce [Tue, 27 May 2014 07:54:20 +0000 (08:54 +0100)]
gl: add missing cgl and eagl context type

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

10 years agogl: rename platform cocoa to cgl
Julien Isorce [Tue, 27 May 2014 07:46:16 +0000 (08:46 +0100)]
gl: rename platform cocoa to cgl

Before:
GST_GL_PLATFORM=cocoa GST_GL_WINDOW=cocoa
gst-launch-1.0 videotestsrc ! glimagesink

After:
GST_GL_PLATFORM=cgl GST_GL_WINDOW=cocoa
gst-launch-1.0 videotestsrc ! glimagesink

but still pass --enable-cocoa to configure script
because currently it can only be used with cocoa API.

We could later have cgl/gstglcontext_cgl.h that manages
a CGLContextObj directly and cocoa/gstglcontext_cocoa.h
would just wrap it.
So that it could be used with other Apple's window APIs.

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

10 years agoRevert "androidmedia: Place some const keywords in a few places"
Sebastian Dröge [Tue, 27 May 2014 06:51:09 +0000 (08:51 +0200)]
Revert "androidmedia: Place some const keywords in a few places"

This reverts commit 3078b3a34c1f75b86bd629df1cd7c089a0f69999.

gst_video_frame_map() doesn't take a const GstVideoInfo*, so
all this is rather useless.

10 years agogl/mixer: don't segfault when we don't have a buffer
Matthew Waters [Tue, 27 May 2014 03:55:15 +0000 (13:55 +1000)]
gl/mixer: don't segfault when we don't have a buffer

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

10 years agogl/window_x11: avoid BadDrawable error on shutdown
Matthew Waters [Tue, 27 May 2014 03:04:39 +0000 (13:04 +1000)]
gl/window_x11: avoid BadDrawable error on shutdown

10 years agomxfdemux: use GstFlowCombiner
Thiago Santos [Mon, 26 May 2014 20:34:40 +0000 (17:34 -0300)]
mxfdemux: use GstFlowCombiner

Removes flow return combination code to use the newly added GstFlowCombiner

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

10 years agompegdemux: use GstFlowCombiner
Thiago Santos [Mon, 26 May 2014 20:18:01 +0000 (17:18 -0300)]
mpegdemux: use GstFlowCombiner

Removes flow return combination code to use the newly added GstFlowCombiner

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

10 years agotsdemux: use GstFlowCombiner
Thiago Santos [Fri, 23 May 2014 21:26:57 +0000 (18:26 -0300)]
tsdemux: use GstFlowCombiner

Removes flow return combination code to use the newly added GstFlowCombiner

10 years agogl/context_egl: pass the vars in the right order to DestroySurface
Matthew Waters [Tue, 27 May 2014 00:47:25 +0000 (10:47 +1000)]
gl/context_egl: pass the vars in the right order to DestroySurface

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

10 years agoandroidmedia: Place some const keywords in a few places
Sebastian Dröge [Mon, 26 May 2014 14:31:11 +0000 (16:31 +0200)]
androidmedia: Place some const keywords in a few places

10 years agoandroidmedia: add gst_amc_color_format_copy
Chen Jie [Wed, 13 Nov 2013 10:41:33 +0000 (18:41 +0800)]
androidmedia: add gst_amc_color_format_copy

gst_amc_color_format_copy will copy in/out a frame resides at a
GstAmcBuffer. Lots of codes in gst_amc_video_*_fill_buffer are moved to
this new function.

10 years agoandroidmedia: move create_src|sink_caps to gstamc.c
Chen Jie [Tue, 8 Oct 2013 13:11:48 +0000 (21:11 +0800)]
androidmedia: move create_src|sink_caps to gstamc.c

Some hack logic needs also to be present in create_src|sink_caps, for
working around some broken codecs. These hacks are hidden
in color_format/video_format conversion -- the prototypes of these
functions are also changed to include more args for hack judgement.

Also in case of multi-color_formats mapped to one video_format, then
map that video_format back will not give the original color_format, which
causes gst_amc_codec_configure failed with something like
'does not support color format N'.

The new prototype involves with GstAmcCodecInfo and mime, which
ensures the converted color_format is supported by the codec.

A COLOR_FormatYCbYCr to GST_VIDEO_FORMAT_YUY2 mapping is also added, in
order to work around bugs in OMX.k3.video.decoder.avc(which incorrectly
reports supporting COLOR_FormatYCbYCr, which is actually
COLOR_FormatYUV420SemiPlanar). There are already hacks for this in
gst_amc_video_format_to_color_format, gst_amc_color_format_to_video_format
and gst_amc_color_format_info_set, but the codec will still not work(be
ignored because of "has unknown color formats") without adding this mapping.

10 years agodvb: parsechannels: add delsys property
Stefan Ringel [Fri, 11 Apr 2014 13:14:17 +0000 (15:14 +0200)]
dvb: parsechannels: add delsys property

Signed-off-by: Stefan Ringel <linuxtv@stefanringel.de>
https://bugzilla.gnome.org/show_bug.cgi?id=709414

10 years agowin32: update .def for new symbols
Edward Hervey [Mon, 26 May 2014 11:29:53 +0000 (13:29 +0200)]
win32: update .def for new symbols

10 years agodvbsrc: map SYS_DVBC_ANNEX_A SYS_DVBC_ANNEX_AC for DVB API < 5.6
Vincent Penquerc'h [Fri, 11 Apr 2014 14:38:16 +0000 (15:38 +0100)]
dvbsrc: map SYS_DVBC_ANNEX_A SYS_DVBC_ANNEX_AC for DVB API < 5.6

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

10 years agodvbsrc: fix typo in testing flag
Vincent Penquerc'h [Tue, 15 Apr 2014 08:31:02 +0000 (09:31 +0100)]
dvbsrc: fix typo in testing flag

% instead of &

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

10 years agoamcvideoenc: Unit of bitrate property is now bit/sec
Chen Jie [Sun, 25 May 2014 07:16:13 +0000 (15:16 +0800)]
amcvideoenc: Unit of bitrate property is now bit/sec

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

10 years agoexamples: Add support for DVB Bouquet Name parsing
Edward Hervey [Mon, 26 May 2014 09:55:31 +0000 (11:55 +0200)]
examples: Add support for DVB Bouquet Name parsing

10 years agompegts: Fix Bouquet Name parsing
Edward Hervey [Mon, 26 May 2014 09:54:50 +0000 (11:54 +0200)]
mpegts: Fix Bouquet Name parsing

the field is not length prefixed

10 years agoexamples: Add support for DVB Service List descriptor
Edward Hervey [Mon, 26 May 2014 09:42:46 +0000 (11:42 +0200)]
examples: Add support for DVB Service List descriptor

10 years agompegts: add bouquet name descriptor
Stefan Ringel [Thu, 17 Apr 2014 12:56:23 +0000 (14:56 +0200)]
mpegts: add bouquet name descriptor

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

10 years agompegts: add stuffing descriptor
Stefan Ringel [Thu, 17 Apr 2014 12:55:29 +0000 (14:55 +0200)]
mpegts: add stuffing descriptor

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

10 years agompegts: add service list descriptor
Stefan Ringel [Thu, 17 Apr 2014 12:54:28 +0000 (14:54 +0200)]
mpegts: add service list descriptor

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

10 years agoopusenc: Use aux vars to minimize critical region
Miguel París Díaz [Sat, 10 May 2014 16:32:28 +0000 (18:32 +0200)]
opusenc: Use aux vars to minimize critical region

This avoid dead lock between gst_audio_encoder_finish_frame() and
gst_opus_enc_get_property().
Also, now bytes var is set into protected section.

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

10 years agodvbsrc: Add missing tone ioctl
Stefan Ringel [Sat, 24 May 2014 17:51:12 +0000 (19:51 +0200)]
dvbsrc: Add missing tone ioctl

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

10 years agoglfilter: Remove format information to allow color convert again
Nicolas Dufresne [Sun, 25 May 2014 13:03:32 +0000 (09:03 -0400)]
glfilter: Remove format information to allow color convert again

We also need to remove the format information,  as glfilter can do
color convertion. This code was imported from videoconvert.

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

10 years agogl/memory: allocate the correct memory size
Matthew Waters [Sun, 25 May 2014 01:44:57 +0000 (11:44 +1000)]
gl/memory: allocate the correct memory size

and avoid wasting resources we will never need

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

10 years agoglcolorconvert: Fix YUY2 and UYVY support with luminance_alpha
Nicolas Dufresne [Sat, 24 May 2014 03:02:32 +0000 (23:02 -0400)]
glcolorconvert: Fix YUY2 and UYVY support with luminance_alpha

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

10 years agoandroidmedia: Add a new QCOM color format
Jorge Zapata [Tue, 3 Dec 2013 11:09:58 +0000 (12:09 +0100)]
androidmedia: Add a new QCOM color format

It is a NV12 based, aligned to 32 bytes

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

10 years agoandroidmedia: First try to get symbols from the current program, then load libdvm
Sebastian Dröge [Fri, 23 May 2014 13:00:42 +0000 (15:00 +0200)]
androidmedia: First try to get symbols from the current program, then load libdvm

If the application is using the new ART runtime it will otherwise
load dalvik and start a dalvik VM next to the ART VM.
Does not work very well obviously.

10 years agoandroidmedia: add support for video encoding
Chen Jie [Mon, 1 Apr 2013 07:49:01 +0000 (07:49 +0000)]
androidmedia: add support for video encoding

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

10 years agogl/memory: provide compatability defines
Matthew Waters [Fri, 23 May 2014 02:07:50 +0000 (12:07 +1000)]
gl/memory: provide compatability defines

fixes build on android/OS X

10 years agogl/colorconvert: remove scratch texture for YUY2/UYVY
Matthew Waters [Fri, 23 May 2014 01:01:06 +0000 (11:01 +1000)]
gl/colorconvert: remove scratch texture for YUY2/UYVY

We can get all our data from the one RG/LA texture with some shader magic.

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

10 years agogl/memory: RGBA/UNSIGNED_BYTE only format supported by ReadPixels GLES2
Matthew Waters [Fri, 23 May 2014 00:59:05 +0000 (10:59 +1000)]
gl/memory: RGBA/UNSIGNED_BYTE only format supported by ReadPixels GLES2

Error out in case we attempt to read with any other invalid format.

10 years agogl/memory: generate textures with a sized internal format
Matthew Waters [Fri, 23 May 2014 00:57:24 +0000 (10:57 +1000)]
gl/memory: generate textures with a sized internal format

Required in order to generate RG and RED textured with GLES3.

10 years agogl/memory: implement GL_EXT_texture_rg support
Matthew Waters [Wed, 21 May 2014 11:47:45 +0000 (21:47 +1000)]
gl/memory: implement GL_EXT_texture_rg support

Which is used by default over the Luminance formats due to it
being color renderable with fbos (and deprecation/removal with
GL 3.x).

https://bugzilla.gnome.org/show_bug.cgi?id=729750
https://bugzilla.gnome.org/show_bug.cgi?id=704222
https://bugzilla.gnome.org/show_bug.cgi?id=728890

10 years agoRevert "h264parser: Remove unused fps_num/fps_den fields"
Nicolas Dufresne [Thu, 22 May 2014 15:50:16 +0000 (11:50 -0400)]
Revert "h264parser: Remove unused fps_num/fps_den fields"

This breaks the build since mss has not been ported.

This reverts commit aeb6a520742fd82888e41ea23f9a39add51125a0.

10 years agoh264parser: Remove unused fps_num/fps_den fields
Sebastian Dröge [Thu, 22 May 2014 14:12:01 +0000 (16:12 +0200)]
h264parser: Remove unused fps_num/fps_den fields

Instead the newly added function should be used to calculate
the framerate properly.

10 years agoh264parse: use new gst_h264_video_calculate_framerate() to get framerate
Aurélien Zanelli [Mon, 19 May 2014 15:52:38 +0000 (17:52 +0200)]
h264parse: use new gst_h264_video_calculate_framerate() to get framerate

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

10 years agocodecparsers_h264: add gst_h264_video_calculate_framerate()
Aurélien Zanelli [Mon, 19 May 2014 15:43:54 +0000 (17:43 +0200)]
codecparsers_h264: add gst_h264_video_calculate_framerate()

Add a new function to calculate video stream framerate which rely on
SPS, slice header and pic timing using formula:

         time_scale                1                         1
fps = -----------------  x  ---------------  x  ------------------------
      num_units_in_tick     DeltaTfiDivisor     (field_pic_flag ? 2 : 1)

See section E2.1 of H264 specification for definition of variables.

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

10 years agogl/context: add gl extension checking to check_feature()
Matthew Waters [Wed, 21 May 2014 11:44:40 +0000 (21:44 +1000)]
gl/context: add gl extension checking to check_feature()

Useful for extensions that do not define any new GL API entrypoints
but can still modify behaviour when used.

10 years agogl/download: fixup YUY2/UYVY download
Matthew Waters [Wed, 21 May 2014 10:36:37 +0000 (20:36 +1000)]
gl/download: fixup YUY2/UYVY download

Regression from 2da979831ec3b1a8d993eb6f2d3999c5810c4d67 as it did
not update the download code to reflect the change in texture format.

10 years agoh264parse: set field_pic_flag when parsing a slice header
Aurélien Zanelli [Mon, 19 May 2014 09:48:55 +0000 (11:48 +0200)]
h264parse: set field_pic_flag when parsing a slice header

field_pic_flag was used but never set to other value than its default

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

10 years agohlsdemux: Fix storing of the IV based on the media sequence number
Damian Ziobro [Thu, 22 May 2014 10:54:40 +0000 (11:54 +0100)]
hlsdemux: Fix storing of the IV based on the media sequence number

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

10 years agodvbsrc: fix building with newer kernel headers
Michael Olbrich [Thu, 22 May 2014 10:23:57 +0000 (12:23 +0200)]
dvbsrc: fix building with newer kernel headers

c400eef3772b7dc470eefae02a1288c2b125e25c introduced some defines to handle
older kernel headers. However, the check is done before the corresponding
kernel header (dvb/frontend.h) is included. As a result the macros are
always defined with results in 'redefined' errors with newer kernel
headers.
Move the check after the include to fix this.

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

10 years agoBack to development
Sebastian Dröge [Wed, 21 May 2014 11:23:30 +0000 (13:23 +0200)]
Back to development

10 years agoRelease 1.3.2
Sebastian Dröge [Wed, 21 May 2014 11:06:35 +0000 (13:06 +0200)]
Release 1.3.2

10 years agoUpdate .po files
Sebastian Dröge [Wed, 21 May 2014 10:42:56 +0000 (12:42 +0200)]
Update .po files

10 years agogl/filter: fixup passthrough bufferpool
Matthew Waters [Wed, 21 May 2014 09:47:22 +0000 (19:47 +1000)]
gl/filter: fixup passthrough bufferpool

In a pipeline like so:
  videotestsrc ! gleffects ! videoconvert ! sink
gleffects was simply passing the videoconvert bufferpool to videotestsrc
and not creating a glbufferpool. videobufferpool would then fail
to allocate from the glallocator.

10 years agoAutomatic update of common submodule
Sebastian Dröge [Wed, 21 May 2014 08:51:26 +0000 (10:51 +0200)]
Automatic update of common submodule

From 211fa5f to 1f5d3c3

10 years agodvb-section: Don't compare unsigned integers for >= 0
Sebastian Dröge [Wed, 21 May 2014 06:53:03 +0000 (08:53 +0200)]
dvb-section: Don't compare unsigned integers for >= 0

gst-dvb-section.c:93:12: error: comparison of unsigned expression >= 0 is always true
      [-Werror,-Wtautological-compare]
  if (hour >= 0 && hour < 24 && minute >= 0 && minute < 60 && second >= 0
      ~~~~ ^  ~
gst-dvb-section.c:93:40: error: comparison of unsigned expression >= 0 is always true
      [-Werror,-Wtautological-compare]
  if (hour >= 0 && hour < 24 && minute >= 0 && minute < 60 && second >= 0
                                ~~~~~~ ^  ~
gst-dvb-section.c:93:70: error: comparison of unsigned expression >= 0 is always true
      [-Werror,-Wtautological-compare]
  if (hour >= 0 && hour < 24 && minute >= 0 && minute < 60 && second >= 0
                                                              ~~~~~~ ^  ~

10 years agocurlsshsink: post error on bus in element, not transfer thread
L. Sorin [Tue, 20 May 2014 15:09:43 +0000 (17:09 +0200)]
curlsshsink: post error on bus in element, not transfer thread

Looks like this file was missed in Bug 728960:
https://bugzilla.gnome.org/show_bug.cgi?id=728960

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

10 years agogl/upload: switch the 'master' texture for YUY2, UYVY
Matthew Waters [Wed, 21 May 2014 00:26:21 +0000 (10:26 +1000)]
gl/upload: switch the 'master' texture for YUY2, UYVY

From d4bcef3204709159713ff1630978ecac0bd91dc9 on, using a RGBA
texture to hold the data causes the glmemory to have half width
and a scaling of [2, 1].  Using a LA texture solves this problem
however cannot be attached to the framebuffer for copying into
a RGBA texture.  Which will be solved by moving to EXT_texture_rg.

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

10 years agogl/eglimage: add eglimage context feature
Matthew Waters [Wed, 14 May 2014 07:59:52 +0000 (17:59 +1000)]
gl/eglimage: add eglimage context feature

Allows us to selectively use EGLImages only when available

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

10 years agogl/context: add generic feature checking
Matthew Waters [Wed, 14 May 2014 07:33:21 +0000 (17:33 +1000)]
gl/context: add generic feature checking

At the moment it simply delegates to the subclass.

10 years agobayer: fix unused variable
Wim Taymans [Tue, 20 May 2014 09:42:35 +0000 (11:42 +0200)]
bayer: fix unused variable

10 years agocurlsftpsink: authenticate remote host via public key fingerprint
L. Sorin [Tue, 28 Jan 2014 13:04:11 +0000 (14:04 +0100)]
curlsftpsink: authenticate remote host via public key fingerprint

Expose one more libcurl option: CURLOPT_SSH_HOST_PUBLIC_KEY_MD5.
This allows authenticating the server by the MD5 fingerprint of
the server's public key.

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

10 years agompegts: Check hour:minute:second values before creating datetime
Thiago Santos [Mon, 19 May 2014 16:43:59 +0000 (13:43 -0300)]
mpegts: Check hour:minute:second values before creating datetime

Avoids assertions when the packets are malformed and also add the case
where the time isn't specified, only the date.

10 years agoglimagesink: Check if context creation failed before trying to use it
Sebastian Dröge [Mon, 19 May 2014 10:25:51 +0000 (12:25 +0200)]
glimagesink: Check if context creation failed before trying to use it

Otherwise we will cause assertions everywhere by passing NULL to functions
and eventually crash when dereferencing a NULL pointer.

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

10 years agoglcontext: Add more assertions to make sure that everything sets the GError during...
Sebastian Dröge [Mon, 19 May 2014 10:21:13 +0000 (12:21 +0200)]
glcontext: Add more assertions to make sure that everything sets the GError during context creation if something fails

10 years agofreeverb: Don't pass floats to abs() but instead cast them to ints first
Sebastian Dröge [Mon, 19 May 2014 09:34:42 +0000 (11:34 +0200)]
freeverb: Don't pass floats to abs() but instead cast them to ints first

gstfreeverb.c:781:29: error: using integer absolute value function 'abs' when
      argument is of floating point type [-Werror,-Wabsolute-value]
    if (abs (out_l2) > 0 || abs (out_r2) > 0)

10 years agorsvgdec: Unref handle and output state on error paths
Sebastian Dröge [Mon, 19 May 2014 07:12:14 +0000 (09:12 +0200)]
rsvgdec: Unref handle and output state on error paths

CID 1214604

10 years agoopensles: Work around race condition in Android < 4.2 that leads to deadlocks on...
Sebastian Dröge [Fri, 16 May 2014 07:10:48 +0000 (09:10 +0200)]
opensles: Work around race condition in Android < 4.2 that leads to deadlocks on shutdown

We need to sleep a bit before destroying the player object
because of a bug in Android in versions < 4.2.

OpenSLES is using AudioTrack for rendering the sound. AudioTrack
has a thread that pulls raw audio from the buffer queue and then
passes it forward to AudioFlinger (AudioTrack::processAudioBuffer()).
This thread is calling various callbacks on events, e.g. when
an underrun happens or to request data. OpenSLES sets this callback
on AudioTrack (audioTrack_callBack_pullFromBuffQueue() from
android_AudioPlayer.cpp). Among other things this is taking a lock
on the player interface.

Now if we destroy the player interface object, it will first of all
take the player interface lock (IObject_Destroy()). Then it destroys
the audio player instance (android_audioPlayer_destroy()) which then
calls stop() on the AudioTrack and deletes it. Now the destructor of
AudioTrack will wait until the rendering thread (AudioTrack::processAudioBuffer())
has finished.

If all this happens with bad timing it can happen that the rendering
thread is currently e.g. handling underrun but did not lock the player
interface object yet. Then destroying happens and takes the lock and waits
for the thread to finish. Then the thread tries to take the lock and waits
forever.

We wait a bit before destroying the player object to make sure that
the rendering thread finished whatever it was doing, and then stops
(note: we called gst_opensles_ringbuffer_stop() before this already).

10 years agompegts: mpegtsdescriptor: fix gobject-introspection warnings
Thiago Santos [Thu, 15 May 2014 23:34:48 +0000 (20:34 -0300)]
mpegts: mpegtsdescriptor: fix gobject-introspection warnings

Adds missing : to gobject-introspection markers

10 years agompegts: sections: prevent assertion when packet parsing fails
Thiago Santos [Thu, 15 May 2014 22:16:30 +0000 (19:16 -0300)]
mpegts: sections: prevent assertion when packet parsing fails

the descriptors entry can be left as NULL and freeing the structure
will fail (assertion happens)

10 years agomotioncells: fix memleak
Nicola Murino [Wed, 14 May 2014 19:32:10 +0000 (21:32 +0200)]
motioncells: fix memleak

Check gst_buffer_map return and remember to unmap and free memory before
returning

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

10 years agobluez: fix property names
Wim Taymans [Wed, 14 May 2014 09:47:03 +0000 (11:47 +0200)]
bluez: fix property names

These were forgotten when they got renamed.

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

10 years agogl/download: update to be similar to the glupload semantics
Matthew Waters [Tue, 13 May 2014 04:13:57 +0000 (14:13 +1000)]
gl/download: update to be similar to the glupload semantics

10 years agogl/colorconvert: fix up alpha clobbering
Matthew Waters [Tue, 13 May 2014 04:07:39 +0000 (14:07 +1000)]
gl/colorconvert: fix up alpha clobbering

Previously it would only work if the alpha value was in the last
component (RGBx, BGRx).  Now it works wherever the alpha value may
be (xRGB, xBGR, etc).

10 years agomxfdemux: post error message when erroring out on unsupported essence wrapping
Tim-Philipp Müller [Tue, 13 May 2014 23:23:35 +0000 (00:23 +0100)]
mxfdemux: post error message when erroring out on unsupported essence wrapping

10 years agoAdd missing backslash in Android.mk
Aurélien Zanelli [Thu, 10 Apr 2014 14:10:06 +0000 (16:10 +0200)]
Add missing backslash in Android.mk

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

10 years agohlssink: do not leak playlist object
Thiago Santos [Tue, 13 May 2014 19:29:46 +0000 (16:29 -0300)]
hlssink: do not leak playlist object

In finalize, also release the playlist

10 years agoglfilter: Fix building without EGL support
Nicolas Dufresne [Tue, 13 May 2014 17:16:34 +0000 (13:16 -0400)]
glfilter: Fix building without EGL support

This fixes the OSX build and any builds with --disable-egl. That issue
was introduced in "glfilter: rewrite transform_caps to preserve caps fields".

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

10 years agoglfilter: rewrite transform_caps to preserve caps fields
Julien Isorce [Tue, 13 May 2014 12:30:47 +0000 (13:30 +0100)]
glfilter: rewrite transform_caps to preserve caps fields

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

10 years agogl/colorconvert: use the texture scaling from the gl memory
Matthew Waters [Tue, 13 May 2014 00:53:19 +0000 (10:53 +1000)]
gl/colorconvert: use the texture scaling from the gl memory

The colorconvert values were not being used at all.

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

10 years agoglmemory: Fix handling of stride with alignement larger then 8
Nicolas Dufresne [Mon, 12 May 2014 23:29:45 +0000 (19:29 -0400)]
glmemory: Fix handling of stride with alignement larger then 8

Setting a scaled factor for X coordinate is not enough as the indexer
will still think stride is shorter and will not fully skip it. Instead,
update width, so the lines are as expected. Combined with the scale, it
will hide the cropped portion.

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

10 years agodashdemux: mpdparser: properly unref gstdatetime
Thiago Santos [Tue, 13 May 2014 14:22:58 +0000 (11:22 -0300)]
dashdemux: mpdparser: properly unref gstdatetime

Avoid leaking the GstDateTime instances when summing dates

CID #1212143

10 years agodashdemux: mpdparser: avoid double free of segment timeline node
Thiago Santos [Tue, 13 May 2014 13:24:51 +0000 (10:24 -0300)]
dashdemux: mpdparser: avoid double free of segment timeline node

The parsing function already frees the old value (if any), avoid a double
free by not freeing it before calling the function without setting the
pointer to NULL

Coverity ID: 1212178

10 years agodashdemux: mpdparser: avoid double free
Thiago Santos [Tue, 13 May 2014 13:13:37 +0000 (10:13 -0300)]
dashdemux: mpdparser: avoid double free

The _parse_url function already frees the previous pointer, avoid
freeing it before without setting to null or we have a double free.

Coverity ID: 1212181
Coverity ID: 1212180
Coverity ID: 1212179

10 years agoschrodec: Use pool configuration
Edward Hervey [Tue, 13 May 2014 12:21:15 +0000 (14:21 +0200)]
schrodec: Use pool configuration

It was leaking the config, but also not using it...

CID #1212155

10 years agorsvg: Don't leak GstVideoCodecState
Edward Hervey [Tue, 13 May 2014 12:15:24 +0000 (14:15 +0200)]
rsvg: Don't leak GstVideoCodecState

And avoid useless call to _get_output_state (set_output_state() already
returns it).

CID #1212160
CID #1212161

10 years agompegtbase: Small rewrite
Edward Hervey [Tue, 13 May 2014 11:54:23 +0000 (13:54 +0200)]
mpegtbase: Small rewrite

Setting done was useless anyway

10 years agodash: Don't leak GstActiveStream
Edward Hervey [Tue, 13 May 2014 11:52:48 +0000 (13:52 +0200)]
dash: Don't leak GstActiveStream

CID #1212142

10 years agoshm: Don't leak GstShmPipe
Edward Hervey [Tue, 13 May 2014 09:41:42 +0000 (11:41 +0200)]
shm: Don't leak GstShmPipe

By reordering the leaking code path to before the allocation

CID #1212153

10 years agovmndec: Don't leak output state
Edward Hervey [Tue, 13 May 2014 09:38:44 +0000 (11:38 +0200)]
vmndec: Don't leak output state

_set_output_state returns a reference to the codec state.

CID #1212170

10 years agosdpdemux: Don't leak adapter data
Edward Hervey [Tue, 13 May 2014 09:35:46 +0000 (11:35 +0200)]
sdpdemux: Don't leak adapter data

CID #1212158

10 years agompegpsmux; Fix stream leak
Edward Hervey [Tue, 13 May 2014 09:30:35 +0000 (11:30 +0200)]
mpegpsmux; Fix stream leak

CID #1212164

10 years agojp2kdecimator: Don't leak various slices and arrays
Edward Hervey [Tue, 13 May 2014 09:23:42 +0000 (11:23 +0200)]
jp2kdecimator: Don't leak various slices and arrays

CID #1212139
CID #1212140
CID #1212141

10 years agoasfmux: Don't leak bytereader
Edward Hervey [Tue, 13 May 2014 09:19:24 +0000 (11:19 +0200)]
asfmux: Don't leak bytereader

By making it go through the error path that takes care of cleanups

CID #1212168

10 years agoglupload: Ensure we still have a texture after upload_set_format()
Nicolas Dufresne [Mon, 12 May 2014 17:50:47 +0000 (13:50 -0400)]
glupload: Ensure we still have a texture after upload_set_format()

gst_gl_upload_set_format() resets the upload, hence the texture.
So we need to ensure we have a texture after this call when
uploading.

10 years agoglupload: Correctly update the video info from video meta
Nicolas Dufresne [Mon, 12 May 2014 16:59:59 +0000 (12:59 -0400)]
glupload: Correctly update the video info from video meta

Using gst_video_info_set_format() isn't complete when updating
a video info from video meta.

10 years agoglupload: Correctly update video info in upload fallback
Nicolas Dufresne [Mon, 12 May 2014 16:57:18 +0000 (12:57 -0400)]
glupload: Correctly update video info in upload fallback

When the upload accelerated method fails, we fallback to an upload,
but the video info was not correctly updated.

10 years agomssdemux: avoid deadlocking when erroring
Thiago Santos [Mon, 12 May 2014 21:28:45 +0000 (18:28 -0300)]
mssdemux: avoid deadlocking when erroring

It might get stuck when posting the message while
a reconfigure event is being pushed upstream

10 years agomssdemux: fix caps leak
Thiago Santos [Mon, 12 May 2014 20:37:16 +0000 (17:37 -0300)]
mssdemux: fix caps leak

10 years agomssdemux: handle error messages from internal source
Thiago Santos [Mon, 12 May 2014 18:43:05 +0000 (15:43 -0300)]
mssdemux: handle error messages from internal source

set up a bin message handler to get notified of error messages from
the internal source element

10 years agomssdemux: Always accept the latency configure event
Thiago Santos [Mon, 12 May 2014 17:58:45 +0000 (14:58 -0300)]
mssdemux: Always accept the latency configure event

Upstream or internal elements are irrelevant and we should
always succeed.

10 years agomssdemux: reenable segment tracking for streams
Thiago Santos [Mon, 12 May 2014 17:51:00 +0000 (14:51 -0300)]
mssdemux: reenable segment tracking for streams

Store the latest pushed timestamp so that mssdemux streams know
where they are in time