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.
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.
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.
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
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
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.
Sebastian Dröge [Thu, 10 Sep 2009 08:02:58 +0000 (10:02 +0200)]
oggdemux: Handle kate and cmml as sparse streams too
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.
Stefan Kost [Thu, 10 Sep 2009 06:43:28 +0000 (09:43 +0300)]
docs: tell a biit more about uri-decodebin and buffering
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.
Wim Taymans [Wed, 9 Sep 2009 16:24:15 +0000 (18:24 +0200)]
audioclock: add some more debug
Sebastian Dröge [Wed, 9 Sep 2009 14:44:24 +0000 (16:44 +0200)]
theoraenc: Print a debug message with supported formats
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.
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.
Benjamin Otte [Fri, 4 Sep 2009 18:23:52 +0000 (20:23 +0200)]
theora: Refactor the buffer copy code
Benjamin Otte [Fri, 4 Sep 2009 14:59:49 +0000 (16:59 +0200)]
theora: Split yuv_buffer creation into 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
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.
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)
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
Wim Taymans [Wed, 9 Sep 2009 14:17:02 +0000 (16:17 +0200)]
baseaudiosink: whitespace fixes
Wim Taymans [Wed, 9 Sep 2009 14:16:40 +0000 (16:16 +0200)]
ringbuffer: add more debug
Wim Taymans [Wed, 9 Sep 2009 08:25:33 +0000 (10:25 +0200)]
whitespace fixes
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
Tim-Philipp Müller [Tue, 8 Sep 2009 16:43:26 +0000 (17:43 +0100)]
ximagesink, xvimagesink: use new GstVideoSink::show_frame() vfunc
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()
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.
Havard Graff [Mon, 31 Aug 2009 18:24:22 +0000 (20:24 +0200)]
navigation: Fix compiler warning with MSVC
Fixes bug #594275.
Havard Graff [Mon, 31 Aug 2009 18:31:56 +0000 (20:31 +0200)]
basertpdepayload: fix event forwarding
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
Wim Taymans [Tue, 8 Sep 2009 11:02:46 +0000 (13:02 +0200)]
fix whitespace
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
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.
René Stadler [Sun, 6 Sep 2009 12:21:43 +0000 (15:21 +0300)]
ximagesink: 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
Sebastian Dröge [Sat, 5 Sep 2009 11:55:27 +0000 (13:55 +0200)]
introspection: Add *.gir and *.typelib to .gitignore
Sebastian Dröge [Sat, 5 Sep 2009 11:46:58 +0000 (13:46 +0200)]
introduction: Fix out-of-tree build
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
Sebastian Dröge [Sat, 5 Sep 2009 11:09:17 +0000 (13:09 +0200)]
audio: Remove debug echo
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
Sebastian Dröge [Sat, 5 Sep 2009 10:31:47 +0000 (12:31 +0200)]
introspection: Strip Gst prefix from all types/functions
Sebastian Dröge [Sat, 5 Sep 2009 09:49:41 +0000 (11:49 +0200)]
introspection: Fix build if gir-repository is not installed
Sebastian Dröge [Sat, 5 Sep 2009 09:37:14 +0000 (11:37 +0200)]
video: Add gobject-introspection support
Sebastian Dröge [Sat, 5 Sep 2009 09:35:34 +0000 (11:35 +0200)]
tag: Add gobject-introspection support
Sebastian Dröge [Sat, 5 Sep 2009 09:34:11 +0000 (11:34 +0200)]
sdp: Add gobject-introspection support
Sebastian Dröge [Sat, 5 Sep 2009 09:31:48 +0000 (11:31 +0200)]
libs: Add nodist headers and sources to the introspection files
Sebastian Dröge [Sat, 5 Sep 2009 09:28:59 +0000 (11:28 +0200)]
rtsp: Add gobject-introspection support
Sebastian Dröge [Sat, 5 Sep 2009 09:25:42 +0000 (11:25 +0200)]
rtp: Add gobject-introspection support
Sebastian Dröge [Sat, 5 Sep 2009 09:23:13 +0000 (11:23 +0200)]
riff: Add gobject-introspection support
Sebastian Dröge [Sat, 5 Sep 2009 09:20:51 +0000 (11:20 +0200)]
pbutils: Add gobject-introspection support
Sebastian Dröge [Sat, 5 Sep 2009 09:17:07 +0000 (11:17 +0200)]
netbuffer: Add gobject-introspection support
Sebastian Dröge [Sat, 5 Sep 2009 09:15:05 +0000 (11:15 +0200)]
interfaces: Add gobject-introspection support
Sebastian Dröge [Sat, 5 Sep 2009 09:04:19 +0000 (11:04 +0200)]
fft: 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
Sebastian Dröge [Sat, 5 Sep 2009 08:50:48 +0000 (10:50 +0200)]
audio: Add gobject-introspection support
Sebastian Dröge [Sat, 5 Sep 2009 08:40:21 +0000 (10:40 +0200)]
app: Add gobject-introspection support
Sebastian Dröge [Sat, 5 Sep 2009 08:20:24 +0000 (10:20 +0200)]
Automatic update of common submodule
From 00a859e to 19fa4f3
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.
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
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.
Wim Taymans [Thu, 3 Sep 2009 16:53:19 +0000 (18:53 +0200)]
audiortppay: add some debugging
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.
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
Wim Taymans [Thu, 3 Sep 2009 12:13:12 +0000 (14:13 +0200)]
rtppay: add some debugging
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.
Wim Taymans [Wed, 2 Sep 2009 11:13:54 +0000 (13:13 +0200)]
audiortppay: move function around
Wim Taymans [Wed, 2 Sep 2009 11:12:28 +0000 (13:12 +0200)]
audiortppay: fix sample duration calculation
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.
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.
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()
Tim-Philipp Müller [Thu, 3 Sep 2009 15:56:55 +0000 (16:56 +0100)]
Update common
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
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.
Wim Taymans [Wed, 2 Sep 2009 17:44:49 +0000 (19:44 +0200)]
basertppay: add macro to cast
Wim Taymans [Tue, 1 Sep 2009 16:26:52 +0000 (18:26 +0200)]
audiopayload: code cleanups
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.
Tim-Philipp Müller [Wed, 2 Sep 2009 23:14:02 +0000 (00:14 +0100)]
typefinding: move gio-based xdg mime typefinder from -bad to -base
Its purposes is mainly to avoid false positives (e.g. mp3 typefinder
reporting a 20% probability and somesuch). Won't be registered if
the gio plugin has been disabled via ./configure --disable-gio.
Tim-Philipp Müller [Tue, 1 Sep 2009 14:06:51 +0000 (15:06 +0100)]
subparse: GstAdapter is not a GstObject and should be freed with g_object_unref
Tim-Philipp Müller [Tue, 1 Sep 2009 14:02:37 +0000 (15:02 +0100)]
v4lsrc: fix timestamping for when we do not have a clock yet
Should fix #559049.
Tim-Philipp Müller [Tue, 1 Sep 2009 13:30:41 +0000 (14:30 +0100)]
v4lsrc: don't log not-yet-initialised integer value
Tim-Philipp Müller [Tue, 1 Sep 2009 13:28:48 +0000 (14:28 +0100)]
v4lsrc: avoid unnecessary run-time type checks in custom buffer finalize
And reflow code to be more indent friendly.
Jonas Holmberg [Tue, 1 Sep 2009 08:39:52 +0000 (10:39 +0200)]
basertppayload: Make instance init faster by not reading /dev/urandom 3 times
... which is the default seed when creating a new GRand. Because
GLib in older versions used buffered IO this would take a lot of time.
Instead use the global GRand for getting random numbers and keep the
three instance GRand for backward compatibility with a simple seed.
Fixes bug #593284.
Stefan Kost [Mon, 31 Aug 2009 19:48:01 +0000 (22:48 +0300)]
adder: improve caps filter functionality. Fixes #590146.
Also use the capsfilter if there is no src-peer as the caps constrain what
we can do. Don't create any_caps as a default, as we check for NULL to skip the
filtering. This is a (small) performance regression as we always intersect
otherwise.
Sebastian Dröge [Mon, 31 Aug 2009 09:10:55 +0000 (11:10 +0200)]
decodebin2: Post missing plugin messages before any error messages
Wim Taymans [Fri, 28 Aug 2009 17:06:57 +0000 (19:06 +0200)]
cddabasesrc: safely handle the indexes
Wim Taymans [Fri, 28 Aug 2009 17:06:44 +0000 (19:06 +0200)]
def: add new rtsp symbols
Wim Taymans [Fri, 28 Aug 2009 12:08:30 +0000 (14:08 +0200)]
basertppayload: whitespace fixes.
Marc-André Lureau [Thu, 27 Aug 2009 16:59:49 +0000 (18:59 +0200)]
Bug 593035 - set IN_CAPS for streamheader buffer
Sebastian Dröge [Wed, 26 Aug 2009 14:56:19 +0000 (16:56 +0200)]
playbin: The internally linked pad of the selector might be NULL in some cases
Sebastian Dröge [Wed, 26 Aug 2009 14:45:49 +0000 (16:45 +0200)]
playbin: Fix iterate internal linked pads functions for the stream selectors
This now used the new gst_iterator_new_single() function and as a side effect
fixes bug #592864.
Sebastian Dröge [Wed, 26 Aug 2009 07:08:53 +0000 (09:08 +0200)]
riff: Add support for AVF files
AVF is valid RIFF but has AVF0 has first fourcc instead of RIFF.
Fixes bug #593117.
Sebastian Dröge [Wed, 26 Aug 2009 07:08:12 +0000 (09:08 +0200)]
typefindfunctions: Detect AVF files as RIFF files too
AVF is valid RIFF but has AVF0 as first fourcc instead of RIFF.
Partially fixes bug #593117.
Sebastian Dröge [Fri, 21 Aug 2009 09:51:47 +0000 (11:51 +0200)]
audioresample: Add unit test for checking for timestamp drifts
This also checks for perfect timestamping and offsetting.
Sebastian Dröge [Fri, 21 Aug 2009 08:11:23 +0000 (10:11 +0200)]
audioresample: Fix drain processing
In case we have to convert internally don't process output length input samples
but history length input samples.
Sebastian Dröge [Fri, 21 Aug 2009 08:02:05 +0000 (10:02 +0200)]
audioresample: Improve debugging a bit in the unit test
Sebastian Dröge [Fri, 21 Aug 2009 08:00:49 +0000 (10:00 +0200)]
audioresample: On the first buffer we need discont handling
Otherwise we won't get upstream timestamps and everything and all
output buffers would have -1 timestamps.
Руслан Ижбулатов [Fri, 21 Aug 2009 04:23:39 +0000 (08:23 +0400)]
subparse: Remove dependency on regex.h as it's not used anyway
Fixes bug #592544.
Kipp Cannon [Fri, 21 Aug 2009 04:58:31 +0000 (06:58 +0200)]
audioresample: Fix buffer overflow when pushing the drain
Kipp Cannon [Fri, 21 Aug 2009 04:57:58 +0000 (06:57 +0200)]
audioresample: Fix timestamp drift
Fixes bug #591934.
David Schleef [Mon, 24 Aug 2009 18:34:35 +0000 (11:34 -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.