platform/upstream/gstreamer.git
11 years agod3dvideosink: Add support for crop meta
Sebastian Dröge [Tue, 26 Mar 2013 13:15:41 +0000 (14:15 +0100)]
d3dvideosink: Add support for crop meta

11 years agobuild: we need a recent-enough gnutls for hls
Tim-Philipp Müller [Tue, 26 Mar 2013 13:22:22 +0000 (13:22 +0000)]
build: we need a recent-enough gnutls for hls

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

11 years agod3dvideosink: Implement a buffer pool that shares D3D surfaces with upstream
Sebastian Dröge [Sat, 22 Dec 2012 20:59:03 +0000 (21:59 +0100)]
d3dvideosink: Implement a buffer pool that shares D3D surfaces with upstream

11 years agod3dvideosink: Allocate a new offscreen surface for every buffer
Sebastian Dröge [Sat, 22 Dec 2012 18:12:34 +0000 (19:12 +0100)]
d3dvideosink: Allocate a new offscreen surface for every buffer

This is a preparation for implementing a buffer pool.

11 years agomxfdemux: Use %03u for format in gst_pad_create_stream_id_printf()
David Schleef [Tue, 26 Mar 2013 01:04:09 +0000 (18:04 -0700)]
mxfdemux: Use %03u for format in gst_pad_create_stream_id_printf()

11 years agosrtp: Fix filter handling in caps negotiation to keep filter content
Olivier Crête [Mon, 25 Mar 2013 17:48:20 +0000 (13:48 -0400)]
srtp: Fix filter handling in caps negotiation to keep filter content

11 years agoapplemedia: fix build for objc
Thiago Santos [Mon, 25 Mar 2013 12:45:30 +0000 (09:45 -0300)]
applemedia: fix build for objc

The obj-c api version option is required to get applemedia to
build for ios, otherwise it won't find some symbols during linking

11 years agointerlaced: set both DTS and PTS
Wim Taymans [Mon, 25 Mar 2013 09:10:28 +0000 (10:10 +0100)]
interlaced: set both DTS and PTS

Handle both dts and pts on output buffers.

11 years agotsdemux: remove unused current_program_number field
Douglas Bagnall [Sat, 9 Mar 2013 23:17:05 +0000 (12:17 +1300)]
tsdemux: remove unused current_program_number field

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

11 years agorawparse: send segment event in time format also in push mode
Tim-Philipp Müller [Fri, 22 Mar 2013 19:40:58 +0000 (19:40 +0000)]
rawparse: send segment event in time format also in push mode

When converting the incoming segment from byte to time format,
don't just convert the start/stop/time values, but also change
the segment format to TIME.

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

11 years agoconfigure: fix build if gnutls is not present
Tim-Philipp Müller [Fri, 22 Mar 2013 15:30:32 +0000 (15:30 +0000)]
configure: fix build if gnutls is not present

Skip build of hls plugin if gnutls headers can't be found.

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

11 years agoy4mdec: Use the correct strides as used by y4m and convert to GStreamer strides if...
Sebastian Dröge [Fri, 22 Mar 2013 14:49:18 +0000 (15:49 +0100)]
y4mdec: Use the correct strides as used by y4m and convert to GStreamer strides if necessary

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

11 years agofluidsynth: rename to fluiddec
Wim Taymans [Fri, 22 Mar 2013 14:19:32 +0000 (15:19 +0100)]
fluidsynth: rename to fluiddec

Rename the fluidsynth plugin to fluidsynthmidi and the decoder
to fluiddec to avoid conflicts with buzztard.

11 years agoy4mdec: Use the default event/query handlers for the default handling
Sebastian Dröge [Fri, 22 Mar 2013 13:52:54 +0000 (14:52 +0100)]
y4mdec: Use the default event/query handlers for the default handling

Especially don't forward caps events from the sinkpad to the srcpad.

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

11 years agoy4mdec: Properly handle segment and time values of -1
Sebastian Dröge [Fri, 22 Mar 2013 13:37:37 +0000 (14:37 +0100)]
y4mdec: Properly handle segment and time values of -1

