platform/upstream/gstreamer.git
15 years agojpegdec: add a G_UNLIKELY and put perf-cat log to code path that copies
Stefan Kost [Fri, 18 Sep 2009 14:26:42 +0000 (17:26 +0300)]
jpegdec: add a G_UNLIKELY and put perf-cat log to code path that copies

15 years agoavi: add some performance measurements
Wim Taymans [Mon, 21 Sep 2009 10:32:51 +0000 (12:32 +0200)]
avi: add some performance measurements

Measure the performance of various index and header parsing steps to the
PERFORMANCE debug category.

15 years agospeexdec: allow for unknown varying number of frames per buffer
Mark Nauwelaerts [Fri, 18 Sep 2009 09:53:12 +0000 (11:53 +0200)]
speexdec: allow for unknown varying number of frames per buffer

In particular, this caters for RTP payloads with multiple frames
per packet.

15 years agospeexdec: use correct sample size in conversions
Mark Nauwelaerts [Fri, 18 Sep 2009 09:45:06 +0000 (11:45 +0200)]
speexdec: use correct sample size in conversions

15 years agospeexenc: fix buffer time and duration for multiple frames per packet
Mark Nauwelaerts [Fri, 18 Sep 2009 09:43:46 +0000 (11:43 +0200)]
speexenc: fix buffer time and duration for multiple frames per packet

15 years agoavidemux: some logging cleanup to help understanding the index parsing overhead
Stefan Kost [Fri, 18 Sep 2009 11:22:02 +0000 (14:22 +0300)]
avidemux: some logging cleanup to help understanding the index parsing overhead

15 years agoosxaudio: link against GST_BASE_LIBS
David Schleef [Wed, 16 Sep 2009 20:28:27 +0000 (13:28 -0700)]
osxaudio: link against GST_BASE_LIBS

15 years agortpg729pay: Fix adapter leak
Olivier Crête [Tue, 15 Sep 2009 21:24:24 +0000 (17:24 -0400)]
rtpg729pay: Fix adapter leak

The adapter would be leaked if it was empty and the data could be pushed out directly.

15 years agopulsesrc: Don't dereference NULL pointers
Sebastian Dröge [Tue, 15 Sep 2009 08:04:30 +0000 (10:04 +0200)]
pulsesrc: Don't dereference NULL pointers

pa_stream_get_timing_info() can return NULL.

Fixes bug #595220.

15 years agopulsesink: Don't dereference NULL pointers
David Henningsson [Tue, 15 Sep 2009 08:01:54 +0000 (10:01 +0200)]
pulsesink: Don't dereference NULL pointers

pa_stream_get_timing_info() can return NULL.

Fixes bug #595220.

15 years agopulsesink: handle stream events
Wim Taymans [Mon, 14 Sep 2009 14:05:30 +0000 (16:05 +0200)]
pulsesink: handle stream events

Handle stream events and request a PAUSE/PLAY state change from the application
when we receive a CORK/UNCORK event.

15 years agomultifilesink: Add next-file property
David Schleef [Sun, 13 Sep 2009 19:30:34 +0000 (12:30 -0700)]
multifilesink: Add next-file property

Add a property to allow control over what event causes a file
to finish being written and a new file start.  The default is
the same as before -- each buffer causes a new file to be
written.  Added is a case where buffers are written to the
same file until a discontinuity in the stream.

15 years agodvdemux: Use values from decoder structure directly
David Schleef [Sun, 13 Sep 2009 22:55:02 +0000 (15:55 -0700)]
dvdemux: Use values from decoder structure directly

Don't store the same values in the GstDvDemux.  This
fixes a bug where dvdemux would detect a stream as PAL
instead of NTSC, and silently parse it wrong.

15 years agodvdemux: Add code to parse SMPTE time codes
David Schleef [Sun, 13 Sep 2009 19:20:23 +0000 (12:20 -0700)]
dvdemux: Add code to parse SMPTE time codes

Code to convert time codes to/from timestamps and frame numbers.

15 years agodvdemux: Fix detection of new media
David Schleef [Sun, 13 Sep 2009 19:01:27 +0000 (12:01 -0700)]
dvdemux: Fix detection of new media

