Commit graph

18018 commits

Author SHA1 Message Date
Wim Taymans
1fec709792 avidemux: avoid crashing on subtitles
Avoid a crash in avi with subtitles by only dereferencing the video description
when we actually are dealing with video in the _invert function.
2009-02-25 12:05:22 +01:00
Stefan Kost
68811432dc docs: various doc fixes
No short-desc as we have them in the element details.
Also keep things (Makefile.am and sections.txt) sorted.
Reword ambigous returns. No text after since please.
2009-02-25 12:42:36 +02:00
Jan Schmidt
8588ebd22a udp: Fix strict-aliasing warnings from gcc 4.4.0
Fix strict aliasing warnings by defining a union on the different
sockaddr structs that we need.
2009-02-24 18:19:57 +00:00
Tim-Philipp Müller
b4115aa83e rtp: Fix compiler warning in h264 payloader
Fix an undefined behaviour warning from gcc 4.4.0

Patch By: Tim-Philipp Müller <tim.muller@collabora.co.uk>
Fixes: #570995
Signed-Off-By: Jan Schmidt <jan.schmidt@sun.com>
2009-02-24 17:59:29 +00:00
Jan Schmidt
929beb1ae0 Use shave for the build output 2009-02-24 17:59:28 +00:00
Sebastian Dröge
5da35b1ee2 gconf: Rename gconf.[ch] to gstgconf.[ch] to prevent name conflicts 2009-02-24 14:56:14 +01:00
Edward Hervey
6512b3eb81 qtdemux: Also use "(c)inf" to fill the comment tag 2009-02-24 14:41:26 +01:00
Mark Nauwelaerts
21cb00aa9c rtspsrc: perform UDP SETUP according to MS RTSP spec
MS RTSP spec states that the UDP port pair used in subsequent SETUP
requests for various streams must be identical (since there will actually
be only 1 stream of muxed asf packets).  Following traditional specs and
using different port pairs in the SETUPs for separate streams will result
in all but the first one failing and only one stream being streamed.

So, in appropriate circumstances, retry UDP SETUP using previously used
port pair.  Fixes #552650.
2009-02-23 22:47:55 +01:00
Aurelien Grimaud
969622b439 Read ICMP error messages instead of looping
When we are dealing with connected sockets shared between a udpsrc and a udpsink
we might receive ICMP connection refused error messages in udpsrc that will
cause it to go into a bursty loop because the poll returns right away without a
message to read.

Instead of looping, read the error message from the error queue in udpsrc.
Fixes #567857.
2009-02-23 20:49:37 +01:00
Wim Taymans
04359c8382 Conditionally compile code for YVYU
Only compile the code for the YVYU format when the format is actually defined.
Spotted by tmatth on IRC.
2009-02-23 19:53:58 +01:00
Levente Farkas
d2fc4cb3ba v4l2src: Make sort_by_frame_size conditionally compiled
sort_by_frame_size is declared static and only used inside
an ifdef, so use the same ifdef to define the function.  Fixes #572185

