platform/upstream/gst-plugins-base.git
14 years ago0.10.24.3 pre-release
Jan Schmidt [Thu, 17 Sep 2009 00:20:45 +0000 (01:20 +0100)]
0.10.24.3 pre-release

14 years agovorbistag: don't ever return NULL in list of strings.
Michael Smith [Tue, 15 Sep 2009 22:23:49 +0000 (15:23 -0700)]
vorbistag: don't ever return NULL in list of strings.

14 years agoplaysink: Expose mute,volume,vis-plugin and font-desc properties
Edward Hervey [Mon, 14 Sep 2009 10:18:33 +0000 (12:18 +0200)]
playsink: Expose mute,volume,vis-plugin and font-desc properties

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

14 years agoGstPlaySink: Expose 'reconfigure' as an action signal.
Edward Hervey [Wed, 9 Sep 2009 10:42:04 +0000 (12:42 +0200)]
GstPlaySink: Expose 'reconfigure' as an action signal.

14 years agoGstPlaySink: Expose flags as a gobject property.
Edward Hervey [Wed, 9 Sep 2009 09:17:28 +0000 (11:17 +0200)]
GstPlaySink: Expose flags as a gobject property.

14 years agoplayback: Register playsink as an element.
Edward Hervey [Tue, 8 Sep 2009 09:35:20 +0000 (11:35 +0200)]
playback: Register playsink as an element.

This allows using playsink from outside the playback plugin.

Add code to be able to request the sink pads using standard GStreamer API.

TODO : expose GObject properties/signals.

14 years agodocs: add new gst_stream_volume_get_type to types file
Stefan Kost [Sat, 12 Sep 2009 11:55:06 +0000 (14:55 +0300)]
docs: add new gst_stream_volume_get_type to types file

This is needs to get Gobject features to show up in the docs.

14 years agooggdemux: Fix duration calculation for truncated files
David Schleef [Sat, 12 Sep 2009 22:48:11 +0000 (15:48 -0700)]
oggdemux: Fix duration calculation for truncated files

If the last page of a stream has a granulepos of -1, that is,
it doesn't complete a packet, we need to continue to search
for the last granulepos.

14 years agointrospection: Build pkgconfig before all libraries and set PKG_CONFIG_PATH
Sebastian Dröge [Sat, 12 Sep 2009 12:01:20 +0000 (14:01 +0200)]
introspection: Build pkgconfig before all libraries and set PKG_CONFIG_PATH

This way g-ir-scanner can find the gstreamer-*-0.10 pkg-config files.

14 years agotheoraenc: Fix a string leak in _getcaps()
Jan Schmidt [Sat, 12 Sep 2009 01:23:07 +0000 (02:23 +0100)]
theoraenc: Fix a string leak in _getcaps()

14 years ago0.10.24.2 pre-release
Jan Schmidt [Fri, 11 Sep 2009 22:49:11 +0000 (23:49 +0100)]
0.10.24.2 pre-release

14 years agocheck: Improve audioresample test
Jan Schmidt [Fri, 11 Sep 2009 20:44:18 +0000 (21:44 +0100)]
check: Improve audioresample test

Make the audioresample test work with CK_FORK=no, and
turn a g_print into a GST_INFO.

14 years agovideotestsrc: Fix crashes with even widths
Benjamin Otte [Fri, 11 Sep 2009 20:09:06 +0000 (22:09 +0200)]
videotestsrc: Fix crashes with even widths

The fix for green lines introduced by commit
35fdfcc6258c66ba462a4330a35deffb0f2b501d caused invalid memory accesses
for even widths. This patch fixes it.

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

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

14 years agointerfaces: API: Add GstStreamVolume interface
Sebastian Dröge [Fri, 11 Sep 2009 12:54:17 +0000 (14:54 +0200)]
interfaces: API: Add GstStreamVolume interface

Fixes bug #567660.

14 years agortsp: properly fix the HTTP manual mode
Wim Taymans [Fri, 11 Sep 2009 10:20:10 +0000 (12:20 +0200)]
rtsp: properly fix the HTTP manual mode

When we're not parsing HTTP, return EPARSE when we get an HTTP
message.

14 years agomixertrack: add READONLY and WRITEONLY flags
Tim-Philipp Müller [Fri, 11 Sep 2009 09:16:15 +0000 (10:16 +0100)]
mixertrack: add READONLY and WRITEONLY flags

Should really have been READABLE and WRITABLE, but those are hard to
add whilst maintaining backwards compatibility. See #343615.

