platform/upstream/gstreamer.git
10 years agoopus: Improve annotation of internal function
Sebastian Rasmussen [Sat, 9 Aug 2014 12:24:59 +0000 (14:24 +0200)]
opus: Improve annotation of internal function

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

10 years agodashdemux: support downloading segments in reverse order
George Kiagiadakis [Wed, 6 Aug 2014 15:11:20 +0000 (18:11 +0300)]
dashdemux: support downloading segments in reverse order

When a seek with a negative rate is requested, find the target
segment where gstsegment.stop belongs in and then download from
this segment backwards until the first segment.

This allows proper reverse playback.

10 years agoglvideomixer: add a background property
Matthew Waters [Thu, 7 Aug 2014 09:18:49 +0000 (19:18 +1000)]
glvideomixer: add a background property

That's compatible with the compositor/videomixer property

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

10 years agoext:faad: Set rank to SECONDARY as the libav decoder is concidered better
Thibault Saunier [Wed, 6 Aug 2014 11:27:04 +0000 (13:27 +0200)]
ext:faad: Set rank to SECONDARY as the libav decoder is concidered better

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

10 years agoGstGLWindow, GstGLImagesink, x11: Scale navigation events on resized windows
Vasilis Liaskovitis [Wed, 6 Aug 2014 13:48:03 +0000 (16:48 +0300)]
GstGLWindow, GstGLImagesink, x11: Scale navigation events on resized windows

If window is resized, GstStructure pointer values have to be rescaled to
original geometry. A get_surface_dimensions GLWindow class method is added for
this purpose and used in the navigation send_event function.

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

10 years agoglupload: don't determine if frame needs upload by pointer compare
Wang Xin-yu (王昕宇) [Wed, 6 Aug 2014 12:15:38 +0000 (08:15 -0400)]
glupload: don't determine if frame needs upload by pointer compare

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

10 years agompegtspacketizer: Store PCR time/byte offsets in 64 bit integers
Sebastian Dröge [Tue, 5 Aug 2014 09:45:55 +0000 (11:45 +0200)]
mpegtspacketizer: Store PCR time/byte offsets in 64 bit integers

32 bit integers are going to overflow, especially the PCR offset to
the first PCR will overflow after about 159 seconds. This makes playback
of streams stop at 159 seconds as suddenly the timestamps are starting
again from 0. Now we have a few more years time until it happens again
and 64 bits are too small.

10 years agoRevert "mpegtspacketizer: Convert PCR times to GStreamer times before comparing them...
Sebastian Dröge [Tue, 5 Aug 2014 08:42:28 +0000 (10:42 +0200)]
Revert "mpegtspacketizer: Convert PCR times to GStreamer times before comparing them against 500 * GST_MSECOND"

This reverts commit 9f186c6ab32c1e949916d385186b2d400190add6.

That commit was actually completely wrong, nevermind.

10 years agompegtspacketizer: Convert PCR times to GStreamer times before comparing them against...
Sebastian Dröge [Tue, 5 Aug 2014 08:36:17 +0000 (10:36 +0200)]
mpegtspacketizer: Convert PCR times to GStreamer times before comparing them against 500 * GST_MSECOND

Otherwise it will believe to detect PCR gaps already when there's a very small
gap of a few milliseconds, breaking playback of some files.

10 years agodvbsrc: remove srcpad leftover
Reynaldo H. Verdejo Pinochet [Thu, 31 Jul 2014 21:40:30 +0000 (17:40 -0400)]
dvbsrc: remove srcpad leftover

The element is inheriting its srcpad from basesrc

10 years agodecklinksink: Initialize pixel format to bmdFormat8BitYUV
Sebastian Dröge [Fri, 1 Aug 2014 16:02:10 +0000 (18:02 +0200)]
decklinksink: Initialize pixel format to bmdFormat8BitYUV

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

10 years agocodecparsers_h264: initialize some fields of pic_timing structure
Aurélien Zanelli [Fri, 1 Aug 2014 14:40:49 +0000 (16:40 +0200)]
codecparsers_h264: initialize some fields of pic_timing structure

