platform/upstream/gstreamer.git
9 years agoglmixer: do not leak pool in error cases
Ognyan Tonchev [Tue, 16 Sep 2014 09:41:16 +0000 (11:41 +0200)]
glmixer: do not leak pool in error cases

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

9 years agovmncdec: modify wrong packetized mode logic
Vineeth T M [Tue, 16 Sep 2014 07:51:22 +0000 (13:21 +0530)]
vmncdec: modify wrong packetized mode logic

packetized mode is being set when framerate is being set
which is not correct. Changing the same by checking the
input segement format. If input segment is in TIME it is
Packetized, and if it is in BYTES it is not.

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

9 years agowebpdec: Remove unused variable
Sebastian Dröge [Tue, 16 Sep 2014 08:24:37 +0000 (11:24 +0300)]
webpdec: Remove unused variable

9 years agowebpdec: modify wrong packetized mode logic
Vineeth T M [Tue, 16 Sep 2014 07:49:25 +0000 (13:19 +0530)]
webpdec: modify wrong packetized mode logic

packetized mode is being set when framerate is being set
which is not correct. Changing the same by checking the
input segement format. If input segment is in TIME it is
Packetized, and if it is in BYTES it is not.

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

9 years agotemplatematch: Compare the correct loop variables
Sebastian Dröge [Mon, 15 Sep 2014 22:15:31 +0000 (01:15 +0300)]
templatematch: Compare the correct loop variables

9 years agovtdec: No need to set kVTVideoDecoderSpecification_EnableHardwareAcceleratedVideoDeco...
Sebastian Dröge [Mon, 15 Sep 2014 12:42:41 +0000 (15:42 +0300)]
vtdec: No need to set kVTVideoDecoderSpecification_EnableHardwareAcceleratedVideoDecoder on iOS

9 years agoconfigure: And make the preprocessor check work properly
Sebastian Dröge [Mon, 15 Sep 2014 12:36:44 +0000 (15:36 +0300)]
configure: And make the preprocessor check work properly

9 years agoconfigure: Do the AM_CONDITIONAL() after finally setting the variable
Sebastian Dröge [Mon, 15 Sep 2014 12:25:46 +0000 (15:25 +0300)]
configure: Do the AM_CONDITIONAL() after finally setting the variable

9 years agoapplemedia: Don't include VideoToolbox on iOS < 8.0
Sebastian Dröge [Mon, 15 Sep 2014 12:12:31 +0000 (15:12 +0300)]
applemedia: Don't include VideoToolbox on iOS < 8.0

It's private API and does not work without a jailbroken device.

9 years agohlsdemux: Also refetch the playlist after the first fragment failure
Sebastian Dröge [Mon, 15 Sep 2014 10:33:45 +0000 (13:33 +0300)]
hlsdemux: Also refetch the playlist after the first fragment failure

Previously we only refetched the playlist if downloading a fragment
has failed once. We should also do that if it failed a second or third time,
chances are that the playlist was updated now and contains new URIs.

9 years agodash: Actually retry 3 times as advertised instead of 2
Sebastian Dröge [Mon, 15 Sep 2014 08:59:32 +0000 (11:59 +0300)]
dash: Actually retry 3 times as advertised instead of 2

9 years agohls: Actually retry 3 times as advertised instead of 2
Sebastian Dröge [Mon, 15 Sep 2014 08:59:19 +0000 (11:59 +0300)]
hls: Actually retry 3 times as advertised instead of 2

9 years agovtdec: Fix compilation on iOS 8.0
Sebastian Dröge [Sat, 13 Sep 2014 17:49:16 +0000 (20:49 +0300)]
vtdec: Fix compilation on iOS 8.0

9 years agovc1parse: fix malformed sequence layer header and STRUCT_C
Aurélien Zanelli [Thu, 11 Sep 2014 12:36:31 +0000 (14:36 +0200)]
vc1parse: fix malformed sequence layer header and STRUCT_C

This commit fix several issues with sequence layer header forging on
update_caps():
- 0x00000004 unsigned integer is before STRUCT_C.

