platform/upstream/gstreamer.git
9 years agovtenc: enable the hw encoder on OSX
Alessandro Decina [Tue, 11 Nov 2014 17:01:54 +0000 (18:01 +0100)]
vtenc: enable the hw encoder on OSX

9 years agodecklinksink: Check the correct variable for failure
Sebastian Dröge [Tue, 11 Nov 2014 11:00:30 +0000 (12:00 +0100)]
decklinksink: Check the correct variable for failure

If we can't get an output, we would otherwise just use it later and crash.

9 years agointeraudiosrc: Make sure we have a writable buffer before we start changing metadata
Sebastian Dröge [Tue, 11 Nov 2014 10:18:19 +0000 (11:18 +0100)]
interaudiosrc: Make sure we have a writable buffer before we start changing metadata

9 years agointervideosrc: Set the GAP flag on repeated buffers
Sebastian Dröge [Tue, 11 Nov 2014 10:15:35 +0000 (11:15 +0100)]
intervideosrc: Set the GAP flag on repeated buffers

videorate does the same and it allows optimizations downstream.

9 years agointeraudiosrc: Set the GAP flag on buffers that only contain silence
Sebastian Dröge [Tue, 11 Nov 2014 10:12:55 +0000 (11:12 +0100)]
interaudiosrc: Set the GAP flag on buffers that only contain silence

9 years agogl: remove the width/height fields from the caps to support frame resizing
Matthew Waters [Tue, 11 Nov 2014 03:23:55 +0000 (14:23 +1100)]
gl: remove the width/height fields from the caps to support frame resizing

It was previously only occuring with sysmem caps features

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

9 years agoh264parser: fix GstH264ParserResult documentation typo
Aurélien Zanelli [Mon, 10 Nov 2014 16:42:20 +0000 (17:42 +0100)]
h264parser: fix GstH264ParserResult documentation typo

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

9 years agotests: Add x265enc unit test to .gitignore
Sebastian Dröge [Mon, 10 Nov 2014 15:01:25 +0000 (16:01 +0100)]
tests: Add x265enc unit test to .gitignore

9 years agopngparse: optimise reading of png files
Tim-Philipp Müller [Sun, 9 Nov 2014 20:53:34 +0000 (20:53 +0000)]
pngparse: optimise reading of png files

Read PNG data chunk in one go by letting the parser
base class know the size we need, so that it doesn't
drip-feed us small chunks of data (causing a lot of
reallocs and memcpy in the process) until we have
everything.

Improves parsing performance of very large PNG files
(65MB) from ~13 seconds to a couple of millisecs.

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

9 years agoexamples: remove pointless mpegtsmux example
Tim-Philipp Müller [Sun, 9 Nov 2014 19:23:47 +0000 (19:23 +0000)]
examples: remove pointless mpegtsmux example

Serves no purpose, is not even hooked up to the
build system, has hard coded file names and paths,
and can easily be replaced with a gst-launch line.

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

9 years agoavfvideosrc: Don't pretend to support reconfiguration
Sebastian Dröge [Sun, 9 Nov 2014 09:25:25 +0000 (10:25 +0100)]
avfvideosrc: Don't pretend to support reconfiguration

We will run into an assertion in set_caps() if we try to change
caps while the source is already running. Don't try to find new
caps in GstBaseSrc::negotiate() to prevent caps changes.

9 years agovc1parse: set seq_layer_sent to FALSE on reset()
Aurélien Zanelli [Thu, 9 Oct 2014 11:11:48 +0000 (13:11 +0200)]
vc1parse: set seq_layer_sent to FALSE on reset()

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

9 years agovc1parse: implement asf to *-frame-layer stream-format
Aurélien Zanelli [Thu, 9 Oct 2014 11:03:56 +0000 (13:03 +0200)]
vc1parse: implement asf to *-frame-layer stream-format

This commit add an helper to convert a frame to frame-layer format and
use it to implement these two stream-format conversion:
- asf --> sequence-layer-frame-layer
- asf --> frame-layer

