platform/upstream/gst-plugins-bad.git
9 years agotests: camerabin: remove obsolete check for 0.10 feature
Thiago Santos [Thu, 23 Apr 2015 17:28:11 +0000 (14:28 -0300)]
tests: camerabin: remove obsolete check for 0.10 feature

9 years agoremove unused enum items PROP_LAST
Luis de Bethencourt [Fri, 24 Apr 2015 15:48:23 +0000 (16:48 +0100)]
remove unused enum items PROP_LAST

This were probably added to the enums due to cargo cult programming and are
unused.

9 years agoglimagesink: balance change_state display ref/unref
Matthew Waters [Fri, 24 Apr 2015 07:13:10 +0000 (17:13 +1000)]
glimagesink: balance change_state display ref/unref

the display was being unreffed on the incorrect state change causing
invalid state when changing from PLAYING/PAUSED->READY->PAUSED/PLAYING.

9 years agoadaptivedemux: Don't claim to be live when answering the LATENCY query
Sebastian Dröge [Thu, 23 Apr 2015 15:43:36 +0000 (17:43 +0200)]
adaptivedemux: Don't claim to be live when answering the LATENCY query

Even for "live" streams we are not live in the GStreamer meaning of the word.
We don't produce buffers that are timestamped based on their "capture time"
and our clock, but just based on whatever timestamps the stream might contain.

Also even if we wanted to claim to be live, that wouldn't work well as we
would have to return GST_STATE_CHANGE_NO_PREROLL when going from READY to
PAUSED, which we can't. We first need data to know if we are "live" or not.

9 years agohlsdemux: Use the downloader of the base class instead of creating our own
Sebastian Dröge [Thu, 23 Apr 2015 15:39:46 +0000 (17:39 +0200)]
hlsdemux: Use the downloader of the base class instead of creating our own

The one of the base class is completely unused because we override all
the downloading here, so let's just use that one instead.

9 years agohlsdemux: Don't error out if we can't match variant playlists after updating
Sebastian Dröge [Thu, 23 Apr 2015 15:36:49 +0000 (17:36 +0200)]
hlsdemux: Don't error out if we can't match variant playlists after updating

It's better to just select some random variant playlist instead of stopping,
chances are that it's still continuing to work and we might just have to
select a different variant again later.

9 years agohlsdemux: Fix how the playlists are refreshed
Sebastian Dröge [Thu, 23 Apr 2015 15:33:04 +0000 (17:33 +0200)]
hlsdemux: Fix how the playlists are refreshed

We should only refresh the currently selected variant playlist (if any,
otherwise the main playlist), not the main playlist. And only try to
refresh the main playlist if updating the variant playlist fails.

Some servers (Wowza) use the request of the main playlist to create a
"session", which is then part of the URI of the variant playlist and
also the fragments. Refreshing the main playlist would generate a new
session, and the server rate limits that usually. And after a few retries
the server just kicks us out.

Also as a side effect we now use the same downloader for all playlists, so
that we only have 2 instead of 3 connections to the server. And also
previously we just ignored the downloaded data from the main playlist that
the base class gave to us.

9 years agoadaptivedemux: Allow subclasses to override how a new manifest would be downloaded
Sebastian Dröge [Thu, 23 Apr 2015 15:22:11 +0000 (17:22 +0200)]
adaptivedemux: Allow subclasses to override how a new manifest would be downloaded

9 years agoadaptivedemux: Expose downloader
Sebastian Dröge [Thu, 23 Apr 2015 15:02:44 +0000 (17:02 +0200)]
adaptivedemux: Expose downloader

This allows subclasses to use it and share connections if possible.

9 years agoUpdate .gitignore
Tim-Philipp Müller [Thu, 23 Apr 2015 15:43:11 +0000 (16:43 +0100)]
Update .gitignore

9 years agotests: define GST_CHECK_TEST_ENVIRONMENT_BEACON
Tim-Philipp Müller [Thu, 23 Apr 2015 15:40:49 +0000 (16:40 +0100)]
tests: define GST_CHECK_TEST_ENVIRONMENT_BEACON

Make sure the test environment is set up.

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

9 years agoconfigure: bump automake requirement to 1.14 and autoconf to 2.69
Tim-Philipp Müller [Thu, 23 Apr 2015 15:39:20 +0000 (16:39 +0100)]
configure: bump automake requirement to 1.14 and autoconf to 2.69

This is only required for builds from git, people can still
build tarballs if they only have older autotools.

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

9 years agoglupload: Release glupload buffer when caps are changed
Matthieu Bouron [Thu, 23 Apr 2015 14:47:40 +0000 (16:47 +0200)]
glupload: Release glupload buffer when caps are changed

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

9 years agogaudi: don't run gaussian function if sigma is 0
Luis de Bethencourt [Thu, 23 Apr 2015 10:47:37 +0000 (11:47 +0100)]
gaudi: don't run gaussian function if sigma is 0

9 years agohlsdemux: handle too short segments
Thiago Santos [Wed, 22 Apr 2015 22:28:39 +0000 (19:28 -0300)]
hlsdemux: handle too short segments

When the segment is very short it might be the case that the
typefinding fails and when finishing the segment hlsdemux would
consider the remaining data (pending_buffer) as an encryption
leftover.

This patch fixes it and makes sure an error is properly posted
if typefind failed by refactoring buffer handling to a function
and using it from the data_received and finish_fragment functions.

