platform/upstream/gst-plugins-good.git
13 years agortpbin: Get and use the NTP time when receiving RTCP
Wim Taymans [Wed, 2 Feb 2011 17:21:26 +0000 (18:21 +0100)]
rtpbin: Get and use the NTP time when receiving RTCP

When we receive an RTCP packet, get the current NTP time in nanseconds so that
we can correctly calculate the round-trip time.

13 years agodirectsound: arrange for definition of _swab on Cygwin
Mark Nauwelaerts [Tue, 1 Feb 2011 18:40:58 +0000 (19:40 +0100)]
directsound: arrange for definition of _swab on Cygwin

gstdirectsoundsink.c: In function 'gst_directsound_sink_write':
gstdirectsoundsink.c:557: error: implicit declaration of function '_swab'
gstdirectsoundsink.c:557: error: nested extern declaration of '_swab'

13 years agortptheoradepay: Request new keyframe on lost packets
Olivier Crête [Thu, 7 Oct 2010 01:17:28 +0000 (21:17 -0400)]
rtptheoradepay: Request new keyframe on lost packets

Theora can only use the last frame (or the keyframe) as a reference, so in
practice. If we receive a buffer that references an unknown codebook, request
new headers. It probably means that headers were lost.

13 years agortpsession: Add action signal to request early RTCP
Olivier Crête [Fri, 27 Aug 2010 18:11:53 +0000 (14:11 -0400)]
rtpsession: Add action signal to request early RTCP

13 years agortpsession: Add callback to get the current time
Olivier Crête [Fri, 27 Aug 2010 20:11:06 +0000 (16:11 -0400)]
rtpsession: Add callback to get the current time

13 years agortpsession: Don't relay more than one PLI request per RTT
Olivier Crête [Tue, 19 Oct 2010 20:21:54 +0000 (22:21 +0200)]
rtpsession: Don't relay more than one PLI request per RTT

Drop PLI requests if one was relay in the last RTT, the other side may
just not have received the keyframe yet.

13 years agortpsession: Send GstForceKeyUnit event in response to received RTCP PLI
Olivier Crête [Wed, 23 Jun 2010 20:43:24 +0000 (16:43 -0400)]
rtpsession: Send GstForceKeyUnit event in response to received RTCP PLI

13 years agogstrtpsession: Fallback for FIR to PLI if PLI isn't available
Sjoerd Simons [Wed, 24 Nov 2010 20:27:46 +0000 (15:27 -0500)]
gstrtpsession: Fallback for FIR to PLI if PLI isn't available

13 years agortpsession: Implement sending PLI packets in response to GstForceKeyUnit
Olivier Crête [Tue, 22 Jun 2010 23:56:50 +0000 (19:56 -0400)]
rtpsession: Implement sending PLI packets in response to GstForceKeyUnit

13 years agortpsource: Retain RTCP Feedback packets for a specified amount of time
Olivier Crête [Tue, 22 Jun 2010 17:33:32 +0000 (13:33 -0400)]
rtpsource: Retain RTCP Feedback packets for a specified amount of time

13 years agortpsession: Make rtcp buffer metadata writable after processing it
Olivier Crête [Tue, 7 Sep 2010 10:35:16 +0000 (13:35 +0300)]
rtpsession: Make rtcp buffer metadata writable after processing it

Functions that process the rtcp buffer could decide to keep a ref
on the buffer for further processing. So make the metadata writable
only after they are done.

13 years agortpsession: Emit signal on incoming RTCP FB packet
Olivier Crête [Thu, 17 Jun 2010 21:34:19 +0000 (17:34 -0400)]
rtpsession: Emit signal on incoming RTCP FB packet

13 years agortpsession: fix compilation
Wim Taymans [Tue, 1 Feb 2011 17:17:13 +0000 (18:17 +0100)]
rtpsession: fix compilation

13 years agortpsession: Add method to request early RTCP packet
Olivier Crête [Tue, 15 Jun 2010 22:39:47 +0000 (18:39 -0400)]
rtpsession: Add method to request early RTCP packet