In simple/main profile, we basically have a raw frame, so building a
frame layer isn't too complicated. But in advanced profile, the first
frame-layer should contain sequence-header, entrypoint, and frame and
each keyframe should contain entrypoint, so we have to handle these
carefully.

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

9 years agovc1parse: check output format at negotiation time
Aurélien Zanelli [Thu, 9 Oct 2014 08:38:40 +0000 (10:38 +0200)]
vc1parse: check output format at negotiation time

Add an helper to check that output stream-format is coherent with
profile and header-format. It also check if we know how to do the
conversion if the input stream-format differs from selected
output-format.
So, in case output stream-format is not allowed, it will now fail at
negotiation rather than in pre_push_frame.

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

9 years agovc1parse: add some asf related stream-format conversions
Aurélien Zanelli [Tue, 30 Sep 2014 13:35:38 +0000 (15:35 +0200)]
vc1parse: add some asf related stream-format conversions

This commit introduces an helper to convert an ASF frame to BDUs format with
startcodes and use this helper to implements following stream-format
conversions:
- asf --> bdu
- asf --> sequence-layer-bdu
- asf --> sequence-layer-raw-frame

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

9 years agovc1parse: add some simple stream-format conversion
Aurélien Zanelli [Tue, 30 Sep 2014 13:28:55 +0000 (15:28 +0200)]
vc1parse: add some simple stream-format conversion

It add the support of following stream-format conversion:
- bdu --> sequence-layer-bdu
- bdu-frame --> sequence-layer-bdu-frame
- frame-layer --> sequence-layer-frame-layer

For these conversion, the only requirements is to push a sequence-layer
buffer prior to data.

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

9 years agovc1parse: prepare the stream-format conversion code and add the simplest ones
Aurélien Zanelli [Tue, 30 Sep 2014 12:53:25 +0000 (14:53 +0200)]
vc1parse: prepare the stream-format conversion code and add the simplest ones

It prepares the template for stream-format conversion and it implements
the following conversion:
- sequence-layer-bdu --> bdu
- sequence-layer-bdu-frame --> bdu-frame
- sequence-layer-frame-layer --> frame-layer

Work is done in the pre_push_frame() method.

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

9 years agodashdemux: do not override last known stream error
Matthieu Bouron [Fri, 5 Sep 2014 15:57:47 +0000 (17:57 +0200)]
dashdemux: do not override last known stream error

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

9 years agomssdemux: seeks in the manifest never fail
Thiago Santos [Fri, 7 Nov 2014 22:30:18 +0000 (19:30 -0300)]
mssdemux: seeks in the manifest never fail

Set void as the return and remove error handling as it could
never fail

9 years agodashdemux: make sure flushes have the same seqnum as the seek event
Thiago Santos [Fri, 7 Nov 2014 22:16:47 +0000 (19:16 -0300)]
dashdemux: make sure flushes have the same seqnum as the seek event

They are part of the same operation and should preserve the seqnum

9 years agodashdemux: simplify seek to eos handling
Thiago Santos [Fri, 7 Nov 2014 22:09:15 +0000 (19:09 -0300)]
dashdemux: simplify seek to eos handling

Remove redundant flush stop pushing and remove a goto to make
the code flow simpler

9 years agodashdemux: send missing FLUSH_STOP/EOS when no seeking period is found
Matthieu Bouron [Wed, 17 Sep 2014 13:22:59 +0000 (15:22 +0200)]
dashdemux: send missing FLUSH_STOP/EOS when no seeking period is found

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

9 years agoh264parse: set the HEADER flag on buffers containing SPS or PPS
Josep Torra [Fri, 7 Nov 2014 14:50:51 +0000 (15:50 +0100)]
h264parse: set the HEADER flag on buffers containing SPS or PPS

9 years agoh265parse: set the HEADER flag on buffers containing VPS, SPS or PPS
Josep Torra [Fri, 7 Nov 2014 14:41:15 +0000 (15:41 +0100)]
h265parse: set the HEADER flag on buffers containing VPS, SPS or PPS