11 years agomidi: set midi parser rank primary
Wim Taymans [Fri, 22 Mar 2013 13:48:52 +0000 (14:48 +0100)]
midi: set midi parser rank primary

Now that it supports seeking and all, mark it primary

11 years agomidiparse: always seek back to beginning
Wim Taymans [Fri, 22 Mar 2013 12:49:49 +0000 (13:49 +0100)]
midiparse: always seek back to beginning

We always need to seek back to the beginning because when we do a flushing seek,
we might have lost events downstream.

11 years agofluidsynth: fix debug of segment structure
Wim Taymans [Fri, 22 Mar 2013 12:48:26 +0000 (13:48 +0100)]
fluidsynth: fix debug of segment structure

11 years agofluidsynth: handle discont
Wim Taymans [Fri, 22 Mar 2013 12:48:03 +0000 (13:48 +0100)]
fluidsynth: handle discont

11 years agomidiparse: implement seeking
Wim Taymans [Fri, 22 Mar 2013 11:25:16 +0000 (12:25 +0100)]
midiparse: implement seeking

Seek back to 0 for backward seeking and let things run and clip for forwards
seeking.

11 years agofluidsynth: reset on flush and state change
Wim Taymans [Fri, 22 Mar 2013 11:16:45 +0000 (12:16 +0100)]
fluidsynth: reset on flush and state change

11 years agofluidsynth: add properties
Wim Taymans [Fri, 22 Mar 2013 10:04:10 +0000 (11:04 +0100)]
fluidsynth: add properties

Add properties.
Try to find a good default soundfont when not specified.

11 years agofluidsynth: log midi tick event
Wim Taymans [Fri, 22 Mar 2013 07:54:54 +0000 (08:54 +0100)]
fluidsynth: log midi tick event

11 years agofluidsynth: redirect logging to gst logging functions
Wim Taymans [Fri, 22 Mar 2013 07:54:32 +0000 (08:54 +0100)]
fluidsynth: redirect logging to gst logging functions

11 years agomidiparse: simplify the callbacks
Wim Taymans [Thu, 21 Mar 2013 17:18:29 +0000 (18:18 +0100)]
midiparse: simplify the callbacks

We only need one callback to send bytes out.

11 years agofluidsynth: improve debug
Wim Taymans [Thu, 21 Mar 2013 17:17:40 +0000 (18:17 +0100)]
fluidsynth: improve debug

11 years agomidiparse: clean up tracks
Wim Taymans [Thu, 21 Mar 2013 16:25:32 +0000 (17:25 +0100)]
midiparse: clean up tracks

11 years agomidiparse: don't leak midi data
Wim Taymans [Thu, 21 Mar 2013 16:16:24 +0000 (17:16 +0100)]
midiparse: don't leak midi data

11 years agofluidsynth: produce more accurate timestamps
Wim Taymans [Thu, 21 Mar 2013 16:05:36 +0000 (17:05 +0100)]
fluidsynth: produce more accurate timestamps

11 years agomidiparse: small cleanups in error paths
Wim Taymans [Thu, 21 Mar 2013 15:05:41 +0000 (16:05 +0100)]
midiparse: small cleanups in error paths

11 years agomidiparse: duration is max of all track durations
Wim Taymans [Thu, 21 Mar 2013 15:05:00 +0000 (16:05 +0100)]
midiparse: duration is max of all track durations

11 years agomidiparse: fix klass
Wim Taymans [Thu, 21 Mar 2013 15:04:32 +0000 (16:04 +0100)]
midiparse: fix klass

11 years agoopensles: Include string.h for memcpy()
Sebastian Dröge [Thu, 21 Mar 2013 14:43:12 +0000 (15:43 +0100)]
opensles: Include string.h for memcpy()

11 years agomidiparse: Update duration
Wim Taymans [Thu, 21 Mar 2013 14:00:16 +0000 (15:00 +0100)]
midiparse: Update duration

Rework things a bit so that we can run over the midi events and fire callbacks
for each of them. We can then use that for calculating the duration and also for
doing playback.
Only parse as many tracks as specified in the header.
Fix default tempo;
Send MIDI tick events every 10ms