There are 5 or 6 AAUX source control packs in a frame, and any
of them could have REC_ST cleared, indicating a recording start
point.  libdv only checks the first.

15 years agodvdemux: Set DISCONT flag on buffers when REC_ST flag is set.
Edward Hervey [Sat, 12 Sep 2009 17:25:36 +0000 (19:25 +0200)]
dvdemux: Set DISCONT flag on buffers when REC_ST flag is set.

Also add a few branch prediction macros

15 years agocheck: Fix a couple of tests.
Jan Schmidt [Fri, 11 Sep 2009 23:13:04 +0000 (00:13 +0100)]
check: Fix a couple of tests.

The souphttpsrc test wasn't compiling. The soup-misc.h header is needed for
soup_ssl_supported.
Fix the y4menc test to use a 'progressive' header for the test data now that
the element outputs correct interlacing info.

15 years agowavparse: treat a zero-sized data chunk as extending to the end of the file.
Michael Smith [Fri, 11 Sep 2009 20:32:39 +0000 (13:32 -0700)]
wavparse: treat a zero-sized data chunk as extending to the end of the file.

This fixes playback of some files that don't have a valid data chunk length,
apparently some program creates these.

15 years agov4l2src: add a function pointer for get_frame function and optimize a bit
Stefan Kost [Fri, 11 Sep 2009 19:24:47 +0000 (22:24 +0300)]
v4l2src: add a function pointer for get_frame function and optimize a bit

Use a function-pointer for mmap/read, as this can't change during capture. Also
sprinkle a few G_LIKELY/UNLIKELY to improve the error-less code path.

15 years agov4l2: log buffer copies on queue underrun in perf category
Stefan Kost [Fri, 11 Sep 2009 19:15:01 +0000 (22:15 +0300)]
v4l2: log buffer copies on queue underrun in perf category

v4l2src has a slow path where it does buffer-copies when it runs out of queued
buffers. Log this to performance category to help monitoring it.

15 years agopulsesink: Implement GstStreamVolume interface
Sebastian Dröge [Fri, 11 Sep 2009 13:14:15 +0000 (15:14 +0200)]
pulsesink: Implement GstStreamVolume interface

15 years agopulsesink: Implement mute property
Sebastian Dröge [Fri, 11 Sep 2009 14:09:40 +0000 (16:09 +0200)]
pulsesink: Implement mute property

15 years agogdkpixbufsink: fix docs refering to send-messages
Wim Taymans [Fri, 11 Sep 2009 11:33:31 +0000 (13:33 +0200)]
gdkpixbufsink: fix docs refering to send-messages

15 years agospectrum: add post-messages property
Wim Taymans [Fri, 11 Sep 2009 11:28:35 +0000 (13:28 +0200)]
spectrum: add post-messages property

Add a post-messages property and deprecate the less descriptive message
property.

15 years agopixbufsink: add post-messages property
Wim Taymans [Fri, 11 Sep 2009 11:20:06 +0000 (13:20 +0200)]
pixbufsink: add post-messages property

Add post-messages and deprecate send-messages as the former is more
descriptive of what actually happens.

15 years agomultifilesink: rename silent to post-messages
Wim Taymans [Fri, 11 Sep 2009 11:12:54 +0000 (13:12 +0200)]
multifilesink: rename silent to post-messages

Use the post-messages property name instead of silent as it is more
descriptive.

15 years agomultifilesink: post messages for each buffer
Wim Taymans [Fri, 11 Sep 2009 10:16:18 +0000 (12:16 +0200)]
multifilesink: post messages for each buffer

Add a silent property that can be set to FALSE to post messages on the bus for
each written file.
Do some more cleanups.
Add some docs.

Fixes #594663

15 years agortph263pay: Allocate Boundry structs on the stack instead of the heap to avoid leaks
Olivier Crête [Wed, 9 Sep 2009 22:13:29 +0000 (18:13 -0400)]
rtph263pay: Allocate Boundry structs on the stack instead of the heap to avoid leaks

Fixes bug #594691.

15 years agodocs: fix gtk-doc warnings
Stefan Kost [Thu, 10 Sep 2009 07:28:48 +0000 (10:28 +0300)]
docs: fix gtk-doc warnings