9 years agogstglconfig: Put gstglconfig.h into $(libdir)/gstreamer-1.0/include
Sebastian Dröge [Fri, 7 Nov 2014 10:41:01 +0000 (11:41 +0100)]
gstglconfig: Put gstglconfig.h into $(libdir)/gstreamer-1.0/include

It's architecture dependent and should not be placed into the include
directory as the assumption is that all those headers are architecture
independent.

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

9 years agosmoothstreaming: initialise new GstH264NalUnit fields
Tim-Philipp Müller [Fri, 7 Nov 2014 00:16:12 +0000 (00:16 +0000)]
smoothstreaming: initialise new GstH264NalUnit fields

CID #1251107.

9 years agoglimagesink: don't make gst_glimage_sink_handle_events call _ensure_gl_setup
Alessandro Decina [Thu, 6 Nov 2014 22:58:06 +0000 (23:58 +0100)]
glimagesink: don't make gst_glimage_sink_handle_events call _ensure_gl_setup

gst_glimage_sink_handle_events can be called from the overlay interface and from
the main thread before GL is setup. Before this change, that would call
_ensure_gl_setup() and deadlock on OSX.

Change things so that it's always safe to call gst_glimage_sink_handle_events()
without stuff deadlocking.

9 years agoglimagesink: fix possible deadlock on osx
Alessandro Decina [Thu, 6 Nov 2014 22:55:20 +0000 (23:55 +0100)]
glimagesink: fix possible deadlock on osx

Remove gst_glimage_sink_handle_events call in gst_glimage_sink_init. It was
unnecessary and when the element was instantiated from the main thread, caused a
deadlock in OSX creating the context (thread).

9 years agovtenc: add realtime and allow-frame-reordering properties
Alessandro Decina [Thu, 6 Nov 2014 12:22:17 +0000 (13:22 +0100)]
vtenc: add realtime and allow-frame-reordering properties

9 years agoglimagesink: clamp the resize width/height to >= 1 to avoid a GL error
Matthew Waters [Thu, 6 Nov 2014 23:01:59 +0000 (10:01 +1100)]
glimagesink: clamp the resize width/height to >= 1 to avoid a GL error

9 years agointervideosrc: Print a warning into the debug log on generating black frames
Sebastian Dröge [Thu, 6 Nov 2014 16:36:15 +0000 (17:36 +0100)]
intervideosrc: Print a warning into the debug log on generating black frames

9 years agointervideosink: Add some debug output in the render function
Sebastian Dröge [Thu, 6 Nov 2014 16:21:39 +0000 (17:21 +0100)]
intervideosink: Add some debug output in the render function

9 years agoh265parse: don't unnecesarily set src_caps
Sebastian Dröge [Thu, 6 Nov 2014 10:53:04 +0000 (11:53 +0100)]
h265parse: don't unnecesarily set src_caps

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

9 years agoh264parse: don't unnecesarily set src_caps
Matej Knopp [Wed, 29 Oct 2014 21:55:47 +0000 (22:55 +0100)]
h264parse: don't unnecesarily set src_caps

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

9 years agoglutils: only attempt getting the app context when we don't already have a display
Matthew Waters [Thu, 6 Nov 2014 07:43:01 +0000 (18:43 +1100)]
glutils: only attempt getting the app context when we don't already have a display

avoids querying/messaging the world on each frame

9 years agoglcontext: fail context creation if glGetString returns NULL
Matthew Waters [Thu, 6 Nov 2014 07:37:23 +0000 (18:37 +1100)]
glcontext: fail context creation if glGetString returns NULL

9 years agoglimagesink: implement gst_video_overlay_handle_events
Lubosz Sarnecki [Wed, 29 Oct 2014 11:24:16 +0000 (12:24 +0100)]
glimagesink: implement gst_video_overlay_handle_events

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

9 years agointeraudiosrc: Fix compiler warning about unused variables
Sebastian Dröge [Tue, 4 Nov 2014 14:16:33 +0000 (15:16 +0100)]
interaudiosrc: Fix compiler warning about unused variables

