Benjamin Gaignard [Wed, 8 Jul 2009 13:17:41 +0000 (15:17 +0200)]
udp: Initialize pointer to NULL
Otherwise we're calling free() with some random
memory address in error cases.
Fixes bug #587982.
Mark Nauwelaerts [Tue, 7 Jul 2009 14:35:24 +0000 (16:35 +0200)]
qtdemux: sprinkle some more const
Mark Nauwelaerts [Tue, 7 Jul 2009 13:57:55 +0000 (15:57 +0200)]
qtdemux: perform some more (careful) data buffering
Once buffering has started (with an mdat atom), continue buffering
until moov atom is reached, which handles cases with multiple
mdat atoms. Also keep adapter/offset better in sync with upstream
and fix some debug statements. Fixes #587426.
Philip Jägenstedt [Mon, 6 Jul 2009 08:40:31 +0000 (10:40 +0200)]
avidemux: Replace deprecated GST_DISABLE_DEBUG with correct macro. Fixes #587826
Tim-Philipp Müller [Wed, 1 Jul 2009 12:07:48 +0000 (13:07 +0100)]
qtdemux: error out instead of dividing by 0
Error out if timescale is 0.
Tim-Philipp Müller [Wed, 1 Jul 2009 08:32:42 +0000 (09:32 +0100)]
Revert "qtdemux: Make sure we don't blacklist streams by wrongly comparing their"
This reverts commit
5503a59a5779b67451d8a271000181790ee76bc7.
Reverting this since it causes regressions with a lot of sample files
I have, all of which worked fine with the last -good release (#586891).
Tim-Philipp Müller [Tue, 30 Jun 2009 14:54:47 +0000 (15:54 +0100)]
qtdemux: comment out unused structure
Tim-Philipp Müller [Tue, 30 Jun 2009 12:12:09 +0000 (13:12 +0100)]
qtdemux: more size checks, and use g_try_new0() instead of g_new0()
Whenever we alloc something based on a user-supplied size, we should
really use g_try_new(), otherwise we can easily be made to abort by
passing a ridiculously large number to us for allocing. Fixes
problems with some fuzzed files.
Tim-Philipp Müller [Mon, 29 Jun 2009 17:58:33 +0000 (18:58 +0100)]
qtdemux: guard against bogus atom sizes and short reads
Check the possibly 64-bit atom size more carefully before casting it
to an int and passing it to gst_pad_pull_range(), otherwise we might
end up pulling 0 bytes, getting an empty buffer as requested and
dereferencing not available data whilst thinking we actually asked
for and got 0x1000000000000 bytes. Similar fix for push mode operation
where neededbytes ends up being 0 bytes, which makes us assert. Fixes
crash with broken or fuzzed file (NB #122378).
Tim-Philipp Müller [Mon, 29 Jun 2009 15:52:41 +0000 (16:52 +0100)]
qtdemux: use 0x prefix when logging numbers in hex
Edward Hervey [Wed, 1 Jul 2009 06:40:40 +0000 (08:40 +0200)]
flacdec: Don't send empty string tags
LRN [Tue, 30 Jun 2009 17:35:37 +0000 (21:35 +0400)]
Don't use sendmsg()-dependent code on Windows
Fixes #585842
Wim Taymans [Tue, 30 Jun 2009 13:59:20 +0000 (15:59 +0200)]
law: fix caps and negotiation
Fix the caps to include the depth (instead of width twice) in the caps of
audio/x-raw-int.
Fix negotiation to not only copy the rate/channels of the first structure.
Stefan Kost [Tue, 30 Jun 2009 11:48:09 +0000 (14:48 +0300)]
pulsesink: include "1.0=100%" in volume and change upper limit
Upper volume limmit was 1000. That appear unneceasrily high. It would also cause
sever distortion if accidentialy used. Now its 10 (~ +15db) which is also in
sync with volume and playbin2.
Wim Taymans [Mon, 29 Jun 2009 13:39:43 +0000 (15:39 +0200)]
pulse: some more trivial cleanups
Wim Taymans [Mon, 29 Jun 2009 13:38:49 +0000 (15:38 +0200)]
pulse: trivial cleanups
Wim Taymans [Mon, 29 Jun 2009 13:20:31 +0000 (15:20 +0200)]
pulsesink: clear ringbuffer when asked to
Since we map the ringbuffer to the pulseaudio internal ringbuffer, flush the
pulseaudio buffer when we are asked to clear the ringbuffer.
This avoids some leftover audio after a seek.
Jan Schmidt [Fri, 26 Jun 2009 14:00:14 +0000 (15:00 +0100)]
autogen.sh: Actually do the 'echo -n' -> printf change.
Jan Schmidt [Fri, 26 Jun 2009 13:40:14 +0000 (14:40 +0100)]
autogen.sh: Use printf instead of 'echo -n'. Check for automake-1.1[01]
Check for more automake command variants. Use printf instead of 'echo -n'
for portability
Jan Schmidt [Fri, 26 Jun 2009 12:42:09 +0000 (13:42 +0100)]
Automatic update of common submodule
From f810030 to 5845b63
Tim-Philipp Müller [Fri, 26 Jun 2009 12:19:04 +0000 (13:19 +0100)]
qtdemux: don't process track_num/track_count tags with a 0 value
Number/count values of 0 mean they're not set. Don't put those in the
taglist.
Tim-Philipp Müller [Thu, 25 Jun 2009 17:51:12 +0000 (18:51 +0100)]
waveformsink: use 'guint8' instead of 'byte' to fix compilation with MSVC8
We need a cast here for pointer arithmetic to work correctly, but some
MSVC versions don't seem to like 'byte', so use guint8 here. Hopefully
fixes #585361.
Stefan Kost [Thu, 25 Jun 2009 16:39:37 +0000 (19:39 +0300)]
v4l2src: set structs to zero before using them in ioctls
This fixes valgrind warnings.
Julien Moutte [Thu, 25 Jun 2009 11:23:40 +0000 (13:23 +0200)]
qtdemux: Make sure we don't blacklist streams by wrongly comparing their
duration with entire clip duration.
Krzysztof Błaszkowski [Thu, 25 Jun 2009 11:18:14 +0000 (13:18 +0200)]
rtpdec: fix some buffer leaks
Edward Hervey [Thu, 25 Jun 2009 06:11:09 +0000 (08:11 +0200)]
flvparse: Add missing break in switch/case.
Edward Hervey [Thu, 25 Jun 2009 06:10:38 +0000 (08:10 +0200)]
flvdemux: Remove unused variable, hint branch likeliness, add comments.
Edward Hervey [Thu, 25 Jun 2009 06:09:57 +0000 (08:09 +0200)]
avidemux: Removed unused variable
Edward Hervey [Thu, 25 Jun 2009 05:41:07 +0000 (07:41 +0200)]
qtdemux: Remove dead assignments and unused variables.
Also add branch likeliness macros.
Edward Hervey [Thu, 25 Jun 2009 05:40:26 +0000 (07:40 +0200)]
qtdemux: Fix uninitialized variables. Fixes build on macosx
Stefan Kost [Wed, 24 Jun 2009 14:43:25 +0000 (17:43 +0300)]
souphttpsrc: free memory in finalize
finalize is called only once. no need to clear pointers there. dispose is for
unreffing.
Jan Schmidt [Wed, 24 Jun 2009 14:14:14 +0000 (15:14 +0100)]
Automatic update of common submodule
From 6ab11d1 to f810030
Tim-Philipp Müller [Mon, 8 Jun 2009 13:46:48 +0000 (14:46 +0100)]
avidemux: short-circuit gst_avi_demux_src_convert() when parsing the index
Don't call gst_avi_demux_src_convert() for each single index entry. Not
only do we already have the pointer to the stream context, we also know
the formats we want to convert from and to already, so we may just as
well use optimised conversion routines that bypass some of the checks
and lookups made in gst_avi_demux_src_convert().
Edward Hervey [Wed, 17 Jun 2009 14:39:36 +0000 (16:39 +0200)]
qtdemux: Another round of G_*LIKELY micro-optimisations.
Edward Hervey [Wed, 17 Jun 2009 14:20:25 +0000 (16:20 +0200)]
qtdemux: Take last sample duration for dummy segment calculation.
This fixes the cases where files without EDL wouldn't output their
last buffer.
Edward Hervey [Wed, 24 Jun 2009 10:36:31 +0000 (12:36 +0200)]
avidemux: Sprinkle branch likeliness macros over the code.
Edward Hervey [Tue, 23 Jun 2009 14:54:32 +0000 (16:54 +0200)]
raw1394: sprinkle branch likeliness macros accross the code.
Edward Hervey [Sun, 14 Jun 2009 08:36:17 +0000 (10:36 +0200)]
qtdemux: Add GST_MEMDUMP statements for unknown atoms.
This is to help developers track down and implement unhandled atoms faster.
Sebastian Dröge [Tue, 23 Jun 2009 15:51:32 +0000 (17:51 +0200)]
deinterlace: Remove the interlaced field from the output caps if deinterlacing is enabled
Sebastian Dröge [Tue, 23 Jun 2009 15:48:47 +0000 (17:48 +0200)]
deinterlace: Copy the correct line from correct place in the history
Wim Taymans [Tue, 23 Jun 2009 14:35:36 +0000 (16:35 +0200)]
rtspsrc: use same protocols after redirect
After a redirect we want to use the same protocols that we were using for the
current url.
Tim-Philipp Müller [Tue, 23 Jun 2009 14:35:37 +0000 (15:35 +0100)]
qtdemux: don't leak cover art
Tim-Philipp Müller [Tue, 23 Jun 2009 13:10:10 +0000 (14:10 +0100)]
udp: fix compiler warning about EAI_ADDRFAMILY getting redefined in some cases
Include the header from where we include all the system headers with the
socket stuff before we try to define EAI_ADDRFAMILY ourselves, otherwise
we define it ourselves and then get a compiler warning if a system header
defines it as well without guarding against it being defined already.
Wim Taymans [Tue, 23 Jun 2009 12:39:56 +0000 (14:39 +0200)]
matroska: and the new headers too
Wim Taymans [Tue, 23 Jun 2009 12:32:43 +0000 (14:32 +0200)]
matroske: fix compiler error
change gpointer to guint8 * for codec_state and codec_priv as some
functions operate on those types and it avoids breaking strict-aliasing
rules.
Wim Taymans [Tue, 23 Jun 2009 10:42:33 +0000 (12:42 +0200)]
matroskademux: avoid leaking buffers
Don't leak buffers when resyncing to a keyframe.
Avoid leaking buffers when exiting the loop on error conditions.
Add some more debug info.
Fixes #585911
Stefan Kost [Mon, 22 Jun 2009 12:56:58 +0000 (15:56 +0300)]
v4l2: open/close the device in READY
This allows to query the device in READY. Before one need to switch it to PAUSED
and that also starts streaming.
Tim-Philipp Müller [Sat, 20 Jun 2009 14:41:44 +0000 (15:41 +0100)]
qtdemux: use GST_MEMDUMP
Tim-Philipp Müller [Thu, 18 Jun 2009 23:16:41 +0000 (00:16 +0100)]
apedemux: add container-format tag
Use pbutils here because the string is translated.
Tim-Philipp Müller [Thu, 18 Jun 2009 23:15:51 +0000 (00:15 +0100)]
id3demux: add container-format tag
Using pbutils here because the string is translated.
Tim-Philipp Müller [Thu, 18 Jun 2009 22:51:52 +0000 (23:51 +0100)]
dvdemux: post container-format tag
Also merge the two almost identical _add_*_pad() functions into one.
Tim-Philipp Müller [Thu, 18 Jun 2009 22:43:49 +0000 (23:43 +0100)]
dvdemux: don't screw up first audio buffer
Query the audio format, esp. dvdemux->num_channels, before we use that
variable to allocate the initial buffer. That way we don't accidentally
push a zero-sized buffer as first audio buffer.
Tim-Philipp Müller [Thu, 18 Jun 2009 22:38:30 +0000 (23:38 +0100)]
multipartdemux: post container-format tag
Tim-Philipp Müller [Thu, 18 Jun 2009 22:37:11 +0000 (23:37 +0100)]
matroska-demux: post container-format tags
Tim-Philipp Müller [Thu, 18 Jun 2009 22:36:28 +0000 (23:36 +0100)]
avidemux: post container-format tag
Tim-Philipp Müller [Thu, 18 Jun 2009 22:35:29 +0000 (23:35 +0100)]
qtdemux: post container-format tags
Sebastian Dröge [Sun, 21 Jun 2009 15:13:43 +0000 (17:13 +0200)]
audioamplify: Fix integer overflows on 32 bit architectures
Kipp Cannon [Sun, 21 Jun 2009 07:50:54 +0000 (09:50 +0200)]
audioamplify: Don't declare a loop index static
The previous patch to add support for additional sample formats possibly
introduced a reentrancy bug: a variable used for a loop index was declared
static. This patch fixes that, and also adds a "/* *INDENT-ON* */" annotation
following the macro block. (I don't know what the annotation is for, but the
adder, where I copied this from, has it).
Sebastian Dröge [Fri, 19 Jun 2009 20:37:27 +0000 (22:37 +0200)]
audioamplify: Fix off-by-one in wrap-positive mode
Kipp Cannon [Fri, 19 Jun 2009 20:20:45 +0000 (22:20 +0200)]
audioamplify: Add noclip method and support for more formats
Fixes bug #585828 and #585831.
Koop Mast [Fri, 19 Jun 2009 19:46:41 +0000 (21:46 +0200)]
udp: Fix build on FreeBSD
Fixes bug #586397.
Ognyan Tonchev [Fri, 19 Jun 2009 16:12:27 +0000 (18:12 +0200)]
tests: add unit tests for buffer-list payloaders
See #585559
Ognyan Tonchev [Fri, 19 Jun 2009 16:00:35 +0000 (18:00 +0200)]
rtpmp4vpay: add support for buffer-list
See #585559
Ognyan Tonchev [Fri, 19 Jun 2009 15:57:12 +0000 (17:57 +0200)]
rtpjpegpay: add support for buffer-lists
See #585559
Ognyan Tonchev [Fri, 19 Jun 2009 15:53:32 +0000 (17:53 +0200)]
rtph264pay: add support for buffer-lists
See #585559
Wim Taymans [Thu, 18 Jun 2009 09:54:22 +0000 (11:54 +0200)]
udputils: don't free invalid memory
As spotted by benjiG in IRC.
don't free invalid memory when getaddrinfo failed.
Wim Taymans [Wed, 17 Jun 2009 15:48:31 +0000 (17:48 +0200)]
pulseink: don't leak device_description
don't leak the device_description.
some cleanups.
Tim-Philipp Müller [Fri, 19 Jun 2009 13:44:40 +0000 (14:44 +0100)]
po: update .po files for sunaudiomixer string changes
Mark Nauwelaerts [Thu, 18 Jun 2009 14:58:26 +0000 (16:58 +0200)]
avidemux: streaming; adjust sizes to cater for padding in chunks
Mark Nauwelaerts [Wed, 17 Jun 2009 09:54:53 +0000 (11:54 +0200)]
avidemux: streaming mode; handle data chunks grouped in rec lists.
Fixes #567983.
Mark Nauwelaerts [Wed, 10 Jun 2009 10:36:50 +0000 (12:36 +0200)]
qtdemux: map some tags to COMPOSER rather than ARTIST
Mark Nauwelaerts [Wed, 10 Jun 2009 10:34:43 +0000 (12:34 +0200)]
qtdemux: fix some 3GP tag extraction (keywords, genre, location)
Mark Nauwelaerts [Tue, 9 Jun 2009 13:36:50 +0000 (15:36 +0200)]
qtdemux: extract pixel-aspect-ratio information
Sebastian Dröge [Wed, 17 Jun 2009 05:14:09 +0000 (07:14 +0200)]
matroskademux: Fix leaking of the Matroska TITLE element
Sebastian Dröge [Tue, 16 Jun 2009 18:38:42 +0000 (20:38 +0200)]
effectv: Add basic documentation for the effectv elements
Sebastian Dröge [Tue, 16 Jun 2009 18:16:13 +0000 (20:16 +0200)]
effectv: Define the fast PRNG function at a central place
Sebastian Dröge [Tue, 16 Jun 2009 18:13:35 +0000 (20:13 +0200)]
effectv: Move type definitions into separate headers
This is needed for the docs later.
Sebastian Dröge [Tue, 16 Jun 2009 17:41:02 +0000 (19:41 +0200)]
effectv: Remove get_unit_size implementations
The default on from GstVideoFilter handles this already.
Tim-Philipp Müller [Tue, 16 Jun 2009 13:54:34 +0000 (14:54 +0100)]
configure: bump core/base requirements to git
Need git core for basesink bufferlist additions; -base requirement
bumped gratuitously.
Wim Taymans [Tue, 16 Jun 2009 13:25:54 +0000 (15:25 +0200)]
tests: add some debug, send newsegment
Wim Taymans [Tue, 16 Jun 2009 13:06:50 +0000 (15:06 +0200)]
udpsrc: add debug line for the socket
Wim Taymans [Tue, 16 Jun 2009 13:06:25 +0000 (15:06 +0200)]
tests: turn g_print into debug
Ognyan Tonchev [Tue, 16 Jun 2009 13:04:15 +0000 (15:04 +0200)]
multiudpsink: add support for buffer lists
Add support for BufferList and add a unit test.
Fixes #585842
Tim-Philipp Müller [Mon, 15 Jun 2009 23:02:42 +0000 (00:02 +0100)]
souphttpsrc: reset session state when stopping
Increases the chances that the element is actually reusable.
Tim-Philipp Müller [Mon, 15 Jun 2009 22:49:48 +0000 (23:49 +0100)]
souphttpsrc: log response and request headers and fix some broken indenting
Wim Taymans [Mon, 15 Jun 2009 20:40:35 +0000 (22:40 +0200)]
mp4gdepay: guess constantDuration better
Do a better job at guessing the constantDuration parameter when it is not
present in the caps.
Fixes #585205
Sebastian Dröge [Mon, 15 Jun 2009 19:09:47 +0000 (21:09 +0200)]
warptv: Clean up warptv element and fix some minor bugs and leaks
Sebastian Dröge [Mon, 15 Jun 2009 18:53:23 +0000 (20:53 +0200)]
vertigotv: Clean up vertigotv element and fix some minor bugs and leaks
Sebastian Dröge [Mon, 15 Jun 2009 18:38:01 +0000 (20:38 +0200)]
dicetv: Use guint8 instead of char (which can be signed or unsigned)
Sebastian Dröge [Mon, 15 Jun 2009 18:36:39 +0000 (20:36 +0200)]
shagadelictv: Use guint8/gint8 instead of char (which can be signed or unsigned)
Sebastian Dröge [Mon, 15 Jun 2009 18:31:30 +0000 (20:31 +0200)]
shagadelictv: Clean up element and free all memory in finalize
Sebastian Dröge [Mon, 15 Jun 2009 18:21:58 +0000 (20:21 +0200)]
revtv: Clean up revtv element
Sebastian Dröge [Mon, 15 Jun 2009 18:07:42 +0000 (20:07 +0200)]
quarktv: Simplify some code
Sebastian Dröge [Mon, 15 Jun 2009 18:07:10 +0000 (20:07 +0200)]
quarktv: Use the input data if a NULL buffer is chosen instead of the value 0
Sebastian Dröge [Mon, 15 Jun 2009 18:00:43 +0000 (20:00 +0200)]
quarktv: Fix setting the planes property of quarktv
Setting it to a value<16 would cause crashes before because
current_plane was set to the old number of planes-1. Also
fix calculations for non-2^n planes values.
Sebastian Dröge [Mon, 15 Jun 2009 15:50:41 +0000 (17:50 +0200)]
quarktv: Clean up the quarktv element
Sebastian Dröge [Mon, 15 Jun 2009 15:39:20 +0000 (17:39 +0200)]
effectv: Make elements list constant
Sebastian Dröge [Mon, 15 Jun 2009 15:37:53 +0000 (17:37 +0200)]
edgetv: Clean up edgetv element and fix memory leak
Sebastian Dröge [Mon, 15 Jun 2009 15:21:58 +0000 (17:21 +0200)]
dicetv: Clean up dicetv element and fix some smaller issues
This fixes a memory leak (the dice map) and a crash when
setting the square-bits property before caps are set.
Sebastian Dröge [Mon, 15 Jun 2009 15:20:21 +0000 (17:20 +0200)]
agingtv: Actually use GstController for syncing the properties to timestamps