platform/upstream/gst-plugins-good.git
12 years agoMore printf format warning fixes
Tim-Philipp Müller [Tue, 22 Nov 2011 01:40:39 +0000 (01:40 +0000)]
More printf format warning fixes

12 years agoFix printf format compiler warnings on OS X / 64bit
Matej Knopp [Mon, 21 Nov 2011 19:31:31 +0000 (20:31 +0100)]
Fix printf format compiler warnings on OS X / 64bit

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

12 years agoupdate for activation changes
Wim Taymans [Mon, 21 Nov 2011 12:37:01 +0000 (13:37 +0100)]
update for activation changes

12 years agoupdate for new scheduling query
Wim Taymans [Fri, 18 Nov 2011 16:59:16 +0000 (17:59 +0100)]
update for new scheduling query

12 years agoadd parent to activate functions
Wim Taymans [Fri, 18 Nov 2011 12:57:20 +0000 (13:57 +0100)]
add parent to activate functions

12 years agoqtdemux: activate pad before setting caps
Wim Taymans [Thu, 17 Nov 2011 16:36:05 +0000 (17:36 +0100)]
qtdemux: activate pad before setting caps

Seting caps on an inactive flushing pad does nothing.

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Thu, 17 Nov 2011 16:17:11 +0000 (17:17 +0100)]
Merge branch 'master' into 0.11

Conflicts:
ext/speex/gstspeexenc.c
gst/rtpmanager/rtpsession.c

12 years agoadd parent to pad functions
Wim Taymans [Thu, 17 Nov 2011 14:02:55 +0000 (15:02 +0100)]
add parent to pad functions

12 years agocollectpads: port API changes
Stefan Sauer [Thu, 17 Nov 2011 07:24:58 +0000 (08:24 +0100)]
collectpads: port API changes

12 years agospeexenc: ensure to free allocated padded data
Mark Nauwelaerts [Wed, 16 Nov 2011 18:08:05 +0000 (19:08 +0100)]
speexenc: ensure to free allocated padded data

12 years agospeexenc: reset tag setter interface when appropriate
Mark Nauwelaerts [Wed, 16 Nov 2011 17:57:38 +0000 (18:57 +0100)]
speexenc: reset tag setter interface when appropriate

12 years agoflacenc: reset tag setter interface when appropriate
Mark Nauwelaerts [Wed, 16 Nov 2011 17:57:21 +0000 (18:57 +0100)]
flacenc: reset tag setter interface when appropriate

12 years agoadd parent to internal links
Wim Taymans [Wed, 16 Nov 2011 16:54:49 +0000 (17:54 +0100)]
add parent to internal links

12 years agoadd parent to query function
Wim Taymans [Wed, 16 Nov 2011 16:27:13 +0000 (17:27 +0100)]
add parent to query function

12 years agogoom: update for renamed flags
Wim Taymans [Wed, 16 Nov 2011 11:40:08 +0000 (12:40 +0100)]
goom: update for renamed flags

Use the _check_reconfigure method instead of checking flags.
Don't need to ref the parent anymore, core does that.

12 years ago_query_peer_*() -> _peer_query_*()
Wim Taymans [Tue, 15 Nov 2011 17:01:16 +0000 (18:01 +0100)]
_query_peer_*() -> _peer_query_*()

12 years ago_accept_caps() -> _query_accept_caps()
Wim Taymans [Tue, 15 Nov 2011 16:45:31 +0000 (17:45 +0100)]
_accept_caps() -> _query_accept_caps()

12 years ago_peer_get_caps() -> _peer_query_caps()
Wim Taymans [Tue, 15 Nov 2011 16:29:45 +0000 (17:29 +0100)]
_peer_get_caps() -> _peer_query_caps()

12 years agoupdate for _get_caps() -> _query_caps()
Wim Taymans [Tue, 15 Nov 2011 15:55:27 +0000 (16:55 +0100)]
update for _get_caps() -> _query_caps()

12 years agochange getcaps to query
Wim Taymans [Tue, 15 Nov 2011 15:31:45 +0000 (16:31 +0100)]
change getcaps to query

Chain up event function in payloaders.

12 years agoflacdec: fix spurious timestamp discontinuity
Vincent Penquerc'h [Tue, 15 Nov 2011 13:23:56 +0000 (13:23 +0000)]
flacdec: fix spurious timestamp discontinuity

We need to tell the base class that we're dropping buffers,
so it drops the input timestamps corresponding to these.
Otherwise, the first actual audio buffers we output will be
stamped with those - GST_CLOCK_TIMESTAMP_NONE. That mismatch
between input buffer count and output buffer count will stay
while playing. With enough headers and long enough buffer
durations, the sink will have played enough before receiving
the first valid timestamp (usually 0), and will trigger an
audible discontinuity.