Implement the early mode defined in RFC 4585. In this mode, RTCP feedback
packets are sent early to notifier.

13 years agortpsession: Add property for minimum interval between Regular RTCP messages
Olivier Crête [Tue, 1 Jun 2010 23:28:01 +0000 (19:28 -0400)]
rtpsession: Add property for minimum interval between Regular RTCP messages

This can be changed according to RFC 4585

13 years agortpsession: Emit signal when sending a compound RTCP packet
Olivier Crête [Mon, 14 Jun 2010 22:40:33 +0000 (18:40 -0400)]
rtpsession: Emit signal when sending a compound RTCP packet

This allows users to add extra RTCP packets to the compound
RTCP packet.

13 years agortpptdemux: Tag upstream custom events with payload type
Olivier Crête [Sat, 19 Jun 2010 23:11:06 +0000 (19:11 -0400)]
rtpptdemux: Tag upstream custom events with payload type

13 years agortpssrcdemux: Tag upstream custom events with SSRC
Olivier Crete [Fri, 18 Jun 2010 23:12:40 +0000 (19:12 -0400)]
rtpssrcdemux: Tag upstream custom events with SSRC

13 years agortpsession: Emit "on-ssrc-validated" when validating by RTCP
Olivier Crête [Fri, 1 Oct 2010 21:19:16 +0000 (17:19 -0400)]
rtpsession: Emit "on-ssrc-validated" when validating by RTCP

Emit "on-ssrc-validated" if the SSRC is validated by receiving
a RTCP SDES packet.

13 years agoj2kpay: skip EPH packets
Wim Taymans [Tue, 1 Feb 2011 15:38:20 +0000 (16:38 +0100)]
j2kpay: skip EPH packets

Include EPH markers into the previous chunk of packets.

13 years agortppcmapay: Rename the class to have the right name
Olivier Crête [Mon, 31 Jan 2011 22:56:18 +0000 (17:56 -0500)]
rtppcmapay: Rename the class to have the right name

It was name pmca instead of pcma and made debug logs hard to search.

13 years agoPulsesink: Allow chunks up to bufsize instead of segsize
David Henningsson [Mon, 31 Jan 2011 04:58:36 +0000 (05:58 +0100)]
Pulsesink: Allow chunks up to bufsize instead of segsize

By allowing larger chunks to be sent, PulseAudio will have a
lower CPU usage. This is especially important on low-end machines,
where PulseAudio can crash if packets are coming in at a higher
rate than PulseAudio can process them.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
13 years agodeinterlace: simplify template caps
Tim-Philipp Müller [Mon, 31 Jan 2011 13:44:45 +0000 (13:44 +0000)]
deinterlace: simplify template caps

We can merge all the YUV variants into one single structure.

13 years agowin32: fix DEFAULT_AUDIOSINK, should be direct*sound*sink
Tim-Philipp Müller [Thu, 27 Jan 2011 15:35:06 +0000 (15:35 +0000)]
win32: fix DEFAULT_AUDIOSINK, should be direct*sound*sink

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

13 years agoavidemux: initialize local variable to please mingw32 compiler
Mark Nauwelaerts [Thu, 27 Jan 2011 15:02:46 +0000 (16:02 +0100)]
avidemux: initialize local variable to please mingw32 compiler

13 years agoudp: use socklen_t where appropriate rather than custom type
Mark Nauwelaerts [Wed, 26 Jan 2011 21:21:31 +0000 (22:21 +0100)]
udp: use socklen_t where appropriate rather than custom type

In particular, fixes Cygwin build where socklen_t is defined as int
in line with native win32 api definition.

13 years agoqtdemux: mind rounding issues when converting from global time to mov time
Mark Nauwelaerts [Thu, 27 Jan 2011 11:16:46 +0000 (12:16 +0100)]
qtdemux: mind rounding issues when converting from global time to mov time

In particular, this avoids missing the intended keyframe when first converting
from the frame's mov time to global segment time, and then back from global
time to mov time when activating the segment.