API: GST_MIXER_TRACK_READONLY
API: GST_MIXER_TRACK_WRITEONLY

14 years agoringbuffer: fix build against core that has debugging disabled
Tim-Philipp Müller [Fri, 11 Sep 2009 09:02:54 +0000 (10:02 +0100)]
ringbuffer: fix build against core that has debugging disabled

The macro is called GST_DISABLE_GST_DEBUG, not GST_DISABLE_DEBUG.

14 years agovideorate: Add Since marker for the new skip-to-first property
Sebastian Dröge [Fri, 11 Sep 2009 05:38:28 +0000 (07:38 +0200)]
videorate: Add Since marker for the new skip-to-first property

14 years agovideorate: Make videorate work with a live source
Olivier Crête [Fri, 11 Sep 2009 05:36:10 +0000 (07:36 +0200)]
videorate: Make videorate work with a live source

Add a property that makes videorate skip to the first buffer it
receives instead of padding the stream from segment start to the
first real buffer.

Fixes bug #567928.

14 years agofft: Mark one function as const and add notes that the structs should be private...
Sebastian Dröge [Fri, 11 Sep 2009 05:20:49 +0000 (07:20 +0200)]
fft: Mark one function as const and add notes that the structs should be private in 0.11

14 years agoringbuffer: add human readable format names when logging
Stefan Kost [Thu, 10 Sep 2009 19:28:19 +0000 (22:28 +0300)]
ringbuffer: add human readable format names when logging

Add string array with human readable names for format and type to be used in log
statements.

14 years agobasertppay: don't print RTP timestamps as clocktime
Wim Taymans [Thu, 10 Sep 2009 16:19:36 +0000 (18:19 +0200)]
basertppay: don't print RTP timestamps as clocktime

Don't try to print the RTP timestamp as a GstClockTime, it's just a guint32.

Fixes #594757

14 years agoplaybin(2): Document that the volume property uses a linear scale
Sebastian Dröge [Thu, 10 Sep 2009 14:55:31 +0000 (16:55 +0200)]
playbin(2): Document that the volume property uses a linear scale

Fixes bug #571610.

14 years agortsp: don't return EPARSE
Wim Taymans [Thu, 10 Sep 2009 12:04:53 +0000 (14:04 +0200)]
rtsp: don't return EPARSE

Don't blindly return EPARSE when http mode is disabled.
Restore old http mode after temporarily setting it to TRUE.

14 years agobaseaudiosink: add ugly backward compat hack
Wim Taymans [Thu, 10 Sep 2009 10:38:16 +0000 (12:38 +0200)]
baseaudiosink: add ugly backward compat hack

Check for pulsesink < 0.10.17 because it includes code that is now included in
baseaudiosink. Disable that code in baseaudiosink to be compatible with the
older version.

14 years agoffmpegcolorspace: Handle YVU9/YUV9 conversion with odd widths
Benjamin Otte [Thu, 10 Sep 2009 08:56:29 +0000 (10:56 +0200)]
ffmpegcolorspace: Handle YVU9/YUV9 conversion with odd widths

A green border could be visible when converting to Y444 or RGB, because
the last chroma samples weren't copied correctly

14 years agovideotestsrc: Fix YVU9 and YUV9
Benjamin Otte [Thu, 10 Sep 2009 08:43:37 +0000 (10:43 +0200)]
videotestsrc: Fix YVU9 and YUV9

- Buffer sizes were computed different from ffmpegcolorspace
- Green bar on right size for widths not divisable by 4

14 years agovideotestsrc: Fix image for odd widths in some formats
Benjamin Otte [Thu, 10 Sep 2009 08:08:28 +0000 (10:08 +0200)]
videotestsrc: Fix image for odd widths in some formats

videotestsrc rounds chroma down. This causes it to omit the last chroma
value completely for odd widths when the chroma is downsampled.
This patch special cases the last pixel to not be rounded down.

14 years agooggdemux: Handle kate and cmml as sparse streams too
Sebastian Dröge [Thu, 10 Sep 2009 08:02:58 +0000 (10:02 +0200)]
oggdemux: Handle kate and cmml as sparse streams too

14 years agooggdemux: Better handling of sparse streams by sending segment updates
Tim-Philipp Müller [Thu, 10 Sep 2009 08:00:16 +0000 (10:00 +0200)]
oggdemux: Better handling of sparse streams by sending segment updates

Fixes bug #397419.