- Set reserved bits of STRUCT_C to their values for simple/main
  profiles in sequence layer header format and ASF header format.

- Sequence layer shall be represented as a sequence of 32 bits unsigned
  integers and shall be serialized in little-endian byte order except
  for STRUCT_C which shall be serialized in big-endian byte-order.

See SMPTE 421M Annex L for more details about sequence layer format.

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

9 years agodvbsrc: Use proper variable for delivery system
Edward Hervey [Fri, 12 Sep 2014 12:49:44 +0000 (14:49 +0200)]
dvbsrc: Use proper variable for delivery system

We want to check the delivery system is ISDBT (and not the modulation
which we check later in that case).

CID #1238439

9 years agotsdemux: fix trivial coding style issue
Aurélien Zanelli [Fri, 12 Sep 2014 07:30:04 +0000 (09:30 +0200)]
tsdemux: fix trivial coding style issue

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

9 years agotsdemux: fix overflow of packet_length field of PESHeader
Aurélien Zanelli [Thu, 11 Sep 2014 16:33:20 +0000 (18:33 +0200)]
tsdemux: fix overflow of packet_length field of PESHeader

packet_length is defined as a guint16 in the PESHeader structure. This
definition match the specification. But since we add 6 bytes to the
packet_length value (length of start_code + stream_id + packet_length),
we can overflow the guint16 when the value in the PES header is greater
than 65529.
So use a guint32 instead of a guint16 to avoid overflow.

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

9 years agomssdemux: improve position detection when a download restart
Matthieu Bouron [Wed, 10 Sep 2014 18:39:44 +0000 (15:39 -0300)]
mssdemux: improve position detection when a download restart

Query other src pads before falling back to the position of the last
known pushed segment (which can be far ahead in time).

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

9 years agodashdemux: improve position detection when a download restart
Matthieu Bouron [Wed, 10 Sep 2014 13:43:05 +0000 (15:43 +0200)]
dashdemux: improve position detection when a download restart

Query other src pads before falling back to the position of the last
known pushed segment (which can be far ahead in time).

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

9 years agompegpsmux: fix memory leak when converting H.264 avc to byte-stream format
Belozorov Semen [Thu, 11 Sep 2014 12:21:30 +0000 (16:21 +0400)]
mpegpsmux: fix memory leak when converting H.264 avc to byte-stream format

Fix memory leak for input stream with caps "video/x-h264,stream-format=avc".

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

9 years agoaiffmux: allocate byte writer on stack
Tim-Philipp Müller [Wed, 10 Sep 2014 18:27:27 +0000 (19:27 +0100)]
aiffmux: allocate byte writer on stack

9 years agoasfmux: allocate byte readers on the stack
Tim-Philipp Müller [Wed, 10 Sep 2014 18:19:32 +0000 (19:19 +0100)]
asfmux: allocate byte readers on the stack

9 years agotsdemux: clear mutex resources in dispose
Jesper Larsen [Wed, 10 Sep 2014 08:58:03 +0000 (10:58 +0200)]
tsdemux: clear mutex resources in dispose

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

9 years agoFix up one-element lists in template caps
Tim-Philipp Müller [Wed, 10 Sep 2014 16:24:39 +0000 (17:24 +0100)]
Fix up one-element lists in template caps

9 years agoavfvideosrc: fix bogus BGRA caps
Tim-Philipp Müller [Wed, 10 Sep 2014 15:38:52 +0000 (16:38 +0100)]
avfvideosrc: fix bogus BGRA caps