13 years agomatroskamux: don't leak ebml writer caps when re-using matroskamux
Ognyan Tonchev [Wed, 26 Jan 2011 08:48:43 +0000 (08:48 +0000)]
matroskamux: don't leak ebml writer caps when re-using matroskamux

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

13 years agortpjitterbuffer: don't divide by 0
Stefan Kost [Tue, 25 Jan 2011 19:56:19 +0000 (21:56 +0200)]
rtpjitterbuffer: don't divide by 0

13 years agomatroskademux: pull mode should always report seekable
Mark Nauwelaerts [Tue, 18 Jan 2011 13:48:04 +0000 (14:48 +0100)]
matroskademux: pull mode should always report seekable

... as it no longer requires an index, but can seek by scanning as well.

13 years agoqtdemux: support some more mpeg-4 fourcc variants
Mark Nauwelaerts [Mon, 10 Jan 2011 11:34:22 +0000 (12:34 +0100)]
qtdemux: support some more mpeg-4 fourcc variants

13 years agoqtdemux: simplify retrieving stsd child entry atom
Mark Nauwelaerts [Mon, 10 Jan 2011 11:34:03 +0000 (12:34 +0100)]
qtdemux: simplify retrieving stsd child entry atom

13 years agoavidemux: Don't consider 0 fcc_handler as uncompressed.
Edward Hervey [Mon, 24 Jan 2011 17:27:52 +0000 (18:27 +0100)]
avidemux: Don't consider 0 fcc_handler as uncompressed.

Just avoids a warning

13 years agoqtdemux: take configured start time into account
Wim Taymans [Thu, 20 Jan 2011 11:14:08 +0000 (12:14 +0100)]
qtdemux: take configured start time into account

when creating the newsegment event, take the configured start time
into account.

13 years agoqtdemux: fix printf format warning on mingw32
Tim-Philipp Müller [Mon, 24 Jan 2011 15:11:02 +0000 (15:11 +0000)]
qtdemux: fix printf format warning on mingw32

Make win32 build bot happy again, and nicefy output while we're at it.

qtdemux.c: In function 'qtdemux_parse_trun':
qtdemux.c:2162:3: error: format '%lu' expects type 'long unsigned int', but argument 9 has type 'guint32'

13 years agoexamples: autoaudisink -> autoaudiosink in RTP examples
Tim-Philipp Müller [Mon, 24 Jan 2011 13:39:58 +0000 (13:39 +0000)]
examples: autoaudisink -> autoaudiosink in RTP examples

13 years agoBack to development
Tim-Philipp Müller [Mon, 24 Jan 2011 00:32:41 +0000 (00:32 +0000)]
Back to development

13 years agoRelease 0.10.27 RELEASE-0.10.27
Tim-Philipp Müller [Fri, 21 Jan 2011 12:54:16 +0000 (12:54 +0000)]
Release 0.10.27

13 years agoh264depay: don't leak codec data buffer in byte-stream=true mode
Tim-Philipp Müller [Thu, 20 Jan 2011 14:10:55 +0000 (14:10 +0000)]
h264depay: don't leak codec data buffer in byte-stream=true mode

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

13 years agortspsrc: don't leak url string
Tim-Philipp Müller [Thu, 20 Jan 2011 13:41:33 +0000 (13:41 +0000)]
rtspsrc: don't leak url string

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

13 years agoqtdemux: Gracefully handle mov files misusing the WAVE atoms
Edward Hervey [Thu, 20 Jan 2011 10:45:47 +0000 (11:45 +0100)]
qtdemux: Gracefully handle mov files misusing the WAVE atoms

Check that the WAVEHEADER node is present instead of blindly using it.
If not present we won't be able to provide a more refined caps, but at
least we won't crash.

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

13 years agov4l2sink: fix accidental breakage of navigation interface support
Tim-Philipp Müller [Thu, 20 Jan 2011 00:07:33 +0000 (00:07 +0000)]
v4l2sink: fix accidental breakage of navigation interface support