15 years agodocs: fix gtk-doc warnings
Stefan Kost [Thu, 10 Sep 2009 07:26:23 +0000 (10:26 +0300)]
docs: fix gtk-doc warnings

15 years agodv1394src: Add a clock based on isochronous cycle counter
David Schleef [Thu, 10 Sep 2009 00:51:19 +0000 (17:51 -0700)]
dv1394src: Add a clock based on isochronous cycle counter

Partial fix for #169383.

15 years agovideobox: Fix AYUV->I420 conversion
Sebastian Dröge [Wed, 9 Sep 2009 14:02:03 +0000 (16:02 +0200)]
videobox: Fix AYUV->I420 conversion

For this fix the averaging of the chroma values. It should't be (a/2 + b)/2
but just (a + b)/2.

Fixes bug #594599.

15 years agopulsesink: remove ringbuffer reset compensation
Wim Taymans [Wed, 9 Sep 2009 14:25:06 +0000 (16:25 +0200)]
pulsesink: remove ringbuffer reset compensation

Remove the code to deal with a ringbuffer reset as this code is now in the base
class.
Bump the -base requirement as we need the new baseaudiosink code to function
properly.

15 years agopulsesink: whitespace fixes
Wim Taymans [Wed, 9 Sep 2009 14:24:49 +0000 (16:24 +0200)]
pulsesink: whitespace fixes

15 years agowhitespace fixes
Wim Taymans [Wed, 9 Sep 2009 08:27:55 +0000 (10:27 +0200)]
whitespace fixes

15 years agopulse: small cleanups
Wim Taymans [Tue, 8 Sep 2009 17:34:09 +0000 (19:34 +0200)]
pulse: small cleanups

Add some debug info
Fix the state changes

15 years agomultipartmux: mark data buffer as delta-unit
Marc-André Lureau [Tue, 8 Sep 2009 16:29:35 +0000 (18:29 +0200)]
multipartmux: mark data buffer as delta-unit

So that multifdsink always start sending header buffer first

Fixes #594520

15 years agortpbin: add ignore-pt parameter
Marc Leeman [Tue, 8 Sep 2009 15:37:15 +0000 (17:37 +0200)]
rtpbin: add ignore-pt parameter

Add a parameter 'ignore-pt' that disables creating a gstrtpptdemux module and
ghosts the pads of gstrtpjitterbuffer instead of the ones of gstrtpptdemux.

Fixes #594490

15 years agochecks: only run HTTPS test if libsoup has SSL support
Marvin Schmidt [Fri, 4 Sep 2009 11:51:37 +0000 (13:51 +0200)]
checks: only run HTTPS test if libsoup has SSL support

15 years agortpbin: propagate payload-type-change signal from demuxer
Håvard Graff [Tue, 8 Sep 2009 11:59:56 +0000 (13:59 +0200)]
rtpbin: propagate payload-type-change signal from demuxer

fixes #594254

15 years agojitterbuffer: change severity of clock-rate change debug
Havard Graff [Mon, 31 Aug 2009 16:46:25 +0000 (18:46 +0200)]
jitterbuffer: change severity of clock-rate change debug

Make log GST_DEBUG under normal circumstances, GST_WARNING otherwise.

Fixes #594253

15 years agojitterbuffer: avoid throwing reordered buffers with same timestamps
Håvard Graff [Tue, 8 Sep 2009 11:39:31 +0000 (13:39 +0200)]
jitterbuffer: avoid throwing reordered buffers with same timestamps

When we receive a reordered packet with the same timestamp as the previous one
(which can happen for fragmented packets) don't consider the packet as lost but
instead wait for the reordered packet to arrive.

Switch the warning-level, so that a reordering does not get a warning, only
an actual produced lost-packet.

Fixes #594251

15 years agortpjpegdepay: add missing math.h include
Havard Graff [Mon, 31 Aug 2009 19:16:54 +0000 (21:16 +0200)]
rtpjpegdepay: add missing math.h include

Fixes #594247

15 years agortspsrc: fix memory leak
Arnout Vandecappelle [Tue, 8 Sep 2009 11:30:29 +0000 (13:30 +0200)]
rtspsrc: fix memory leak