11 years agofluidsynth: add more debug
Wim Taymans [Thu, 21 Mar 2013 13:57:43 +0000 (14:57 +0100)]
fluidsynth: add more debug

11 years agomidiparse: handle midi in RIFF
Wim Taymans [Thu, 21 Mar 2013 08:30:41 +0000 (09:30 +0100)]
midiparse: handle midi in RIFF

11 years agomidiparse: small fixes
Wim Taymans [Thu, 21 Mar 2013 06:21:00 +0000 (07:21 +0100)]
midiparse: small fixes

11 years agomidi: set rank as marginal
Wim Taymans [Thu, 21 Mar 2013 06:07:29 +0000 (07:07 +0100)]
midi: set rank as marginal

Set the mark to marginal until we implement more features.

11 years agofluidsynth: add fluidsynth midi renderer
Wim Taymans [Thu, 21 Mar 2013 06:05:54 +0000 (07:05 +0100)]
fluidsynth: add fluidsynth midi renderer

Add a fluidsynth element that converts midi events into raw
float samples.

11 years agomidiparse: add basic midi parser
Wim Taymans [Thu, 21 Mar 2013 05:50:52 +0000 (06:50 +0100)]
midiparse: add basic midi parser

Parses midi files and outputs buffers with midi events.

11 years agoivtc: fix make dist
Tim-Philipp Müller [Wed, 20 Mar 2013 15:29:51 +0000 (15:29 +0000)]
ivtc: fix make dist

11 years agoDist hls as well
Tim-Philipp Müller [Wed, 20 Mar 2013 15:25:55 +0000 (15:25 +0000)]
Dist hls as well

11 years agoconfigure: actually build hls plugin
Tim-Philipp Müller [Wed, 20 Mar 2013 15:19:15 +0000 (15:19 +0000)]
configure: actually build hls plugin

11 years agodecklinksink: fix some compiler warnings
Tim-Philipp Müller [Wed, 20 Mar 2013 10:49:04 +0000 (10:49 +0000)]
decklinksink: fix some compiler warnings

11 years agocombdetect,ivtc: code cleanup
David Schleef [Tue, 19 Mar 2013 23:39:03 +0000 (16:39 -0700)]
combdetect,ivtc: code cleanup

11 years agoelement-maker: remove sinkpad/srcpad fields
David Schleef [Wed, 20 Mar 2013 00:28:16 +0000 (17:28 -0700)]
element-maker: remove sinkpad/srcpad fields

Information is in the base class anyway, plus pad creation was
done incorrectly.

11 years agocombdetect: output progressive video
David Schleef [Tue, 19 Mar 2013 19:19:27 +0000 (12:19 -0700)]
combdetect: output progressive video

11 years agocombdetect: code cleanup
David Schleef [Mon, 18 Mar 2013 23:22:55 +0000 (16:22 -0700)]
combdetect: code cleanup

11 years agocombdetect: switch to zebra striping
David Schleef [Wed, 13 Mar 2013 00:47:52 +0000 (17:47 -0700)]
combdetect: switch to zebra striping

11 years agoivtc: drop early fields
David Schleef [Sat, 9 Mar 2013 01:02:14 +0000 (17:02 -0800)]
ivtc: drop early fields

11 years agoivtc: new inverse telecine filter
David Schleef [Wed, 20 Feb 2013 23:32:15 +0000 (15:32 -0800)]
ivtc: new inverse telecine filter

This filter converts interlaced content that was originally
telecine'd from 24 fps (or similar) progressive content.  It works
approximately like videorate, but with awareness of interlacing.
It merges neighboring fields in the input interlaced stream with
the goal of minimizing combing artifacts, while keeping the output
framerate constant.  If it cannot avoid combing artifacts, it will
reconstruct the image from a single field.  Note that this filter
does not autodetect the framerate, but will automatically fixate
at 24 fps.

11 years agoegl: Fix some return values in g_return_val_if_fail()
Sebastian Dröge [Tue, 19 Mar 2013 13:31:14 +0000 (14:31 +0100)]
egl: Fix some return values in g_return_val_if_fail()