13 years ago0.10.26.4 pre-release
Tim-Philipp Müller [Tue, 18 Jan 2011 12:58:29 +0000 (12:58 +0000)]
0.10.26.4 pre-release

13 years agodeinterlace: rewrite how neighboring scan lines are calculated
David Schleef [Wed, 12 Jan 2011 22:03:57 +0000 (14:03 -0800)]
deinterlace: rewrite how neighboring scan lines are calculated

Old code was difficult to understand exactly how the neighboring
scan lines are calculated, and it appeared that some were off by
+2 or -2, depending on the field flag.  Fixes #639321.

13 years agoavisubtitle: set caps on srcpad to fix issue with discoverer
Tim-Philipp Müller [Tue, 18 Jan 2011 09:33:06 +0000 (09:33 +0000)]
avisubtitle: set caps on srcpad to fix issue with discoverer

Set caps from the start so discoverer doesn't blow up on
seeing no negotiated caps between elements on preroll,
which might happen if no subtitle buffers have been
pushed yet at the time. See file from bug #603308.

13 years agopulsesink: Uncork stream while flushing the ringbuffer
Arun Raghavan [Mon, 17 Jan 2011 14:39:16 +0000 (20:09 +0530)]
pulsesink: Uncork stream while flushing the ringbuffer

After starting the ringbuffer, we wait for enough data to arrive before
uncorking the stream. This will cause the pipeline to stall if we get an
EOS (or otherwise need to flush the stream) before sufficient data
becomes available. This patch makes sure that the stream is uncorked
while flushing to avoid this problem.

Fixes issue with a webkit unit test testing reverse playback of
an MP4 H.264/AAC file.

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

13 years agomatroskamux: avoid creating caps from string when possible
Mark Nauwelaerts [Fri, 14 Jan 2011 13:51:51 +0000 (14:51 +0100)]
matroskamux: avoid creating caps from string when possible

Fixes #639516.

13 years agoavimux: set src pad caps when starting file
Mark Nauwelaerts [Fri, 14 Jan 2011 13:48:49 +0000 (14:48 +0100)]
avimux: set src pad caps when starting file

Fixes #639516.

13 years agov4l2: define V4L2_FIELD_INTERLACED_{TB,BT} if not available in header
Tim-Philipp Müller [Wed, 12 Jan 2011 20:38:59 +0000 (20:38 +0000)]
v4l2: define V4L2_FIELD_INTERLACED_{TB,BT} if not available in header

Older kernels don't have these, and there's no easy way to check for the
existance of enums that doesn't involve a configure check, so just define
these if the V4L2_CAP_VIDEO_OUTPUT_OVERLAY define is not there, which was
added in the same commit as the TB/BT enum. Fixes compilation on CentOS 5.

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

13 years ago0.10.26.3 pre-release
Tim-Philipp Müller [Tue, 11 Jan 2011 23:18:59 +0000 (23:18 +0000)]
0.10.26.3 pre-release

13 years agodocs: update docs
Tim-Philipp Müller [Tue, 11 Jan 2011 22:42:42 +0000 (22:42 +0000)]
docs: update docs

13 years agopulsesink: Make corking during pause synchronous
Arun Raghavan [Tue, 11 Jan 2011 18:09:12 +0000 (23:39 +0530)]
pulsesink: Make corking during pause synchronous

This makes the call to pa_stream_cork() during ringbuffer pause()
synchronous, which makes sure that the clock does not advance after we
take a snapshot for start_time.

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

13 years agopo: update translations
Tim-Philipp Müller [Tue, 11 Jan 2011 19:33:16 +0000 (19:33 +0000)]
po: update translations

13 years agoAutomatic update of common submodule
Stefan Kost [Tue, 11 Jan 2011 13:50:28 +0000 (15:50 +0200)]
Automatic update of common submodule

From e572c87 to f94d739

13 years agoAutomatic update of common submodule
Tim-Philipp Müller [Mon, 10 Jan 2011 16:36:19 +0000 (16:36 +0000)]
Automatic update of common submodule

From ccbaa85 to e572c87