12 years agoflacparse: detect when a file lies about fixed block size
Vincent Penquerc'h [Mon, 14 Nov 2011 15:34:57 +0000 (15:34 +0000)]
flacparse: detect when a file lies about fixed block size

If the sample/block number happens to be the same as the block
size, we assume variable block size, and thus counters in samples
in the headers. This can only get us a false positive for a block
size of 1, which is invalid. We can get false negatives more
often though (eg, if not starting at the start of the stream),
but then that's already GIGO.

12 years agogstrtpsession: Add special mode to use FIR as repair as Google does
Olivier Crête [Fri, 2 Sep 2011 23:20:07 +0000 (19:20 -0400)]
gstrtpsession: Add special mode to use FIR as repair as Google does

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

12 years agortpsession: Send FIR requests in response to key unit requests with all-headers=TRUE
Olivier Crête [Thu, 1 Sep 2011 21:47:38 +0000 (17:47 -0400)]
rtpsession: Send FIR requests in response to key unit requests with all-headers=TRUE

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

12 years agortpsession: Put the PLI requests in each RTPSource
Olivier Crête [Thu, 1 Sep 2011 20:25:21 +0000 (16:25 -0400)]
rtpsession: Put the PLI requests in each RTPSource

Also refactor a bit and put all the keyframe request code in one
place inside rtpsession.c

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

12 years agortpsession: Hack to FIR because Google doesn't set the sender ssrc correctly
Olivier Crête [Wed, 31 Aug 2011 18:35:33 +0000 (14:35 -0400)]
rtpsession: Hack to FIR because Google doesn't set the sender ssrc correctly

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

12 years agortpsession: Process received Full Intra Requests
Olivier Crête [Tue, 30 Aug 2011 23:06:13 +0000 (19:06 -0400)]
rtpsession: Process received Full Intra Requests

Process FIR requests according to RFC 5104

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

12 years agov4l2: Set pixel-aspect-ratio to 1/1
Sjoerd Simons [Mon, 7 Nov 2011 18:43:26 +0000 (18:43 +0000)]
v4l2: Set pixel-aspect-ratio to 1/1

We don't currently support setting the pixel-aspect-ratio from V4L2. So
simply set it to be 1/1 in the caps to prevent negotiation failures when
fixating to weird values (e.g. when the downstream caps has
pixel-aspect-ratio = [ MIN, MAX ] )

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

12 years agotests: make id3demux test compile
Tim-Philipp Müller [Mon, 14 Nov 2011 09:39:15 +0000 (09:39 +0000)]
tests: make id3demux test compile

Still fails though.

12 years agocontroller: no need to explicitely add controlled properties anymore
Stefan Sauer [Sat, 12 Nov 2011 13:42:27 +0000 (15:42 +0200)]
controller: no need to explicitely add controlled properties anymore

12 years agoUpdate for GstURIHandler get_protocols() changes
Tim-Philipp Müller [Sun, 13 Nov 2011 23:42:44 +0000 (23:42 +0000)]
Update for GstURIHandler get_protocols() changes

12 years agosoup, pushfile, rtsp, udp, v4l2: update for GstURIHandler API changes
Tim-Philipp Müller [Sun, 13 Nov 2011 18:50:51 +0000 (18:50 +0000)]
soup, pushfile, rtsp, udp, v4l2: update for GstURIHandler API changes

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Fri, 11 Nov 2011 18:24:27 +0000 (19:24 +0100)]
Merge branch 'master' into 0.11

Conflicts:
ext/pulse/pulseaudiosink.c

12 years agortp: fix for rtp header changes
Wim Taymans [Fri, 11 Nov 2011 18:21:50 +0000 (19:21 +0100)]
rtp: fix for rtp header changes

12 years agopulseaudiosink: fix caps leak
Thiago Santos [Fri, 11 Nov 2011 13:06:25 +0000 (10:06 -0300)]
pulseaudiosink: fix caps leak

12 years agopulsesink: do not leak clientname when setting up property
Mark Nauwelaerts [Fri, 11 Nov 2011 13:55:48 +0000 (14:55 +0100)]
pulsesink: do not leak clientname when setting up property

12 years agopulse: Chain up dispose() in pulseaudiosink
Arun Raghavan [Fri, 11 Nov 2011 12:35:35 +0000 (18:05 +0530)]
pulse: Chain up dispose() in pulseaudiosink

12 years agoupdate for base class rename
Wim Taymans [Fri, 11 Nov 2011 11:32:41 +0000 (12:32 +0100)]
update for base class rename

