Tim-Philipp Müller [Tue, 5 May 2009 11:27:21 +0000 (12:27 +0100)]
configure: make gdk-pixbuf plugin depend only on gdk-pixbuf, not gtk+
Wim Taymans [Mon, 4 May 2009 16:55:12 +0000 (18:55 +0200)]
rtspsrc: Fix find_stream_by_* functions
Fix various version of find_stream_by_* by not trying to convert an int to a
pointer and vice versa, for portability reasons.
Fixes #581333
Chris Winter [Mon, 4 May 2009 16:32:05 +0000 (18:32 +0200)]
rtspsrc: fix dummy nat packet logic
Fix a typo in the dummy NAT packet sending code.
Fixes #581329
Mark Nauwelaerts [Thu, 30 Apr 2009 08:24:27 +0000 (10:24 +0200)]
rtspsrc: avoid errors after server eof
Server eof (e.g. connection closed) is announced as connection closed,
so better record state and act accordingly to prevent (read/write)
errors during subsequent teardown/cleanup sequences. #Fixes 580851.(c).
Mark Nauwelaerts [Thu, 30 Apr 2009 08:19:27 +0000 (10:19 +0200)]
rtspsrc: also set base_time on src after flush
timestamps following flush/seek should be consistent between
UDP and TCP interleaved case. Fixes #580851.(b).
Mark Nauwelaerts [Thu, 30 Apr 2009 08:17:23 +0000 (10:17 +0200)]
rtspsrc: sanity checks on range info
A max range that overflows should not be trusted,
nor should a max range that equals the min range.
Fixes #580851.(a).
Wim Taymans [Mon, 4 May 2009 14:16:54 +0000 (16:16 +0200)]
rtspsrc: use SKIP flag to use SCALE headers
We can use the SKIP seek flag to instruct the server to send data faster then
normal but with the same bandwidth.
Fixes #537609
Alessandro Decina [Mon, 4 May 2009 12:19:22 +0000 (14:19 +0200)]
speexdec: make speex_dec_convert work with same-format values when no data has been decoded.
Sebastian Dröge [Mon, 4 May 2009 10:43:42 +0000 (12:43 +0200)]
flac: Implement preset interface
Sebastian Dröge [Mon, 4 May 2009 10:41:56 +0000 (12:41 +0200)]
speex: Implement preset interface
Sebastian Dröge [Mon, 4 May 2009 10:40:12 +0000 (12:40 +0200)]
wavpack: Implement preset interface
Wim Taymans [Mon, 4 May 2009 10:35:19 +0000 (12:35 +0200)]
qtdemux: use binary search for index
Use the new binary search method for finding the right index entry faster.
Wim Taymans [Mon, 4 May 2009 09:26:56 +0000 (11:26 +0200)]
videobox: draw the complete U and V planes
Round up the scaled U and V width and height so that we always draw the correct
amount of pixels to fill the complete image.
Fixes #569611
Wim Taymans [Fri, 1 May 2009 17:35:11 +0000 (19:35 +0200)]
qtdemux: add some more micro optimisations
Wim Taymans [Thu, 30 Apr 2009 16:41:44 +0000 (18:41 +0200)]
qtdemux: micro optimize qtdemux a little
Sprinkle some G_LIKELY around.
Avoid traversing and dumping the tree when debugging is not activated.
Wim Taymans [Thu, 30 Apr 2009 12:22:27 +0000 (14:22 +0200)]
qtdemux: add support for subtitle pictures
Add support for subtitle pictures.
Fixes #568278.
Wim Taymans [Thu, 30 Apr 2009 08:32:39 +0000 (10:32 +0200)]
pulsesink: make sure we always signal waiters
Always signal the waiters in the async callbacks. Especially for the volume
callbacks since this might cause deadlocks.
Wim Taymans [Wed, 29 Apr 2009 16:09:07 +0000 (18:09 +0200)]
rtspsrc: release state lock before stopping task
We need to release the state lock before trying to wait for the task to end
because the task might also take the lock.
Fixes #577671
Hans de Goede [Wed, 29 Apr 2009 10:19:27 +0000 (12:19 +0200)]
qtdemux: handle ac-3 audio
fix demuxing of m4v streams with ac-3 audio
Fixes #580554
Sebastian Dröge [Wed, 29 Apr 2009 09:12:36 +0000 (11:12 +0200)]
flacenc: Use the tag merge mode that was set on the interface for merging tag events
Wim Taymans [Sat, 25 Apr 2009 07:43:38 +0000 (09:43 +0200)]
udpsrc: fix getaddrinfo error reporting
getaddrinfo errors should be reported with gai_strerror instead of errno as
spotted by MikeS.
Wim Taymans [Mon, 27 Apr 2009 08:08:39 +0000 (10:08 +0200)]
g726pay: fix compilation
Wim Taymans [Mon, 27 Apr 2009 08:02:06 +0000 (10:02 +0200)]
g726pay: add RFC compliant packetizing
Shuffle the input bits according to RFC 3551 for G726 payloads.
Add option to force the previous behaviour.
Fixes #567140
Wim Taymans [Mon, 27 Apr 2009 07:59:54 +0000 (09:59 +0200)]
g726depay: add debug category
Add a debugging category, add some comments and remove _peek_parent().
Tim-Philipp Müller [Sun, 26 Apr 2009 14:59:50 +0000 (15:59 +0100)]
id3v2mux: we need taglib 1.5 for ID3v2::RelativeVolumeFrame::setIdentification
Bump taglib requirement.
Tim-Philipp Müller [Fri, 24 Apr 2009 01:11:28 +0000 (02:11 +0100)]
id3demux: add unit test file for unsynced id3 tags
Tim-Philipp Müller [Fri, 24 Apr 2009 00:51:35 +0000 (01:51 +0100)]
id3demux: parse unsynchronised tags properly
We didn't handle unsynchronization at all up to now, which might have
caused frames to not be extracted - esp. frames after an APIC picture
frame. Fixes #577468.
Tim-Philipp Müller [Fri, 24 Apr 2009 00:01:53 +0000 (01:01 +0100)]
id3demux: pass the right size value for size of all frames to the parser
Frame data size is tag size adjusted for size of the tag header and
footer, not tag size including header and footer.
Patrick Radizi [Wed, 22 Apr 2009 13:24:55 +0000 (15:24 +0200)]
rtspsrc: fix some more pad leaks
Fix some pad leaks.
See #577318.
Jan Schmidt [Tue, 21 Apr 2009 21:12:45 +0000 (22:12 +0100)]
Automatic update of common submodule
From b3941ea to 6ab11d1
Michael Smith [Tue, 21 Apr 2009 21:02:01 +0000 (14:02 -0700)]
qtdemux: override caps based on data from ESDS atoms in mpeg4.
If the codec is actually something else (e.g. mjpeg) change the caps to
match when parsing the ESDS atom.
Also, for AAC, override rate and channels with correct values read from
ESDS, since the rate/channels values elsewhere are often wrong.
Tim-Philipp Müller [Mon, 20 Apr 2009 18:32:00 +0000 (19:32 +0100)]
jpegdec: fix warning for still images by not trying to divide by 0
Don't pass a 0 divisor to gst_util_uint64_scale(), or it will complain
in the single image case where fps=0/1 (are we supposed to differentiate
between no fps=still image and fps=0/1=variable rate here btw?)
Jan Schmidt [Mon, 20 Apr 2009 16:25:34 +0000 (17:25 +0100)]
udp: Fix a simple typo in the previous commit
Use #ifdef instead of #if, to fix the build
Andy Wingo [Mon, 20 Apr 2009 13:48:21 +0000 (15:48 +0200)]
fix format string in pngdec
* ext/libpng/gstpngdec.c: Fix size_t vs unsigned int format in error message.
Andy Wingo [Mon, 20 Apr 2009 13:46:03 +0000 (15:46 +0200)]
only use struct ip_mreqn if it is detected
* configure.ac: Make an explicit check for struct ip_mreqn.
* gst/udp/gstudpnetutils.c: Use HAVE_IP_MREQN instead of the ad-hoc checks.
Mark Nauwelaerts [Mon, 20 Apr 2009 11:45:32 +0000 (13:45 +0200)]
Fix push mode buffering sanity check to actually fit the description.
Edward Hervey [Sat, 18 Apr 2009 17:11:06 +0000 (19:11 +0200)]
rtph263pay: And let's not forget to remove the unused variable.
Edward Hervey [Sat, 18 Apr 2009 16:50:32 +0000 (18:50 +0200)]
rtph263pay: Remove dead assignments, the variables are never read after.
Edward Hervey [Sat, 18 Apr 2009 16:49:49 +0000 (18:49 +0200)]
rtpmp4vpay: Remove dead assignment. The value is never read after.
Edward Hervey [Sat, 18 Apr 2009 16:48:55 +0000 (18:48 +0200)]
rtspsrc: Remove dead assignment.
t is being overwritten after, before it's used.
Edward Hervey [Sat, 18 Apr 2009 16:48:06 +0000 (18:48 +0200)]
rtpamrdepay: Remove unneeded variable, the value is only read once.
Edward Hervey [Sat, 18 Apr 2009 16:47:05 +0000 (18:47 +0200)]
rtpamrpay: Remove unneeded variable, the value is only read once.
Edward Hervey [Sat, 18 Apr 2009 16:46:12 +0000 (18:46 +0200)]
goom/filters: Remove dead assignment. Value overwritten just after.
Edward Hervey [Sat, 18 Apr 2009 16:45:32 +0000 (18:45 +0200)]
rtpvorbispay: Remove dead assignment. Value never read after.
Edward Hervey [Sat, 18 Apr 2009 16:45:07 +0000 (18:45 +0200)]
rtptheorapay: Remove dead assignment. Value never read after.
Edward Hervey [Sat, 18 Apr 2009 16:43:31 +0000 (18:43 +0200)]
rtptheoradepay: Remove unused variable, it's never being read.
Edward Hervey [Sat, 18 Apr 2009 16:42:45 +0000 (18:42 +0200)]
rtspsrc: Remove dead assignment. 'res' isn't read after.
Edward Hervey [Sat, 18 Apr 2009 16:41:58 +0000 (18:41 +0200)]
rtspsrc: Remove unused variable. 'res' is never read.
Edward Hervey [Sat, 18 Apr 2009 16:40:48 +0000 (18:40 +0200)]
rtspsrc: Remove dead variable. 'stream' is never read after.
Edward Hervey [Sat, 18 Apr 2009 16:39:48 +0000 (18:39 +0200)]
videbox: Remove dead assignments.
These variables are never read after this point.
Edward Hervey [Sat, 18 Apr 2009 16:38:29 +0000 (18:38 +0200)]
goom: ff and iff are only used in a '#ifdef DRAW_MOTIF' block.
Edward Hervey [Sat, 18 Apr 2009 16:34:11 +0000 (18:34 +0200)]
wavparse: Remove dead assignment.
res isn't read after this.
Edward Hervey [Sat, 18 Apr 2009 16:32:03 +0000 (18:32 +0200)]
wavparse: Remove dead assignments, move variable to where it's needed.
The header_read_error label will return GST_FLOW_ERROR
Edward Hervey [Sat, 18 Apr 2009 16:21:22 +0000 (18:21 +0200)]
rtpvrawdepay: Remove dead assignment.
The value of 'str' will never be used in these cases.
Edward Hervey [Sat, 18 Apr 2009 16:19:12 +0000 (18:19 +0200)]
matroskademux: Remove useless variable.
iret was never read outside of that loop, and is always being exited if
iret was != GST_FLOW_OK anyway.
Edward Hervey [Sat, 18 Apr 2009 16:17:35 +0000 (18:17 +0200)]
avidemux: Move 'res' to where it's actually being used.
res was never used outside of that block except for a dead assignment.
Edward Hervey [Sat, 18 Apr 2009 16:16:33 +0000 (18:16 +0200)]
audiofx: Remove unused variable.
rz is never used in these methods.
Edward Hervey [Sat, 18 Apr 2009 16:15:39 +0000 (18:15 +0200)]
osxringbuffer: Run gst-indent.
Edward Hervey [Sat, 18 Apr 2009 16:14:49 +0000 (18:14 +0200)]
ximage: Remove dead assignments.
Those variables are not read after that point.
Edward Hervey [Sat, 18 Apr 2009 16:11:00 +0000 (18:11 +0200)]
Remove trivial unused variables detected by CLang static analyzer.
Edward Hervey [Sat, 18 Apr 2009 15:52:00 +0000 (17:52 +0200)]
Remove blank {set|get}_property/change_state/finalize methods.
Edward Hervey [Sat, 18 Apr 2009 15:42:55 +0000 (17:42 +0200)]
Remove unused variables in _class_init
Detected by LLVM's CLang static analyzer
Jan Schmidt [Sat, 18 Apr 2009 12:54:08 +0000 (13:54 +0100)]
check: Check whether threads are already initialised before g_thread_init()
Josep Torra [Sat, 18 Apr 2009 12:32:40 +0000 (14:32 +0200)]
rtspsrc: mark discont on the streams as was said the debug line
After a seek mark all streams with discont as it was said in the debug line.
Fixes that buffers after a seek are generated without a valid timestamp.
Josep Torra [Sat, 18 Apr 2009 06:45:18 +0000 (08:45 +0200)]
rtspsrc: map GST_RTSP_EEOF to EOS on server requests
Permit properly handle the EOS condition when server report it in a request.
Edward Hervey [Sat, 18 Apr 2009 06:39:57 +0000 (08:39 +0200)]
rtptheoradepay: Fix build on macosx.
Use G_GSIZE_FORMAT instead of u.
Wim Taymans [Thu, 16 Apr 2009 20:50:59 +0000 (22:50 +0200)]
pulsesink: fix sample offset calculation again
Tim-Philipp Müller [Wed, 15 Apr 2009 18:32:18 +0000 (19:32 +0100)]
sunaudio: fix broken indentation of variable declarations
James Andrewartha [Wed, 15 Apr 2009 18:28:53 +0000 (19:28 +0100)]
sunaudio: remove some unused variables and goto labels
Fixes #579070.
James Andrewartha [Wed, 15 Apr 2009 17:24:49 +0000 (19:24 +0200)]
rtph263pay: fix compilation on big-endian
Some semicolons were missing from the big-endian structs in gstrtph263pay.h.
A GST_DEBUG call was missing a format specifier.
Fixes #579069
Marco Ballesio [Wed, 15 Apr 2009 17:10:04 +0000 (20:10 +0300)]
qtdemux: implement 3GPP (TS 26.244 V8.0.0) Asset metadata handling, Fixes #132193
Implements 3gpp iso metadata tags which are different from mov udta atoms.
Peter Kjellerstedt [Wed, 15 Apr 2009 13:51:24 +0000 (15:51 +0200)]
debugutils: Use G_BEGIN_DECLS/G_END_DECLS.
Use G_BEGIN_DECLS/G_END_DECLS to avoid gst-indent messing up the
indentation due to extern "C" { }.
Stefan Kost [Wed, 15 Apr 2009 13:03:27 +0000 (16:03 +0300)]
debug: rename debug to debugutils to avoid clash with --disable-debug. Fixes #562168
Stefan Kost [Wed, 15 Apr 2009 12:43:04 +0000 (15:43 +0300)]
debug: indent before renaming
Wim Taymans [Wed, 15 Apr 2009 12:07:57 +0000 (14:07 +0200)]
g726depay: add property for aal2 force
Wim Taymans [Wed, 15 Apr 2009 11:56:17 +0000 (13:56 +0200)]
g726depay: implement RFC3551 packing
We implemented the AAL2 packing, add the encoding-name for those to the caps and
a property to force AAL2 decoding (always TRUE for now).
Implement RFC3551 unpacking for regular G726.
See #567140.
Wim Taymans [Tue, 14 Apr 2009 22:22:43 +0000 (00:22 +0200)]
rtph263pay: fix build
Youness Alaoui [Tue, 14 Apr 2009 16:52:48 +0000 (18:52 +0200)]
h263pay: various fixes
Re-enable mode A support and a property to control it.
Fix memory leak of GstRtpH263PayBoundry objects.
Fix marker.
Fixes #509311
Janin Kolenc [Tue, 14 Apr 2009 16:44:51 +0000 (18:44 +0200)]
h263pay: Fix the payloader
Fix the H263 payloader to be more RFC 2190 compliant.
See #509311
Wim Taymans [Tue, 14 Apr 2009 15:27:05 +0000 (17:27 +0200)]
avidemux: don't push EOS in streaming mode
In streaming mode, avidemux is not supposed to send an EOS event downstream but
it is supposed to return UNEXPECTED from the chain function instead so that
upstream can do the right EOS handling.
Sebastian Dröge [Mon, 13 Apr 2009 12:03:03 +0000 (14:03 +0200)]
Add initial support for muxing/demuxing Speex audio
Note: This is not in the Matroska spec yet
Fixes bug #578310.
Wim Taymans [Fri, 10 Apr 2009 19:31:06 +0000 (21:31 +0200)]
pulsesink: handle NULL timing info
Don't crash when the timing info is not yet available.
Stefan Kost [Fri, 10 Apr 2009 18:42:13 +0000 (21:42 +0300)]
pulse: make it work on 0.9.12
First we ignore request to fill the ringbuffer which are less then a segment.
The small request where causing stutter.
Then we disable flushing the stream when running against pa 0.9.12 as this
triggers an assertiong in the sound server and terminates it. It does not happen
with 0.9.10 and 0.9.14.
Wim Taymans [Fri, 10 Apr 2009 12:18:48 +0000 (14:18 +0200)]
pulsesink: handle server disconnect in get_time
When the server is disconnected or when we are shut down, make our clock return
an invalid time instead of erroring out.
Wim Taymans [Fri, 10 Apr 2009 10:01:27 +0000 (12:01 +0200)]
pulsesink: bps is signed int to avoid overflow
Keep bps as gint instead of guint because we will be doing signed math with it
later on and we don't want weird results.
LRN [Thu, 9 Apr 2009 22:26:44 +0000 (00:26 +0200)]
avidemux: add convert query, fix duration query
Fix the duration query so that it also works with formats other than
TIME, such as DEFAULT to get the number of frames.
Add a convert function.
Fixes #578052.
Wim Taymans [Thu, 9 Apr 2009 21:43:58 +0000 (23:43 +0200)]
pulsesink: check for a stream
Don't try to change the stream volume (and other things) when we don't have a
stream yet. Just store the values for later.
Wim Taymans [Thu, 9 Apr 2009 16:07:38 +0000 (18:07 +0200)]
pulsesink: fix compilation for newer pulseaudio
Wim Taymans [Thu, 9 Apr 2009 15:18:54 +0000 (17:18 +0200)]
pulsesink: uncork fixes and use prebuf = 0
We can use prebuf = 0 to instruct pulse to not pause the stream on underflows.
This way we can remove the underflow callback. We however have to manually
uncork the stream now when we have no available space in the buffer or when we
are writing too far away from the current read_index.
Wim Taymans [Thu, 9 Apr 2009 12:38:17 +0000 (14:38 +0200)]
pulsesink: handle write errors
Wim Taymans [Thu, 9 Apr 2009 12:16:35 +0000 (14:16 +0200)]
pulsesink: write silence on underflow
Start filling up the buffer with empty samples when an underflow happens. We
need to do this to keep pulseaudio reporting the right time for us.
Wim Taymans [Thu, 9 Apr 2009 11:14:14 +0000 (13:14 +0200)]
pulsesink: handle pull-based scheduling
Use the default basesink methods for implementing pull based scheduling, it
works fine for us.
Wim Taymans [Thu, 9 Apr 2009 10:13:44 +0000 (12:13 +0200)]
pulsesink: add beginnings of pull-based scheduling
Wim Taymans [Wed, 8 Apr 2009 16:17:10 +0000 (18:17 +0200)]
pulsesink: keep track of clock reset
when we switch streams, the clock will reset to 0. Make sure that the provided
clock doesn't get stuck when this happens by keeping an initial offset. We also
need to make sure that we subtract this offset in samples when writing to the
ringbuffer.
Wim Taymans [Wed, 8 Apr 2009 11:52:41 +0000 (13:52 +0200)]
pulsesink: rewrite pulsesink
Derive from BaseAudioSink and implement our custom ringbuffer that maps to the
internal pulseaudio ringbuffer.
Wim Taymans [Wed, 8 Apr 2009 11:52:00 +0000 (13:52 +0200)]
pulse: remove some stray debug lines
Tim-Philipp Müller [Thu, 9 Apr 2009 10:30:59 +0000 (11:30 +0100)]
jpegdec: use slightly more adaptive formula for QoS
Should work at least a tad better if the decoder can't keep up, and
should also spread dropped frames a bit more evenly over time.
Stefan Kost [Tue, 7 Apr 2009 19:35:31 +0000 (22:35 +0300)]
wavparse: don't leak pad-template
gst_element_class_add_pad_template() does not take ownership.
Felipe Contreras [Sat, 4 Apr 2009 18:18:55 +0000 (21:18 +0300)]
Automatic update of common submodule
From d0ea89e to b3941ea
Thomas Vander Stichele [Tue, 31 Mar 2009 23:15:31 +0000 (01:15 +0200)]
add pending_samples so that we only update segment's last stop after really sending the samples