13 years agoAutomatic update of common submodule
Tim-Philipp Müller [Mon, 10 Jan 2011 14:53:39 +0000 (14:53 +0000)]
Automatic update of common submodule

From 46445ad to ccbaa85

13 years ago0.10.26.2 pre-release
Tim-Philipp Müller [Fri, 7 Jan 2011 13:24:02 +0000 (13:24 +0000)]
0.10.26.2 pre-release

13 years agopo: update translations
Tim-Philipp Müller [Fri, 7 Jan 2011 13:06:38 +0000 (13:06 +0000)]
po: update translations

13 years agoalpha: fix compiler warnings caused by -DG_DISABLE_ASSERT
Tim-Philipp Müller [Fri, 7 Jan 2011 02:32:20 +0000 (02:32 +0000)]
alpha: fix compiler warnings caused by -DG_DISABLE_ASSERT

13 years agomatroska: don't put essential function calls into g_assert()
Tim-Philipp Müller [Fri, 7 Jan 2011 02:06:51 +0000 (02:06 +0000)]
matroska: don't put essential function calls into g_assert()

g_assert() will expand to NOOPs if -DG_DISABLE_ASSERT is passed.

13 years agov4l2sink: don't put functional code like ioctl calls into g_return_if_fail()
Tim-Philipp Müller [Fri, 7 Jan 2011 01:35:45 +0000 (01:35 +0000)]
v4l2sink: don't put functional code like ioctl calls into g_return_if_fail()

These macros will expand to NOOPs given the right defines. Also,
g_return_if_fail() and friends are meant to be used to catch programming
errors (like invalid input to functions), not runtime error handling.

13 years agotests: never disable g_assert() and cast checks for the unit tests
Tim-Philipp Müller [Fri, 7 Jan 2011 01:11:02 +0000 (01:11 +0000)]
tests: never disable g_assert() and cast checks for the unit tests

The unit tests are riddled with g_assert() and friends, make sure we
don't disable assert and cast checks for the unit tests even if
this has been specified for the rest of the code base, e.g. via
--disable-glib-asserts.

13 years agortp: Fix unitialized variables on macosx
Edward Hervey [Thu, 6 Jan 2011 11:29:21 +0000 (12:29 +0100)]
rtp: Fix unitialized variables on macosx

13 years agoqtdemux: Fix unitialized variables on macosx
Edward Hervey [Thu, 6 Jan 2011 11:28:58 +0000 (12:28 +0100)]
qtdemux: Fix unitialized variables on macosx

13 years agocapsdebug: Add capdebug debug category
David Schleef [Thu, 6 Jan 2011 01:49:16 +0000 (17:49 -0800)]
capsdebug: Add capdebug debug category

13 years agodeinterlace: Change the default to linear
David Schleef [Sat, 11 Dec 2010 20:42:10 +0000 (12:42 -0800)]
deinterlace: Change the default to linear

The previous default, greedyh, takes 4 times as long as MPEG-2
video decoding, and is unlikely fast enough on any current CPU
to play 1080i video in real-time.  greedyl isn't much faster.
linear was chosen over vfir, since the quality advantage of vfir
is minimal compared to the occasional visual artifacts and slower
processing.

13 years agortspsrc: don't confuse return values
Wim Taymans [Wed, 5 Jan 2011 17:32:58 +0000 (18:32 +0100)]
rtspsrc: don't confuse return values

Return a return value of the right type.

13 years agoqtdemux: Fix unitialized variables on macosx
Edward Hervey [Wed, 5 Jan 2011 15:24:13 +0000 (16:24 +0100)]
qtdemux: Fix unitialized variables on macosx

13 years agovrawdepay: fix length check
Wim Taymans [Wed, 5 Jan 2011 14:03:32 +0000 (15:03 +0100)]
vrawdepay: fix length check

Add some more debugging.
Add the length check so we don't cause unneeded warnings.

13 years agomultiudpsink: add buffer-size property
Wim Taymans [Wed, 5 Jan 2011 11:04:03 +0000 (12:04 +0100)]
multiudpsink: add buffer-size property

Add buffer-size property to configure the kernel send buffer.