14 years agodocs: tell a biit more about uri-decodebin and buffering
Stefan Kost [Thu, 10 Sep 2009 06:43:28 +0000 (09:43 +0300)]
docs: tell a biit more about uri-decodebin and buffering

14 years agobaseaudiosink: take clock time in setcaps
Wim Taymans [Wed, 9 Sep 2009 16:24:44 +0000 (18:24 +0200)]
baseaudiosink: take clock time in setcaps

Take the time of the clock so that the last_time field is set. This is important
for sinks that restart their internal ringbuffer after a caps change and need to
know the last know position.

14 years agoaudioclock: add some more debug
Wim Taymans [Wed, 9 Sep 2009 16:24:15 +0000 (18:24 +0200)]
audioclock: add some more debug

14 years agotheoraenc: Print a debug message with supported formats
Sebastian Dröge [Wed, 9 Sep 2009 14:44:24 +0000 (16:44 +0200)]
theoraenc: Print a debug message with supported formats

14 years agotheora: Check supported input formats in getcaps function
Benjamin Otte [Mon, 7 Sep 2009 15:29:38 +0000 (17:29 +0200)]
theora: Check supported input formats in getcaps function

We want to fail early when an older libtheora release is used that does
not support Y444 or Y42B formats, so use a getcaps function that does
this.

14 years agotheora: Implement support in theoraenc for Y444 and Y42B
Benjamin Otte [Fri, 4 Sep 2009 19:37:04 +0000 (21:37 +0200)]
theora: Implement support in theoraenc for Y444 and Y42B

Fixes bug #594165.

14 years agotheora: Refactor the buffer copy code
Benjamin Otte [Fri, 4 Sep 2009 18:23:52 +0000 (20:23 +0200)]
theora: Refactor the buffer copy code

14 years agotheora: Split yuv_buffer creation into its own function
Benjamin Otte [Fri, 4 Sep 2009 14:59:49 +0000 (16:59 +0200)]
theora: Split yuv_buffer creation into its own function

14 years agotheora: Split out buffer resize in its own function
Benjamin Otte [Fri, 4 Sep 2009 14:49:08 +0000 (16:49 +0200)]
theora: Split out buffer resize in its own function

14 years agotheora: Add assertions that functions don't fail
Benjamin Otte [Fri, 4 Sep 2009 12:06:09 +0000 (14:06 +0200)]
theora: Add assertions that functions don't fail

Some functions in libtheora can return an error, but that error cannot
ever happen inside theoraenc. In those cases assert that it doesn't.

14 years agoseek: make stop state configurable
Wim Taymans [Wed, 9 Sep 2009 14:21:57 +0000 (16:21 +0200)]
seek: make stop state configurable

Make it easy to experiment with different stop states (NULL and READY)

14 years agobaseaudiosink: correct for clock reset
Wim Taymans [Wed, 9 Sep 2009 14:19:32 +0000 (16:19 +0200)]
baseaudiosink: correct for clock reset

When going to NULL, we reset the ringbuffer so that it starts beck from 0. We
also make sure that the clock is updated with the elapsed time so that it
alsways increments even when the ringbuffer goes back to 0. When this happened
we need to adjust the sample position for the reset ringbuffer.

Fixes #594136

14 years agobaseaudiosink: whitespace fixes
Wim Taymans [Wed, 9 Sep 2009 14:17:02 +0000 (16:17 +0200)]
baseaudiosink: whitespace fixes

14 years agoringbuffer: add more debug
Wim Taymans [Wed, 9 Sep 2009 14:16:40 +0000 (16:16 +0200)]
ringbuffer: add more debug

14 years agowhitespace fixes
Wim Taymans [Wed, 9 Sep 2009 08:25:33 +0000 (10:25 +0200)]
whitespace fixes

14 years agovideosink: add "show-preroll-frame" property
Tim-Philipp Müller [Tue, 8 Sep 2009 16:59:30 +0000 (17:59 +0100)]
videosink: add "show-preroll-frame" property

Add a property to disable rendering of video frames during preroll. This
will only work for videosinks that use the new ::show_frame() vfunc instead
of overriding basesink's preroll and render vfuncs directly.

API: GstVideoSink:show-preroll-frame

14 years agoximagesink, xvimagesink: use new GstVideoSink::show_frame() vfunc
Tim-Philipp Müller [Tue, 8 Sep 2009 16:43:26 +0000 (17:43 +0100)]
ximagesink, xvimagesink: use new GstVideoSink::show_frame() vfunc

