platform/upstream/gstreamer.git
13 years agopulsesink: port after merge
Wim Taymans [Fri, 19 Aug 2011 14:13:23 +0000 (16:13 +0200)]
pulsesink: port after merge

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Fri, 19 Aug 2011 14:12:01 +0000 (16:12 +0200)]
Merge branch 'master' into 0.11

13 years agoport to more audio api changes
Wim Taymans [Fri, 19 Aug 2011 14:09:48 +0000 (16:09 +0200)]
port to more audio api changes

13 years agoport more elements to new audio caps and API
Wim Taymans [Fri, 19 Aug 2011 12:01:45 +0000 (14:01 +0200)]
port more elements to new audio caps and API

13 years agoport to new audio API and caps
Wim Taymans [Fri, 19 Aug 2011 09:49:44 +0000 (11:49 +0200)]
port to new audio API and caps

13 years agopulsesink: Allow writes in bigger chunks
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>
13 years agoMerge branch 'master' into 0.11
Wim Taymans [Thu, 18 Aug 2011 17:37:39 +0000 (19:37 +0200)]
Merge branch 'master' into 0.11

13 years agoport to new audio caps.
Wim Taymans [Thu, 18 Aug 2011 17:21:07 +0000 (19:21 +0200)]
port to new audio caps.

13 years agomatroskademux: ensure no-more-pads is always emitted
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

13 years agov4l2: improve fixate function
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.

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Wed, 17 Aug 2011 13:52:18 +0000 (15:52 +0200)]
Merge branch 'master' into 0.11

Conflicts:
ext/flac/gstflacdec.c

13 years agojpeg: port to 0.11
Wim Taymans [Wed, 17 Aug 2011 13:39:27 +0000 (15:39 +0200)]
jpeg: port to 0.11

Also disable smoke for now.

13 years agoflacdec: avoid timestamp/offset tracking going out of sync
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

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Wed, 17 Aug 2011 09:17:38 +0000 (11:17 +0200)]
Merge branch 'master' into 0.11

13 years agoflacdec: bail on reserved value
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

13 years agoflacdec: fix bit twiddling
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

13 years agoflacdec: warn if we see a variable block size where unsupported
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

13 years agospectrum: avoid crashing by resetting the correct number of channels
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

13 years agoMerge branch 'master' into 0.11
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

13 years agoflacparse: fix off by one in frame size check
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

13 years agotests: update for _negotiated_caps() change
Wim Taymans [Mon, 15 Aug 2011 10:19:14 +0000 (12:19 +0200)]
tests: update for _negotiated_caps() change

13 years agoid3demux: remove specs from git as well now that parsing code is in -base
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

13 years agoid3demux: use -base provided id3 tag parsing
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

13 years agojackaudiosrc: fix error message code
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.

13 years agoqtdemux: initialize bitrate variable and reset for each loop
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.

13 years agoaasink: Remove unused variables
Edward Hervey [Wed, 10 Aug 2011 09:28:26 +0000 (11:28 +0200)]
aasink: Remove unused variables

13 years agortspsrc: Properly error out if SDP contains no streams
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.

13 years agoximagesrc: clear flags on buffer reuse
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

13 years agov4l2: take care not to change the current format where appropriate
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

13 years agopo: update translations
Tim-Philipp Müller [Mon, 8 Aug 2011 14:27:11 +0000 (15:27 +0100)]
po: update translations

13 years agoaalib: make sure -DGST_USE_UNSTABLE_API is defined
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.

13 years agov4l2: update for GstXOverlay => GstVideoOverlay rename
Tim-Philipp Müller [Mon, 8 Aug 2011 14:25:31 +0000 (15:25 +0100)]
v4l2: update for GstXOverlay => GstVideoOverlay rename

13 years agov4l2src: Use fraction compare util function.
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

13 years agopulsesrc: avoid race in starting
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.

13 years agocheck: Use GST_CFLAGS when building tests
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

13 years agoisomp4: fixup after small api changes
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.