In gst_rtspsrc_parse_digest_challenge(), rtspsrc does a g_strndup of the auth
header items and then passes them to gst_rtsp_connection_set_auth_param()
without freeing.

Fixes #594133

15 years agortpbin: make free_session() remove stream references
Stig Sandnes [Tue, 8 Sep 2009 11:18:29 +0000 (13:18 +0200)]
rtpbin: make free_session() remove stream references

When receiving a sync-packet, all sessions with the same cname will be compared
and synced together. In this process, there could still be references to a
session that has been shut down in the meanwhile.

This patch makes sure that these references are removed when shutting down a
session, so that the syncing can be done safely.

Fixes #594283

15 years agortpbin: use locked state on internal bins
Havard Graff [Mon, 31 Aug 2009 16:46:51 +0000 (18:46 +0200)]
rtpbin: use locked state on internal bins

Set the locked state on internal elements to make sure that they don't change
back to another state when shutting down.

Fixes #594248

15 years agov4l2src: add support for mpeg formats
Wim Taymans [Mon, 7 Sep 2009 16:28:51 +0000 (18:28 +0200)]
v4l2src: add support for mpeg formats

15 years agoy4menc: Add interlaced support
Zaheer Merali [Sun, 6 Sep 2009 03:51:14 +0000 (20:51 -0700)]
y4menc: Add interlaced support

Fixes #591713

Signed-off-by: David Schleef <ds@schleef.org>
15 years agoRemove Ronald Bultje from Authors field
David Schleef [Mon, 24 Aug 2009 20:42:42 +0000 (13:42 -0700)]
Remove Ronald Bultje from Authors field

Replaced with "GStreamer maintainers
<gstreamer-devel@lists.sourceforge.net>" or just removed,
depending on the number of other authors.

15 years agoAutomatic update of common submodule
Sebastian Dröge [Sat, 5 Sep 2009 08:21:31 +0000 (10:21 +0200)]
Automatic update of common submodule

From 00a859e to 19fa4f3

15 years agoqtdemux: prevent a spurious debug warning
Mark Nauwelaerts [Fri, 4 Sep 2009 11:42:43 +0000 (13:42 +0200)]
qtdemux: prevent a spurious debug warning

15 years agov4l2: Define V4L2_FMT_FLAG_EMULATED if it's not defined yet
Sebastian Dröge [Fri, 4 Sep 2009 07:32:42 +0000 (09:32 +0200)]
v4l2: Define V4L2_FMT_FLAG_EMULATED if it's not defined yet

libv4l2 already uses this flag, even on Linux kernel versions
before 2.6.32.

15 years agomatroskademux: Correctly handle NULL GstIndex
Sebastian Dröge [Fri, 4 Sep 2009 05:10:03 +0000 (07:10 +0200)]
matroskademux: Correctly handle NULL GstIndex

15 years agov4l2: Fix stupid typo in last commit
Sebastian Dröge [Thu, 3 Sep 2009 18:40:17 +0000 (20:40 +0200)]
v4l2: Fix stupid typo in last commit

15 years agov4l2: Put emulated formats behind native formats
Sebastian Dröge [Thu, 3 Sep 2009 18:38:50 +0000 (20:38 +0200)]
v4l2: Put emulated formats behind native formats

Fixes bug #593764.

15 years agortpsource: fix memleak
Laurent Glayal [Thu, 3 Sep 2009 17:37:10 +0000 (19:37 +0200)]
rtpsource: fix memleak

Don't leak the input buffer when the received and expected seqnum are different when
in probation.

fixes #594039

15 years agortpjitterbuffer: Lock clock_rate variable
Olivier Crête [Wed, 2 Sep 2009 19:21:02 +0000 (15:21 -0400)]
rtpjitterbuffer: Lock clock_rate variable

The priv->clock_rate variable could become -1 between when its checked to not
be -1 and when its used, causing an assertion. Fixed by taking the mutex
earlier in the chain() function.

Fixes #593955

15 years agortpsource: whitespace fixes
Wim Taymans [Thu, 3 Sep 2009 17:12:39 +0000 (19:12 +0200)]
rtpsource: whitespace fixes

