Wim Taymans [Tue, 6 Sep 2011 14:37:03 +0000 (16:37 +0200)]
Merge branch 'master' into 0.11
Conflicts:
common
Wim Taymans [Tue, 6 Sep 2011 14:06:25 +0000 (16:06 +0200)]
Merge branch 'master' into 0.11
Conflicts:
gst/audioparsers/gstamrparse.c
gst/isomp4/qtdemux.c
Stefan Sauer [Tue, 6 Sep 2011 13:40:32 +0000 (15:40 +0200)]
Automatic update of common submodule
From 605cd9a to a39eb83
Mark Nauwelaerts [Tue, 6 Sep 2011 13:05:37 +0000 (15:05 +0200)]
matroskamux: make default duration check less sensitive
Frame duration might vary for 1 usecond, in this case matroskamux
decides to create BLOCKGROUP instead of SIMPLEBLOCK.
Convert duration to timecodescale which is (typically) less precise, and
then also allow the difference of 1/-1 to arrange for less sensitive check.
Based on patch by Alexey Fisher <bug-track@fisher-privat.net>
Fixes #653080.
Mark Nauwelaerts [Tue, 6 Sep 2011 11:18:40 +0000 (13:18 +0200)]
rtpmp4gdepay: improve bogus interleaved index compensating
Patch by <gudake@gmail.com>
Fixes #654585.
Wim Taymans [Tue, 6 Sep 2011 11:16:27 +0000 (13:16 +0200)]
-good: port to new audio caps
Sebastian Dröge [Tue, 6 Sep 2011 08:33:21 +0000 (10:33 +0200)]
souphttpsrc: Allow positive, non-1.0 segment rates
Only negative rates are not supported. Fixes bug #658305.
Mark Nauwelaerts [Mon, 5 Sep 2011 13:50:56 +0000 (15:50 +0200)]
tests: parsers: provide more real data when testing draining of garbage
Mark Nauwelaerts [Mon, 5 Sep 2011 13:50:04 +0000 (15:50 +0200)]
amrparse: fix and streamline valid frame checking
... to handle various combinations of sync or not, and sufficient data
or not as might be expected.
Fixes #650714.
Mark Nauwelaerts [Mon, 5 Sep 2011 12:49:32 +0000 (14:49 +0200)]
qtdemux: fragmented support; avoid adjustment for keyframe seek
... since all index data may not yet be available at that time.
Mark Nauwelaerts [Mon, 5 Sep 2011 12:48:02 +0000 (14:48 +0200)]
qtdemux: fragmented support; mark all audio track samples as keyframe
Brian Li [Mon, 5 Sep 2011 12:46:29 +0000 (14:46 +0200)]
qtdemux: fragmented support; properly init return variable value
Fixes #655918.
Mark Nauwelaerts [Mon, 5 Sep 2011 11:31:20 +0000 (13:31 +0200)]
rtspsrc: add gtk-doc for new short-header property
Marc Leeman [Mon, 5 Sep 2011 11:18:39 +0000 (13:18 +0200)]
rtspsrc: allow sending short RTSP requests to a server
Some encoders (Arecont) do not like the long OPTIONS sent at startup as sent by
GStreamer, but do accept the short header as sent by Live555.
This patch makes the extending the request optional by adding a property
(short-header).
Fixes #655805.
API: GstRTSPSrc:short-header
Olivier Crête [Wed, 4 Mar 2009 19:51:09 +0000 (14:51 -0500)]
rtph263ppay: Set H263-2000 if thats what the other side wants
The static caps states this element supports H263-2000, but setcaps never
sets it, so it was lie.
See https://bugzilla.gnome.org/show_bug.cgi?id=577784
Olivier Crête [Tue, 30 Aug 2011 23:02:51 +0000 (19:02 -0400)]
rtpsession: Initialise the last_keyframe_request variable
Peter Korsgaard [Wed, 31 Aug 2011 14:04:24 +0000 (16:04 +0200)]
multiudpsink: make add/remove/clear/get-stats action signals
http://bugzilla.gnome.org/show_bug.cgi?id=657830
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Wim Taymans [Wed, 31 Aug 2011 16:45:15 +0000 (18:45 +0200)]
mp2t: fix encoding name according to RFC3551
Mark Nauwelaerts [Tue, 30 Aug 2011 11:33:49 +0000 (13:33 +0200)]
qtdemux: push mode; perform some extra checks prior to upstream seeking
Mark Nauwelaerts [Tue, 30 Aug 2011 11:28:21 +0000 (13:28 +0200)]
qtdemux: push mode; fix buffered streaming
That is, in case where no seek is peformed to moov, but preceding
limited mdat is buffered.
Wim Taymans [Tue, 30 Aug 2011 12:06:12 +0000 (14:06 +0200)]
shapewipe: port to 0.11
Wim Taymans [Tue, 30 Aug 2011 10:49:08 +0000 (12:49 +0200)]
law is ported now
Wim Taymans [Tue, 30 Aug 2011 10:25:35 +0000 (12:25 +0200)]
law: port to 0.11
Wim Taymans [Mon, 29 Aug 2011 17:11:25 +0000 (19:11 +0200)]
alaw: port to 0.11
Wim Taymans [Mon, 29 Aug 2011 17:10:35 +0000 (19:10 +0200)]
goom: fix comment
Wim Taymans [Mon, 29 Aug 2011 16:02:15 +0000 (18:02 +0200)]
soup: port soup elements to 0.11
Mark Nauwelaerts [Mon, 29 Aug 2011 13:13:56 +0000 (15:13 +0200)]
qtdemux: avoid overflow wraparound in timestamp when adding durations
Do some type juggling to avoid overflow, while still allowing for 'negative'
durations (which would need a wraparound effect).
Wim Taymans [Mon, 29 Aug 2011 11:43:59 +0000 (13:43 +0200)]
Merge branch 'master' into 0.11
Conflicts:
sys/v4l2/v4l2src_calls.c
Wim Taymans [Fri, 26 Aug 2011 12:20:49 +0000 (14:20 +0200)]
allocation: fix for vmethod changes
Vincent Penquerc'h [Thu, 25 Aug 2011 22:37:47 +0000 (23:37 +0100)]
v4l2src: make this work more than once in a row
We used to skip frame rate setup if the camera was already setup
with the requested frame rate. This breaks some cameras though,
causing them to not output data (several models of Thinkpad cameras
have this problem at least).
So, don't skip.
https://bugzilla.gnome.org/show_bug.cgi?id=638300
Wim Taymans [Thu, 25 Aug 2011 14:41:23 +0000 (16:41 +0200)]
port to new video flags
Wim Taymans [Wed, 24 Aug 2011 16:40:07 +0000 (18:40 +0200)]
pulse: add some more channels
Wim Taymans [Wed, 24 Aug 2011 12:16:44 +0000 (14:16 +0200)]
Merge branch 'master' into 0.11
Vincent Penquerc'h [Tue, 23 Aug 2011 11:12:15 +0000 (12:12 +0100)]
aacparse: only require two frames in a row when we do not have sync
This avoids a single bit error dropping two frames unnecessarily.
The two consecutive frames check is still required when we don't
have sync.
https://bugzilla.gnome.org/show_bug.cgi?id=657080
Arun Raghavan [Tue, 23 Aug 2011 16:11:15 +0000 (21:41 +0530)]
pulsesink: Trivial indentation fix
Wim Taymans [Tue, 23 Aug 2011 17:09:31 +0000 (19:09 +0200)]
video: port to new colorimetry info
Monty Montgomery [Thu, 21 Jul 2011 21:23:28 +0000 (17:23 -0400)]
flacdec: Correct sample number rounding resulting in timestamp jitter
flacdec converts the src timestamp to a sample number, uses that internally, then reconverts the sample number to a timestamp for the output buffer. Unfortunately, sample numbers can't be represented in an integer number of nanoseconds, and the conversion process was truncating rather than rounding, resulting in sample numbers and output timestamps that were often off by a full sample.
This corrects the time->sample convesion
Wim Taymans [Mon, 22 Aug 2011 11:10:07 +0000 (13:10 +0200)]
Merge branch 'master' into 0.11
Wim Taymans [Mon, 22 Aug 2011 10:24:15 +0000 (12:24 +0200)]
fourcc: remove fourcc from caps
David Schleef [Sat, 20 Aug 2011 21:48:20 +0000 (14:48 -0700)]
breakmydata: element is not passthrough
David Schleef [Wed, 13 Jul 2011 18:20:34 +0000 (11:20 -0700)]
multifilesrc: quiet debugging
David Schleef [Mon, 11 Jul 2011 04:40:20 +0000 (21:40 -0700)]
deinterlace: change field handling through methods
This likely breaks stuff. The good: all of the methods now create
field images aligned with input frames, without timestamp mangling.
The bad: this touches a lot of code, much of which is hairy and in
need of cleanup. However, at this point we can reasonably create a
PSNR-based test.
Alessandro Decina [Sun, 21 Aug 2011 12:41:14 +0000 (14:41 +0200)]
multifilesink: reset ->streamheaders to NULL on _stop
Fixes invalid memory access reusing multifilesink
Wim Taymans [Sat, 20 Aug 2011 08:46:18 +0000 (10:46 +0200)]
cutter: bring cutter somewhat into this millennium
Wim Taymans [Fri, 19 Aug 2011 14:27:20 +0000 (16:27 +0200)]
rg: fix caps
Wim Taymans [Fri, 19 Aug 2011 14:13:23 +0000 (16:13 +0200)]
pulsesink: port after merge
Wim Taymans [Fri, 19 Aug 2011 14:12:01 +0000 (16:12 +0200)]
Merge branch 'master' into 0.11
Wim Taymans [Fri, 19 Aug 2011 14:09:48 +0000 (16:09 +0200)]
port to more audio api changes
Wim Taymans [Fri, 19 Aug 2011 12:01:45 +0000 (14:01 +0200)]
port more elements to new audio caps and API
Wim Taymans [Fri, 19 Aug 2011 09:49:44 +0000 (11:49 +0200)]
port to new audio API and caps
David Henningsson [Thu, 18 Aug 2011 11:37:39 +0000 (13:37 +0200)]
pulsesink: Allow writes in bigger chunks
There's no use in splitting the incoming data down to the segsize
limit - by writing as much as possible in one chunk, we increase
performance and avoid PulseAudio unnecessary rewinds.
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Wim Taymans [Thu, 18 Aug 2011 17:37:39 +0000 (19:37 +0200)]
Merge branch 'master' into 0.11
Wim Taymans [Thu, 18 Aug 2011 17:21:07 +0000 (19:21 +0200)]
port to new audio caps.
Vincent Penquerc'h [Mon, 8 Aug 2011 21:14:28 +0000 (22:14 +0100)]
matroskademux: ensure no-more-pads is always emitted
In particular, do so even if failing to read while prerolling,
such as when reading from a partial file (eg, while it is being
downloaded).
This fixes a wedge in playbin2.
https://bugzilla.gnome.org/show_bug.cgi?id=651965
Wim Taymans [Wed, 17 Aug 2011 15:57:11 +0000 (17:57 +0200)]
v4l2: improve fixate function
Use new core function to fixate a field.
Chain up to parent fixate function.
Wim Taymans [Wed, 17 Aug 2011 13:52:18 +0000 (15:52 +0200)]
Merge branch 'master' into 0.11
Conflicts:
ext/flac/gstflacdec.c
Wim Taymans [Wed, 17 Aug 2011 13:39:27 +0000 (15:39 +0200)]
jpeg: port to 0.11
Also disable smoke for now.
Vincent Penquerc'h [Tue, 16 Aug 2011 16:27:13 +0000 (17:27 +0100)]
flacdec: avoid timestamp/offset tracking going out of sync
The libFLAC API is callback based, and we must only call it to
output data when we know we have enough input data. For this
reason, a single processing step is done when receiving a buffer.
However, if there were metadata buffers still pending, a step
intended for the first audio frame might end up writing that
leftover metadata. Since a single step is done per buffer, this
will cause every buffer to be written one step late.
This would add some latency (a bufferfull's worth), possibly
lose a buffer when seeking or the like, and also cause timestamp
and offset to be applied to the wrong buffer, as updates to
the "current" segment last_stop (from incoming buffer timestamp)
will be applied to an output buffer originating from the previous
incoming buffer.
This fixes the issue by ensuring that, upon receiving the first
audio frame, processing is done till all metadata is processed,
so the next "single step" done will be for the audio frame. After
this, we should keep to 1 input buffer -> 1 output buffer and so
avoid getting out of sync.
https://bugzilla.gnome.org/show_bug.cgi?id=650960
Wim Taymans [Wed, 17 Aug 2011 09:17:38 +0000 (11:17 +0200)]
Merge branch 'master' into 0.11
Vincent Penquerc'h [Tue, 16 Aug 2011 14:32:07 +0000 (15:32 +0100)]
flacdec: bail on reserved value
Now that we look at the right bits, we can test against the reserved
value as we do for other fields.
https://bugzilla.gnome.org/show_bug.cgi?id=650960
Vincent Penquerc'h [Tue, 16 Aug 2011 14:27:43 +0000 (15:27 +0100)]
flacdec: fix bit twiddling
Right shifting a 8 bit value by 8 bits is twice too much
to get the high 4 bits.
https://bugzilla.gnome.org/show_bug.cgi?id=650960
Vincent Penquerc'h [Tue, 16 Aug 2011 14:22:46 +0000 (15:22 +0100)]
flacdec: warn if we see a variable block size where unsupported
https://bugzilla.gnome.org/show_bug.cgi?id=650960
Vincent Penquerc'h [Tue, 16 Aug 2011 17:25:29 +0000 (18:25 +0100)]
spectrum: avoid crashing by resetting the correct number of channels
https://bugzilla.gnome.org/show_bug.cgi?id=656606
Wim Taymans [Tue, 16 Aug 2011 16:35:53 +0000 (18:35 +0200)]
Merge branch 'master' into 0.11
Conflicts:
sys/v4l2/v4l2src_calls.c
Vincent Penquerc'h [Tue, 16 Aug 2011 12:16:22 +0000 (13:16 +0100)]
flacparse: fix off by one in frame size check
Yes, I was tracking another bug and the small test file I generated
to test with improbably just happened to trigger this, with a second
and last frame of 1615 bytes.
https://bugzilla.gnome.org/show_bug.cgi?id=656649
Wim Taymans [Mon, 15 Aug 2011 10:19:14 +0000 (12:19 +0200)]
tests: update for _negotiated_caps() change
Tim-Philipp Müller [Sun, 14 Aug 2011 19:46:01 +0000 (20:46 +0100)]
id3demux: remove specs from git as well now that parsing code is in -base
Mark Nauwelaerts [Thu, 14 Jul 2011 13:42:36 +0000 (15:42 +0200)]
id3demux: use -base provided id3 tag parsing
https://bugzilla.gnome.org/show_bug.cgi?id=654388
Tim-Philipp Müller [Sat, 13 Aug 2011 15:51:22 +0000 (16:51 +0100)]
jackaudiosrc: fix error message code
And also post 'not found' error if jackd is not even installed.
Stefan Kost [Fri, 12 Aug 2011 14:32:58 +0000 (16:32 +0200)]
qtdemux: initialize bitrate variable and reset for each loop
Don't check eventually unset variable and don't accidentially use values from last
cycle.
Edward Hervey [Wed, 10 Aug 2011 09:28:26 +0000 (11:28 +0200)]
aasink: Remove unused variables
Edward Hervey [Tue, 9 Aug 2011 09:28:17 +0000 (11:28 +0200)]
rtspsrc: Properly error out if SDP contains no streams
Also fixes unitialized variable error on macosx.
Vincent Penquerc'h [Tue, 9 Aug 2011 08:05:31 +0000 (09:05 +0100)]
ximagesrc: clear flags on buffer reuse
This will ensure a logically new buffer does not keep flags from
a previous use of that buffer (eg, DISCONT would be set on the first
buffer, and mistakenly kept when reused).
https://bugzilla.gnome.org/show_bug.cgi?id=653709
Vincent Penquerc'h [Mon, 8 Aug 2011 09:54:26 +0000 (10:54 +0100)]
v4l2: take care not to change the current format where appropriate
Some drivers are buggy are will change the current format when
processing VIDIOC_TRY_FMT. Save and restore the current format
to ensure the format is kept unchanged.
https://bugzilla.gnome.org/show_bug.cgi?id=649067
Tim-Philipp Müller [Mon, 8 Aug 2011 14:27:11 +0000 (15:27 +0100)]
po: update translations
Tim-Philipp Müller [Mon, 8 Aug 2011 14:26:00 +0000 (15:26 +0100)]
aalib: make sure -DGST_USE_UNSTABLE_API is defined
So we don't get warnings.
Tim-Philipp Müller [Mon, 8 Aug 2011 14:25:31 +0000 (15:25 +0100)]
v4l2: update for GstXOverlay => GstVideoOverlay rename
Sjoerd Simons [Sun, 7 Aug 2011 10:23:26 +0000 (12:23 +0200)]
v4l2src: Use fraction compare util function.
Use the fraction compare utility to compare function, not the
handcrafted one. The handcrafted one is buggy as it doesn't take into
account rounding error. For example comparing a framerate of 20/1 on a
camera configured as 30/1 fps would yield true: 1 == (1 * 20)/30 and not
re-configure the camera. Fixes #656104
Wim Taymans [Sun, 7 Aug 2011 09:14:50 +0000 (11:14 +0200)]
pulsesrc: avoid race in starting
Sine the base class now does the negotiation from the streaming thread we have
to be careful and check if the stream is ready before changing its corked state.
Edward Hervey [Fri, 5 Aug 2011 10:27:18 +0000 (12:27 +0200)]
check: Use GST_CFLAGS when building tests
Ensures we have the proper define for using unstable API
Wim Taymans [Fri, 5 Aug 2011 06:59:59 +0000 (08:59 +0200)]
isomp4: fixup after small api changes
Port to recently changed api so that it compiles again.
Edward Hervey [Fri, 5 Aug 2011 09:32:45 +0000 (11:32 +0200)]
y4menc: Now depends on libgstvideo
Wim Taymans [Thu, 4 Aug 2011 16:41:29 +0000 (18:41 +0200)]
pulse: more cleanups
Wim Taymans [Thu, 4 Aug 2011 16:15:55 +0000 (18:15 +0200)]
pulsesrc: small cleanups
Wim Taymans [Thu, 4 Aug 2011 14:35:46 +0000 (16:35 +0200)]
v4l2src: call set_caps method of baseclass
Call the baseclass set_caps function to make it send the caps event and
properly trigger the negotiation functions.
Wim Taymans [Thu, 4 Aug 2011 14:25:04 +0000 (16:25 +0200)]
pulsesrc: small cleanups
Wim Taymans [Thu, 4 Aug 2011 13:25:20 +0000 (15:25 +0200)]
goom: port to new caps
Edward Hervey [Thu, 4 Aug 2011 11:52:18 +0000 (13:52 +0200)]
v4l2sink: Size variable should be a guint and not a gsize
Wim Taymans [Thu, 4 Aug 2011 11:50:01 +0000 (12:50 +0100)]
v4l2: activate the pool in fallback
When nobody is using our pool, activate it ourselves.
Avoid leaking the buffer array.
Set default pool configuration with caps.
Don't keep current_caps, core does that for us now.
Wim Taymans [Wed, 3 Aug 2011 20:57:48 +0000 (22:57 +0200)]
fix compilation
hal elements were removed, remove them from docs too
change example for pad-block API (actually remove the pad block, an application
should not be bothered with working around bugs in elements)
Wim Taymans [Wed, 3 Aug 2011 16:37:27 +0000 (18:37 +0200)]
port to new API
Wim Taymans [Wed, 3 Aug 2011 16:25:30 +0000 (18:25 +0200)]
Merge branch 'master' into 0.11
Conflicts:
ext/pulse/pulsesink.c
ext/pulse/pulsesrc.c
gst/audioparsers/gstac3parse.c
gst/rtp/gstrtph264depay.c
gst/rtp/gstrtph264pay.c
gst/rtpmanager/gstrtpssrcdemux.c
Jan Schmidt [Wed, 3 Aug 2011 12:50:05 +0000 (22:50 +1000)]
matroska: Register new debug category
Register the matroskareadcommon debug category when the
plugin is loaded to avoid assertion output when debug is turned on.
Edward Hervey [Wed, 3 Aug 2011 11:38:01 +0000 (13:38 +0200)]
test/ickles: Port gdkpixbufsink test
Edward Hervey [Wed, 3 Aug 2011 11:33:59 +0000 (13:33 +0200)]
Revert "tests/check/Makefile.am: Disable autodetect test temporarily, so that the build bots update -bad and the ranks of unr..."
This reverts commit
475aed8af6d2a57c1d21490c824e754a6b2367a9.
It won't consider elements from anywhere else anymore
Edward Hervey [Wed, 3 Aug 2011 11:10:46 +0000 (13:10 +0200)]
check: Update parser mini-lib to 0.11 API
Edward Hervey [Wed, 3 Aug 2011 11:09:07 +0000 (13:09 +0200)]
po: update for modified source file location
Edward Hervey [Wed, 3 Aug 2011 11:08:43 +0000 (13:08 +0200)]
configure.ac: cairo_gobject isn't ported either
Sebastian Dröge [Wed, 3 Aug 2011 08:59:56 +0000 (10:59 +0200)]
hal: Remove hal plugin
hal is not developed anymore and nobody is using the plugin nowadays.
Philippe Normand [Fri, 29 Jul 2011 11:03:55 +0000 (13:03 +0200)]
qtdemux: soften assertion check on stream size
https://bugzilla.gnome.org/show_bug.cgi?id=655570