13 years agoy4menc: Now depends on libgstvideo
Edward Hervey [Fri, 5 Aug 2011 09:32:45 +0000 (11:32 +0200)]
y4menc: Now depends on libgstvideo

13 years agopulse: more cleanups
Wim Taymans [Thu, 4 Aug 2011 16:41:29 +0000 (18:41 +0200)]
pulse: more cleanups

13 years agopulsesrc: small cleanups
Wim Taymans [Thu, 4 Aug 2011 16:15:55 +0000 (18:15 +0200)]
pulsesrc: small cleanups

13 years agov4l2src: call set_caps method of baseclass
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.

13 years agopulsesrc: small cleanups
Wim Taymans [Thu, 4 Aug 2011 14:25:04 +0000 (16:25 +0200)]
pulsesrc: small cleanups

13 years agogoom: port to new caps
Wim Taymans [Thu, 4 Aug 2011 13:25:20 +0000 (15:25 +0200)]
goom: port to new caps

13 years agov4l2sink: Size variable should be a guint and not a gsize
Edward Hervey [Thu, 4 Aug 2011 11:52:18 +0000 (13:52 +0200)]
v4l2sink: Size variable should be a guint and not a gsize

13 years agov4l2: activate the pool in fallback
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.

13 years agofix compilation
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)

13 years agoport to new API
Wim Taymans [Wed, 3 Aug 2011 16:37:27 +0000 (18:37 +0200)]
port to new API

13 years agoMerge branch 'master' into 0.11
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

13 years agomatroska: Register new debug category
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.

13 years agotest/ickles: Port gdkpixbufsink test
Edward Hervey [Wed, 3 Aug 2011 11:38:01 +0000 (13:38 +0200)]
test/ickles: Port gdkpixbufsink test

13 years agoRevert "tests/check/Makefile.am: Disable autodetect test temporarily, so that the...
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

13 years agocheck: Update parser mini-lib to 0.11 API
Edward Hervey [Wed, 3 Aug 2011 11:10:46 +0000 (13:10 +0200)]
check: Update parser mini-lib to 0.11 API

13 years agopo: update for modified source file location
Edward Hervey [Wed, 3 Aug 2011 11:09:07 +0000 (13:09 +0200)]
po: update for modified source file location

13 years agoconfigure.ac: cairo_gobject isn't ported either
Edward Hervey [Wed, 3 Aug 2011 11:08:43 +0000 (13:08 +0200)]
configure.ac: cairo_gobject isn't ported either

13 years agohal: Remove hal plugin
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.

13 years agoqtdemux: soften assertion check on stream size
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

13 years agortpjpegpay: Add support for H.264 payload in MJPEG container
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.

13 years agojackaudiosink: Don't call g_alloca() in process_cb
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

13 years agoconfigure: Add hal to the list of non-ported plugins
Sebastian Dröge [Wed, 3 Aug 2011 06:58:00 +0000 (08:58 +0200)]
configure: Add hal to the list of non-ported plugins

13 years agoconfigure: Add monoscope 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

13 years agoeffectv: Fix unused but set variable compiler warnings
Sebastian Dröge [Wed, 3 Aug 2011 06:51:19 +0000 (08:51 +0200)]
effectv: Fix unused but set variable compiler warnings

13 years agodocs: fix two more Since: tags
Tim-Philipp Müller [Tue, 2 Aug 2011 22:42:58 +0000 (23:42 +0100)]
docs: fix two more Since: tags

13 years agodeinterlace: Fix Since tags for fieldanalysis related new properties
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.

13 years agortpvorbispay: fix porting error
Wim Taymans [Tue, 2 Aug 2011 09:51:45 +0000 (11:51 +0200)]
rtpvorbispay: fix porting error

13 years agoconfigure.ac: Define list of non-ported plugins
Edward Hervey [Tue, 2 Aug 2011 09:29:40 +0000 (11:29 +0200)]
configure.ac: Define list of non-ported plugins

13 years agoUpdate common submodule
Edward Hervey [Tue, 2 Aug 2011 09:29:25 +0000 (11:29 +0200)]
Update common submodule