Otherwise pic timing structure can have invalid cpb_removal_delay,
dpb_output_delay or pic_struct_present_flag which are blindly retrieved
in h264parse.

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

10 years agodecklinksink: Catch errors during data flow and error out properly
Sebastian Dröge [Fri, 1 Aug 2014 14:58:23 +0000 (16:58 +0200)]
decklinksink: Catch errors during data flow and error out properly

Otherwise we will just deadlock the thread if e.g. scheduling a video
frame fails for whatever reason.

10 years agodashdemux: return the error to the source immediately to stop faster
Thiago Santos [Thu, 31 Jul 2014 23:52:39 +0000 (20:52 -0300)]
dashdemux: return the error to the source immediately to stop faster

When flushing, this will prevent dashdemux from trying to download more
fragments or more chunks of the same fragment before stopping.

Also improves the error handling to not transform everything non-ok into
an error.

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

10 years agompegtspacketizer: avoid timestamp overflows
Thiago Santos [Tue, 29 Jul 2014 05:11:54 +0000 (02:11 -0300)]
mpegtspacketizer: avoid timestamp overflows

Cause timing to break in the pipeline that can lead to a stall

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

10 years agopo: Remove files no longer present
Edward Hervey [Fri, 1 Aug 2014 11:14:03 +0000 (13:14 +0200)]
po: Remove files no longer present

They were removed when sndfile was ported to 1.x

10 years agodecklink: 59.94fps is 60000/1001, not 30000/1001
Sebastian Dröge [Fri, 1 Aug 2014 10:38:44 +0000 (12:38 +0200)]
decklink: 59.94fps is 60000/1001, not 30000/1001

And also change 30/1 to 60/1 for one 60fps mode.

10 years agogl/docs: remove superflous 'the'
Matthew Waters [Fri, 1 Aug 2014 07:51:08 +0000 (17:51 +1000)]
gl/docs: remove superflous 'the'

10 years agogl: document GST_GL_* environment variables
Matthew Waters [Fri, 1 Aug 2014 06:41:13 +0000 (16:41 +1000)]
gl: document GST_GL_* environment variables

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

10 years agogl/tests: update for API changes
Matthew Waters [Fri, 1 Aug 2014 00:01:18 +0000 (10:01 +1000)]
gl/tests: update for API changes

10 years agoMakefile: Add usage of build-checks step
Edward Hervey [Thu, 31 Jul 2014 16:55:33 +0000 (18:55 +0200)]
Makefile: Add usage of build-checks step

Allows building checks without running them

10 years agoglcontext: add a destroy function
Matthew Waters [Thu, 31 Jul 2014 08:46:33 +0000 (18:46 +1000)]
glcontext: add a destroy function

that just calls the subclass

10 years agogl/x11: silence runtime warning
Matthew Waters [Thu, 31 Jul 2014 08:36:58 +0000 (18:36 +1000)]
gl/x11: silence runtime warning

g_main_loop_quit: assertion 'loop != NULL' failed

10 years agoglmemory: use the plane offsets to compute the size of the data pointer
Matthew Waters [Thu, 31 Jul 2014 05:18:04 +0000 (15:18 +1000)]
glmemory: use the plane offsets to compute the size of the data pointer

Certain elements expect that there be a certain number of lines
that they can write into.  e.g. for odd heights, I420, YV12, NV12,
NV21 (and others) Y lines are expected to have exactly twice the
number of U/UV lines.

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

10 years agoglmemory: use GstVideoInfo everywhere
Matthew Waters [Thu, 31 Jul 2014 04:07:29 +0000 (14:07 +1000)]
glmemory: use GstVideoInfo everywhere

Simplifies a lot of the calling code

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

10 years agofaceblur: facedetect: add properties to faceblur
Robert Jobbagy [Wed, 30 Jul 2014 19:32:01 +0000 (16:32 -0300)]
faceblur: facedetect: add properties to faceblur

Makes faceblur have the same properties as facedetect. Also improves
the standard defaults and makes them the same in the 2 elements

10 years agofaceblur: post message when profile loading fails
Robert Jobbagy [Wed, 30 Jul 2014 19:30:39 +0000 (16:30 -0300)]
faceblur: post message when profile loading fails