gstinteraudiosrc.c: In function 'gst_inter_audio_src_create':
gstinteraudiosrc.c:339:27: error: variable 'buffer_samples' set but not used [-Werror=unused-but-set-variable]
   guint64 period_samples, buffer_samples;
                           ^

9 years agointeraudio: Make buffer size and latency handling more explicit and add properties...
Sebastian Dröge [Tue, 4 Nov 2014 13:56:55 +0000 (14:56 +0100)]
interaudio: Make buffer size and latency handling more explicit and add properties for them

This now makes audio work more reliable without disconts.

9 years agointeraudiosink: Use the bpf from the audio info instead of hardcoding 4
Sebastian Dröge [Tue, 4 Nov 2014 12:59:20 +0000 (13:59 +0100)]
interaudiosink: Use the bpf from the audio info instead of hardcoding 4

9 years agointeraudio: Only flush the ringbuffer on the sink side
Sebastian Dröge [Tue, 4 Nov 2014 12:58:44 +0000 (13:58 +0100)]
interaudio: Only flush the ringbuffer on the sink side

9 years agointeraudiosink: Flush the adapter when we get new caps
Sebastian Dröge [Tue, 4 Nov 2014 12:46:46 +0000 (13:46 +0100)]
interaudiosink: Flush the adapter when we get new caps

Ideally we would drain the source but that would require more coordination
between sink and source than what we currently have.

9 years agogl/cocoa: include gl3.h in configure too for consistency with gstglapi.h
Sebastian Dröge [Tue, 4 Nov 2014 08:52:11 +0000 (09:52 +0100)]
gl/cocoa: include gl3.h in configure too for consistency with gstglapi.h

9 years agoinsertbin: Add doc for the ignored user-data in action signals
Olivier Crête [Tue, 4 Nov 2014 01:45:03 +0000 (20:45 -0500)]
insertbin: Add doc for the ignored user-data in action signals

9 years agogl/cocoa: use NSAutoreleasePool to free resize data
Julien Isorce [Mon, 3 Nov 2014 23:24:33 +0000 (23:24 +0000)]
gl/cocoa: use NSAutoreleasePool to free resize data

Otherwise when resizing the window you will also get messages like:
class NSConcreteMapTable autoreleased with no pool in place - just leaking
class NSConcreteValue autoreleased with no pool in place - just leaking
class NSConcreteValue autoreleased with no pool in place - just leaking
class __NSCFDictionary autoreleased with no pool in place - just leaking

9 years agogl/cocoa: include gl3.h to have GL_CONTEXT_PROFILE_MASK
Julien Isorce [Mon, 3 Nov 2014 23:08:09 +0000 (23:08 +0000)]
gl/cocoa: include gl3.h to have GL_CONTEXT_PROFILE_MASK

9 years agogl/cocoa: make sure to turn on frame rectangle changes notifications
Julien Isorce [Mon, 3 Nov 2014 23:07:34 +0000 (23:07 +0000)]
gl/cocoa: make sure to turn on frame rectangle changes notifications

Default value of property postsFrameChangedNotifications is YES
but it is worth to explicitly enable it.

9 years agogl/cocoa: fix uncaught exception 'unrecognized selector sent to instance'
Julien Isorce [Mon, 3 Nov 2014 23:02:17 +0000 (23:02 +0000)]
gl/cocoa: fix uncaught exception 'unrecognized selector sent to instance'

Need to set the ':' as the reshape method now takes one parameter.
For the story, the GstGLNSView was previously inheriting from
NSOpenGLView which has a reshape function without any parameter.
Now the GstGLNSView inherits from NSView and we re-use the reshape
function manually.

9 years agogl/cocoa: fix compiler warning
Julien Isorce [Mon, 3 Nov 2014 22:59:41 +0000 (22:59 +0000)]
gl/cocoa: fix compiler warning

Use the reshape function after being defined. The other way
would have been to declare the reshape function in the header.