9 years agohlsdemux: use correct variable type
Thiago Santos [Wed, 22 Apr 2015 22:04:43 +0000 (19:04 -0300)]
hlsdemux: use correct variable type

gst_buffer_resize needs gssize and not gsize. This makes gdb
print it correctly when debugging.

9 years agodecklinkvideosrc: fix mode autodetection
Josep Torra [Wed, 22 Apr 2015 15:08:09 +0000 (17:08 +0200)]
decklinkvideosrc: fix mode autodetection

The autodetection mode was broken because a race condition in the input mode
setting. The mode could be reverted back when it was replaced in
the streaming thread by the old mode in the middle of mode changed callback.

9 years agodecklink: do not repeat first video format in caps template
Josep Torra [Wed, 22 Apr 2015 15:04:25 +0000 (17:04 +0200)]
decklink: do not repeat first video format in caps template

The first entry in the modes array is used as default mode for autodetection.
There's no need to copy it into the caps template.

9 years agogaudi: fix to 30780db1
Luis de Bethencourt [Wed, 22 Apr 2015 14:04:03 +0000 (15:04 +0100)]
gaudi: fix to 30780db1

The second check for (factor == 0) creeped in the last commit.
Apologies.

9 years agogaudi: fix exclusion's factor range
Luis de Bethencourt [Wed, 22 Apr 2015 13:30:56 +0000 (14:30 +0100)]
gaudi: fix exclusion's factor range

Avoid dividing by zero when the factor is zero. Instead, output a buffer with
all color values as zero.

9 years agogaudi: remove floor variable in solarize
Luis de Bethencourt [Wed, 22 Apr 2015 13:15:13 +0000 (14:15 +0100)]
gaudi: remove floor variable in solarize

Floor variable has no effect and it isn't worth it to have it adjustable.

9 years agogaudi: remove unused property
Luis de Bethencourt [Wed, 22 Apr 2015 12:55:06 +0000 (13:55 +0100)]
gaudi: remove unused property

9 years agoglmixer: Possible null pointer dereference
Vineeth T M [Wed, 22 Apr 2015 09:54:45 +0000 (18:54 +0900)]
glmixer: Possible null pointer dereference

While printing error message when context fails, error variable is not being used anymore
so it will lead to null pointer dereference

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

9 years agoRemove INSTALL file
Sebastian Dröge [Wed, 22 Apr 2015 08:38:19 +0000 (10:38 +0200)]
Remove INSTALL file

autotools automatically generate this, and when using different versions
for autogen.sh there will always be changes to a file tracked by git.

9 years agoRemove LICENSE_readme
Sebastian Dröge [Wed, 22 Apr 2015 08:38:13 +0000 (10:38 +0200)]
Remove LICENSE_readme

It's completely outdated and just confusing, better if people are
forced to look at the actual code in question than trusting this file.

9 years agoadaptivedemux: Don't stop all tasks and streams from the update task on errors
Sebastian Dröge [Tue, 21 Apr 2015 20:04:56 +0000 (22:04 +0200)]
adaptivedemux: Don't stop all tasks and streams from the update task on errors

It will deadlocks as we will then join() the update task from itself. Instead
just post an actual error message on the bus and only stop the update task.

The application is then responsible for shutting down the element, and thus
all the other tasks and everything, based on the error message it gets.

9 years agohlsdemux: Fix seeking
Sebastian Dröge [Tue, 21 Apr 2015 16:29:36 +0000 (18:29 +0200)]
hlsdemux: Fix seeking

We also have to update the current_file GList pointer in the M3U playlist
client, otherwise we are just continuing playback from the current position
instead of seeking.

9 years agohlsdemux: Don't call unlock() just to call lock() immediately afterwards
Sebastian Dröge [Tue, 21 Apr 2015 16:05:44 +0000 (18:05 +0200)]
hlsdemux: Don't call unlock() just to call lock() immediately afterwards

9 years agowrappercamerabinsrc: Reset zoom element caps to go to viewfinder mode
Thiago Santos [Mon, 20 Apr 2015 11:21:32 +0000 (08:21 -0300)]
wrappercamerabinsrc: Reset zoom element caps to go to viewfinder mode

Avoids not-negotiated failures related to using image capture caps
still when adjusting to go back to viewfinder.

9 years agotests: camerabin: add test for capture with different caps
Thiago Santos [Mon, 20 Apr 2015 11:20:37 +0000 (08:20 -0300)]
tests: camerabin: add test for capture with different caps

Adds a test to verify that viewfinder and image capture caps
can be set to non-intersecting caps and still work.

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

9 years agowrappercamerabinsrc: fix leak of drain query
Thiago Santos [Mon, 20 Apr 2015 11:42:56 +0000 (08:42 -0300)]
wrappercamerabinsrc: fix leak of drain query

gst_pad_peer_query doesn't take ownership of the query object

9 years agowrappercamerabinsrc: Refactor internal pipeline
Thiago Santos [Mon, 20 Apr 2015 11:42:48 +0000 (08:42 -0300)]
wrappercamerabinsrc: Refactor internal pipeline

Remove tee and output-selector and just link the source
pad to the outputs we want as needed.

The way we need to prioritize caps negotiation and allocation
queries depending on the mode enabled is too custom to be
handled using tee and output-selector.
This provides more flexibility and doesn't get in the way of proper
handling of negotiation and allocation queries.

9 years agogleffects: Create element for each effect
Michał Dębski [Sun, 5 Apr 2015 18:18:56 +0000 (20:18 +0200)]
gleffects: Create element for each effect

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

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

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

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