Commit graph

10179 commits

Author SHA1 Message Date
Mark Nauwelaerts
1880c4145e auparse: avoid hanging on invalid short input
... as in such case there is no srcpad yet on which to forward EOS.
2011-07-19 12:05:51 +02:00
Thiago Santos
14b9fb7be6 pulsesrc: Fix default value leaking
Remember to free the default value of client name, avoiding a
leak
2011-07-18 15:16:01 -03:00
Mark Nauwelaerts
471904032d rtph264depay: reset upon FLUSH_STOP
... which is particularly needed when merging NAL units, where not resetting
would lead to output of an older (pre-flush) AU (with unintended timestamp).
2011-07-18 14:32:26 +02:00
Mark Nauwelaerts
6c0aec783a multifilesink: do not use g_slist_free_full
... as that is only in GLib 2.28, which is not yet required at this time.
2011-07-18 14:31:40 +02:00
Alessandro Decina
072bd74cc4 multifilesink: add max-files property
Add max-files property to limit the number of files saved on disk.

API: multifilesink::max-files
2011-07-18 10:21:41 +02:00
Alessandro Decina
c9096c6829 multifilesink: refactor file opening and closing code 2011-07-17 23:36:55 +02:00
Alexey Fisher
69c14012c9 matroskademux: fix pixel-aspect-ratio if header has only one display variable
Current matroska demux calculates the pixel aspect ratio only if both
DisplayHeight and DisplayWidth are set, but it is legal to use only
one variable if the other is equal to PixelWidth or PixelHeight, at
least the mkclean utility is doing that. So this makse mkcleaned
files play correctly.

https://bugzilla.gnome.org/show_bug.cgi?id=654744
2011-07-17 00:11:03 +01:00
Antoine Jacoutot
df3cee6606 goom: fix build on PPC on openbsd
A missing sys/param.h include results in:

/usr/include/sys/proc.h:64: error: 'MAXLOGNAME' undeclared here (not in a
function)
/usr/include/sys/proc.h:285: error: 'MAXCOMLEN' undeclared here (not in a
function)

when compiling goom on openbsd/ppc. We can just remove the two sys/ includes
here, they are not needed for anything.

https://bugzilla.gnome.org/show_bug.cgi?id=654749
2011-07-16 23:50:25 +01:00
Olivier Crête
87c7f303b0 rtppcmApay/depay: Static clock rates on static payloads, dynamic on dynamic
Partially reverts 397dc60b
2011-07-14 20:13:01 -04:00
Olivier Crête
57a832cbb1 rtph264pay: Implement getcaps
Convert profile-level-id from RTP caps into video/x-h264 style caps (with profile and level)
2011-07-13 14:10:35 -04:00
Mark Nauwelaerts
b98585df82 rtspsrc: fix seeking regression
... introduced when shuffling around code for the async implementation
by setting state of source (and udp sources) in _play before downstream
flushing is undone.
2011-07-12 15:13:25 +02:00
René Stadler
fd38772d3e ac3parse: fix buffer duration on blocks-per-frame change
The gst_base_parse_set_frame_rate call was predicated on a change to
sample rate, duration or profile. However, the block count per frame can
also change between packets, which would result in incorrect buffer
durations.
2011-07-11 15:35:46 +03:00
David Schleef
abb646dcd1 multifilesrc: Improve looping
Add start-index and stop-index properties.
2011-07-09 19:23:41 -07:00
Jonny Lamb
9149ce8d9d multifile: add loop property to multifilesrc
Fixes: #652727

Signed-off-by: Jonny Lamb <jonnylamb@jonnylamb.com>
Signed-off-by: David Schleef <ds@schleef.org>
2011-07-09 18:58:52 -07:00
Philip Jägenstedt
fbe726c3da directsoundsink: 16-bit audio is signed, 8-bit is unsigned.
Pretending to handle 8-bit signed causes distorted audio when
actually given such audio, which you will get if passing 8-bit
unsigned through audioconvert ! audioresample, as audioresample
only handles 8-bit signed.  Fixes #605834.