11 years agowildmidi: fix event and query handler
Wim Taymans [Tue, 19 Mar 2013 12:54:00 +0000 (13:54 +0100)]
wildmidi: fix event and query handler

Call the default implementation for unknown events and queries.
Fix event leak.

11 years agoMake the hls plugin depend on gnutls and move to ext/hls/
Alessandro Decina [Tue, 19 Mar 2013 09:47:25 +0000 (10:47 +0100)]
Make the hls plugin depend on gnutls and move to ext/hls/

gnutls is used to implement AES decryption

11 years agohlsdemux: use gnutls instead of openssl
Alessandro Decina [Tue, 19 Mar 2013 09:26:14 +0000 (10:26 +0100)]
hlsdemux: use gnutls instead of openssl

11 years agohlsdemux: support encrypted streams
Alessandro Decina [Tue, 19 Mar 2013 07:49:21 +0000 (08:49 +0100)]
hlsdemux: support encrypted streams

11 years agoport wildmidi
Wim Taymans [Tue, 19 Mar 2013 09:14:05 +0000 (10:14 +0100)]
port wildmidi

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

11 years agodecklinksink: obtain class from object
Mark Nauwelaerts [Mon, 18 Mar 2013 20:12:00 +0000 (21:12 +0100)]
decklinksink: obtain class from object

11 years agohlsdemux: fix invalid free() introduced by last commit
Alessandro Decina [Mon, 18 Mar 2013 20:01:59 +0000 (21:01 +0100)]
hlsdemux: fix invalid free() introduced by last commit

11 years agompegtsmux: fix creation of ADTS header for AAC audio in MPEG-TS
Kevin Thornberry [Thu, 7 Mar 2013 22:19:15 +0000 (22:19 +0000)]
mpegtsmux: fix creation of ADTS header for AAC audio in MPEG-TS

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

11 years agohlsdemux: parse #EXT-X-KEY tags
Alessandro Decina [Mon, 18 Mar 2013 06:34:13 +0000 (07:34 +0100)]
hlsdemux: parse #EXT-X-KEY tags

11 years agohlsdemux: factor out URI joining utility
Alessandro Decina [Mon, 18 Mar 2013 06:22:36 +0000 (07:22 +0100)]
hlsdemux: factor out URI joining utility

11 years agohlsdemux: fix URI parsing for absolute fragment paths
Alessandro Decina [Mon, 18 Mar 2013 06:02:54 +0000 (07:02 +0100)]
hlsdemux: fix URI parsing for absolute fragment paths

11 years agodecklinksrc: set discont flag on first audio buffer too
Tim-Philipp Müller [Sat, 16 Mar 2013 23:32:12 +0000 (23:32 +0000)]
decklinksrc: set discont flag on first audio buffer too

11 years agodecklinksrc: aggregate audio and video flow returns
Tim-Philipp Müller [Sat, 16 Mar 2013 23:29:35 +0000 (23:29 +0000)]
decklinksrc: aggregate audio and video flow returns

And pause task in some more cases where we should
pause the task.

11 years agodecklinksrc: add send_event handler so application can inject EOS event
Tim-Philipp Müller [Sat, 16 Mar 2013 21:39:20 +0000 (21:39 +0000)]
decklinksrc: add send_event handler so application can inject EOS event

This is needed to shut down a recording pipeline cleanly.

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

11 years agodecklinksrc: pause streaming thread and send EOS event on error
Tim-Philipp Müller [Sat, 16 Mar 2013 21:34:57 +0000 (21:34 +0000)]
decklinksrc: pause streaming thread and send EOS event on error

Instead of just posting an EOS message and continuing,
actually pause the thread.

11 years agofrei0r: improve readability of RGB and XY property nickname strings
Jean-François Fortin Tam [Sat, 16 Mar 2013 17:13:14 +0000 (13:13 -0400)]
frei0r: improve readability of RGB and XY property nickname strings

Also fix the Y prop nickname string being incorrect.

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