Remove 0.10-style endianness/*_mask/bpp/depth fields.

9 years agobuild: don't AC_SUBST intermediate values
Matthew Waters [Wed, 10 Sep 2014 09:16:53 +0000 (19:16 +1000)]
build: don't AC_SUBST intermediate values

9 years agoGstGLWindow: Introduce navigation thread
Vasilis Liaskovitis [Tue, 9 Sep 2014 10:01:47 +0000 (12:01 +0200)]
GstGLWindow: Introduce navigation thread

This thread dispatches navigation events. It is needed to avoid deadlocks
between window backend threads that emit navigation events (e.g. X11/GMainLoop
thread) and consumers of navigation events such as glimagesink, see
https://bugzilla.gnome.org/show_bug.cgi?id=733661

GstGlWindow_x11 thread is changed to invoke the navigation thread for navigation
dispatching, instead of emiting the event itself. Othe backends beside X11 do
not dispatch navigation events yet, but should use this thread when dispatching
these events in the future.

The navigation thread is currently part of GstGLWindow and not implemented in
separate subclasses / backends. This will be needed in the future.

gst_gl_window_x11_get_surface_dimensions is also changed to use a cached value
of the window's width, height. These values are now retrieved in the X11
thread, function gst_gl_window_x11_handle_event. This change is needed because
otherwise the XGetWindowAttributes gets called from the navigation thread,
leading to xlib aborting due to multithreaded access (if XInitThreads is not
called before, as is the case for gst-launch)

9 years agodvbsrc: retry opening the frontend on EINTR
Reynaldo H. Verdejo Pinochet [Fri, 5 Sep 2014 17:58:19 +0000 (13:58 -0400)]
dvbsrc: retry opening the frontend on EINTR

9 years agodvbsrc: assorted doc & spelling fixes
Reynaldo H. Verdejo Pinochet [Fri, 5 Sep 2014 17:32:09 +0000 (13:32 -0400)]
dvbsrc: assorted doc & spelling fixes

9 years agoRevert "dataurisrc: Remove unnecessary else if condition"
Thiago Santos [Sun, 7 Sep 2014 04:30:16 +0000 (01:30 -0300)]
Revert "dataurisrc: Remove unnecessary else if condition"

This reverts commit 3024ae9c38490817a76c83feab3c8472989cafad.

The *buf can be NULL or not depending if the caller of gst_pad_get_range
function provided or not a buffer.

9 years agotests: hlsdemux: fix compilation
Thiago Santos [Fri, 5 Sep 2014 19:11:08 +0000 (16:11 -0300)]
tests: hlsdemux: fix compilation

In file included from /home/thiagoss/gst/head/gstreamer/gst/gst.h:54:0,
                 from /home/thiagoss/gst/head/gstreamer/libs/gst/check/gstcheck.h:34,
                 from elements/hlsdemux_m3u8.c:27:
../../ext/hls/gstfragmented.h:8:28: error: redundant redeclaration of ‘fragmented_debug’ [-Werror=redundant-decls]
 GST_DEBUG_CATEGORY_EXTERN (fragmented_debug);

Move the definition of the category to after the declaration.

9 years agohlsdemux: And fix Makefile yet again
Sebastian Dröge [Fri, 5 Sep 2014 09:56:13 +0000 (12:56 +0300)]
hlsdemux: And fix Makefile yet again

9 years agohlsdemux: Include the m3u8.c file directly in the test because of an automake bug
Sebastian Dröge [Fri, 5 Sep 2014 09:25:01 +0000 (12:25 +0300)]
hlsdemux: Include the m3u8.c file directly in the test because of an automake bug

$(top_srcdir) doesn't seem to work with _SOURCES because that would be too
obvious.

http://lists.gnu.org/archive/html/automake/2013-09/msg00005.html

9 years agoaiffparse: Fix handling of 64 bit floating point data
Vineeth T M [Fri, 5 Sep 2014 04:23:15 +0000 (09:53 +0530)]
aiffparse: Fix handling of 64 bit floating point data

In gst_aiff_parse_create_caps if and else-if conditions
are duplicated.

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

9 years agofacedetect: Add new property min-stddev
Nicola Murino [Fri, 5 Sep 2014 06:51:30 +0000 (08:51 +0200)]
facedetect: Add new property min-stddev

face detection will be performed only if image standard deviation is
greater that min-stddev. Default min-stddev is 0 for backward
compatibility. This property will avoid to perform face detection on
images with little changes improving cpu usage and reducing false
positives

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

9 years agogltransformation: fix issues and expose mvp matrix
Lubosz Sarnecki [Mon, 7 Jul 2014 08:52:57 +0000 (10:52 +0200)]
gltransformation: fix issues and expose mvp matrix

* aspect should not be 0 on init
* rename fovy to fov
* add mvp to properties as boxed graphene type
* fix transformation order. scale first
* clear color with 1.0 alpha

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

9 years agohlsdemux: Also get the m3u8.c source file from the $(top_srcdir) for the test
Sebastian Dröge [Thu, 4 Sep 2014 18:41:54 +0000 (21:41 +0300)]
hlsdemux: Also get the m3u8.c source file from the $(top_srcdir) for the test

Should fix make distcheck for real now.

9 years agohlsdemux: Use $(top_srcdir) instead of $(top_builddir) for the include path
Sebastian Dröge [Thu, 4 Sep 2014 16:01:45 +0000 (19:01 +0300)]
hlsdemux: Use $(top_srcdir) instead of $(top_builddir) for the include path

9 years agomssdemux: Don't send flush events to deactivated pads
Sebastian Dröge [Thu, 4 Sep 2014 15:21:38 +0000 (18:21 +0300)]
mssdemux: Don't send flush events to deactivated pads

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

9 years agodashdemux: Don't send flush events to deactivated pads
Sebastian Dröge [Thu, 4 Sep 2014 15:21:25 +0000 (18:21 +0300)]
dashdemux: Don't send flush events to deactivated pads

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

9 years agohlsdemux: Don't send flush events to deactivated pads
Sebastian Dröge [Thu, 4 Sep 2014 15:20:58 +0000 (18:20 +0300)]
hlsdemux: Don't send flush events to deactivated pads

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

9 years agohlsdemux: Compile the m3u8.c directly instead of re-using the .o file
Sebastian Dröge [Thu, 4 Sep 2014 14:52:35 +0000 (17:52 +0300)]
hlsdemux: Compile the m3u8.c directly instead of re-using the .o file

9 years agohlsdemux: Add unit test for parsing of M3U8 playlists
Sebastian Dröge [Thu, 4 Sep 2014 14:50:16 +0000 (17:50 +0300)]
hlsdemux: Add unit test for parsing of M3U8 playlists

Ported from https://github.com/ylatuya/gst-plugins-bad

This still has some unit tests for alternative renditions and
seeking, which are commented out for the time being until we
support them properly.

9 years agohlsdemux: Properly assign offsets to the files if we accumulate them instead of readi...
Sebastian Dröge [Thu, 4 Sep 2014 14:49:23 +0000 (17:49 +0300)]
hlsdemux: Properly assign offsets to the files if we accumulate them instead of reading from the playlist

9 years agodataurisrc: Remove unnecessary else if condition
Vineeth T M [Thu, 4 Sep 2014 08:08:21 +0000 (13:38 +0530)]
dataurisrc: Remove unnecessary else if condition

In gst_data_uri_src_create(), buf cannot be NULL, hence
else if (*buf != NULL) will be invalid so removing the
else if condition and adding a check to unreference buf
in else condition, just in case

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

9 years agodvbsrc: simplify ISDB-T launch line example
Reynaldo H. Verdejo Pinochet [Tue, 2 Sep 2014 22:06:53 +0000 (18:06 -0400)]
dvbsrc: simplify ISDB-T launch line example

9 years agodvbsrc: delay locking till actually needed
Reynaldo H. Verdejo Pinochet [Tue, 2 Sep 2014 16:13:01 +0000 (12:13 -0400)]
dvbsrc: delay locking till actually needed

Get rid of unneeded locking at prop setting by doing
it only when tuning the frontend at _tune_fe()

9 years agodataurisrc: Make get_uri() threadsafe
Vineeth T M [Tue, 2 Sep 2014 06:41:44 +0000 (12:11 +0530)]
dataurisrc: Make get_uri() threadsafe

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

9 years agoamcaudiodec: Remove hack for Google MP3 decoder
Sebastian Dröge [Mon, 1 Sep 2014 14:41:50 +0000 (17:41 +0300)]
amcaudiodec: Remove hack for Google MP3 decoder

The first buffer does not contain more garbage than any other MP3 decoder
outputs and we don't really know how much we have to drop or not.

After this change the output has the same duration as with mad.

9 years agozebrastripe: Refactor to remove duplicate code
Vineeth T M [Mon, 1 Sep 2014 02:54:57 +0000 (08:24 +0530)]
zebrastripe: Refactor to remove duplicate code

gst_zebra_stripe_transform_frame_ip_planarY
gst_zebra_stripe_transform_frame_ip_YUY2
gst_zebra_stripe_transform_frame_ip_AYUV
all above 3 functions do the same functionality except for offset and pixel stride.
Hence moving the functionality to a single funtion.

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

9 years agodvbsrc: fix description for modulation prop
Reynaldo H. Verdejo Pinochet [Fri, 29 Aug 2014 22:55:32 +0000 (18:55 -0400)]
dvbsrc: fix description for modulation prop

9 years agodvbsrc: add basic checks on ISDB-T parameters
Reynaldo H. Verdejo Pinochet [Fri, 29 Aug 2014 21:16:09 +0000 (17:16 -0400)]
dvbsrc: add basic checks on ISDB-T parameters

Also add a routine for checking wrong delsys/modulation
combinations right before tuning (only implemented for
ISDB-T for now).

9 years agodvbsrc: add support for additional modulation types
Reynaldo H. Verdejo Pinochet [Fri, 29 Aug 2014 22:09:07 +0000 (18:09 -0400)]
dvbsrc: add support for additional modulation types

9 years agodvbsrc: drop FIXME on _ISDBT_LAYER_ENABLED prop
Reynaldo H. Verdejo Pinochet [Fri, 29 Aug 2014 17:26:12 +0000 (13:26 -0400)]
dvbsrc: drop FIXME on _ISDBT_LAYER_ENABLED prop

Valid values range from 1 to 7 as stated.

DTV_ISDBT_LAYER_ENABLED bitmask is built from
OR-ing 0x1 0x2 0x4. If all bits are set
(0x00000111 = 7) it means all layers should be
demodulated.

9 years agoassrender: remove code that can't be reached
Tim-Philipp Müller [Fri, 29 Aug 2014 18:26:40 +0000 (19:26 +0100)]
assrender: remove code that can't be reached

If this code could ever be reached, it would leak
memory (CID 1231979), but gst_caps_get_features()
never returns NULL, so that can't happen.

9 years agodvbsuboverlay: remove code that can't be reached
Tim-Philipp Müller [Fri, 29 Aug 2014 18:24:52 +0000 (19:24 +0100)]
dvbsuboverlay: remove code that can't be reached

If this code could ever be reached, it would leak
memory (CID 1231977), but gst_caps_get_features()
never returns NULL, so that can't happen.

9 years agoh264parse: fix up handling of input caps corner cases
Tim-Philipp Müller [Thu, 28 Aug 2014 19:12:07 +0000 (20:12 +0100)]
h264parse: fix up handling of input caps corner cases

Do more elaborate validation of the input caps: what fields
are required and/or not allowed. Don't assume AVC3 format
input without codec_data field is byte-stream format. Fix
up some now-unreachable code (CID 1232800).

9 years agoglimagesink: Add missing break to switch
Sebastian Dröge [Thu, 28 Aug 2014 13:42:30 +0000 (16:42 +0300)]
glimagesink: Add missing break to switch

CID 1232801

9 years agorawparse: Reset negotiation state when going back to READY
Sebastian Dröge [Thu, 28 Aug 2014 08:37:56 +0000 (11:37 +0300)]
rawparse: Reset negotiation state when going back to READY

After going back to READY we can accept new format settings again.

9 years agohlsdemux: Support OpenSSL for AES decryption of HLS fragments
Thomas Bluemel [Fri, 22 Aug 2014 21:18:59 +0000 (15:18 -0600)]
hlsdemux: Support OpenSSL for AES decryption of HLS fragments

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

9 years agogl: qglwtextureshare demo fixes and cleanup
Wang Xin-yu (王昕宇) [Tue, 26 Aug 2014 08:21:42 +0000 (16:21 +0800)]
gl: qglwtextureshare demo fixes and cleanup

1. glcontextid function is replaced by gstreamer gst_gl_context_new_wrapped .
2. call gst_init before gst_gl_display_new , seems gst_gl_display_new depends
   on gst_allocator_register , which only worked after gst_init called
3. flush gstreamer OpenGL context before using shared texture, fix
   flicker problem.

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

9 years agogl: Add GSTGLAPI macro to the debug callback function
Wang Xin-yu (王昕宇) [Wed, 27 Aug 2014 05:40:42 +0000 (13:40 +0800)]
gl: Add GSTGLAPI macro to the debug callback function

Fixes the Windows build.

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

9 years agorfbsrc: Clamp out of bounds resolutions to prevent segfaults
Blake Tregre [Thu, 28 Aug 2014 06:53:17 +0000 (09:53 +0300)]
rfbsrc: Clamp out of bounds resolutions to prevent segfaults

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

9 years agogl: do not check for GL/GLU/EGL/GLES2 libs if disabled in configuration
Carlos Rafael Giani [Wed, 27 Aug 2014 12:47:25 +0000 (14:47 +0200)]
gl: do not check for GL/GLU/EGL/GLES2 libs if disabled in configuration

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

9 years agoegl: Wrap KHR_create_context flags in an ifdef
Jan Schmidt [Tue, 26 Aug 2014 02:38:52 +0000 (12:38 +1000)]
egl: Wrap KHR_create_context flags in an ifdef

EGL_CONTEXT_FLAGS_KHR and EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR
don't exist in the Android NDK. Wrap their usage in an #ifdef
EGL_KHR_create_context to fix the build there.

9 years agoh264parse: don't consider unknown stream-format as avc
Thiago Santos [Thu, 21 Aug 2014 15:32:10 +0000 (12:32 -0300)]
h264parse: don't consider unknown stream-format as avc

It should try to use bytestream in these cases that the format
is set to _FORMAT_NONE as it seems that is what the 'else' clause
for bytestream can handle (by defaulting to _FORMAT_BYTESTREAM).

9 years agoh264parse: tests: fix caps for avc format
Thiago Santos [Mon, 25 Aug 2014 16:33:15 +0000 (13:33 -0300)]
h264parse: tests: fix caps for avc format

If it has a codec_data field, it should also use the stream-format=avc as
codec_data doesn't make sense otherwise and the default should
be bytestream

9 years agodocs: add mpegpsmux and mpegtsmux
Tim-Philipp Müller [Mon, 25 Aug 2014 14:21:39 +0000 (15:21 +0100)]
docs: add mpegpsmux and mpegtsmux

9 years agodocs: add audiomixer to docs
Tim-Philipp Müller [Mon, 25 Aug 2014 14:20:59 +0000 (15:20 +0100)]
docs: add audiomixer to docs

9 years agodocs: add aiff elements to docs
Tim-Philipp Müller [Mon, 25 Aug 2014 14:20:16 +0000 (15:20 +0100)]
docs: add aiff elements to docs

9 years agodocs: plugins: misc updates
Tim-Philipp Müller [Mon, 25 Aug 2014 13:56:15 +0000 (14:56 +0100)]
docs: plugins: misc updates

9 years agodocs: move GstPhotography interface docs into the library docs
Tim-Philipp Müller [Mon, 25 Aug 2014 13:43:49 +0000 (14:43 +0100)]
docs: move GstPhotography interface docs into the library docs

Now that we have docs for the libs.

9 years agosndfile: don't decode formats that are better handled by other elements
Tim-Philipp Müller [Mon, 25 Aug 2014 11:21:36 +0000 (12:21 +0100)]
sndfile: don't decode formats that are better handled by other elements

In particular: flac, ogg, pcm, au, aiff, wav.

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

9 years agoegl: fallback to a non-debug context if a debug one fails
Matthew Waters [Fri, 22 Aug 2014 06:49:10 +0000 (16:49 +1000)]
egl: fallback to a non-debug context if a debug one fails

The text for EGL_KHR_create_context added the possiblity for ES
contexts to ask for a debug context however that has not been
fully realized by all implementations.  Fallback to a non-debug
context when the implementation errors.

9 years agosrtpdec: Add support for RTP/RTCP mixing if data arrives on RTCP pad
Youness Alaoui [Tue, 5 Aug 2014 18:06:07 +0000 (14:06 -0400)]
srtpdec: Add support for RTP/RTCP mixing if data arrives on RTCP pad

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

9 years agodashdemux: fix abort in error code path with newer glib
Tim-Philipp Müller [Thu, 21 Aug 2014 15:24:06 +0000 (16:24 +0100)]
dashdemux: fix abort in error code path with newer glib

Don't forget to unlock mpd client again when erroring out.
Fixes abort when g_mutex_clear() is called on a locked mutex.

9 years agogstopengl: add introspection support
Lubosz Sarnecki [Wed, 2 Jul 2014 10:49:44 +0000 (12:49 +0200)]
gstopengl: add introspection support

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

9 years agoexamples: fix gtk+ 3.14 deprecation error
Lubosz Sarnecki [Tue, 5 Aug 2014 10:07:08 +0000 (12:07 +0200)]
examples: fix gtk+ 3.14 deprecation error

https://developer.gnome.org/gtk3/3.13/GtkWidget.html#gtk-widget-set-double-buffered

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

9 years agoglimagesink: expose context
Lubosz Sarnecki [Mon, 7 Jul 2014 08:52:06 +0000 (10:52 +0200)]
glimagesink: expose context

* expose context in draw / reshape callbacks
* add context property

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

9 years agoglshader: expose opengl handle in getter
Lubosz Sarnecki [Mon, 7 Jul 2014 08:51:28 +0000 (10:51 +0200)]
glshader: expose opengl handle in getter

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

9 years agogl: check null before unref GstGLDisplay
Wang Xin-yu (王昕宇) [Wed, 20 Aug 2014 01:37:01 +0000 (09:37 +0800)]
gl: check null before unref GstGLDisplay

9 years agogl: add prototype definition for KHR_debug
Matthew Waters [Thu, 21 Aug 2014 00:03:07 +0000 (10:03 +1000)]
gl: add prototype definition for KHR_debug

9 years agoglcontext: implement the debug callback
Matthew Waters [Wed, 20 Aug 2014 13:24:12 +0000 (23:24 +1000)]
glcontext: implement the debug callback

For both GL_KHR_debug and ARB_debug_output.  This allows us to
receive errors and other hints from the GL instead of querying after
every GL operation.

9 years agogl: add prototypes for KHR_debug/ARB_debug_output
Matthew Waters [Wed, 20 Aug 2014 13:23:06 +0000 (23:23 +1000)]
gl: add prototypes for KHR_debug/ARB_debug_output

9 years agodashdemux: unref pad reference when removing internal source in error
Thiago Santos [Tue, 19 Aug 2014 20:17:33 +0000 (17:17 -0300)]
dashdemux: unref pad reference when removing internal source in error

Avoids leaking the pad in error situations

9 years agodashdemux: read language from ContentComponent node as a fallback
Thiago Santos [Tue, 19 Aug 2014 19:01:58 +0000 (16:01 -0300)]
dashdemux: read language from ContentComponent node as a fallback

If the language is not specified in the AdaptationSet, use the ContentComponent
node to get it. We only get it if there is only a single ContentComponent as
it doesn't seem clear on what to do if there are multiple entries

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

9 years agodashdemux: push language code tag
Matthieu Bouron [Wed, 25 Jun 2014 13:55:32 +0000 (15:55 +0200)]
dashdemux: push language code tag

Language code tag is retrieved from the AdaptationSet language
property.

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

9 years agogl: don't take an extra ref on the display on set_context
Matthew Waters [Tue, 19 Aug 2014 10:14:22 +0000 (20:14 +1000)]
gl: don't take an extra ref on the display on set_context

gst_context_get_gl_display() returns a ref.  Don't take another in
gst_object_replace().

9 years agoglmixer: unref the GstGLUpload in the pad if freed while running
Matthew Waters [Tue, 19 Aug 2014 07:01:36 +0000 (17:01 +1000)]
glmixer: unref the GstGLUpload in the pad if freed while running

Dynamic pipelines that get and release the sink pads will finalize
the pad without going through gst_gl_mixer_stop() which is where the
upload object is usually freed.  Don't leak objects in such case.

9 years agoglvideomixer: avoid gl resource race condition between different thread
Wang Xin-yu (王昕宇) [Fri, 15 Aug 2014 03:51:21 +0000 (23:51 -0400)]
glvideomixer: avoid gl resource race condition between different thread

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

9 years agoglvideomixer: don't clobber unnecessary GstVideoInfo fields
Matthew Waters [Tue, 19 Aug 2014 04:44:29 +0000 (14:44 +1000)]
glvideomixer: don't clobber unnecessary GstVideoInfo fields

otherwise we might clobber other important fields such as the frame rate.

9 years agoglvideomixer: get the attribute from the correct shader
Matthew Waters [Tue, 19 Aug 2014 04:43:42 +0000 (14:43 +1000)]
glvideomixer: get the attribute from the correct shader

9 years agoglimagesink: unref the window on navigation event
Matthew Waters [Tue, 19 Aug 2014 04:23:21 +0000 (14:23 +1000)]
glimagesink: unref the window on navigation event

plugs a memory leak

9 years agotsdemux: remove pads when resetting the element
Thiago Santos [Tue, 19 Aug 2014 03:01:28 +0000 (00:01 -0300)]
tsdemux: remove pads when resetting the element

Otherwise the pads will be there if it is restarted and the stream
can be a completely different one.

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

9 years agocodecparser: h264: Use proper bit_reader api while parsing buffering_period SEI
Sreerenj Balachandran [Sat, 16 Aug 2014 22:42:05 +0000 (01:42 +0300)]
codecparser: h264: Use proper bit_reader api while parsing buffering_period SEI

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

9 years agoscenechange: fix crash on startup
Vineeth T M [Thu, 14 Aug 2014 04:49:13 +0000 (10:19 +0530)]
scenechange: fix crash on startup

gst_video_frame_map() was using the oldinfo GstVideoInfo
before it's been populated, resulting in a crash right
at the start.

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

9 years agoandroidmedia: Make sure to unblock any thread waiting on the drain condition variable...
Sebastian Dröge [Thu, 14 Aug 2014 12:26:53 +0000 (15:26 +0300)]
androidmedia: Make sure to unblock any thread waiting on the drain condition variable when errors happen

9 years agoandroidmedia: Fix draining logic to let the base class handle EOS events
Sebastian Dröge [Thu, 14 Aug 2014 12:24:21 +0000 (15:24 +0300)]
androidmedia: Fix draining logic to let the base class handle EOS events

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

9 years agodvbbasebin: fix parsing of freqs in some ZAP files
Reynaldo H. Verdejo Pinochet [Tue, 12 Aug 2014 01:25:41 +0000 (21:25 -0400)]
dvbbasebin: fix parsing of freqs in some ZAP files

Change avoids attempting to convert to kHz if unneeded.

There are quite some ZAP format variants out there. Among
their subtle little differences, some store transponder
frequencies in Mhz and others in kHz. The latter been the
most common variant.

9 years agodvbsrc: get rid of remaining trailing whitespace
Reynaldo H. Verdejo Pinochet [Thu, 7 Aug 2014 23:37:01 +0000 (19:37 -0400)]
dvbsrc: get rid of remaining trailing whitespace