14 years agovideo: add GstVideoSinkClass::show_frame()
Tim-Philipp Müller [Tue, 8 Sep 2009 17:19:19 +0000 (18:19 +0100)]
video: add GstVideoSinkClass::show_frame()

Add ::show_frame() vfunc which maps to basesink's ::preroll and ::render
vfuncs and add some gtk-doc chunks.

API: GstVideoSinkClass::show_frame()

14 years agonavigation: don't do stuff inside g_return_val_if_fail() statements
Tim-Philipp Müller [Tue, 8 Sep 2009 15:00:47 +0000 (16:00 +0100)]
navigation: don't do stuff inside g_return_val_if_fail() statements

Or it will all fall apart if someone compiles with -DG_DISABLE_ASSERT.

14 years agonavigation: Fix compiler warning with MSVC
Havard Graff [Mon, 31 Aug 2009 18:24:22 +0000 (20:24 +0200)]
navigation: Fix compiler warning with MSVC

Fixes bug #594275.

14 years agobasertpdepayload: fix event forwarding
Havard Graff [Mon, 31 Aug 2009 18:31:56 +0000 (20:31 +0200)]
basertpdepayload: fix event forwarding

14 years agortcpbuffer: add missing break in handling of GST_RTCP_TYPE_PSFB
Havard Graff [Mon, 31 Aug 2009 18:36:37 +0000 (20:36 +0200)]
rtcpbuffer: add missing break in handling of GST_RTCP_TYPE_PSFB

Fixes #594258

14 years agofix whitespace
Wim Taymans [Tue, 8 Sep 2009 11:02:46 +0000 (13:02 +0200)]
fix whitespace

14 years agobaseaudiosrc: improve slave skew resync
Håvard Graff [Tue, 8 Sep 2009 10:59:20 +0000 (12:59 +0200)]
baseaudiosrc: improve slave skew resync

The old one did the mistake of not actually advancing the ringbuffer, it just
adjusted the segbase, introducing the whole lenght of the ringbuffer as an
extra delay in the pipeline.

Also make sure that the resync can never go back in time, producing the same
timestamps that has already been produced, as this can cause severe problems
for sinks and other synching mechanisms.

Fixes #594256

14 years agotypefinding: disable typefinder for headerless flac
Tim-Philipp Müller [Mon, 7 Sep 2009 16:13:12 +0000 (17:13 +0100)]
typefinding: disable typefinder for headerless flac

Disable headerless flac typefinder as long as it happily typefinds anything
including /dev/urandom as flac and as long as it's not particularly useful
given that such streams don't really exist in the wild.

Also fix up some comments so that gtk-doc doesn't complain about them.

14 years agoximagesink: fix small memory leak when setting window title
René Stadler [Sun, 6 Sep 2009 12:21:43 +0000 (15:21 +0300)]
ximagesink: fix small memory leak when setting window title

14 years agoxvimagesink: fix small memory leak when setting window title
René Stadler [Sat, 5 Sep 2009 22:42:42 +0000 (01:42 +0300)]
xvimagesink: fix small memory leak when setting window title

14 years agointrospection: Add *.gir and *.typelib to .gitignore
Sebastian Dröge [Sat, 5 Sep 2009 11:55:27 +0000 (13:55 +0200)]
introspection: Add *.gir and *.typelib to .gitignore

14 years agointroduction: Fix out-of-tree build
Sebastian Dröge [Sat, 5 Sep 2009 11:46:58 +0000 (13:46 +0200)]
introduction: Fix out-of-tree build

14 years agortsp: Fix introspection build by ordering sources/headers in dependency order
Sebastian Dröge [Sat, 5 Sep 2009 11:13:23 +0000 (13:13 +0200)]
rtsp: Fix introspection build by ordering sources/headers in dependency order

14 years agoaudio: Remove debug echo
Sebastian Dröge [Sat, 5 Sep 2009 11:09:17 +0000 (13:09 +0200)]
audio: Remove debug echo

14 years agoaudio: Fix build of introspection data by using dependency order for the headers...
Sebastian Dröge [Sat, 5 Sep 2009 11:08:19 +0000 (13:08 +0200)]
audio: Fix build of introspection data by using dependency order for the headers/sources

14 years agointrospection: Strip Gst prefix from all types/functions
Sebastian Dröge [Sat, 5 Sep 2009 10:31:47 +0000 (12:31 +0200)]
introspection: Strip Gst prefix from all types/functions

14 years agointrospection: Fix build if gir-repository is not installed
Sebastian Dröge [Sat, 5 Sep 2009 09:49:41 +0000 (11:49 +0200)]
introspection: Fix build if gir-repository is not installed

