Stefan Kost [Thu, 22 Oct 2009 10:19:07 +0000 (13:19 +0300)]
tests: add a jitterbuffer test
Tests pushing a few buffers in various order and asserting the order sent by the
jitterbuffer. Contains two disabled tests that need more work.
Sebastian Dröge [Thu, 22 Oct 2009 10:30:14 +0000 (12:30 +0200)]
matroskamux: Dirac "muxing" units end on EOS too
A Dirac muxing unit are all non-picture, non-end-of-sequence
packets up to and including the first picture or eos packet.
See http://www.diracvideo.org/wiki/index.php/ContainerFormatMappingGuidelines
Tim-Philipp Müller [Thu, 22 Oct 2009 01:09:08 +0000 (02:09 +0100)]
avidemux: fix compilation with debugging disabled
total_idx is always evaluated.
Priit Laes [Mon, 19 Oct 2009 18:59:46 +0000 (21:59 +0300)]
cacasink: minor cleanups for header.
Use G_BEGIN_DECLS macros, remove unused variables and fix typo.
See #599018.
Priit Laes [Mon, 19 Oct 2009 18:59:23 +0000 (21:59 +0300)]
cacasink: exit properly when invalid driver has been selected.
See #599018.
Edward Hervey [Tue, 20 Oct 2009 16:23:28 +0000 (18:23 +0200)]
avidemux: Stop scanning at the last entry... and not the one before :)
This ensures we actually push out everything
Andy Wingo [Tue, 20 Oct 2009 15:20:55 +0000 (17:20 +0200)]
qtdemux: unpack more information into image/x-j2c caps
* gst/qtdemux/qtdemux_fourcc.h: Add new fourccs for use by the mj2
unpacker.
* gst/qtdemux/qtdemux.c (qtdemux_parse_trak): Unpack JPEG2000 component
mapping and channel definitions from the jp2h header. Will add
component-map and channel-definitions elements to the caps if the
component maps or channel definitions are nonstandard, where standard
order means RGB, 444 packed YUV, or greyscale, with no alpha channel.
Fixes #598915.
Stefan Kost [Tue, 20 Oct 2009 14:33:41 +0000 (17:33 +0300)]
tests: include stdio.h for sscanf
Bastien Nocera [Mon, 19 Oct 2009 14:21:57 +0000 (15:21 +0100)]
Fix the StreamVolume interface not being advertised
gst_pulsesink_interface_supported() was missing a check for it.
https://bugzilla.gnome.org/show_bug.cgi?id=598933
Stefan Kost [Fri, 16 Oct 2009 18:14:14 +0000 (21:14 +0300)]
level: code cleanup
Use gdouble instead of double. Calculate falloff_time once instead of twice.
Edward Hervey [Sun, 18 Oct 2009 13:52:02 +0000 (15:52 +0200)]
avidemux: MEMDUMP the junk blobs
It will only actually pull the junk blobs from upstream if the memdump
level is activated
Edward Hervey [Sun, 18 Oct 2009 13:51:34 +0000 (15:51 +0200)]
avidemux: Some avi files have INFO lists in the headers.
Edward Hervey [Sun, 18 Oct 2009 14:02:01 +0000 (16:02 +0200)]
avidemux: Don't seek on empty streams
Edward Hervey [Sun, 18 Oct 2009 13:50:39 +0000 (15:50 +0200)]
avidemux: Ensure _calculate_durations_from_index only uses valid streams
Edward Hervey [Sun, 18 Oct 2009 13:49:29 +0000 (15:49 +0200)]
avidemux: Only call convert function if we have strf.auds
Edward Hervey [Sun, 18 Oct 2009 13:48:06 +0000 (15:48 +0200)]
avidemux: Use first indexed stream for seeking.
In the future, main_stream can be adjusted to contain the optimal stream
as mentionned in the FIXME line 3440
Edward Hervey [Sun, 18 Oct 2009 13:46:48 +0000 (15:46 +0200)]
avidemux: Only expose streams that actually have something in it.
This guarantees that in pull-mode, all streams have a valid index to
work with.
Edward Hervey [Sun, 18 Oct 2009 13:40:37 +0000 (15:40 +0200)]
avidemux: Properly mark presence of index.
Instead of blindly saying we have an index, only do so if we have a
non-empty index.
Lennart Poettering [Sat, 17 Oct 2009 00:18:53 +0000 (02:18 +0200)]
pulse: never apply volume more than once
Generally decisions on the volume of the stream should be done inside of
PA, not inside of Gst. Only PA knows how volumes translate between
devices and s on.
This patch makes sure that all volumes set via the volume property are
only applied *once* to the underlying stream. After applying them the
client side will not store them anymore. This should make sure that
really only user-triggered volume changes are forwarded to server, but
the client never tries to save/restore the volume internally.
Fixes bug #595231.
Sebastian Dröge [Sat, 17 Oct 2009 06:55:16 +0000 (08:55 +0200)]
pulsesink: Initialize gettext for the translated strings in plugin_init()
Lennart Poettering [Fri, 16 Oct 2009 22:10:30 +0000 (00:10 +0200)]
pulse: use 'performer' as a fallback for 'artist' tag
Lennart Poettering [Fri, 16 Oct 2009 22:09:36 +0000 (00:09 +0200)]
pulse: when constructing a stream title from tag data make sure it is translatable
Lennart Poettering [Fri, 16 Oct 2009 22:06:15 +0000 (00:06 +0200)]
pulse: loop while connecting to server
pthread does not guarantee that there are no spurious condition variable
wakeups, neither does pa_threaded_mainloop_xxx() which is a wrapper
around it. So we need to loop around the _wait() function to make sure
we get the right wakeup.
Also, unify the order of the wait loops across the file.
Lennart Poettering [Fri, 16 Oct 2009 22:05:10 +0000 (00:05 +0200)]
pulse: mainloop creation can fail too, so handle that
Lennart Poettering [Fri, 16 Oct 2009 22:03:06 +0000 (00:03 +0200)]
pulse: adjust CHECK_DEAD_GOTO macro to glib style
Lennart Poettering [Fri, 16 Oct 2009 15:28:42 +0000 (17:28 +0200)]
pulse: make a few things smaller by making them bitfields
Lennart Poettering [Fri, 16 Oct 2009 15:26:41 +0000 (17:26 +0200)]
pulse: bump minimum libpulse version to 0.9.10
Older versions than 0.9.10 are really really old and buggy. Drop
compatibility with them. Nobody should run anything that old.
Also see: https://bugzilla.gnome.org/show_bug.cgi?id=595029
Mark Nauwelaerts [Fri, 16 Oct 2009 16:18:31 +0000 (18:18 +0200)]
debugutils: register pushfilesrc element
Mark Nauwelaerts [Fri, 16 Oct 2009 15:28:09 +0000 (17:28 +0200)]
avimux: support (some) VBR audio muxing
AVI format can handle VBR audio provided audio chunks are of fixed duration
(cfr fixed duration video frames). Apply this approach to (always) parsed
raw AAC and (if parsed) to MPEG-1/2 audio.
See #368681.
Tim-Philipp Müller [Fri, 16 Oct 2009 12:41:45 +0000 (13:41 +0100)]
jpegdec: fix branch hints
Remove inappropriate branching hints and add some new ones.
Tim-Philipp Müller [Fri, 16 Oct 2009 11:33:04 +0000 (12:33 +0100)]
jpegdec: fix regression in indirect decode path
Revert variable name back to what it was before the G_LIKELY was
added (in commit
69c24fb9). The code works better that way.
Tim-Philipp Müller [Fri, 16 Oct 2009 01:47:38 +0000 (02:47 +0100)]
jpegdec: fix regression with certain formats
Fix regression introduced by previous commit (#598517).
Tim-Philipp Müller [Thu, 15 Oct 2009 18:49:55 +0000 (19:49 +0100)]
jpegdec: don't use decompress structure members we shouldn't be using
Tim-Philipp Müller [Wed, 14 Oct 2009 16:53:52 +0000 (17:53 +0100)]
jpegdec: remove some unused members from jpegdec instance structure
Stefan Kost [Fri, 16 Oct 2009 08:53:38 +0000 (11:53 +0300)]
build: use gst-glib-gen.mak to fix the glib build rules.
The build rules in glib-gen.mak were using pattern rules in a non save way.
Stefan Kost [Fri, 16 Oct 2009 07:15:35 +0000 (10:15 +0300)]
Automatic update of common submodule
From 85d1530 to 0702fe1
Mark Nauwelaerts [Thu, 15 Oct 2009 19:04:02 +0000 (21:04 +0200)]
avidemux: adjust flow return aggregation to updated loop_data
In particular, each stream is now treated separately, and one stream's
EOS should not lead to overall EOS.
Mark Nauwelaerts [Thu, 15 Oct 2009 09:52:35 +0000 (11:52 +0200)]
qtdemux: check some more atom sizes prior to parsing
Wim Taymans [Thu, 15 Oct 2009 11:19:13 +0000 (13:19 +0200)]
rtsp: handle events in TCP mode
We need to handle events in TCP mode so that we can reply to the LATENCY event
with TRUE.
Mark Nauwelaerts [Thu, 15 Oct 2009 09:24:45 +0000 (11:24 +0200)]
avidemux: add missing argument in debug message
Marvin Schmidt [Wed, 14 Oct 2009 16:58:06 +0000 (18:58 +0200)]
flvmux: Use loop test to prevent timeout on slow machines
Partially fixes bug #597739.
Wim Taymans [Wed, 14 Oct 2009 14:15:48 +0000 (16:15 +0200)]
rtspsrc: forward events into the rtpbin
Only catch the SEEK event on the srcpad and let other events enter the rtpbin.
Thiago Santos [Wed, 14 Oct 2009 14:33:24 +0000 (11:33 -0300)]
matroskademux: Fix late tags finding
Use the correct taglist variable when notifying of late tags.
Mark Nauwelaerts [Wed, 14 Oct 2009 11:09:03 +0000 (13:09 +0200)]
avidemux: use GstIndex for (limited) seeking in push mode
... but disable this for now. Although it basically works fine,
user experience might be shaky (depending on taste), since there
is no keyframe info in push mode.
Mark Nauwelaerts [Wed, 14 Oct 2009 11:08:47 +0000 (13:08 +0200)]
avidemux: add GstIndex support
Mark Nauwelaerts [Wed, 14 Oct 2009 09:55:33 +0000 (11:55 +0200)]
avidemux: also determine duration in push mode
Mark Nauwelaerts [Wed, 14 Oct 2009 09:54:44 +0000 (11:54 +0200)]
qtdemux: add GstIndex support
Thiago Santos [Wed, 14 Oct 2009 10:38:26 +0000 (07:38 -0300)]
v4l2src: Set duration on buffers
Use framerate to estimate duration of buffers.
Fixes #590362
Håvard Graff [Wed, 14 Oct 2009 10:28:55 +0000 (12:28 +0200)]
rtpptdemux: only forward the lost-event to the last seen pt-number
forward all events on all pads except for the PacketLost event, which we want to
forward to the last seen pt pad.
Fixes #598377
René Stadler [Tue, 6 Oct 2009 19:28:50 +0000 (22:28 +0300)]
pulsesink: set desired minreq value to segsize/latency-time
If we let the daemon decide freely by passing -1, we end up always getting 20ms.
We want to set this value because in some cases we want to select a higher
latency-time in order to save power.
Fixes #597601
Edward Hervey [Wed, 14 Oct 2009 08:41:21 +0000 (10:41 +0200)]
Automatic update of common submodule
From a3e3ce4 to 85d1530
Edward Hervey [Tue, 13 Oct 2009 16:33:34 +0000 (18:33 +0200)]
tests/pipeline/flac: Fix build on macosx 10.5
Wim Taymans [Tue, 13 Oct 2009 16:19:32 +0000 (18:19 +0200)]
avidemux: demote some warnings to debug
Wim Taymans [Tue, 13 Oct 2009 15:47:40 +0000 (17:47 +0200)]
avi: add new avi flag we might want to use
Wim Taymans [Tue, 13 Oct 2009 15:46:22 +0000 (17:46 +0200)]
avimux: calculate suggested buffer size
Calculate the suggested buffer size based on the largest chunk in the file.
See #597847
Wim Taymans [Tue, 13 Oct 2009 15:45:14 +0000 (17:45 +0200)]
avimux: add jpeg2000 to allowed caps
Wim Taymans [Tue, 13 Oct 2009 15:41:13 +0000 (17:41 +0200)]
avidemux: add debug for the superindex offsets
Jan Schmidt [Tue, 13 Oct 2009 15:02:37 +0000 (16:02 +0100)]
qtdemux: Fix uninitialized variable warning
Fix another bogus may-be-used-uninitialized warning in qtdemux
Wim Taymans [Tue, 13 Oct 2009 11:08:33 +0000 (13:08 +0200)]
avi: lower max file size
Make a constant of the max file size and lower the value to what ffmpeg does,
hopefully improving compatibility with windows media player.
See #597847
Tim-Philipp Müller [Tue, 13 Oct 2009 00:02:15 +0000 (01:02 +0100)]
jpegdec: fix bogus warning about discont flag on first buffer
The very first buffer should always have the DISCONT flag set, no
need to warn about that. Only warn if we get a DISCONT buffer in
non-packetised mode and we already have some data.
Tim-Philipp Müller [Mon, 12 Oct 2009 23:41:57 +0000 (00:41 +0100)]
jpegdec: fix crash for unusual vertical chroma subsampling factors
Fixes #597351.
Jan Schmidt [Mon, 12 Oct 2009 23:12:42 +0000 (00:12 +0100)]
qtdemux: Fix uninitialized variable warnings
The gcc on the OS/X buildbot complains about these variables not being
initialized, even though they can't possibly actually be used
uninitialized.
Josep Torra [Fri, 9 Oct 2009 22:37:08 +0000 (00:37 +0200)]
jpegdec: fixes warning building in snow leopard
Mark Nauwelaerts [Fri, 9 Oct 2009 15:12:46 +0000 (17:12 +0200)]
qtdemux: also consider Quicktime text subtitles
Mark Nauwelaerts [Fri, 9 Oct 2009 15:02:57 +0000 (17:02 +0200)]
qtdemux: provide language tag for stream
Mark Nauwelaerts [Fri, 9 Oct 2009 14:30:57 +0000 (16:30 +0200)]
qtdemux: refactor common parts in track parsing
Mark Nauwelaerts [Fri, 9 Oct 2009 14:21:03 +0000 (16:21 +0200)]
qtdemux: refactor buffer processing and sending
... so it can be used in both pull and push based mode.
Mark Nauwelaerts [Thu, 8 Oct 2009 11:39:25 +0000 (13:39 +0200)]
qtdemux: extract palette data for dvd subpicture streams
... and send it downstream using custom dvd event
Mark Nauwelaerts [Wed, 7 Oct 2009 12:03:17 +0000 (14:03 +0200)]
qtdemux: support 3GPP timed text subtitles
In particular, also make subtitle support less subp(icture)-centric.
Mark Nauwelaerts [Wed, 7 Oct 2009 14:15:55 +0000 (16:15 +0200)]
qtdemux: NULL is not a valid taglist
Mark Nauwelaerts [Wed, 23 Sep 2009 15:20:25 +0000 (17:20 +0200)]
qtdemux: recognize some more encypted track cases
Josep Torra [Fri, 9 Oct 2009 13:59:25 +0000 (15:59 +0200)]
id3: fixes warnings building on macosx
Another round on the formating of that debug line.
Stefan Kost [Fri, 9 Oct 2009 11:44:02 +0000 (14:44 +0300)]
id3: cast pointer math results to glong
Stefan Kost [Fri, 9 Oct 2009 11:37:32 +0000 (14:37 +0300)]
flac: apparently on some platforms a FLAC__uint64!=guint64
Stefan Kost [Fri, 9 Oct 2009 11:21:09 +0000 (14:21 +0300)]
buikd: explicitely cast, to tell some compilers that this is not long int
Stefan Kost [Fri, 9 Oct 2009 10:38:17 +0000 (13:38 +0300)]
build: don't cast, but use the right format specified instead
This correct some of the previous macos fixes.
Josep Torra [Fri, 9 Oct 2009 10:40:47 +0000 (12:40 +0200)]
dv: fix warnings on macosx
Josep Torra [Fri, 9 Oct 2009 10:25:19 +0000 (12:25 +0200)]
flac: fix warnings on macosx
Josep Torra [Fri, 9 Oct 2009 10:19:35 +0000 (12:19 +0200)]
annodex: fix warnings in macosx
Josep Torra [Fri, 9 Oct 2009 10:14:22 +0000 (12:14 +0200)]
osxvideo: fix a warning doing a cast
Josep Torra [Fri, 9 Oct 2009 10:11:12 +0000 (12:11 +0200)]
osxaudio: fix warnings on macosx
Josep Torra [Fri, 9 Oct 2009 10:01:10 +0000 (12:01 +0200)]
rtpvrawpay: fix warning on macosx
Josep Torra [Fri, 9 Oct 2009 09:57:59 +0000 (11:57 +0200)]
rtph263pay: fix warning on macosx
Josep Torra [Fri, 9 Oct 2009 09:54:03 +0000 (11:54 +0200)]
qtdemux: fix warnings building on macosx
Josep Torra [Fri, 9 Oct 2009 09:42:36 +0000 (11:42 +0200)]
id3demux: fix printf warnings on macosx
Josep Torra [Fri, 9 Oct 2009 09:30:00 +0000 (11:30 +0200)]
avidemux: fix warning in macosx making the format portable
Josep Torra [Fri, 9 Oct 2009 08:51:29 +0000 (10:51 +0200)]
audiofx: use G_GUINT64_FORMAT to fix warnings on OSX
Josep Torra [Fri, 9 Oct 2009 08:11:38 +0000 (10:11 +0200)]
osxaudio: Fixes build on macosx snow leopard.
Pau Garcia i Quiles [Fri, 9 Oct 2009 09:34:16 +0000 (11:34 +0200)]
v4l2: Include sys/ioctl.h for the V4L ioctl requests
Old videodevice2.h kernel headers used ioctl stuff without
including ioctl.h, making compilation fail on older systems.
Note: Including ioctl.h here is only a workaround for old kernel
headers, should be removed once everybody has new enough headers.
Fixes bug #597867.
Jan Schmidt [Thu, 8 Oct 2009 23:14:07 +0000 (00:14 +0100)]
check: Make the level unit test succeed on Solaris 10
Add a configure check for functional isinf() and fpclass(), and
use fpclass() where possible when isinf() is not available.
René Stadler [Sat, 16 May 2009 10:52:50 +0000 (13:52 +0300)]
matroskademux: fix strstr() usage on possibly unterminated string
Jan Schmidt [Thu, 8 Oct 2009 15:16:14 +0000 (16:16 +0100)]
check: Link against LIBM and include math.h for isinf()
Sjoerd Simons [Wed, 7 Oct 2009 20:51:38 +0000 (21:51 +0100)]
oss: Downgrade the rank of osssrc to SECONDARY
which is the same rank as osssink has.
Fixes bug #597730.
Jan Schmidt [Thu, 8 Oct 2009 09:59:53 +0000 (10:59 +0100)]
Automatic update of common submodule
From 19fa4f3 to a3e3ce4
Jan Schmidt [Thu, 8 Oct 2009 09:20:09 +0000 (10:20 +0100)]
avi/wav: Fix some compiler warnings about incompatible pointers.
Jan Schmidt [Mon, 5 Oct 2009 16:36:55 +0000 (17:36 +0100)]
multifile: Fix plugin description
Stefan Kost [Wed, 7 Oct 2009 11:03:20 +0000 (14:03 +0300)]
build: fprintf, sprintf, sscanf need stdio.h
Stefan Kost [Tue, 6 Oct 2009 21:33:49 +0000 (00:33 +0300)]
equalizer: use shelfing filters for first and last band
Refactor the filter setup. Add two new filters with shelf characteristics for
first and last band. Change gain calculation as recommended in the quoted
document (no qrt needed). Rename variables to match the formulas in the
document.
René Stadler [Fri, 2 Oct 2009 20:51:29 +0000 (23:51 +0300)]
pulsesrc: guard fragment size with a lower limit based on latency-time
In case that the pulse daemon runs the source device at a relatively low fixed
fragment size compared to the requested latency-time, configure the ring buffer
segsize to the largest integer multiple of the fragment size that is still
smaller than or equal to the requested latency-time.
Fixes bug #597463.
Stefan Kost [Tue, 6 Oct 2009 14:40:47 +0000 (17:40 +0300)]
jpegdec: comment/logging cleanups and more branch guides