gstglwindow_cocoa.m: In function '-[GstGLNSView drawRect:]':
gstglwindow_cocoa.m:555: warning: 'GstGLNSView' may not respond to '-reshape'
gstglwindow_cocoa.m:555: warning: (Messages without a matching method signature
gstglwindow_cocoa.m:555: warning: will be assumed to return 'id' and accept
gstglwindow_cocoa.m:555: warning: '...' as arguments.)

9 years agointervideosrc: Negotiate framerate with downstream
Sebastian Dröge [Mon, 3 Nov 2014 15:54:58 +0000 (16:54 +0100)]
intervideosrc: Negotiate framerate with downstream

Prefer the closest framerate to the input framerate though.

9 years agointer*src: No need to set caps manually on the pad
Sebastian Dröge [Mon, 3 Nov 2014 15:24:33 +0000 (16:24 +0100)]
inter*src: No need to set caps manually on the pad

basesrc does that for us already.

9 years agovideoaggregator: Swap source/destination parameters of gst_video_converter_frame()
Sebastian Dröge [Mon, 3 Nov 2014 15:13:23 +0000 (16:13 +0100)]
videoaggregator: Swap source/destination parameters of gst_video_converter_frame()

9 years agointer: fix order of arguments
Wim Taymans [Mon, 3 Nov 2014 14:19:48 +0000 (15:19 +0100)]
inter: fix order of arguments

9 years agointeraudio: Set all required fields on the template caps
Sebastian Dröge [Mon, 3 Nov 2014 09:05:59 +0000 (10:05 +0100)]
interaudio: Set all required fields on the template caps

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

9 years agogl: fix Since marker for gst_gl_window_run_navigation()
Tim-Philipp Müller [Mon, 3 Nov 2014 00:17:41 +0000 (00:17 +0000)]
gl: fix Since marker for gst_gl_window_run_navigation()

9 years agointer: don't leak surface name
Tim-Philipp Müller [Sun, 2 Nov 2014 23:24:39 +0000 (23:24 +0000)]
inter: don't leak surface name

9 years agompegdemux: start pushing data again when a pad gets linked later
Tim-Philipp Müller [Tue, 3 Sep 2013 10:11:54 +0000 (11:11 +0100)]
mpegdemux: start pushing data again when a pad gets linked later

The whole not_linked optimisation is really a bit dodgy here, but
let's leave it in place for now and at least start pushing data
again when a pad got linked later, in which case we should get a
RECONFIGURE event.

9 years agompegdemux: namespace fixes
Tim-Philipp Müller [Mon, 2 Sep 2013 22:36:43 +0000 (23:36 +0100)]
mpegdemux: namespace fixes

9 years agoaudiovisualizer: post QoS messages when dropping frames due to QoS
Tim-Philipp Müller [Sun, 2 Nov 2014 19:26:20 +0000 (19:26 +0000)]
audiovisualizer: post QoS messages when dropping frames due to QoS

9 years agoaudiovisualizer: fix boilerplate macros
Tim-Philipp Müller [Sun, 2 Nov 2014 19:12:56 +0000 (19:12 +0000)]
audiovisualizer: fix boilerplate macros

9 years agoSprinkle some G_PARAM_DEPRECATED and #ifndef GST_REMOVE_DEPRECATED
Tim-Philipp Müller [Sun, 2 Nov 2014 17:18:12 +0000 (17:18 +0000)]
Sprinkle some G_PARAM_DEPRECATED and #ifndef GST_REMOVE_DEPRECATED

9 years agohls: fix indentation
Tim-Philipp Müller [Sun, 2 Nov 2014 17:17:46 +0000 (17:17 +0000)]
hls: fix indentation

9 years agoglshader: Fix memory leak
Luis de Bethencourt [Wed, 29 Oct 2014 18:18:07 +0000 (18:18 +0000)]
glshader: Fix memory leak

Memory is only freed in the TRUE clause of the if conditional. Free in the else
clause as well.
Also, consolidate g_malloc + sprintf into a g_strdup_printf().

CID #1212171

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

9 years agortpopus: Use OPUS encoding name
Nicolas Dufresne [Sat, 1 Nov 2014 14:10:27 +0000 (10:10 -0400)]
rtpopus: Use OPUS encoding name