11 years agofrei0r: fix nicknames for color and position properties
Jean-François Fortin Tam [Sat, 16 Mar 2013 17:07:25 +0000 (13:07 -0400)]
frei0r: fix nicknames for color and position properties

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

11 years agoconfigure: Mark decklink as ported
David Schleef [Sat, 16 Mar 2013 03:21:47 +0000 (20:21 -0700)]
configure: Mark decklink as ported

11 years agoelement-maker: clean up bits from previous commit
David Schleef [Fri, 15 Mar 2013 07:25:43 +0000 (00:25 -0700)]
element-maker: clean up bits from previous commit

Files that were supposed to be in the previous element-maker
commit.  This is what happens when cherry-pick doesn't work.

11 years agotools: Fix make dist
Rico Tzschichholz [Fri, 15 Mar 2013 16:47:23 +0000 (17:47 +0100)]
tools: Fix make dist

Missing bits of b45a1df5deadb029dcbe4522f0116d34f1cd2f1e

11 years agosrtp: fix compilation warning returning NULL in case of error
Jose Antonio Santos Cadenas [Fri, 15 Mar 2013 08:29:42 +0000 (09:29 +0100)]
srtp: fix compilation warning returning NULL in case of error

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

11 years agosrtp: use constant AES_128_ICM instead of AES_ICM that is not found
Jose Antonio Santos Cadenas [Fri, 15 Mar 2013 08:27:36 +0000 (09:27 +0100)]
srtp: use constant AES_128_ICM instead of AES_ICM that is not found

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

11 years agovideosegmentclip: Don't leak buffers after segment
David Schleef [Sat, 2 Mar 2013 00:52:41 +0000 (16:52 -0800)]
videosegmentclip: Don't leak buffers after segment

11 years agovideosignal: add FIXME for future revival
David Schleef [Wed, 13 Mar 2013 00:32:51 +0000 (17:32 -0700)]
videosignal: add FIXME for future revival

11 years agoelement-maker: Update templates for 1.0
David Schleef [Fri, 15 Mar 2013 06:57:06 +0000 (23:57 -0700)]
element-maker: Update templates for 1.0

This are (almost) completely autogenerated from the documentation.

11 years agomxfdemux: Add a second MXF UL for uncompressed audio
David Schleef [Wed, 6 Feb 2013 00:34:20 +0000 (16:34 -0800)]
mxfdemux: Add a second MXF UL for uncompressed audio

11 years agomxfdemux: Ignore missing metadata descriptors
David Schleef [Tue, 5 Feb 2013 23:58:53 +0000 (15:58 -0800)]
mxfdemux: Ignore missing metadata descriptors

11 years agohlsdemux: don't stop tasks in paused
Wim Taymans [Thu, 14 Mar 2013 11:09:49 +0000 (12:09 +0100)]
hlsdemux: don't stop tasks in paused

A non-live element is supposed to continue streaming in the paused state so
don't stop the tasks when going to paused.
We also always want to start the update task after we prerolled enough data,
not only in the playing state.

11 years agohlsdemux: add more debug
Wim Taymans [Thu, 14 Mar 2013 11:08:35 +0000 (12:08 +0100)]
hlsdemux: add more debug

11 years agoeglglessink: Add support for different EGLImage orientations
Sebastian Dröge [Wed, 13 Mar 2013 11:50:44 +0000 (12:50 +0100)]
eglglessink: Add support for different EGLImage orientations

11 years agoegl: Add support for different orientations of the EGLImage
Sebastian Dröge [Wed, 13 Mar 2013 10:29:45 +0000 (11:29 +0100)]
egl: Add support for different orientations of the EGLImage

The content of the EGLImages can be at least in GStreamer orientation,
meaning top line first in memory, or OpenGL orientation, meaning
bottom line first in memory.

11 years agoeglglessink: Add RGBA to the caps again
Sebastian Dröge [Wed, 13 Mar 2013 10:09:36 +0000 (11:09 +0100)]
eglglessink: Add RGBA to the caps again

11 years agotests: fix up mpegtsmux unit test after collectpads change
Tim-Philipp Müller [Wed, 13 Mar 2013 00:25:48 +0000 (00:25 +0000)]
tests: fix up mpegtsmux unit test after collectpads change