12 years agoupdate for base class rename
Wim Taymans [Fri, 11 Nov 2011 11:25:01 +0000 (12:25 +0100)]
update for base class rename

12 years agoupdate for audiobase* rename
Wim Taymans [Fri, 11 Nov 2011 11:01:17 +0000 (12:01 +0100)]
update for audiobase* rename

12 years agoaudio: update for base class rename
Wim Taymans [Fri, 11 Nov 2011 10:53:45 +0000 (11:53 +0100)]
audio: update for base class rename

12 years agofix for ringbuffer rename
Wim Taymans [Fri, 11 Nov 2011 10:33:44 +0000 (11:33 +0100)]
fix for ringbuffer rename

12 years agoupdate for ringbuffer change
Wim Taymans [Fri, 11 Nov 2011 10:24:00 +0000 (11:24 +0100)]
update for ringbuffer change

12 years agocontroller: port api changes
Stefan Sauer [Thu, 10 Nov 2011 21:15:30 +0000 (23:15 +0200)]
controller: port api changes

12 years agovarious: add missing includes
Stefan Sauer [Thu, 10 Nov 2011 21:09:23 +0000 (23:09 +0200)]
various: add missing includes

12 years agopulsesink: fix compilation with pulseaudio 0.9
René Stadler [Thu, 10 Nov 2011 20:35:24 +0000 (21:35 +0100)]
pulsesink: fix compilation with pulseaudio 0.9

12 years agoupdate for adapter api changes
Wim Taymans [Thu, 10 Nov 2011 17:32:58 +0000 (18:32 +0100)]
update for adapter api changes

12 years agoupdate for changed base classes
Wim Taymans [Thu, 10 Nov 2011 16:23:47 +0000 (17:23 +0100)]
update for changed base classes

12 years agofix for audio clock change
Wim Taymans [Thu, 10 Nov 2011 12:50:34 +0000 (13:50 +0100)]
fix for audio clock change

12 years agoupdate for removed fixate function
Wim Taymans [Thu, 10 Nov 2011 10:03:18 +0000 (11:03 +0100)]
update for removed fixate function

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Wed, 9 Nov 2011 16:40:10 +0000 (17:40 +0100)]
Merge branch 'master' into 0.11

12 years agoupdates for new acceptcaps query
Wim Taymans [Wed, 9 Nov 2011 16:38:03 +0000 (17:38 +0100)]
updates for new acceptcaps query

12 years agoavidemux: fix wrong stride when inverting uncompressed video
Vincent Penquerc'h [Tue, 8 Nov 2011 15:35:26 +0000 (15:35 +0000)]
avidemux: fix wrong stride when inverting uncompressed video

Such frames have a stride multiple of 4, see
http://lscube.org/pipermail/ffmpeg-issues/2010-April/010247.html.

This showed up on a sample using a odd width of 24 bit video.

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

12 years agoh263ppay: report to 0.11
Wim Taymans [Wed, 9 Nov 2011 11:25:01 +0000 (12:25 +0100)]
h263ppay: report to 0.11

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Wed, 9 Nov 2011 11:18:01 +0000 (12:18 +0100)]
Merge branch 'master' into 0.11

Conflicts:
ext/flac/gstflacdec.c
gst/audioparsers/gstflacparse.c
gst/isomp4/qtdemux.c

12 years agoremove query types
Wim Taymans [Wed, 9 Nov 2011 10:53:01 +0000 (11:53 +0100)]
remove query types

12 years agoqtdemux: minimal sanity check on creation datetime
Mark Nauwelaerts [Wed, 9 Nov 2011 09:32:06 +0000 (10:32 +0100)]
qtdemux: minimal sanity check on creation datetime

12 years agortph263ppay: Return the sink pad template as sink caps, not the src's
Olivier Crête [Wed, 2 Nov 2011 16:58:12 +0000 (12:58 -0400)]
rtph263ppay: Return the sink pad template as sink caps, not the src's

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

12 years agortph263ppay: Also implement size/framerate restrictions in getcaps
Olivier Crête [Sun, 15 Mar 2009 23:26:48 +0000 (19:26 -0400)]
rtph263ppay: Also implement size/framerate restrictions in getcaps

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

12 years agortph263ppay: Implement getcaps following RFC 4629, picks the right annexes
Olivier Crête [Thu, 5 Mar 2009 01:50:19 +0000 (20:50 -0500)]
rtph263ppay: Implement getcaps following RFC 4629, picks the right annexes

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