Both Firefox and Chrome uses OPUS as the encoding in their SDP.
Adding this now defacto standard name remove the need for special
case in SDP parsing code.

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

9 years agomssdemux: add type of stream to debug log
Thiago Santos [Fri, 31 Oct 2014 20:32:56 +0000 (17:32 -0300)]
mssdemux: add type of stream to debug log

Makes it faster to debug why certain streams are not showing

9 years agomssdemux: do not unlock not locked mutex
Thiago Santos [Fri, 31 Oct 2014 20:32:39 +0000 (17:32 -0300)]
mssdemux: do not unlock not locked mutex

9 years agoglcolorconvert: fix comments that confuse gtk-doc
Luis de Bethencourt [Fri, 31 Oct 2014 10:45:19 +0000 (10:45 +0000)]
glcolorconvert: fix comments that confuse gtk-doc

GTK-Doc uses a special syntax for code documentation. A multiline comment that
starts with an additional '*' marks a documentation block that will be processed
by the GTK-Doc tools. So GTK-Doc is confused if a comment block starts with that
additional '*' but isn't meant to be processed. Removing this additional '*'.

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

9 years agoglimagesink: resize the viewport correctly on a caps change
Matthew Waters [Fri, 31 Oct 2014 01:52:50 +0000 (12:52 +1100)]
glimagesink: resize the viewport correctly on a caps change

with force-aspect-ratio=true, if the width or height changed, the
viewport wasn't being updated to respect the new video width and height
until a resize occured.

9 years agoglmixer: advertise support for changing input caps mid-stream
Matthew Waters [Fri, 31 Oct 2014 01:52:07 +0000 (12:52 +1100)]
glmixer: advertise support for changing input caps mid-stream

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

9 years agogl: sprinkle some Since markers
Matthew Waters [Fri, 31 Oct 2014 01:30:53 +0000 (12:30 +1100)]
gl: sprinkle some Since markers

9 years agompegts: remove storage of never used values
Luis de Bethencourt [Thu, 30 Oct 2014 14:27:38 +0000 (14:27 +0000)]
mpegts: remove storage of never used values

Both _parse_atsc_mgt() and  _parse_atsc_vct () change the value of the variable
data just before returning. The new value is never used since data is a pointer
declared at the beginning of the function and going out of scope just after the
new value is stored.

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

9 years agogaudieffects: remove < 0 comparison on guint32
Luis de Bethencourt [Thu, 30 Oct 2014 17:06:01 +0000 (17:06 +0000)]
gaudieffects: remove < 0 comparison on guint32

Current CLAMP checks both if the value is below 0 or above 255. Considering it
is an unsigned value it can never be less than zero, so that comparison is
unnecessary. Switching to using if just for the upper bound.

CID #1139796

9 years agogaudieffects: declare floor and ceiling as constants
Luis de Bethencourt [Thu, 30 Oct 2014 16:05:14 +0000 (16:05 +0000)]
gaudieffects: declare floor and ceiling as constants

9 years agogaudieffects: stored value is overwritten
Luis de Bethencourt [Thu, 30 Oct 2014 15:49:01 +0000 (15:49 +0000)]
gaudieffects: stored value is overwritten

Value from left_luminance is assigned to out_luminance here, but that stored
value is not used before it is overwritten in the next cycle of the loop.
Removing assignation.

CID #1226473

9 years agompegtsbase: do not remove programs on EOS
Matthieu Bouron [Fri, 24 Oct 2014 14:52:42 +0000 (16:52 +0200)]
mpegtsbase: do not remove programs on EOS

As a consequence, tsdemux won't remove its pads anymore on EOS.

Fixes the case when mpegtsbase is not able to process new packets
after EOS as the corresponding pids aren't known anymore because
the programs were removed and the pes/psi were kept, preventing the
PAT to be parsed again.

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

9 years agosiren: fix sample rate list
Vincent Penquerc'h [Mon, 21 Apr 2014 10:48:22 +0000 (11:48 +0100)]
siren: fix sample rate list