13 years agortspsrc: remove unused variables when debug-logging disabled
Stefan Kost [Mon, 3 Jan 2011 18:16:22 +0000 (20:16 +0200)]
rtspsrc: remove unused variables when debug-logging disabled

13 years agomatroska-demux: remove unused variables when debug-logging disabled
Stefan Kost [Mon, 3 Jan 2011 18:06:35 +0000 (20:06 +0200)]
matroska-demux: remove unused variables when debug-logging disabled

13 years agocacasink: fix masks and strides
Wim Taymans [Mon, 3 Jan 2011 17:05:15 +0000 (18:05 +0100)]
cacasink: fix masks and strides

Use the right endianness to read the masks.
Use the right strides for the bitmap.

Fixes #638569

13 years agov4l2src: undo presumably accidental enablement of the GstXOverlay interface
Tim-Philipp Müller [Mon, 3 Jan 2011 01:18:06 +0000 (01:18 +0000)]
v4l2src: undo presumably accidental enablement of the GstXOverlay interface

Looks like this got enabled by accident when adding it to v4l2sink,
so undo this for now. Not sure it makes much sense in a GStreamer
context with current hardware.

13 years agortspsrc: increase udp buffer size
Wim Taymans [Mon, 3 Jan 2011 14:40:11 +0000 (15:40 +0100)]
rtspsrc: increase udp buffer size

Set a bigger UDP buffer size by default to reduce packet loss with
high bitrate streams.

13 years agomultifilesink: send stream headers in key-frame mode
David Schleef [Mon, 3 Jan 2011 03:19:27 +0000 (19:19 -0800)]
multifilesink: send stream headers in key-frame mode

13 years agojack: fix up element details and some other minor clean-ups
Tim-Philipp Müller [Sun, 2 Jan 2011 19:43:02 +0000 (19:43 +0000)]
jack: fix up element details and some other minor clean-ups

13 years agoid3demux: fix parsing of ID3v2.4 genre frames with multiple genres
Erich Schubert [Sun, 2 Jan 2011 19:23:51 +0000 (19:23 +0000)]
id3demux: fix parsing of ID3v2.4 genre frames with multiple genres

We'd only extract the first genre (multiple times) instead of all
genres.

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

13 years agojack: template caps had lists with one value, just use value directly
Tim-Philipp Müller [Sun, 2 Jan 2011 17:40:41 +0000 (17:40 +0000)]
jack: template caps had lists with one value, just use value directly

13 years agojack: make get_type functions thread-safe
Tim-Philipp Müller [Sun, 2 Jan 2011 17:07:19 +0000 (17:07 +0000)]
jack: make get_type functions thread-safe