13 years agoconfigure.ac: Sort AG_GST_CHECK_PLUGIN alphabetically
Edward Hervey [Tue, 2 Aug 2011 09:17:38 +0000 (11:17 +0200)]
configure.ac: Sort AG_GST_CHECK_PLUGIN alphabetically

13 years ago-good: fix for bufferpool API change
Wim Taymans [Fri, 29 Jul 2011 15:27:07 +0000 (17:27 +0200)]
-good: fix for bufferpool API change

13 years agov4l: change for new API
Wim Taymans [Fri, 29 Jul 2011 15:21:03 +0000 (17:21 +0200)]
v4l: change for new API

13 years agopulsesink: fix variable-set-but-not-used compiler warning with older pulse versions
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

13 years agortpsession: properly init rtcp_min_interval
Mark Nauwelaerts [Fri, 29 Jul 2011 10:07:24 +0000 (12:07 +0200)]
rtpsession: properly init rtcp_min_interval

13 years agopulsesink: Add support for compressed formats
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.

13 years agopulsesink: Use the extended stream API if available
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.

13 years agopulsesrc: Add a source-output-index property
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).

13 years agortpssrcdemux: keep a ref on the src pad while using it
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

13 years agortpssrcdemux: Make the pads lock recursive and hold it across the signal emit
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

13 years agortpssrcdemux: Use PADs lock
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

13 years agospeex: update for position/query/convert API changes
Tim-Philipp Müller [Thu, 28 Jul 2011 10:09:08 +0000 (11:09 +0100)]
speex: update for position/query/convert API changes

13 years agogst: udpate for position/duration/convert query 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

13 years agoavidemux: fix compiler warning
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

13 years agortph264depay: Cope with FU-A E bit not being set
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

13 years agoac3parse: Support switching alignment on-the-fly
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

13 years agov4l2: remove unused variables
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.

13 years agov4l2bufferpool: remove unused variable
Wim Taymans [Wed, 27 Jul 2011 11:46:09 +0000 (13:46 +0200)]
v4l2bufferpool: remove unused variable

13 years agov4l2src: add metadata
Wim Taymans [Wed, 27 Jul 2011 11:43:08 +0000 (13:43 +0200)]
v4l2src: add metadata

13 years agobufferpool: check for 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.

13 years agowarp: add stride support
Wim Taymans [Wed, 27 Jul 2011 11:42:21 +0000 (12:42 +0100)]
warp: add stride support

13 years agov4l2: add colorspace to debug
Wim Taymans [Wed, 27 Jul 2011 11:41:33 +0000 (12:41 +0100)]
v4l2: add colorspace to debug

13 years agortp: fix compilation
Wim Taymans [Tue, 26 Jul 2011 15:45:01 +0000 (17:45 +0200)]
rtp: fix compilation

13 years agov4l2: rename a variable
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..

13 years agov4l2: use new setup_allocation vmethod
Wim Taymans [Tue, 26 Jul 2011 11:18:55 +0000 (13:18 +0200)]
v4l2: use new setup_allocation vmethod

13 years agov4l2: implement more bits of RW I/O mode
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.

13 years agov4l2: improve IO mode error handling
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

13 years agoac3parse: Add support for IEC 61937 alignment
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

13 years agortpsession: Always send application requested feedback in immediate mode
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

13 years agortpsession: Don't let the computed RTP bandwidth fall too low
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

13 years agortpsession: Wait longer to timeout SSRC collision
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

13 years agov4l2: remove unused method
Wim Taymans [Mon, 25 Jul 2011 13:51:22 +0000 (15:51 +0200)]
v4l2: remove unused method

13 years agov4l2: fix flushing start and stop
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.

13 years agov4l2: dequeue buffers when all are queued
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.

13 years agortspsrc: set SOURCE flag at init time
Mark Nauwelaerts [Tue, 19 Jul 2011 11:38:01 +0000 (13:38 +0200)]
rtspsrc: set SOURCE flag at init time

Fixes #654816.