It was using a 24000/24000/48000, but I think it meant to use
24000/32000/48000. Not 100% sure...

https://en.wikipedia.org/wiki/G.722.1 has the list of supported
bitrates. It's not clear whether the "flag" code maps to this,
however.

Coverity 206072

9 years agovideoaggregator: remove storage of never used values
Luis de Bethencourt [Thu, 30 Oct 2014 14:49:05 +0000 (14:49 +0000)]
videoaggregator: remove storage of never used values

These two values are stored just before the function returns and they go out of
scope.

9 years agoopusenc: update output segment stop time to match clipped samples
Vincent Penquerc'h [Tue, 10 Jun 2014 08:33:40 +0000 (09:33 +0100)]
opusenc: update output segment stop time to match clipped samples

This will let oggmux generate a granpos on the last page that properly
represents the clipped samples at the end of the stream.

9 years agosrtpdec: Trivial documentation fix
Arun Raghavan [Thu, 30 Oct 2014 13:15:04 +0000 (18:45 +0530)]
srtpdec: Trivial documentation fix

9 years agoglmixer: don't get the current caps from GstVideoInfo for the srcpad
Matthew Waters [Thu, 30 Oct 2014 12:08:00 +0000 (23:08 +1100)]
glmixer: don't get the current caps from GstVideoInfo for the srcpad

It's missing the caps features needed.

9 years agogl/examples: update for other-context property removal
Matthew Waters [Thu, 30 Oct 2014 07:57:59 +0000 (18:57 +1100)]
gl/examples: update for other-context property removal

9 years agoglcontext: add more functionality to wrapped contexts
Matthew Waters [Thu, 30 Oct 2014 05:48:00 +0000 (16:48 +1100)]
glcontext: add more functionality to wrapped contexts

Implements get_current_context() and get_proc_address() for wrapped
contexts.

9 years agoglshader: advertise the default vertex and fragment shaders on desktop GL
Matthew Waters [Thu, 30 Oct 2014 01:43:09 +0000 (12:43 +1100)]
glshader: advertise the default vertex and fragment shaders on desktop GL

9 years agocodecparsers: h264: recognize SVC NAL units.
Gwenole Beauchesne [Thu, 22 May 2014 11:13:14 +0000 (13:13 +0200)]
codecparsers: h264: recognize SVC NAL units.

Identify SVC NAL units and tag them as such. This is necessary for
gst_h264_parser_parse_slice_hdr() to fail gracefully, if the user
did not perform the check himself.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
9 years agocodecparsers: h264: fix number of list0 {,non-}anchor refs.
Gwenole Beauchesne [Wed, 29 Oct 2014 13:53:15 +0000 (14:53 +0100)]
codecparsers: h264: fix number of list0 {,non-}anchor refs.

Fix copy-paste error in gst_h264_sps_mvc_copy() where num_anchor_refs_l0
and num_non_anchor_refs_l0 were incorrectly initialized from list1.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
9 years agoUpdate .def for new API
Tim-Philipp Müller [Wed, 29 Oct 2014 13:51:40 +0000 (13:51 +0000)]
Update .def for new API

9 years agocodecparsers: sprinkle some gtk-doc Since: markers for new API
Tim-Philipp Müller [Wed, 29 Oct 2014 13:15:51 +0000 (13:15 +0000)]
codecparsers: sprinkle some gtk-doc Since: markers for new API

9 years agosatisfy gst-indent
Lubosz Sarnecki [Wed, 29 Oct 2014 11:22:14 +0000 (12:22 +0100)]
satisfy gst-indent

9 years agoglfiltercube: Fix typo in property description
Jan Schmidt [Wed, 29 Oct 2014 12:23:13 +0000 (22:23 +1000)]
glfiltercube: Fix typo in property description

9 years agocodecparsers: Initialise nalu extension type to NONE
Jan Schmidt [Wed, 29 Oct 2014 12:23:02 +0000 (22:23 +1000)]
codecparsers: Initialise nalu extension type to NONE