12 years agoqtdemux: also set segment stop at startup rather than only post seek
Mark Nauwelaerts [Tue, 8 Nov 2011 13:31:34 +0000 (14:31 +0100)]
qtdemux: also set segment stop at startup rather than only post seek

... so as to ensure consistent playback with or without seek, especially
in presence of some bogus edit list entries.

12 years agoupdate for probe api changes
Wim Taymans [Tue, 8 Nov 2011 10:18:06 +0000 (11:18 +0100)]
update for probe api changes

12 years agogoom: code cleanups
Stefan Sauer [Tue, 8 Nov 2011 07:50:19 +0000 (08:50 +0100)]
goom: code cleanups

Move variables to the scope where they are needed. Use our macros and functions
more.

12 years agogoom: add a sink_query to eat allocation queries
Stefan Sauer [Tue, 8 Nov 2011 07:49:05 +0000 (08:49 +0100)]
goom: add a sink_query to eat allocation queries

We should not forward allocation queries for audio to the video sink.

12 years agogst/flv/: add amfdefs.h to noinst_HEADERS
Raul Gutierrez Segales [Wed, 2 Nov 2011 17:02:54 +0000 (17:02 +0000)]
gst/flv/: add amfdefs.h to noinst_HEADERS

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

12 years agofix for probe updates
Wim Taymans [Mon, 7 Nov 2011 16:14:17 +0000 (17:14 +0100)]
fix for probe updates

12 years agoflvdemux: detect large pts gaps and resync
Vincent Penquerc'h [Mon, 3 Oct 2011 16:50:43 +0000 (17:50 +0100)]
flvdemux: detect large pts gaps and resync

Should work on multiple gaps, but tested on only one.

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

12 years agoflacdec: fix off by one between granpos and last_stop
Vincent Penquerc'h [Mon, 22 Aug 2011 09:40:45 +0000 (10:40 +0100)]
flacdec: fix off by one between granpos and last_stop

12 years agoflacparse: fix last frame timestamp in fixed block size mode
Vincent Penquerc'h [Fri, 7 Oct 2011 18:41:35 +0000 (19:41 +0100)]
flacparse: fix last frame timestamp in fixed block size mode

The last block may have a different block size, so we should not
use it to scale or we'll end up with a wrong timestamp.
See comment and quote from the FLAC format documentation in the code.

Fixes looped playback of FLAC files (via about-to-finish).

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

12 years agocairotextoverlay: add a 'silent' property to skip rendering
Vincent Penquerc'h [Thu, 27 Oct 2011 14:52:47 +0000 (15:52 +0100)]
cairotextoverlay: add a 'silent' property to skip rendering

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

12 years agomatroskamux: fix regression causing malformed files
René Stadler [Mon, 7 Nov 2011 11:00:12 +0000 (12:00 +0100)]
matroskamux: fix regression causing malformed files

This was caused by me in 1b213d. It seems I was too focused on 0.11 when I did
this and tested the wrong branch.

The problem was reported by Alexey Fisher.

13 years agocontroller: port to new controller location and api
Stefan Sauer [Fri, 4 Nov 2011 17:41:36 +0000 (18:41 +0100)]
controller: port to new controller location and api

13 years agomore template fixes
Wim Taymans [Fri, 4 Nov 2011 16:39:15 +0000 (17:39 +0100)]
more template fixes

13 years agopulseaudiosink: more 0.11 fixing
Wim Taymans [Fri, 4 Nov 2011 15:21:13 +0000 (16:21 +0100)]
pulseaudiosink: more 0.11 fixing

Make sure the caps event gets to the sink.

13 years agopulseaudiosink: port some more
Wim Taymans [Fri, 4 Nov 2011 14:35:42 +0000 (15:35 +0100)]
pulseaudiosink: port some more

Rename decodebin2 -> decodebin some more
Cleanup up sinkpad event handling

13 years agopulseaudiosink: port some more to 0.11
Wim Taymans [Fri, 4 Nov 2011 12:56:06 +0000 (13:56 +0100)]
pulseaudiosink: port some more to 0.11

We must not forward the caps event. instead we will decide what to do when the
pad block is taken.
Use decodebin instead of decodebin2

13 years agomore template fixes
Wim Taymans [Fri, 4 Nov 2011 12:12:37 +0000 (13:12 +0100)]
more template fixes

13 years agomake %u in all request pad templates
Wim Taymans [Fri, 4 Nov 2011 10:58:22 +0000 (11:58 +0100)]
make %u in all request pad templates

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Fri, 4 Nov 2011 10:01:01 +0000 (11:01 +0100)]
Merge branch 'master' into 0.11

Conflicts:
gst/rtp/gstrtpvrawdepay.c