It was passing expected flow returns (which might be negative)
in the buffer timestamp field, which was maybe not the best
idea.

11 years agoaudiovisualizer: fix improper video frame clear operation
Greg Rutz [Tue, 12 Mar 2013 03:55:28 +0000 (21:55 -0600)]
audiovisualizer: fix improper video frame clear operation

The current code is memsetting the GstVideoFrame.data address to 0s (which
causes a segfault). This member is actually an array of data buffers (one for
each plane).  This fix iterates over each data plane to clear them all.

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

11 years agosrtp: Add SRTP plugin based on libsrtp
Olivier Crête [Tue, 12 Mar 2013 23:47:51 +0000 (19:47 -0400)]
srtp: Add SRTP plugin based on libsrtp

In large part the work of Gabriel Millaire

11 years agoeglglessink: Make sure the buffer is released to the pool if it's the last used one
Sebastian Dröge [Tue, 12 Mar 2013 18:36:12 +0000 (19:36 +0100)]
eglglessink: Make sure the buffer is released to the pool if it's the last used one

11 years agoapplemedia: suppress warnings for deprecated glib API
Josep Torra [Sun, 10 Mar 2013 21:06:31 +0000 (22:06 +0100)]
applemedia: suppress warnings for deprecated glib API

11 years agoshmsink: Use correct print format specifiers to fix compiler warnings
Josep Torra [Sun, 10 Mar 2013 20:21:17 +0000 (21:21 +0100)]
shmsink: Use correct print format specifiers to fix compiler warnings

11 years agoRemove DTMF plugin, moved to -good
Tim-Philipp Müller [Sat, 9 Mar 2013 01:06:31 +0000 (01:06 +0000)]
Remove DTMF plugin, moved to -good

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

11 years agofbdev: port fbdevsink to 1.0
Tim-Philipp Müller [Sat, 9 Mar 2013 00:17:45 +0000 (00:17 +0000)]
fbdev: port fbdevsink to 1.0

11 years agoeglglessink: There are only two GLSL programs, not three
Sebastian Dröge [Thu, 7 Mar 2013 10:58:25 +0000 (11:58 +0100)]
eglglessink: There are only two GLSL programs, not three

11 years agoeglglessink: gst_buffer_pool_config_get_allocator() does *not* return a new reference...
Sebastian Dröge [Thu, 7 Mar 2013 10:50:00 +0000 (11:50 +0100)]
eglglessink: gst_buffer_pool_config_get_allocator() does *not* return a new reference to the allocator

Different to gst_query_get_n_allocation_params() which does

11 years agoAutomatic update of common submodule
Tim-Philipp Müller [Thu, 7 Mar 2013 00:01:34 +0000 (00:01 +0000)]
Automatic update of common submodule

From ae05558 to 04c7a1e

11 years agoeglglessink: Fix allocation of RGBA textures
Sebastian Dröge [Wed, 6 Mar 2013 16:53:18 +0000 (17:53 +0100)]
eglglessink: Fix allocation of RGBA textures

11 years agoeglglessink: Make sure to set the NO_SHARE flag on the EGLImage memories
Sebastian Dröge [Wed, 6 Mar 2013 09:53:59 +0000 (10:53 +0100)]
eglglessink: Make sure to set the NO_SHARE flag on the EGLImage memories

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

11 years agoeglglessink: Always use an RGBA configuration
Sebastian Dröge [Tue, 5 Mar 2013 11:47:07 +0000 (12:47 +0100)]
eglglessink: Always use an RGBA configuration

11 years agopkg-config: Add egl library to the generic pkg-config file
Sebastian Dröge [Wed, 27 Feb 2013 12:15:54 +0000 (13:15 +0100)]
pkg-config: Add egl library to the generic pkg-config file

11 years agoeglglessink: Properly negotiate an allocator
Sebastian Dröge [Mon, 25 Feb 2013 12:43:28 +0000 (13:43 +0100)]
eglglessink: Properly negotiate an allocator