Always set a default NALU extension type, and override it
when we find a supported extension, to avoid having it unset/random
for unsupported NALU extensions

9 years agoh264parser: Fix frame packing SEI parsing
Jan Schmidt [Tue, 7 Oct 2014 05:28:03 +0000 (16:28 +1100)]
h264parser: Fix frame packing SEI parsing

9 years agocodecparsers: h264: add support for Frame Packing Arrangement SEI message.
Sreerenj Balachandran [Tue, 25 Mar 2014 13:08:44 +0000 (14:08 +0100)]
codecparsers: h264: add support for Frame Packing Arrangement SEI message.

This parses the frame_packing_arragement() payload in SEI message.
This information can be used by decoders to appropriately rearrange the
samples which belong to Stereoscopic and Multiview High profiles.

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

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
9 years agocodecparsers: h264: add support for Stereo Video Information SEI message.
Sreerenj Balachandran [Fri, 8 Mar 2013 16:17:16 +0000 (18:17 +0200)]
codecparsers: h264: add support for Stereo Video Information SEI message.

Add the necessary payload parsing support for stereo_video_info.

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

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
9 years agocodecparsers: h264: parse seq_parameter_set_mvc_extension().
Gwenole Beauchesne [Mon, 1 Oct 2012 11:36:45 +0000 (13:36 +0200)]
codecparsers: h264: parse seq_parameter_set_mvc_extension().

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

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
9 years agocodecparsers: h264: parse MVC syntax elements.
Gwenole Beauchesne [Wed, 26 Sep 2012 16:46:36 +0000 (18:46 +0200)]
codecparsers: h264: parse MVC syntax elements.

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

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
9 years agotsparse: Handle backward and discont timestamps better.
Jan Schmidt [Wed, 29 Oct 2014 11:58:37 +0000 (22:58 +1100)]
tsparse: Handle backward and discont timestamps better.

Assume that small backward PCR jumps are just from upstream packet
mis-ordering and don't reset timestamp tracking state - assuming that
things will be OK again shortly.

Make the threshold for detecting discont between sequential buffers
configurable and match the smoothing-latency setting on tsparse
to better cope with data bursts.

9 years agotsparse: Implement timestamp/retimestamping of output buffers
Jan Schmidt [Wed, 29 Oct 2014 11:58:37 +0000 (22:58 +1100)]
tsparse: Implement timestamp/retimestamping of output buffers

When the set-timestamps property is set, use PCRs on the provided
(or autodetected) pcr-pid to apply (or replace) timestamps on the
output buffers, using piece-wise linear interpolation.

This allows tsparse to be used to stream an arbitrary mpeg-ts file,
or to smooth jittery reception timestamps from a network stream.

The reported latency is increased to match the smoothing latency if
necessary.

9 years agoconfigure.ac: auto decision to include GL library fails
Vincent Abriou [Wed, 29 Oct 2014 09:09:35 +0000 (10:09 +0100)]
configure.ac: auto decision to include GL library fails

The part of the configure.ac that consist to check if we
can include both GL and GLES2 at the same time is failing.
Indeed, in the case NEED_GLES2=yes and NEED_OPENGL=auto,
HAVE_OPENGL variable is updated whereas it should be HAVE_GL
variable that has to be updated (HAVE_OPENGL variable is not
used in the rest of the configure.ac).

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

Signed-off-by: Vincent Abriou <vincent.abriou@st.com>
Reviewed-by: Benjamin GAIGNARD <benjamin.gaignard@linaro.org>
9 years agocodecparsers: remove ignored increment of return
Luis de Bethencourt [Wed, 29 Oct 2014 10:37:38 +0000 (10:37 +0000)]
codecparsers: remove ignored increment of return

'return val++;' returns the value before it is incremented because the post
increment happens after the statement. Removing the unused increment.

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

9 years agoglmixer:fix incorrect parameter passed to handle_set_context
Wang Xin-yu (王昕宇) [Wed, 29 Oct 2014 00:27:57 +0000 (08:27 +0800)]
glmixer:fix incorrect parameter passed to handle_set_context