14 years agovideo: Add gobject-introspection support
Sebastian Dröge [Sat, 5 Sep 2009 09:37:14 +0000 (11:37 +0200)]
video: Add gobject-introspection support

14 years agotag: Add gobject-introspection support
Sebastian Dröge [Sat, 5 Sep 2009 09:35:34 +0000 (11:35 +0200)]
tag: Add gobject-introspection support

14 years agosdp: Add gobject-introspection support
Sebastian Dröge [Sat, 5 Sep 2009 09:34:11 +0000 (11:34 +0200)]
sdp: Add gobject-introspection support

14 years agolibs: Add nodist headers and sources to the introspection files
Sebastian Dröge [Sat, 5 Sep 2009 09:31:48 +0000 (11:31 +0200)]
libs: Add nodist headers and sources to the introspection files

14 years agortsp: Add gobject-introspection support
Sebastian Dröge [Sat, 5 Sep 2009 09:28:59 +0000 (11:28 +0200)]
rtsp: Add gobject-introspection support

14 years agortp: Add gobject-introspection support
Sebastian Dröge [Sat, 5 Sep 2009 09:25:42 +0000 (11:25 +0200)]
rtp: Add gobject-introspection support

14 years agoriff: Add gobject-introspection support
Sebastian Dröge [Sat, 5 Sep 2009 09:23:13 +0000 (11:23 +0200)]
riff: Add gobject-introspection support

14 years agopbutils: Add gobject-introspection support
Sebastian Dröge [Sat, 5 Sep 2009 09:20:51 +0000 (11:20 +0200)]
pbutils: Add gobject-introspection support

14 years agonetbuffer: Add gobject-introspection support
Sebastian Dröge [Sat, 5 Sep 2009 09:17:07 +0000 (11:17 +0200)]
netbuffer: Add gobject-introspection support

14 years agointerfaces: Add gobject-introspection support
Sebastian Dröge [Sat, 5 Sep 2009 09:15:05 +0000 (11:15 +0200)]
interfaces: Add gobject-introspection support

14 years agofft: Add gobject-introspection support
Sebastian Dröge [Sat, 5 Sep 2009 09:04:19 +0000 (11:04 +0200)]
fft: Add gobject-introspection support

14 years agocdda: Add gobject-introspection support
Sebastian Dröge [Sat, 5 Sep 2009 09:01:44 +0000 (11:01 +0200)]
cdda: Add gobject-introspection support

This is disabled for now until gobject-introspection is fixed

14 years agoaudio: Add gobject-introspection support
Sebastian Dröge [Sat, 5 Sep 2009 08:50:48 +0000 (10:50 +0200)]
audio: Add gobject-introspection support

14 years agoapp: Add gobject-introspection support
Sebastian Dröge [Sat, 5 Sep 2009 08:40:21 +0000 (10:40 +0200)]
app: Add gobject-introspection support

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

From 00a859e to 19fa4f3

14 years agotypefind: fix midi typefinding
Wim Taymans [Fri, 4 Sep 2009 13:48:06 +0000 (15:48 +0200)]
typefind: fix midi typefinding

We already have a audio/midi typefinder so don't override it with the midi in
RIFF typefinder or else we fail to detect plain midi files.

14 years agouridecodebin: do buffering for more uris
Wim Taymans [Fri, 4 Sep 2009 09:29:55 +0000 (11:29 +0200)]
uridecodebin: do buffering for more uris

Add ssh://, ftp://, sftp://, myth:// to the list of uris that require
buffering.

Fixes #594020

14 years agotypefindfunctions: Add typefinder for Midi inside RIFF
Sebastian Dröge [Fri, 4 Sep 2009 05:36:10 +0000 (07:36 +0200)]
typefindfunctions: Add typefinder for Midi inside RIFF

This is a standard Midi file format that should be supported by
all Midi decoders and also has the mimetype audio/mid according to
the Midi specification homepage.

Fixes bug #594094.

14 years agoaudiortppay: add some debugging
Wim Taymans [Thu, 3 Sep 2009 16:53:19 +0000 (18:53 +0200)]
audiortppay: add some debugging

14 years agoaudiortppay: handle gaps
Wim Taymans [Thu, 3 Sep 2009 15:53:47 +0000 (17:53 +0200)]
audiortppay: handle gaps