10 years agofacedetect: faceblur: update launch line examples
Robert Jobbagy [Wed, 30 Jul 2014 19:07:17 +0000 (16:07 -0300)]
facedetect: faceblur: update launch line examples

Reflect 1.0 and more useful examples

10 years agoglimagesink: keep the uploaded buffer around on successful redisplay
Matthew Waters [Tue, 29 Jul 2014 03:25:22 +0000 (13:25 +1000)]
glimagesink: keep the uploaded buffer around on successful redisplay

We might need it later to perform a redisplay.  GstGLUpload will take
of releasing the previous buffer when it receives a new buffer.

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

10 years agoglmemory: reenable the texture_rg support for !eagl
Matthew Waters [Tue, 29 Jul 2014 01:47:55 +0000 (11:47 +1000)]
glmemory: reenable the texture_rg support for !eagl

The GST_GL_HAVE_PLATFORM_EAGL is always defined we need to compare
against the value instead.

10 years agotests: gitignore: update with new tests
Thiago Santos [Mon, 28 Jul 2014 22:11:41 +0000 (19:11 -0300)]
tests: gitignore: update with new tests

10 years agotests: files: adds missing file from previous commit
Thiago Santos [Mon, 28 Jul 2014 19:55:15 +0000 (16:55 -0300)]
tests: files: adds missing file from previous commit

This is required for the templatematch test to work

10 years agotests: templatematch: add test to check that we use the correct rgb format
Thiago Santos [Mon, 28 Jul 2014 18:45:09 +0000 (15:45 -0300)]
tests: templatematch: add test to check that we use the correct rgb format

templatematch should use the same RGB format that opencv uses (BGR), make sure
we keep it that way with this test.

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

10 years agoopencv templatematch: Set caps to BGR order
David Rothlisberger [Fri, 15 Jun 2012 12:19:06 +0000 (13:19 +0100)]
opencv templatematch: Set caps to BGR order