Because we can (shouldn't be needed with other workarounds still there).

13 years agodocs: update plugin docs
Tim-Philipp Müller [Sun, 2 Jan 2011 15:27:19 +0000 (15:27 +0000)]
docs: update plugin docs

13 years agojack: new jackaudiosrc and jackaudiosink elements, moved from gst-plugins-bad
Tim-Philipp Müller [Sun, 2 Jan 2011 15:25:41 +0000 (15:25 +0000)]
jack: new jackaudiosrc and jackaudiosink elements, moved from gst-plugins-bad

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

13 years agovarious (ext): add missing G_PARAM_STATIC_STRINGS flags
Stefan Kost [Tue, 19 Oct 2010 13:23:23 +0000 (16:23 +0300)]
various (ext): add missing G_PARAM_STATIC_STRINGS flags

Canonicalize property names as needed.

13 years agojack: added translatable text for server not found error
Tristan Matthews [Thu, 9 Sep 2010 18:49:06 +0000 (14:49 -0400)]
jack: added translatable text for server not found error

13 years agoexamples: add test to demonstrate jack_client_t usage
Tristan Matthews [Mon, 6 Sep 2010 21:17:54 +0000 (17:17 -0400)]
examples: add test to demonstrate jack_client_t usage

13 years agojack: added client property
Tristan Matthews [Mon, 6 Sep 2010 20:11:31 +0000 (16:11 -0400)]
jack: added client property

13 years agojack: removed unused file gstjackbin.c
Tristan Matthews [Thu, 17 Jun 2010 20:26:07 +0000 (16:26 -0400)]
jack: removed unused file gstjackbin.c

This is a 0.8 leftover.

13 years agojacksrc: make sure we always read nframes
Wim Taymans [Thu, 13 May 2010 10:55:29 +0000 (12:55 +0200)]
jacksrc: make sure we always read nframes

Error out when we are asked to read a different size that what was configured as
the jack period size because that would mean something else is wrong.

Fixes #618409

13 years agojack: improve process_cb
Tristan Matthews [Tue, 11 May 2010 21:56:31 +0000 (17:56 -0400)]
jack: improve process_cb

13 years agojack: implement multichannel support correctly for jackaudiosrc
Tristan Matthews [Tue, 27 Apr 2010 14:48:32 +0000 (10:48 -0400)]
jack: implement multichannel support correctly for jackaudiosrc

Fixes parts of bug #616541.

13 years agojack: remove empty dispose and finalize methods
Stefan Kost [Tue, 27 Apr 2010 08:21:16 +0000 (11:21 +0300)]
jack: remove empty dispose and finalize methods

13 years agojack: don't leak caps
Stefan Kost [Tue, 27 Apr 2010 07:59:00 +0000 (10:59 +0300)]
jack: don't leak caps

Add dispose methods to clear caps.

13 years agojack: don't use GST_DEBUG_FUNCPTR for gobject vmethods
Stefan Kost [Tue, 27 Apr 2010 07:34:24 +0000 (10:34 +0300)]
jack: don't use GST_DEBUG_FUNCPTR for gobject vmethods

13 years agojack: fix element name in section doc blob
Stefan Kost [Wed, 24 Mar 2010 13:59:53 +0000 (15:59 +0200)]
jack: fix element name in section doc blob

13 years agoAdd -Wold-style-definition
Benjamin Otte [Mon, 22 Mar 2010 15:56:03 +0000 (16:56 +0100)]
Add -Wold-style-definition

and fix the warnings

13 years agoAdd -Wmissing-declarations -Wmissing-prototypes to configure flags
Benjamin Otte [Sun, 21 Mar 2010 20:39:18 +0000 (21:39 +0100)]
Add -Wmissing-declarations -Wmissing-prototypes to configure flags

And fix all warnings

13 years agogst_element_class_set_details => gst_element_class_set_details_simple
Benjamin Otte [Thu, 18 Mar 2010 16:30:26 +0000 (17:30 +0100)]
gst_element_class_set_details => gst_element_class_set_details_simple

13 years agojack: ensure segtotal is at least 2
Stefan Kost [Mon, 12 Oct 2009 06:06:37 +0000 (09:06 +0300)]
jack: ensure segtotal is at least 2

Not only adjust buffer-time and avoid segtotal=0, but instead ensure segtotal is
atleast 2. Do same change on jacksrc. We could also check the latency and buffer
time configured by the client and adjust buffer-time so that we get to the same
number of segments.

13 years agojack: don't crash in ringbuffer with SIGFPE on small buffer-times
Stefan Kost [Sun, 11 Oct 2009 21:51:27 +0000 (00:51 +0300)]
jack: don't crash in ringbuffer with SIGFPE on small buffer-times

Jack overrides user-specified latency-time with the one it gets from jack
itself. It also needs to adjust buffer-time somewhat to avoid segtotal being 0

13 years agojack: when stopping playback, do one more cycle to flush the port. Fixes #582167
Stefan Kost [Mon, 11 May 2009 13:12:54 +0000 (16:12 +0300)]
jack: when stopping playback, do one more cycle to flush the port. Fixes #582167

The gst_jack_audio_client_set_active() flags the port as deactivating and uses
a GCond to wait until the jack_process_cb() has run once more and cleared the
flag. This way the client zero's the buffer. This happens if one manyally go
to PAUSED and then to READY, while leting the mainloop run inbetween.