Add various conversion functions between time<->bytes<->rtptime that will be
used later on.
Refactor the min/max packet length code so that it can be used for both
sample/frame based payloaders. Cache the returned values.
code cleanups.
When we discover a DISCONT buffer, make the outgoing RTP timestamps have the
same gap as the GStreamer timestamps gap.

14 years agoaudiortppay: fix frame duration calculations
Wim Taymans [Thu, 3 Sep 2009 12:13:44 +0000 (14:13 +0200)]
audiortppay: fix frame duration calculations

Fix the calculation of the frame duration and rtp timestamps.
Add some debugging

14 years agortppay: add some debugging
Wim Taymans [Thu, 3 Sep 2009 12:13:12 +0000 (14:13 +0200)]
rtppay: add some debugging

14 years agoaudiortppay: use offsets for RTP timestamps
Wim Taymans [Wed, 2 Sep 2009 17:49:57 +0000 (19:49 +0200)]
audiortppay: use offsets for RTP timestamps

Have a custom sample/frame function to generate an offset that the base class
will use for generating RTP timestamps. This results in perfect RTP timestamps
on the output buffers.
Refactor setting metadata on output buffers.
Add some more functionality to _flush().
Handle DISCONT on the input buffers and set the marker bit and DISCONT flag on
the next outgoing buffer.
Flush the pending data on EOS.

14 years agoaudiortppay: move function around
Wim Taymans [Wed, 2 Sep 2009 11:13:54 +0000 (13:13 +0200)]
audiortppay: move function around

14 years agoaudiortppay: fix sample duration calculation
Wim Taymans [Wed, 2 Sep 2009 11:12:28 +0000 (13:12 +0200)]
audiortppay: fix sample duration calculation

14 years agoaudiortppay: more refactoring
Wim Taymans [Wed, 2 Sep 2009 10:24:22 +0000 (12:24 +0200)]
audiortppay: more refactoring

Unify the sample/frame buffer handling code by making the functions plugable.

14 years agoaudiortppayload: refactor some more
Wim Taymans [Wed, 2 Sep 2009 10:03:27 +0000 (12:03 +0200)]
audiortppayload: refactor some more

Refactor getting the packet min/max size and alignment code.
Refactor converting bytes to time.
change some variable to something shorter.

14 years agoaudiortppayload: refactor and cleanup
Wim Taymans [Wed, 2 Sep 2009 08:46:30 +0000 (10:46 +0200)]
audiortppayload: refactor and cleanup

Always use the adapter when we need to fragment the incomming buffer. Use more
modern adapter functions to avoid malloc and memcpy. The overall result is that
the code looks cleaner while it should be equally fast and in some case avoid a
memcpy and malloc.
Use the adapter timestamping functions for more precise timestamps in case of
weird disconts.
Cache some values instead of recalculating them.
Add gst_base_rtp_audio_payload_flush() to flush a certain amount of bytes from
the internal adapter.

API: GstBaseRTPAudioPayload::gst_base_rtp_audio_payload_flush()

14 years agoUpdate common
Tim-Philipp Müller [Thu, 3 Sep 2009 15:56:55 +0000 (16:56 +0100)]
Update common

14 years agobasertppay: add property to disable perfect RTP time
Wim Taymans [Thu, 3 Sep 2009 09:29:23 +0000 (11:29 +0200)]
basertppay: add property to disable perfect RTP time

Add a property to disable the generation of perfect RTP timestamps. By default
it is active.

API: GstBaseRTPPayload::perfect-rtptime

14 years agobasertppay: allow subclasses to influence RTP time
Wim Taymans [Wed, 2 Sep 2009 17:47:26 +0000 (19:47 +0200)]
basertppay: allow subclasses to influence RTP time

Allow subclasses to use the OFFSET field on RTP buffers to influence the way in
which RTP timestamps are generated. Usually timestamps are created from the
GStreamer timestamps on the buffer, which could result in imperfect RTP
timestamps.

14 years agobasertppay: add macro to cast
Wim Taymans [Wed, 2 Sep 2009 17:44:49 +0000 (19:44 +0200)]
basertppay: add macro to cast

14 years agoaudiopayload: code cleanups
Wim Taymans [Tue, 1 Sep 2009 16:26:52 +0000 (18:26 +0200)]
audiopayload: code cleanups

14 years agoaudiortppayload: don't check adapter
Wim Taymans [Tue, 1 Sep 2009 16:08:14 +0000 (18:08 +0200)]
audiortppayload: don't check adapter

the adapter is never NULL so we don't need to check it.
Use _scale functions to avoid overflows.