templatematch operates on BGR data. In fact, OpenCV's IplImage always
stores color image data in BGR order -- this isn't documented at all in
the OpenCV source code, but there are hints around the web (see for
example
http://www.cs.iit.edu/~agam/cs512/lect-notes/opencv-intro/opencv-intro.html#SECTION00041000000000000000
and http://www.comp.leeds.ac.uk/vision/opencv/iplimage.html ).

gst_templatematch_load_template loads the template (the image to find)
from disk using OpenCV's cvLoadImage, so it is stored in an IplImage in
BGR order. But in gst_templatematch_chain, no OpenCV conversion
functions are used: the imageData pointer of the IplImage for the video
frame (the image to search in) is just set to point to the raw buffer
data. Without this fix, that raw data is in RGB order, so the call to
cvMatchTemplate ends up comparing the template's Blue channel against
the frame's Red channel, producing very poor results.

10 years agotemplatematch: mark pads as proxy caps
Thiago Santos [Mon, 28 Jul 2014 16:10:35 +0000 (13:10 -0300)]
templatematch: mark pads as proxy caps

Allows negotiation to happen properly

10 years agotemplatematch: Produce a warning message if we can't load a template image
William Manley [Mon, 25 Jun 2012 19:37:01 +0000 (20:37 +0100)]
templatematch: Produce a warning message if we can't load a template image

10 years agotemplatematch: Match rectangle grows redder with increased match certainty
William Manley [Wed, 20 Jun 2012 14:22:52 +0000 (15:22 +0100)]
templatematch: Match rectangle grows redder with increased match certainty

This is useful for debugging your matches as it indicates how certain the
match was in addition to its position.

10 years agotemplatematch: Allow changing template property on the fly
William Manley [Wed, 20 Jun 2012 14:05:40 +0000 (15:05 +0100)]
templatematch: Allow changing template property on the fly

Previously changing the template property resulted in an exception
thrown from cvMatchTemplate, because "dist_image" (the intermediate
match-certainty-distribution) was the wrong size (because the
template image size had changed).

Locking has also been added to allow changing the properties (e.g. the
pattern to match) while the pipeline is playing.

 * gst_element_post_message is moved outside of the lock, because it will
   call into arbitrary user code (otherwise, if that user code calls into
   gst_templatematch_set_property on this same thread it would deadlock).

 * gst_template_match_load_template: If we fail to load the new template
   we still unload the previous template, so this element becomes a no-op
   in the pipeline. The alternative would be to keep the previous template;
   I believe unloading the previous template is a better choice, because it
   is consistent with the state this element would be in if it fails to
   load the very first template at start-up.

Thanks to Will Manley for the bulk of this work; any errors are probably
mine.

10 years agotemplatematch: Pass video through when nothing to match against
David Rothlisberger [Fri, 1 Jun 2012 15:07:34 +0000 (16:07 +0100)]
templatematch: Pass video through when nothing to match against

The early return was bypassing the call to gst_pad_push. With no
filter->template (and thus no filter->cvTemplateImage) the rest of this
function is essentially a no-op (except for the call to gst_pad_push).

This (plus the previous commit) allows templatematch to be
enabled/disabled without removing it entirely from the pipeline, by
setting/unsetting the template property.

10 years agotemplatematch: Remove no-op call to gst_templatematch_load_template
William Manley [Wed, 20 Jun 2012 14:05:06 +0000 (15:05 +0100)]
templatematch: Remove no-op call to gst_templatematch_load_template

We have just set filter->template to NULL, so
gst_templatematch_load_template did nothing.

10 years agodvbsrc: clarify units for freq and symbol-rate
Reynaldo H. Verdejo Pinochet [Tue, 8 Jul 2014 23:18:48 +0000 (19:18 -0400)]
dvbsrc: clarify units for freq and symbol-rate

10 years agodvbsrc: add preliminary support for ISDB-T/Tb
Reynaldo H. Verdejo Pinochet [Mon, 7 Jul 2014 22:52:20 +0000 (18:52 -0400)]
dvbsrc: add preliminary  support for ISDB-T/Tb

ISDB-T and ISDB-Tb (the Brazilian variant) are the
terrestial DTV standards used by Japan, Philippines,
Maldives, Thailand, most South American countries
and Botswana. Changeset adds the set of previously
missing (and required) ISDB-T parameters, adapter
and frontend setup logic and proxies the new
properties on dvbbasebin.

Tested to work with the live aerial broadcast by
Tv Paraíba HD in Campina Grande (Brazil).

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

10 years agodvbsrc: make slof/lof1/lof2 settable properties
Reynaldo H. Verdejo Pinochet [Sat, 5 Jul 2014 07:08:00 +0000 (03:08 -0400)]
dvbsrc: make slof/lof1/lof2 settable properties

Allows proper tuning around high/low band boundaries when using
non "standard" LNBs.

Not all LNBs (Low noise block down converters) are made equal.
This is particularly true for universal LNBFs, where, even though
there are seemingly standard values for the local oscillator
frequencies, these can vary from manufacturer to manufacturer
and LNB model. Change also proxies the new LNB properties in
dvbbasebin.

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

10 years agoglimagesink: silence gsignal warning
Matthew Waters [Sun, 27 Jul 2014 03:26:00 +0000 (13:26 +1000)]
glimagesink: silence gsignal warning

instance '0xblah' has no handler with id '13'

10 years agowrappercamerabinsrc: do not give references to probes
Thiago Santos [Sat, 26 Jul 2014 16:27:51 +0000 (13:27 -0300)]
wrappercamerabinsrc: do not give references to probes

They are kept until the probes are removed but they will never be
removed as the refcount of the element won't get to 0 because the
probes own references (cyclic refs). As the probes should only be
running as long as the element is running there is no need to
secure a ref for them.

Removes 3 leaked refs of wrappercamerabinsrc

10 years agocamerabin: use gst_object_ref to make it easier to track refs
Thiago Santos [Sat, 26 Jul 2014 15:46:01 +0000 (12:46 -0300)]
camerabin: use gst_object_ref to make it easier to track refs

Helps debugging

10 years agowrappercamerabinsrc: unref request pads
Thiago Santos [Sat, 26 Jul 2014 15:38:42 +0000 (12:38 -0300)]
wrappercamerabinsrc: unref request pads

Do not forget to unref output-selector requested pads

10 years agojpegparse: port to baseparse
Thiago Santos [Tue, 22 Apr 2014 02:05:48 +0000 (23:05 -0300)]
jpegparse: port to baseparse

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

10 years agoglwindow/11: Emit signals for mouse and key navigation events
Vasilis Liaskovitis [Thu, 24 Jul 2014 09:25:36 +0000 (12:25 +0300)]
glwindow/11: Emit signals for mouse and key navigation events

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

10 years agoglwindow: Constify string parameters to the send_*_event() functions
Sebastian Dröge [Thu, 24 Jul 2014 10:23:03 +0000 (12:23 +0200)]
glwindow: Constify string parameters to the send_*_event() functions

10 years agoglimagesink: remove extra argument from debug call
Matthew Waters [Thu, 24 Jul 2014 03:05:00 +0000 (13:05 +1000)]
glimagesink: remove extra argument from debug call

10 years agoglimagesink: Add navigation interface and callbacks for GstGLWindow mouse/key signals
Vasilis Liaskovitis [Sun, 6 Jul 2014 21:20:01 +0000 (00:20 +0300)]
glimagesink: Add navigation interface and callbacks for GstGLWindow mouse/key signals

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

10 years agoGstGLWindow : Add mouse-event and key-event signals for navigation
Vasilis Liaskovitis [Sun, 6 Jul 2014 20:39:47 +0000 (23:39 +0300)]
GstGLWindow : Add mouse-event and key-event signals for navigation

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

10 years agogl: fix multi gl object leaks
Wang Xin-yu (王昕宇) [Wed, 23 Jul 2014 02:25:31 +0000 (10:25 +0800)]
gl: fix multi gl object leaks

1. fix FBO leaks in decide_allocation
2. fix texture leaks in decide_allocation and reset
3. fix texture leaks in FBO incomplete error path

10 years agowrappercamerabinsrc: only flush buffers if renegotiation is needed
Thiago Santos [Wed, 23 Jul 2014 16:55:06 +0000 (13:55 -0300)]
wrappercamerabinsrc: only flush buffers if renegotiation is needed

This avoid extra overhead when taking sequential pictures that woudln't
need renegotiation

10 years agocamerabin: handle EOS on the pipeline
Thiago Santos [Wed, 23 Jul 2014 16:37:05 +0000 (13:37 -0300)]
camerabin: handle EOS on the pipeline

Make camerabin handle EOS to the pipeline to allow standard pipeline
close where an EOS is sent to the whole pipeline before setting it to NULL.

10 years agotsdemux: Do not scan for keyframe when in push mode.
Mathieu Duponchelle [Mon, 21 Jul 2014 16:22:18 +0000 (18:22 +0200)]
tsdemux: Do not scan for keyframe when in push mode.

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

10 years agotsdemux: Do not scan for a keyframe in non-accurate mode.
Mathieu Duponchelle [Mon, 21 Jul 2014 16:21:41 +0000 (18:21 +0200)]
tsdemux: Do not scan for a keyframe in non-accurate mode.

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

10 years agogdppay: remove obsolete code
Thiago Santos [Tue, 1 Jul 2014 13:24:44 +0000 (10:24 -0300)]
gdppay: remove obsolete code

Buffers have no caps in 1.0

10 years agogdppay: put all sticky events in streamheader
Thiago Santos [Tue, 1 Jul 2014 13:07:40 +0000 (10:07 -0300)]
gdppay: put all sticky events in streamheader

Use the sticky events to compose the streamheader as they are the
ones that are persisted to config new pads linked. Instead of storing
them ourselves rely on the pad storage that already orders it for us

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

10 years agofacedetect: improve enum GstFaceDetectUpdates descriptions
Nicola Murino [Mon, 21 Jul 2014 19:03:26 +0000 (21:03 +0200)]
facedetect: improve enum GstFaceDetectUpdates descriptions

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

10 years agofacedetect: make updates on_change works as expected
Nicola Murino [Wed, 21 May 2014 10:59:57 +0000 (12:59 +0200)]
facedetect: make updates on_change works as expected

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

10 years agopnmenc: Port PNM Encoder to use GstVideoEncoder Class
Sanjay NM [Tue, 22 Jul 2014 07:12:36 +0000 (12:42 +0530)]
pnmenc: Port PNM Encoder to use GstVideoEncoder Class

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

10 years agopnmdec: Patch to handle max value
Sanjay NM [Wed, 18 Jun 2014 06:14:54 +0000 (11:44 +0530)]
pnmdec: Patch to handle max value

Convert the image values from 0-maxvalue to 0-255 when
'decoding' the pnm image

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

10 years agokatedec: handle segment event earlier
Thiago Santos [Tue, 15 Jul 2014 19:42:57 +0000 (16:42 -0300)]
katedec: handle segment event earlier

Delaying the segment event to when caps are decided can cause issues as
the first thing katedec does on its chain function it doing a segment clip.
It will lead to an assertion if the segment format is undefined

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

10 years agokatedec: handle streamheaders in caps
Thiago Santos [Tue, 15 Jul 2014 19:41:51 +0000 (16:41 -0300)]
katedec: handle streamheaders in caps

Properly handle the caps event by configuring the kate decoding lib using the
available streamheaders. This makes it possible to decode kate subtitles when
the stream is seeked before katedec gets the initial buffers that are usually
the streamheaders.

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

10 years agoopenjpeg: Don't remember -lopenjp2 as libs when falling back to openjpeg1
Sebastian Dröge [Mon, 21 Jul 2014 15:34:52 +0000 (17:34 +0200)]
openjpeg: Don't remember -lopenjp2 as libs when falling back to openjpeg1

10 years agogl: Reorder CFLAGS to include in-source dirs first in examples
Руслан Ижбулатов [Mon, 21 Jul 2014 11:07:28 +0000 (11:07 +0000)]
gl: Reorder CFLAGS to include in-source dirs first in examples

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

10 years agoopenjpeg: Win32-compatible OpenJPEG-2.0 detection
Руслан Ижбулатов [Tue, 6 May 2014 09:28:14 +0000 (09:28 +0000)]
openjpeg: Win32-compatible OpenJPEG-2.0 detection

OpenJPEG 2.0 API uses stdcall on W32 by default. This prevents normal
autoconf library macros from finding its functions.
A more compatible check is to acutally link a program that includes a
real header.

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

10 years agoopenni2src: Fix unitialized variable compiler warning
Sebastian Dröge [Mon, 21 Jul 2014 08:14:17 +0000 (10:14 +0200)]
openni2src: Fix unitialized variable compiler warning

gstopenni2src.cpp:721:14: error: variable 'oni_ts' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
  } else if (src->color->isValid () && src->sourcetype == SOURCETYPE_COLOR) {
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gstopenni2src.cpp:752:26: note: uninitialized use occurs here
  GST_BUFFER_PTS (buf) = oni_ts - src->oni_start_ts;
                         ^~~~~~
gstopenni2src.cpp:721:10: note: remove the 'if' if its condition is always true
  } else if (src->color->isValid () && src->sourcetype == SOURCETYPE_COLOR) {
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gstopenni2src.cpp:721:14: error: variable 'oni_ts' is used uninitialized whenever '&&' condition is false [-Werror,-Wsometimes-uninitialized]
  } else if (src->color->isValid () && src->sourcetype == SOURCETYPE_COLOR) {
             ^~~~~~~~~~~~~~~~~~~~~~
gstopenni2src.cpp:752:26: note: uninitialized use occurs here
  GST_BUFFER_PTS (buf) = oni_ts - src->oni_start_ts;
                         ^~~~~~
gstopenni2src.cpp:721:14: note: remove the '&&' if its condition is always true
  } else if (src->color->isValid () && src->sourcetype == SOURCETYPE_COLOR) {
             ^~~~~~~~~~~~~~~~~~~~~~~~~
gstopenni2src.cpp:642:18: note: initialize the variable 'oni_ts' to silence this warning
  uint64_t oni_ts;
                 ^
                  = 0

10 years agoparser: mpeg4: fix vlc table used for sprite trajectory
Fabrice Bellet [Thu, 17 Jul 2014 14:25:54 +0000 (16:25 +0200)]
parser: mpeg4: fix vlc table used for sprite trajectory

The vlc table members cbits, cword and values were assigned in the wrong
order, causing the mpeg4 parser to fail when handling sprite
trajectories.

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

10 years agohlsdemux: Make statistics message more generic for other adaptive streaming demuxers...
Sebastian Dröge [Fri, 18 Jul 2014 13:09:54 +0000 (15:09 +0200)]
hlsdemux: Make statistics message more generic for other adaptive streaming demuxers to reuse

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

10 years agohlsdemux: Provide statistics about time to download playlists and fragments
Alexander Zallesov [Tue, 25 Feb 2014 10:58:57 +0000 (11:58 +0100)]
hlsdemux: Provide statistics about time to download playlists and fragments

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

10 years agoBack to development
Sebastian Dröge [Sat, 19 Jul 2014 16:04:42 +0000 (18:04 +0200)]
Back to development

10 years agoRelease 1.4.0
Sebastian Dröge [Sat, 19 Jul 2014 15:27:11 +0000 (17:27 +0200)]
Release 1.4.0

10 years agoUpdate .po files
Sebastian Dröge [Sat, 19 Jul 2014 14:45:25 +0000 (16:45 +0200)]
Update .po files

10 years agopo: Update translations
Sebastian Dröge [Sat, 19 Jul 2014 10:47:43 +0000 (12:47 +0200)]
po: Update translations

10 years agowrappercamerabinsrc: set src to ready when there are no pending buffers
Thiago Santos [Wed, 16 Jul 2014 21:27:15 +0000 (18:27 -0300)]
wrappercamerabinsrc: set src to ready when there are no pending buffers

Setting to ready will block waiting for buffers to be reclaimed, so flush
before setting to null to make sure no buffers are pending

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

10 years agoexamples: fix compilation of gl fxtest example on win32 with Gtk+ 3.0
Tim-Philipp Müller [Thu, 17 Jul 2014 09:05:47 +0000 (10:05 +0100)]
examples: fix compilation of gl fxtest example on win32 with Gtk+ 3.0

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

10 years agoopenslesringbuffer: Provide the size of our array to GetDestinationOutputDeviceIDs
Sebastian Dröge [Wed, 16 Jul 2014 22:11:48 +0000 (00:11 +0200)]
openslesringbuffer: Provide the size of our array to GetDestinationOutputDeviceIDs

Otherwise it does not and just fails. It needs to know the size of the
array to not write too much to it.

10 years agoopenslessink: Silence some error debug output to log output
Sebastian Dröge [Wed, 16 Jul 2014 22:11:21 +0000 (00:11 +0200)]
openslessink: Silence some error debug output to log output

These are not really errors, just unsupported features we don't
necessarily need.

10 years agoaggregator: Reset flow_return *after* stopping the srcpad task.
Mathieu Duponchelle [Wed, 16 Jul 2014 14:57:35 +0000 (16:57 +0200)]
aggregator: Reset flow_return *after* stopping the srcpad task.

Otherwise it might be set in an already running aggregate function.

10 years agoaggregator: Flush sinkpads when stopping
Thibault Saunier [Thu, 10 Jul 2014 11:18:21 +0000 (13:18 +0200)]
aggregator: Flush sinkpads when stopping

All values are meaningless in that case, so we should make sure that
we clean everything

10 years agoaggregator: Do not forget to reset the flow return when stoping
Thibault Saunier [Thu, 10 Jul 2014 11:15:55 +0000 (13:15 +0200)]
aggregator: Do not forget to reset the flow return when stoping

Setting it to FLUSHING when the element is not started, and to OK
when it starts.

10 years agoaggregator: Handle event seqnum
Thibault Saunier [Tue, 8 Jul 2014 14:48:08 +0000 (16:48 +0200)]
aggregator: Handle event seqnum

10 years agomxfmux: Avoid taking unnecessary ref
Sebastian Rasmussen [Sun, 13 Jul 2014 14:07:02 +0000 (16:07 +0200)]
mxfmux: Avoid taking unnecessary ref

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

10 years agogl: Include GL_CFLAGS while checking for GL typedefs
Mart Raudsepp [Wed, 16 Jul 2014 13:31:27 +0000 (16:31 +0300)]
gl: Include GL_CFLAGS while checking for GL typedefs

Otherwise those checks may fail at configure time if they contain extra
include paths, while at build time they are included, potentially causing
incompatible typedefs between system GL headers and gstreamer compatibility
prototypes.

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

10 years agogl: Always include EGL_CFLAGS in GL_CFLAGS when EGL_LIBS is added to GL_LIBS
Mart Raudsepp [Wed, 16 Jul 2014 13:29:10 +0000 (16:29 +0300)]
gl: Always include EGL_CFLAGS in GL_CFLAGS when EGL_LIBS is added to GL_LIBS

They should be handled in tandem, in case any EGL provider could require some
CFLAGS and set them (possibly once moved to prefer pkg-config files),
such as for a custom header location.

10 years agopo: update POTFILES
Piotr Drąg [Mon, 17 Mar 2014 15:09:46 +0000 (16:09 +0100)]
po: update POTFILES

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

10 years agod3dvideosink: Open Direct3D devices in a threadsafe way
Sebastian Dröge [Tue, 15 Jul 2014 11:29:24 +0000 (13:29 +0200)]
d3dvideosink: Open Direct3D devices in a threadsafe way

Otherwise we'll get crashes when using the device from multiple
threads, e.g. when using multiple sinks at once.

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

10 years agocurlsshsink: Include gst.h and other stuff before anything else
Sebastian Dröge [Fri, 11 Jul 2014 19:15:59 +0000 (21:15 +0200)]
curlsshsink: Include gst.h and other stuff before anything else

10 years agowrappercamerabinsrc: Fix caps filter caps proxying
Nicolas Dufresne [Fri, 11 Jul 2014 14:40:42 +0000 (10:40 -0400)]
wrappercamerabinsrc: Fix caps filter caps proxying

The notify signal is triggered when caps is changed. But instead of
proxying the fixed caps, we query for the caps. Hence, when we go to
READY state, we endup setting template caps on the proxied caps
filter instead of NULL, which leads to negoitation failure. Correctly
proxy NULL caps if this is the new caps. Fixes not negotiated error
when running in cheese. Also fix a leak of caps string in one of the
trace.

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

10 years agogl: Always build gstglmixer, not only when full OpenGL support is enabled
Sebastian Dröge [Fri, 11 Jul 2014 11:58:55 +0000 (13:58 +0200)]
gl: Always build gstglmixer, not only when full OpenGL support is enabled

10 years agocurl: Use winsock2 instead and the GLib macro for checking if we're on Windows
Sebastian Dröge [Fri, 11 Jul 2014 11:25:37 +0000 (13:25 +0200)]
curl: Use winsock2 instead and the GLib macro for checking if we're on Windows

10 years agomotioncells: Use no network API if not required
Sebastian Dröge [Fri, 11 Jul 2014 11:25:18 +0000 (13:25 +0200)]
motioncells: Use no network API if not required

10 years agoext: Include winsock.h on Windows when required
Alexey Pavlov [Fri, 11 Jul 2014 11:21:21 +0000 (13:21 +0200)]
ext: Include winsock.h on Windows when required

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

10 years agoRelease 1.3.91
Sebastian Dröge [Fri, 11 Jul 2014 10:13:22 +0000 (12:13 +0200)]
Release 1.3.91

10 years agogl: Link to all required libraries but not more
Sebastian Dröge [Fri, 11 Jul 2014 10:04:07 +0000 (12:04 +0200)]
gl: Link to all required libraries but not more

10 years agovideo: Properly include headers in Makefile.am
Sebastian Dröge [Fri, 11 Jul 2014 10:01:12 +0000 (12:01 +0200)]
video: Properly include headers in Makefile.am

and don't set noinst_HEADERS twice.

10 years agoUpdate .po files
Sebastian Dröge [Fri, 11 Jul 2014 09:05:59 +0000 (11:05 +0200)]
Update .po files