15 years agortpmpapay: whitespace fixes
Wim Taymans [Thu, 3 Sep 2009 17:09:12 +0000 (19:09 +0200)]
rtpmpapay: whitespace fixes

15 years agortpsession: whitespace fixes
Wim Taymans [Thu, 3 Sep 2009 17:08:53 +0000 (19:08 +0200)]
rtpsession: whitespace fixes

15 years agojpegdec: Avoid unnecessary processing until we have a full picture.
Edward Hervey [Thu, 3 Sep 2009 15:33:28 +0000 (17:33 +0200)]
jpegdec: Avoid unnecessary processing until we have a full picture.

This is for non-packetized mode, when we know the upstream size in bytes.

15 years agoflvmux: fully use tagsetter to manage the tags. Fixes #563221
Stefan Kost [Thu, 3 Sep 2009 11:40:20 +0000 (14:40 +0300)]
flvmux: fully use tagsetter to manage the tags. Fixes #563221

There is no need to manage a separate taglist.

15 years agospeexenc: small taglist handling cleanup
Stefan Kost [Thu, 3 Sep 2009 11:13:43 +0000 (14:13 +0300)]
speexenc: small taglist handling cleanup

Don't eventualy leak the list and instead assert (like in other elements).

15 years agopulsesink: also guard reseting subscribe callback with ifdefs
Stefan Kost [Wed, 2 Sep 2009 20:12:41 +0000 (23:12 +0300)]
pulsesink: also guard reseting subscribe callback with ifdefs

It is conditionaly set, so do the same when unsetting.

15 years agortpmanager: Fixed a copy & paste error
Peter Kjellerstedt [Tue, 1 Sep 2009 13:06:46 +0000 (15:06 +0200)]
rtpmanager: Fixed a copy & paste error

15 years agortpmanager: Removed unused variable priv
Peter Kjellerstedt [Tue, 1 Sep 2009 11:21:23 +0000 (13:21 +0200)]
rtpmanager: Removed unused variable priv

The variable priv was initialized in a lot of functions but then never
used for anything.

15 years agortpmanager: A little clean up
Peter Kjellerstedt [Tue, 1 Sep 2009 11:03:57 +0000 (13:03 +0200)]
rtpmanager: A little clean up

Make the code flow of gst_rtp_session_send_rtcp() and
gst_rtp_session_sync_rtcp() identical.

15 years agortpmanager: Make sure that used caps are not freed already (take 2)
Peter Kjellerstedt [Tue, 1 Sep 2009 10:47:51 +0000 (12:47 +0200)]
rtpmanager: Make sure that used caps are not freed already (take 2)

This reintroduces the fix for bug #593391. It also applies it in
gst_rtp_session_sync_rtcp() which has very similar code to
gst_rtp_session_send_rtcp().

15 years agojitterbuffer: make sure time does not go backwards
Wim Taymans [Tue, 1 Sep 2009 10:41:36 +0000 (12:41 +0200)]
jitterbuffer: make sure time does not go backwards

When we construct a timestamp that would result in a timestamp that is earlier
than when the packet was received, reset the skew calculation as this is
probably a sign that the sender restarted or paused.

Fixes #593354

15 years agortpmanager: Set caps in gst_rtp_session_send_rtcp() correctly again
Peter Kjellerstedt [Tue, 1 Sep 2009 09:32:41 +0000 (11:32 +0200)]
rtpmanager: Set caps in gst_rtp_session_send_rtcp() correctly again

The test for when to set an RTCP caps on the output pad in
gst_rtp_session_send_rtcp() accidentally got inverted in the last commit.

15 years agoqtdemux: Add support for QCELP audio
Sebastian Dröge [Tue, 1 Sep 2009 08:26:46 +0000 (10:26 +0200)]
qtdemux: Add support for QCELP audio

Fixes bug #593757.

15 years agoeffectv: Fix compilation with gcc 3
Peter Kjellerstedt [Mon, 31 Aug 2009 16:10:11 +0000 (18:10 +0200)]
effectv: Fix compilation with gcc 3