Signed-off-by: David Schleef <ds@schleef.org>
2009-02-23 09:20:49 -08:00
Wim Taymans
42c8aa7abc Add YVYU format to caps
Add YVYU format to the caps. We don't have anything to handle these caps yet,
though.
2009-02-23 17:05:43 +01:00
Wim Taymans
7e64f1d106 Some cleanups
Remove some unused variables.
Avoid a useless _resync call.
Correctly use a gboolean.
2009-02-23 15:48:41 +01:00
Wai-Ming Ho
aeee52be05 Always add PPS to the sprop-parameters-set
Rework the parsing code that under certain circumstances dropped the PPS from
the sprop-parameters-set.
Fixes #572854.
2009-02-23 15:43:51 +01:00
Arnout Vandecappelle
b9adb5846b Don't do crazy things with 0/1 framerates
We use 0/1 framerates to mark variable framerates and matroskamux should not try
to calculate a frame duration for it.
Fixes #571294.
2009-02-23 12:14:23 +01:00
Wim Taymans
bde39c955f Require newer gst-p-b for the RTSP extensions.
--
2009-02-23 11:45:50 +01:00
Wim Taymans
a08d75b892 Call new receive_request method
Call the receive_request extension methods so that extensions can handle the
server request if they want.
2009-02-23 11:42:53 +01:00
Wim Taymans
c4d53e9cc2 Add method for hadling server requests
Add method to handle server requests on the list of RTSP extensions.
2009-02-23 11:13:30 +01:00
Wim Taymans
8c9931e13e Don't use GST_ERROR for non-error cases.
Turn a GST_ERROR line into a GST_DEBUG line so that we don't spam the log with
errors. Fixes #570781.
2009-02-23 11:09:53 +01:00
Sjoerd Simons
ef33cf891f gconfvideo(src|sink): Disconnect GConf notifications
Fixes bug #571321.
2009-02-22 19:30:32 +01:00
Sebastian Dröge
a7c2b13543 matroskademux: Unref the buffer and not the memory address of the buffer 2009-02-22 19:25:39 +01:00
Olivier Crete
bfcf84a3eb alaw/mulaw: Implement _getcaps function for alaw/mulaw decoders
Fixes bug #572358.
2009-02-22 18:47:35 +01:00
Olivier Crete
b3a90202c1 alaw/mulaw: Don't require both, rate and channel, to be set in _getcaps
Fixes bug #572358.
2009-02-22 18:46:03 +01:00
Sebastian Dröge
6756475fd3 avidemux: Fix alignment issues by using GST_READ_*
Reading integers from random memory addresses will result
in SIGBUS on some architectures if the memory address
is not correctly aligned. This can happen at two
places in avidemux so we should use GST_READ_UINT32_LE
and friends here. Fixes bug #572256.
2009-02-22 18:32:02 +01:00
Sebastian Dröge
dfa627da30 pulsemixer: Don't use g_atomic_int_(get|set) for accessing the mixer track flags
g_atomic_int_(get|set) only work on ints and the flags are
an enum (which on most architectures is stored as an int).

Also the way the flags were accessed atomically would still
leave a possible race condition and we don't do it in any
other mixer track implementation, let alone at any other
place where an integer could be changed from different
threads. Removing the g_atomic_int_(get|set) will only
introduce a new race condition on architectures where
integers could be half-written while reading them
which shouldn't be the case for any modern architecture
and if we really care about this we need to use
g_atomic_int_(get|set) at many other places too.

