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
Robert Krakora [Wed, 3 Aug 2011 08:09:42 +0000 (10:09 +0200)]
rtpjpegpay: Add support for H.264 payload in MJPEG container
See http://www.quickcamteam.net/uvc-h264/USB_Video_Payload_H.264_0.87.pdf
Fixes bug #655530.
Tristan Matthews [Wed, 3 Aug 2011 02:05:08 +0000 (22:05 -0400)]
jackaudiosink: Don't call g_alloca() in process_cb
g_alloca() is not RT-safe, so instead we should allocate the
memory needed in advance. Fixes #655866
Sebastian Dröge [Wed, 3 Aug 2011 06:58:00 +0000 (08:58 +0200)]
configure: Add hal to the list of non-ported plugins
Sebastian Dröge [Wed, 3 Aug 2011 06:53:24 +0000 (08:53 +0200)]
configure: Add monoscope to the list of non-ported plugins
Sebastian Dröge [Wed, 3 Aug 2011 06:51:19 +0000 (08:51 +0200)]
effectv: Fix unused but set variable compiler warnings
Tim-Philipp Müller [Tue, 2 Aug 2011 22:42:58 +0000 (23:42 +0100)]
docs: fix two more Since: tags
Mart Raudsepp [Sun, 31 Jul 2011 01:19:00 +0000 (04:19 +0300)]
deinterlace: Fix Since tags for fieldanalysis related new properties
commit
c1b100cf9c is after 0.10.29 and 0.10.30 was a branched release.
So fix Since tags from 0.10.29 to 0.10.31 for the new properties.
Wim Taymans [Tue, 2 Aug 2011 09:51:45 +0000 (11:51 +0200)]
rtpvorbispay: fix porting error
Edward Hervey [Tue, 2 Aug 2011 09:29:40 +0000 (11:29 +0200)]
configure.ac: Define list of non-ported plugins
Edward Hervey [Tue, 2 Aug 2011 09:29:25 +0000 (11:29 +0200)]
Update common submodule
Edward Hervey [Tue, 2 Aug 2011 09:17:38 +0000 (11:17 +0200)]
configure.ac: Sort AG_GST_CHECK_PLUGIN alphabetically
Wim Taymans [Fri, 29 Jul 2011 15:27:07 +0000 (17:27 +0200)]
-good: fix for bufferpool API change
Wim Taymans [Fri, 29 Jul 2011 15:21:03 +0000 (17:21 +0200)]
v4l: change for new API
Tim-Philipp Müller [Fri, 29 Jul 2011 12:05:42 +0000 (13:05 +0100)]
pulsesink: fix variable-set-but-not-used compiler warning with older pulse versions
Mark Nauwelaerts [Fri, 29 Jul 2011 10:07:24 +0000 (12:07 +0200)]
rtpsession: properly init rtcp_min_interval
Arun Raghavan [Wed, 9 Mar 2011 05:34:36 +0000 (11:04 +0530)]
pulsesink: Add support for compressed formats
This adds support for various compressed formats (AC3, E-AC3, DTS and
MP3) payloaded in IEC 61937 format (used for transmission over S/PDIF,
HDMI and Bluetooth).
The acceptcaps() function allows bins to probe for what formats the sink
being connected to support. This only works after the element is set to
at least READY.
If the underlying sink changes and the format we are streaming is not
available, we emit a message that will allow upstream elements/bins to
block and renegotiate a new format.
Arun Raghavan [Tue, 1 Mar 2011 10:04:46 +0000 (15:34 +0530)]
pulsesink: Use the extended stream API if available
This uses the new extended API for creating streams. This will allow us
to support compressed formats natively in pulsesink as well.
Arun Raghavan [Thu, 28 Jul 2011 18:37:52 +0000 (00:07 +0530)]
pulsesrc: Add a source-output-index property
This exposes the source output index of the record stream that we open
so that clients can use this with the introspection if they want (to
move the stream, for example).
Mark Nauwelaerts [Thu, 28 Jul 2011 12:44:57 +0000 (14:44 +0200)]
rtpssrcdemux: keep a ref on the src pad while using it
Prevent a possible race if clear_ssrc() is called between getting the pad and
doing the push.
Based on patch by <olivier.crete@collabora.com>
https://bugzilla.gnome.org/show_bug.cgi?id=650916
Olivier Crête [Tue, 24 May 2011 08:29:57 +0000 (11:29 +0300)]
rtpssrcdemux: Make the pads lock recursive and hold it across the signal emit
We need to keep the lock held because we don't want a push before the "new-ssrc-pad"
handler has completed. But we may want to push an event from inside that handler, hence
the recursive mutex.
https://bugzilla.gnome.org/show_bug.cgi?id=650916
Olivier Crête [Tue, 24 May 2011 08:17:25 +0000 (11:17 +0300)]
rtpssrcdemux: Use PADs lock
https://bugzilla.gnome.org/show_bug.cgi?id=650916
Tim-Philipp Müller [Thu, 28 Jul 2011 10:09:08 +0000 (11:09 +0100)]
speex: update for position/query/convert API changes
Tim-Philipp Müller [Thu, 28 Jul 2011 09:54:38 +0000 (10:54 +0100)]
gst: udpate for position/duration/convert query API changes
Tim-Philipp Müller [Wed, 27 Jul 2011 23:37:13 +0000 (00:37 +0100)]
avidemux: fix compiler warning
gstavidemux.c: In function 'gst_avi_demux_parse_stream':
gstavidemux.c:1261:24: error: 'data' may be used uninitialized in this function [-Werror=uninitialized]
gstavidemux.c:1204:11: note: 'data' was declared here
Sjoerd Simons [Wed, 27 Jul 2011 17:15:20 +0000 (18:15 +0100)]
rtph264depay: Cope with FU-A E bit not being set
Some h264 payloaders are unfortunately buggy and don't correctly set the
E bit in FU-A NAL when they have ended. Work around this by assuming
such a fragmentation unit has ended when there was no packet loss and a
new NAL is started
Arun Raghavan [Tue, 12 Apr 2011 11:31:47 +0000 (17:01 +0530)]
ac3parse: Support switching alignment on-the-fly
This allows switching of alignment for E-AC3 streams at run-time. This
is requested by downstream elements via a custom event.
https://bugzilla.gnome.org/show_bug.cgi?id=650313
Wim Taymans [Wed, 27 Jul 2011 14:46:46 +0000 (16:46 +0200)]
v4l2: remove unused variables
Use the more specialized type for the bufferpool.
Use the size from the driver as the size of the image to read.
Don't configure the pool when created. This will be done in the setup_allocation
method later or by upstream for sinks.
Remove unused properties and variables. Bufferpool sizes are now configured in
the bufferpool by the elements in the pipeline. We might want to influence the
pool size later somehow.
Wim Taymans [Wed, 27 Jul 2011 11:46:09 +0000 (13:46 +0200)]
v4l2bufferpool: remove unused variable
Wim Taymans [Wed, 27 Jul 2011 11:43:08 +0000 (13:43 +0200)]
v4l2src: add metadata
Wim Taymans [Wed, 27 Jul 2011 11:41:28 +0000 (13:41 +0200)]
bufferpool: check for metadata
Only add video metadata when it was configured in the pool. Fail if there was no
video metadata configured and the strides are not the default ones.
Wim Taymans [Wed, 27 Jul 2011 11:42:21 +0000 (12:42 +0100)]
warp: add stride support
Wim Taymans [Wed, 27 Jul 2011 11:41:33 +0000 (12:41 +0100)]
v4l2: add colorspace to debug
Wim Taymans [Tue, 26 Jul 2011 15:45:01 +0000 (17:45 +0200)]
rtp: fix compilation
Wim Taymans [Tue, 26 Jul 2011 14:15:05 +0000 (16:15 +0200)]
v4l2: rename a variable
Rename the size variable to sizeimage and fill it with the size that has been
given to use by the v4l2 driver instead of making something up..
Wim Taymans [Tue, 26 Jul 2011 11:18:55 +0000 (13:18 +0200)]
v4l2: use new setup_allocation vmethod
Wim Taymans [Tue, 26 Jul 2011 09:56:07 +0000 (10:56 +0100)]
v4l2: implement more bits of RW I/O mode
Implement the relaese of RW buffers in the pool.
Warn for unsupported write() mode for sinks.
Wim Taymans [Tue, 26 Jul 2011 09:54:23 +0000 (10:54 +0100)]
v4l2: improve IO mode error handling
Error out when an unsupported IO mode was selected
Arun Raghavan [Sat, 9 Apr 2011 06:56:56 +0000 (12:26 +0530)]
ac3parse: Add support for IEC 61937 alignment
When pushing out buffers over S/PDIF or HDMI, IEC 61937 payloading
requires each buffer to contain 6 blocks from each substream. This adds
code to collect all the frames needed to meet this requirement before
pushing out a buffer.
https://bugzilla.gnome.org/show_bug.cgi?id=650313
Olivier Crête [Wed, 8 Jun 2011 19:57:37 +0000 (15:57 -0400)]
rtpsession: Always send application requested feedback in immediate mode
Send as many application requested feedback messages in immediate mode, even if they
have already been sent.
https://bugzilla.gnome.org/show_bug.cgi?id=654583
Olivier Crête [Wed, 8 Jun 2011 18:48:01 +0000 (14:48 -0400)]
rtpsession: Don't let the computed RTP bandwidth fall too low
If it falls too low, the computed RTCP bandwidth will be near zero and
the RTCP thread will be stopped.
https://bugzilla.gnome.org/show_bug.cgi?id=654583
Olivier Crête [Mon, 25 Apr 2011 20:13:38 +0000 (16:13 -0400)]
rtpsession: Wait longer to timeout SSRC collision
Using the current RTCP interval to timeout SSRC collision can lead to
collisions being timed out immediately if a BYE packet is sent because
it is sent immediately, so the interval is 0. This is not what we
want. So just set a static 10 times the default RTCP interval, it
should be enough
https://bugzilla.gnome.org/show_bug.cgi?id=648642
Wim Taymans [Mon, 25 Jul 2011 13:51:22 +0000 (15:51 +0200)]
v4l2: remove unused method
Wim Taymans [Mon, 25 Jul 2011 13:38:38 +0000 (15:38 +0200)]
v4l2: fix flushing start and stop
Move the flushing calls to the right place in the bufferpool.
Fix the min and max buffer sizes.
Wim Taymans [Mon, 25 Jul 2011 13:47:05 +0000 (14:47 +0100)]
v4l2: dequeue buffers when all are queued
Prefer to always use the default bufferpool queue for the _acquire function
because it properly supports unblocking when setting inactive etc. As a result,
we need to dequeue buffers and put them back in the bufferpool queue when we
have queued all buffers in the sink.
Rename some variables to more meaningfull names to avoid a problem with
freeing the wrong amount of buffers.
Mark Nauwelaerts [Tue, 19 Jul 2011 11:38:01 +0000 (13:38 +0200)]
rtspsrc: set SOURCE flag at init time
Fixes #654816.