Recent changes in gst-plugins-good/gst/effectv prevents it from being compiled
with gcc 3. The problem is that the new code uses preprocessor conditionals
within a macro call which does not work with older versions of gcc.

Fixes bug #593688.

15 years agodocs: small clean-ups in -sections.txt
Tim-Philipp Müller [Mon, 31 Aug 2009 15:20:59 +0000 (16:20 +0100)]
docs: small clean-ups in -sections.txt

Remove duplicate entry for warptv; there is no taglibmux element.

15 years agortpmp4gdepay: consider (optional) auxiliary data when parsing
Mark Nauwelaerts [Thu, 27 Aug 2009 13:46:52 +0000 (15:46 +0200)]
rtpmp4gdepay: consider (optional) auxiliary data when parsing

15 years agortpmp4gdepay: handle broken AU-Index in non-interleaved streams
Mark Nauwelaerts [Thu, 27 Aug 2009 13:46:15 +0000 (15:46 +0200)]
rtpmp4gdepay: handle broken AU-Index in non-interleaved streams

In case of non-interleaved (= sequentially payloaded) streams,
the AU-Index serves little purpose (that is not already covered by
RTP fields).  (Broken) Payloaders might consider this field then
to be disregarded and have non spec compliant values, e.g. each
RTP packet having AU-Index 2 (rather than 0).  As such, ensure/force
simple sequential sending of non-interleaved streams.

15 years agoqtdemux: also extract ftyp info in push mode
Mark Nauwelaerts [Tue, 18 Aug 2009 15:17:28 +0000 (17:17 +0200)]
qtdemux: also extract ftyp info in push mode

15 years agoqtdemux: consider 3gpp style tag parsing in some more cases
Mark Nauwelaerts [Thu, 13 Aug 2009 14:11:59 +0000 (16:11 +0200)]
qtdemux: consider 3gpp style tag parsing in some more cases

3GPP specs define a number of tags along with precise layout. While these
are normally expected to be found in a container whose major brand is a
3GPP brand, this may also happen when a 3GPP brand is only mentioned as a
compatible brand.  Apply some checks, heuristic and fallbacks to extract
such tags as well.

15 years agowavparse: reflow exit, and fix some leaks
Mark Nauwelaerts [Tue, 11 Aug 2009 11:56:43 +0000 (13:56 +0200)]
wavparse: reflow exit, and fix some leaks

15 years agowavparse: push mode; add pad if needed so downstream gets EOS
Mark Nauwelaerts [Tue, 11 Aug 2009 11:54:56 +0000 (13:54 +0200)]
wavparse: push mode; add pad if needed so downstream gets EOS

15 years agowavparse: push mode; fix/improve chunk handling
Mark Nauwelaerts [Mon, 10 Aug 2009 14:19:03 +0000 (16:19 +0200)]
wavparse: push mode; fix/improve chunk handling

Handle large, invalid or otherwise unusual chunk sizes.
Verify some chunk sizes to be at least the size they are
expected to be and round up some sizes to even number for
e.g. offset administration, which must also be properly
tracked in push mode.

15 years agoavidemux: push mode; cater for unusual chunk sizes
Mark Nauwelaerts [Sat, 8 Aug 2009 19:54:00 +0000 (21:54 +0200)]
avidemux: push mode; cater for unusual chunk sizes

15 years agortpsession: use proper locking for pads and caps
Wim Taymans [Mon, 31 Aug 2009 14:34:14 +0000 (16:34 +0200)]
rtpsession: use proper locking for pads and caps

Use the sesion lock and shotdown variable to protect and ref the pads we are
going to push on.

fixes #561825

15 years agortpbin: whitespace fixes
Wim Taymans [Mon, 31 Aug 2009 14:33:26 +0000 (16:33 +0200)]
rtpbin: whitespace fixes

15 years agowavparse: clean up adapter properly
Tim-Philipp Müller [Mon, 31 Aug 2009 12:38:08 +0000 (13:38 +0100)]
wavparse: clean up adapter properly

Reflow code so we don't try to clear or re-use an already-freed adapter.

15 years agoflactag, wavparse: GstAdapter is not a GstObject
Tim-Philipp Müller [Mon, 31 Aug 2009 12:07:53 +0000 (13:07 +0100)]
flactag, wavparse: GstAdapter is not a GstObject