Apart from that g_atomic_int_(set|get) will result in
aliasing warnings if their argument is explicitely
casted to an int *. Fixes bug #571153.
2009-02-22 18:08:59 +01:00
Jan Schmidt
64a91fcf8a Automatic update of common submodule
From 5d7c9cc to 9cf8c9b
2009-02-22 15:52:06 +00:00
Sebastian Dröge
b6e745d2d3 hdv1394src: Don't use void * pointer arithmetic 2009-02-22 12:41:53 +01:00
David Schleef
2f203be331 Automatic update of common submodule
From 80c627d to 5d7c9cc
2009-02-21 11:13:43 -08:00
Jan Schmidt
f2f655c9cf Back to development -> 0.10.14.1 2009-02-21 18:42:46 +00:00
Olivier Crête
c0ad75c810 Document rtpdtmfdepay a bit 2009-02-21 17:48:08 +01:00
Olivier Crête
b7caf76974 Moved dtmf elements from gst-plugins-farsight to -bad 2009-02-21 17:48:08 +01:00
Olivier Crête
b95b1516e5 Fix up documentation blobs SGML 2009-02-21 17:48:08 +01:00
Olivier Crête
22b1337ed7 Re-indent to Gst style 2009-02-21 17:48:07 +01:00
Laurent Glayal
d89e80f1c9 [MOVED FROM GST-P-FARSIGHT] Missing format directive 2009-02-21 17:48:07 +01:00
Olivier Crête
c50e962be0 [MOVED FROM GST-P-FARSIGHT] Allow setting a maximum duration to a RTP DTMF event 2009-02-21 17:48:07 +01:00
Olivier Crête
853337f1cc [MOVED FROM GST-P-FARSIGHT] Improve the minimum quanta to make it impossible for the duration to fall down to 0 2009-02-21 17:48:07 +01:00
Olivier Crête
aa5cab8948 [MOVED FROM GST-P-FARSIGHT] Allow setting a minimum size of a sound quanta in the dtmf depayloader 2009-02-21 17:48:07 +01:00
Olivier Crête
fe9455bfde [MOVED FROM GST-P-FARSIGHT] Remove .git-darcs-dir files 2009-02-21 17:48:07 +01:00
Håvard Graff
256bdeb4c4 [MOVED FROM GST-P-FARSIGHT] Do wierd casting of the volume to make MSVC happy 2009-02-21 17:48:07 +01:00
Olivier Crête
918d78dd22 [MOVED FROM GST-P-FARSIGHT] Clarify the documentation of the "event-type" field when specifying dtmf events 2009-02-21 17:48:07 +01:00
Olivier Crete
9154bb29ff [MOVED FROM GST-P-FARSIGHT] Remove g_debugs
20080722213938-3e2dc-44a82d017fe66f3112301c410aa0b543de6156ad.gz
2009-02-21 17:48:06 +01:00
Olivier Crete
f0da427c61 [MOVED FROM GST-P-FARSIGHT] Take rate from the peers caps if possible
20080613235723-3e2dc-15690ee42708c539e1be12e20e076a5613faea96.gz
2009-02-21 17:48:06 +01:00
Olivier Crete
d881f34e0e [MOVED FROM GST-P-FARSIGHT] Put the sample rate in dtmfsrc into a variable
20080613234144-3e2dc-e60070943bec829b703b8821c7aa4351a02deebe.gz
2009-02-21 17:48:06 +01:00
Olivier Crete
de1e6bb778 [MOVED FROM GST-P-FARSIGHT] Take the clock-rate from the caps in rtpdtmfsrc
20080613233006-3e2dc-a7d4e918643f4f8c1bb2cc2678558c654025920e.gz
2009-02-21 17:48:05 +01:00
Olivier Crete
26e8fb1361 [MOVED FROM GST-P-FARSIGHT] Link modules with libm where required
20080428222237-3e2dc-b1e9120c1e9ca1a510bfd7c27e2d45f0d4a12504.gz
2009-02-21 17:48:05 +01:00
Youness Alaoui
4bc6ae9570 [MOVED FROM GST-P-FARSIGHT] Fix byte ordering issues with dtmfsrc and rtpdtmfdepay.. use of G_STRINGIFY to avoid error on MSVC
20080412234418-4f0f6-4828d1613dfcd564afd236dfc8fb57a299092f83.gz
2009-02-21 17:48:05 +01:00
Youness Alaoui
41e8f4658b [MOVED FROM GST-P-FARSIGHT] Fix copyrights again, per smcv's advice..
20080320191438-4f0f6-671c9db5d996a4601df017ceab4af6d16469c966.gz
2009-02-21 17:48:05 +01:00
Olivier Crete
f819f80e80 [MOVED FROM GST-P-FARSIGHT] Make it clear that dtmfsrc also takes named events as input
20080319211731-3e2dc-26c729f6dc8db27e71cf6b22646a81530dbf862f.gz
2009-02-21 17:48:05 +01:00
Youness Alaoui
c8be507679 [MOVED FROM GST-P-FARSIGHT] debug message made into errors because that's what they are...
20080320184841-4f0f6-8a2d283297b02713dade0ae4acaa5f6e0f67eace.gz
2009-02-21 17:48:05 +01:00
Youness Alaoui
f3bcdb3a29 [MOVED FROM GST-P-FARSIGHT] Clean unused stuff...
20080320183937-4f0f6-bcb841cdc07f9e9677512f4b50b4b659a58c6783.gz
2009-02-21 17:48:05 +01:00