13 years agoPort apedemux
Edward Hervey [Fri, 4 Nov 2011 09:32:46 +0000 (10:32 +0100)]
Port apedemux

13 years agortp: use GLib's G_BIG_ENDIAN define instead of BIG_ENDIAN
Tim-Philipp Müller [Thu, 3 Nov 2011 23:28:31 +0000 (23:28 +0000)]
rtp: use GLib's G_BIG_ENDIAN define instead of BIG_ENDIAN

Fixes compiler warning on mingw32

13 years agoupdate for new net library
Wim Taymans [Thu, 3 Nov 2011 15:43:00 +0000 (16:43 +0100)]
update for new net library

13 years agotags: update for tag API removal
Wim Taymans [Wed, 2 Nov 2011 11:09:20 +0000 (12:09 +0100)]
tags: update for tag API removal

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Wed, 2 Nov 2011 09:40:12 +0000 (10:40 +0100)]
Merge branch 'master' into 0.11

13 years agoupdate for netbuffer api change
Wim Taymans [Mon, 31 Oct 2011 01:40:08 +0000 (02:40 +0100)]
update for netbuffer api change

13 years agoupdate for netaddress change
Wim Taymans [Mon, 31 Oct 2011 01:35:51 +0000 (02:35 +0100)]
update for netaddress change

13 years agoupdate for meta api change
Wim Taymans [Mon, 31 Oct 2011 01:24:04 +0000 (02:24 +0100)]
update for meta api change

13 years agoupdate for new task api
Wim Taymans [Sat, 29 Oct 2011 07:29:27 +0000 (09:29 +0200)]
update for new task api

13 years agostructure: fix for api update
Wim Taymans [Sat, 29 Oct 2011 07:09:45 +0000 (09:09 +0200)]
structure: fix for api update

13 years agobufferlist: update for new API
Wim Taymans [Sat, 29 Oct 2011 06:25:27 +0000 (08:25 +0200)]
bufferlist: update for new API

13 years agoUpdate for pad API changes
Tim-Philipp Müller [Tue, 1 Nov 2011 00:40:40 +0000 (00:40 +0000)]
Update for pad API changes

GstProbeType, GstProbeReturn and GstActivateMode -> GstPad*

13 years agoac3parse: fix obvious crash
René Stadler [Mon, 31 Oct 2011 17:38:55 +0000 (18:38 +0100)]
ac3parse: fix obvious crash

13 years agoqtmux: avoid shortcut evaluation when adding paired mp4 tag
Mark Nauwelaerts [Mon, 31 Oct 2011 15:18:32 +0000 (16:18 +0100)]
qtmux: avoid shortcut evaluation when adding paired mp4 tag

Fixes (part of) #638711.

13 years agomatroskamux: do not use unoffical V_MJPEG codec id
Mark Nauwelaerts [Mon, 31 Oct 2011 14:43:25 +0000 (15:43 +0100)]
matroskamux: do not use unoffical V_MJPEG codec id

... but as not spec'ed especially, consider it a VfW compatibility case.

Fixes #659837.

13 years agoflacenc: remove dead code from header
Tim-Philipp Müller [Sun, 30 Oct 2011 19:30:14 +0000 (19:30 +0000)]
flacenc: remove dead code from header

We require a new-enough libflac that this condition will never apply.

13 years agoflacdec: parse stream headers from caps in set_format function
Tim-Philipp Müller [Sun, 30 Oct 2011 19:09:03 +0000 (19:09 +0000)]
flacdec: parse stream headers from caps in set_format function

Not that this seems to be actually needed, libflac happily decodes
stuff even if we just drop all headers and never feed it to the
library.

13 years agoflacdec: don't extract metadata, leave that to the parser or container
Tim-Philipp Müller [Sun, 30 Oct 2011 18:49:21 +0000 (18:49 +0000)]
flacdec: don't extract metadata, leave that to the parser or container

13 years agoflacdec: we expect framed input now, remove some more code
Tim-Philipp Müller [Sun, 30 Oct 2011 18:45:45 +0000 (18:45 +0000)]
flacdec: we expect framed input now, remove some more code

13 years agoflacdec: naive port to GstAudioDecoder
Tim-Philipp Müller [Sun, 9 Oct 2011 15:18:09 +0000 (16:18 +0100)]
flacdec: naive port to GstAudioDecoder

This would probably have been too invasive to do in the 0.10
branch, with all the pull-mode and parser handling code in
there.

13 years agoext, gst: update for taglist API changes
Tim-Philipp Müller [Sun, 30 Oct 2011 11:44:53 +0000 (11:44 +0000)]
ext, gst: update for taglist API changes