15 years agodocs: update plugin docs to git version
Tim-Philipp Müller [Mon, 31 Aug 2009 11:28:52 +0000 (12:28 +0100)]
docs: update plugin docs to git version

15 years agoflvdemux: Fix tests warning from setting a NULL index
Jan Schmidt [Mon, 31 Aug 2009 10:32:39 +0000 (11:32 +0100)]
flvdemux: Fix tests warning from setting a NULL index

Setting a null index in the tests was causing warnings by unreffing
NULL pointers. This is a bug exposed by a recent change in core, it
seems.

15 years agojitterbuffer: add slope estimation code and debug
Wim Taymans [Mon, 31 Aug 2009 11:02:16 +0000 (13:02 +0200)]
jitterbuffer: add slope estimation code and debug

Add some code to measure the sender speed vs the receiver speed. This can be
used to detect bursts.

15 years agojitterbuffer: reset skew when timestamps change
Wim Taymans [Mon, 31 Aug 2009 10:57:32 +0000 (12:57 +0200)]
jitterbuffer: reset skew when timestamps change

Refactor the jitterbuffer resync code.
Reset the skew correction when we detect a big timestamp discont.

See #593354

15 years agojitterbuffer: make sure time never goes invalid
Wim Taymans [Mon, 31 Aug 2009 10:47:15 +0000 (12:47 +0200)]
jitterbuffer: make sure time never goes invalid

Since the skew can be negative, we might end up with invalid timestamps. Check
for negative results and clamp to 0.

See #593354

15 years agoudpsink: Add ttl multicast property
Jarkko Palviainen [Mon, 31 Aug 2009 10:16:01 +0000 (12:16 +0200)]
udpsink: Add ttl multicast property

Add a new ttl-mc property to control the TTL on multicast addresses.

Fixes #588245

15 years agoudp: split out TTL and loop options
Jarkko Palviainen [Mon, 31 Aug 2009 10:13:07 +0000 (12:13 +0200)]
udp: split out TTL and loop options

Split setting the TTL and loop parameters in 2 methods as they are not related.
Fix setting the TTL correctly for multicast streams.

See #588245

15 years agortp: whitespace fixes
Wim Taymans [Thu, 27 Aug 2009 10:36:37 +0000 (12:36 +0200)]
rtp: whitespace fixes

15 years agovideobox: Correctly add to the docs
Sebastian Dröge [Fri, 14 Aug 2009 11:45:22 +0000 (13:45 +0200)]
videobox: Correctly add to the docs

15 years agovideobox: Split declarations into a header file and add autocrop stuff to the docs
Sebastian Dröge [Fri, 14 Aug 2009 11:40:21 +0000 (13:40 +0200)]
videobox: Split declarations into a header file and add autocrop stuff to the docs

15 years agovideobox: Reconfigure basetransform if something changes again
Sebastian Dröge [Fri, 14 Aug 2009 11:26:36 +0000 (13:26 +0200)]
videobox: Reconfigure basetransform if something changes again

For this invent a new lock and don't abuse the basetransform lock,
otherwise we'll end up in deadlocks.

15 years agovideobox: Add support for autocropping according to the caps
Stephen Jungels [Fri, 14 Aug 2009 11:15:57 +0000 (13:15 +0200)]
videobox: Add support for autocropping according to the caps

Fixes bug #582238.

15 years agortpsession: Make sure that used caps are not freed already
Sebastian Dröge [Sun, 30 Aug 2009 19:57:57 +0000 (21:57 +0200)]
rtpsession: Make sure that used caps are not freed already

Fixes bug #593391.

15 years agortp: Use new gst_iterator_new_single() for the internal linked pads iteration
Sebastian Dröge [Wed, 26 Aug 2009 15:02:45 +0000 (17:02 +0200)]
rtp: Use new gst_iterator_new_single() for the internal linked pads iteration

15 years agortpsession: Use iterate internal links instead of deprecated get internal links
Sebastian Dröge [Wed, 19 Aug 2009 14:57:05 +0000 (16:57 +0200)]
rtpsession: Use iterate internal links instead of deprecated get internal links