Signed-off-by: David Schleef <ds@schleef.org>
2011-07-09 16:45:51 -07:00
Alexey Fisher
a2e0bda3b5 matroskademux: handle blocks with duration=0
Some video frames, for example alt-ref frame in VP8, will be
never displayed. This is why it has duration=0.

This patch allow to use this duration.

Bug: 654175
Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
2011-07-08 09:58:29 +02:00
David Schleef
4dcc9ee42a qtmux: Add direct dirac mapping 2011-07-07 11:27:52 -07:00
René Stadler
ae87731de5 pulsesink: prevent race condition causing ref leak
Since commit 8bfd80, gst_pulseringbuffer_stop doesn't wait for the
deferred call to be run before returning. This causes a race when
READY->NULL is executed shortly after, which stops the mainloop. This
leaks the element reference which is passed as userdata for the callback
(introduced in commit 7cf996, bug #614765).

The correct fix is to wait in READY->NULL for all outstanding calls to
be fired (since libpulse doesn't provide a DestroyNotify for the
userdata). We get rid of the reference passing from 7cf996 altogether,
since finalization from the callback would anyways lead to a deadlock.

Re-fixes bug #614765.
2011-07-05 16:36:17 +02:00
René Stadler
f8456e2a1a pulsesink: small cleanup of copy-paste code 2011-07-05 16:36:17 +02:00
René Stadler
3589cee762 pulsesink: remove unused member variable and misleading log message
Wim changed it in commit 8bfd80 so that pa_defer_ran is not read
anywhere.

The log message used to annotate a mainloop_wait call which is gone.
2011-07-05 16:36:17 +02:00
David Schleef
f2c8761a50 goom: Don't answer lantency queries before negotiation 2011-07-04 12:59:50 -07:00
Mark Nauwelaerts
0c25863253 jpegdec: avoid crashing on invalid input without components 2011-07-04 14:32:27 +02:00
Mark Nauwelaerts
b307c74e9e flvmux: pass along segment info to collectpads
... so it can track this and be subsequently used to determine running time etc.
2011-07-04 11:36:48 +02:00
Mark Nauwelaerts
350b9b9d2d flvdemux: indicate raw format in aac caps 2011-07-04 11:36:46 +02:00
David Schleef
f69dcaab58 pulse: Increase ranks to PRIMARY + 10
So that pulsesrc/pulsesink get chosen over other possible PRIMARY
src/sinks by autoaudiosink.  Presumably, if pulse is available, it
is always preferred over another src/sink.

Fixes: #647540.
2011-07-03 19:53:42 -07:00
David Schleef
32aa80cda8 multipartmux: Add \r\n to tail of pushed buffers
Clients such as Firefox require the \r\n after the payload.
2011-07-03 18:27:17 -07:00
Branko Subasic
e385108f84 matroskademux: avoid looping when searching for clusters
Fixes some bugs that results in the demuxer looping when seaching
for clusters in non-finalized files.

https://bugzilla.gnome.org/show_bug.cgi?id=652195
2011-07-01 17:19:40 +01:00
Debarshi Ray
c8619aa0fd matroskaparse: fix reference counting of parse->streamheader
https://bugzilla.gnome.org/show_bug.cgi?id=652286

Signed-off-by: David Schleef <ds@schleef.org>
2011-06-29 23:56:53 -07:00
David Schleef
2f94df8032 jpegenc: Don't round up size of encoded buffers
For some reason, in code dating to 2001, encoded jpeg buffers were
rounded up to multiples of 4 bytes.  With the added bonus that the
extra bytes are unwritten, causing valgrind issues.  Oops.  I can't
think of any reason why JPEG buffers need to be multiples of 4 bytes,
so I removed the padding.  There might be some code somewhere that
depends on this behavior, so if this needs to be reverted, please fix
the valgrind issues.
2011-06-29 23:55:33 -07:00
Mark Nauwelaerts
cc526d2e52 qtmux: free date tag 2011-06-29 12:05:23 +02:00
Jonas Larsson
1912c86946 aacparse: not so greedy minimum frame size
Fixes #653559.
2011-06-28 12:40:27 +02:00
David Schleef
f528f62b53 configure: remove non-pkg-config check for shout
Fixes: 653327
2011-06-25 11:39:23 -07:00
Andoni Morales Alastruey
d9f4c59c49 dv1394src: make the internal clock thread safe
Fixes: #653091.
2011-06-24 12:01:39 -07:00
Miguel Angel Cabrera Moya
977a5eee7a rtpjitterbuffer: return correct type when assertion fails 2011-06-24 11:59:01 +02:00
David Schleef
55cb5c2889 Automatic update of common submodule
From 69b981f to 605cd9a
2011-06-23 11:28:27 -07:00
Arun Raghavan
04786a6d31 pulse: Drop support for PA versions before 0.9.16
This drops support fof PulseAudio versions prior to 0.9.16, which was
released about 1.5 years ago. Testing with very old versions is not
feasible and we don't want to maintain 2 independent code-paths.
2011-06-21 16:47:11 -07:00
Mark Nauwelaerts
3daf1ecc21 rtpmp4adepay: fix output buffer timestamps in case of multiple frames 2011-06-21 15:15:33 +02:00
Olivier Crête
581a30d892 rtpsession: The signal has 5 arguments, not 4 2011-06-20 16:47:36 -04:00
Tim-Philipp Müller
822970901e Bump git version after unplanned 0.10.30 release
Merge branch '0.10.30'

Conflicts:
	configure.ac
	docs/plugins/inspect/plugin-1394.xml
	docs/plugins/inspect/plugin-aasink.xml
	docs/plugins/inspect/plugin-alaw.xml
	docs/plugins/inspect/plugin-alpha.xml
	docs/plugins/inspect/plugin-alphacolor.xml
	docs/plugins/inspect/plugin-annodex.xml
	docs/plugins/inspect/plugin-apetag.xml
	docs/plugins/inspect/plugin-audiofx.xml
	docs/plugins/inspect/plugin-audioparsers.xml
	docs/plugins/inspect/plugin-auparse.xml
	docs/plugins/inspect/plugin-autodetect.xml
	docs/plugins/inspect/plugin-avi.xml
	docs/plugins/inspect/plugin-cacasink.xml
	docs/plugins/inspect/plugin-cairo.xml
	docs/plugins/inspect/plugin-cutter.xml
	docs/plugins/inspect/plugin-debug.xml
	docs/plugins/inspect/plugin-deinterlace.xml
	docs/plugins/inspect/plugin-dv.xml
	docs/plugins/inspect/plugin-efence.xml
	docs/plugins/inspect/plugin-effectv.xml
	docs/plugins/inspect/plugin-equalizer.xml
	docs/plugins/inspect/plugin-esdsink.xml
	docs/plugins/inspect/plugin-flac.xml
	docs/plugins/inspect/plugin-flv.xml
	docs/plugins/inspect/plugin-flxdec.xml
	docs/plugins/inspect/plugin-gconfelements.xml
	docs/plugins/inspect/plugin-gdkpixbuf.xml
	docs/plugins/inspect/plugin-goom.xml
	docs/plugins/inspect/plugin-goom2k1.xml
	docs/plugins/inspect/plugin-gstrtpmanager.xml
	docs/plugins/inspect/plugin-halelements.xml
	docs/plugins/inspect/plugin-icydemux.xml
	docs/plugins/inspect/plugin-id3demux.xml
	docs/plugins/inspect/plugin-imagefreeze.xml
	docs/plugins/inspect/plugin-interleave.xml
	docs/plugins/inspect/plugin-isomp4.xml
	docs/plugins/inspect/plugin-jack.xml
	docs/plugins/inspect/plugin-jpeg.xml
	docs/plugins/inspect/plugin-level.xml
	docs/plugins/inspect/plugin-matroska.xml
	docs/plugins/inspect/plugin-mulaw.xml
	docs/plugins/inspect/plugin-multifile.xml
	docs/plugins/inspect/plugin-multipart.xml
	docs/plugins/inspect/plugin-navigationtest.xml
	docs/plugins/inspect/plugin-oss4.xml
	docs/plugins/inspect/plugin-ossaudio.xml
	docs/plugins/inspect/plugin-png.xml
	docs/plugins/inspect/plugin-pulseaudio.xml
	docs/plugins/inspect/plugin-replaygain.xml
	docs/plugins/inspect/plugin-rtp.xml
	docs/plugins/inspect/plugin-rtsp.xml
	docs/plugins/inspect/plugin-shapewipe.xml
	docs/plugins/inspect/plugin-shout2send.xml
	docs/plugins/inspect/plugin-smpte.xml
	docs/plugins/inspect/plugin-soup.xml
	docs/plugins/inspect/plugin-spectrum.xml
	docs/plugins/inspect/plugin-speex.xml
	docs/plugins/inspect/plugin-taglib.xml
	docs/plugins/inspect/plugin-udp.xml
	docs/plugins/inspect/plugin-video4linux2.xml
	docs/plugins/inspect/plugin-videobox.xml
	docs/plugins/inspect/plugin-videocrop.xml
	docs/plugins/inspect/plugin-videofilter.xml
	docs/plugins/inspect/plugin-videomixer.xml
	docs/plugins/inspect/plugin-wavenc.xml
	docs/plugins/inspect/plugin-wavpack.xml
	docs/plugins/inspect/plugin-wavparse.xml
	docs/plugins/inspect/plugin-ximagesrc.xml
	docs/plugins/inspect/plugin-y4menc.xml
	win32/common/config.h
2011-06-18 13:43:02 +01:00
Tim-Philipp Müller
53ee37b3d2 sunaudio: fix typo in comment 2011-06-18 13:36:06 +01:00
Stefan Kost
6c3e77964a audioecho: fix param flags
If the parameter cannot be changed in paused&playing, it is not controlable. Set
the appropriate mutability flag instead.
2011-06-17 03:07:09 +03:00
Tim-Philipp Müller
673d519898 Release 0.10.30
This is an ad-hoc release that is almost identical to 0.10.29:

 * work around GLib atomic ops API change
 * better handling of malformed buffers in RTP depayloders
 * some minor compilation fixes
2011-06-15 23:57:34 +01:00
Raimo Järvi
2f49eb30b1 udp: Fix compiler warning on mingw-w64
Fixes: #652144.
gstudpnetutils.h:32:0: error: "WINVER" redefined
/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw.h:231:0: note: this is the
location of the previous definition
2011-06-15 21:10:24 +01:00
David Schleef
fc3b43ef62 interleave: Work around changes in g_atomic API
See #651514 for details.
2011-06-15 21:10:01 +01:00
Jose Antonio Santos Cadenas
1f6af8a815 rtp: Fix segmentation fault processing payload buffers
This commit checks if the value returned by
gst_rtp_buffer_get_payload_buffer and
gst_rtp_buffer_get_payload_subbuffer is NULL before using it.
2011-06-15 21:08:41 +01:00
Pino Toscano
e4f7411b57 pulse: Define PATH_MAX if it isn't defined
GNU Hurd for example doesn't define it.
2011-06-15 21:07:07 +01:00
Sebastian Dröge
b2f1983560 wavenc: Allow setcaps to be called after a format was negotiated if it's compatible
Otherwise wavenc will fail if upstream decides to set equivalent caps or caps
with additional information later.

Thanks to Alexander Schremmer for finding this bug.
2011-06-15 21:06:49 +01:00
Stefan Kost
b5d5fa2bb9 matroska: add missing stdio include for sscanf 2011-06-14 01:07:57 +03:00
Mark Nauwelaerts
d17d6d74be audioparsers: not so greedy minimum frame size
... which will be determined by parsing anyway, and avoids introducing
redundant additional latency.
2011-06-13 17:06:37 +02:00
Raimo Järvi
4f15c9e30e udp: Fix compiler warning on mingw-w64
Fixes: #652144.
gstudpnetutils.h:32:0: error: "WINVER" redefined
/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw.h:231:0: note: this is the
location of the previous definition
2011-06-11 18:02:17 -07:00