platform/upstream/gst-plugins-good.git
15 years agortpmp4apay: warn if input is unframed
Tim-Philipp Müller [Wed, 25 Mar 2009 01:22:17 +0000 (01:22 +0000)]
rtpmp4apay: warn if input is unframed

15 years agojpegdec: put GstSegment inside the element struct instead of allocating it separately
Tim-Philipp Müller [Sun, 22 Mar 2009 21:20:57 +0000 (21:20 +0000)]
jpegdec: put GstSegment inside the element struct instead of allocating it separately

15 years agov4l2src: move duplicated timestamping and buffer metadata code to _create()
Stefan Kost [Wed, 25 Mar 2009 08:08:41 +0000 (10:08 +0200)]
v4l2src: move duplicated timestamping and buffer metadata code to _create()

This will include the latency changes also in the mmap case.

15 years agov4l2src: remove win32 ifdefs introduced by commit cff3f46760eac74c9bbd7a36aca44fedf32...
Stefan Kost [Wed, 25 Mar 2009 08:06:48 +0000 (10:06 +0200)]
v4l2src: remove win32 ifdefs introduced by commit cff3f46760eac74c9bbd7a36aca44fedf327424b

V4l2src is under sys and does not exists/run under windows anyway.

15 years agoqtdemux: handle FLUSH_STOP event
Mark Nauwelaerts [Tue, 24 Mar 2009 14:44:42 +0000 (15:44 +0100)]
qtdemux: handle FLUSH_STOP event

Clean up some state (most notably pad flow returns) to resume
proper streaming following flushing seek.

15 years agoavidemux: don't post an error if EOS can't be pushed downstream.
Alessandro Decina [Tue, 24 Mar 2009 11:42:13 +0000 (12:42 +0100)]
avidemux: don't post an error if EOS can't be pushed downstream.

This aligns avidemux with other demuxers and fixes a bug using avidemux
with a recent gnonlin.

15 years agopulsesink: clean up the state change function
Wim Taymans [Mon, 23 Mar 2009 10:22:08 +0000 (11:22 +0100)]
pulsesink: clean up the state change function

Make the state change function a bit more readable and only pause after the
parent had a change to pause first.

15 years agoqtdemux: support seeking in push based mode
Mark Nauwelaerts [Fri, 20 Mar 2009 16:22:32 +0000 (17:22 +0100)]
qtdemux: support seeking in push based mode

15 years agoqtdemux: align push based behaviour more with pull based
Mark Nauwelaerts [Fri, 20 Mar 2009 16:11:39 +0000 (17:11 +0100)]
qtdemux: align push based behaviour more with pull based

Cater for DELTA_UNIT flag on buffers, keep track of current
position, remove and warn about edit lists if any (as those
as are de facto discarded anyway), add some debug statements
and indent fixes.

15 years agoqtdemux: fix mem leaks and prevent excessive buffering in push based mode
Mark Nauwelaerts [Fri, 20 Mar 2009 16:03:03 +0000 (17:03 +0100)]
qtdemux: fix mem leaks and prevent excessive buffering in push based mode

15 years agopulsesink: Track the corked/uncorked state ourselves
Jan Schmidt [Fri, 20 Mar 2009 13:27:59 +0000 (13:27 +0000)]
pulsesink: Track the corked/uncorked state ourselves

Use an instance variable to track whether the stream is corked or not,
instead of using PA API that was only introduced in 0.9.11

15 years agopulse: Make sure the stream is uncorked in the write function
Jan Schmidt [Thu, 19 Mar 2009 18:39:04 +0000 (18:39 +0000)]
pulse: Make sure the stream is uncorked in the write function

If the caps changes, the sink is reset without transitioning through
a PAUSED->PLAYING state change, resulting in a corked stream. This avoids
the problem by checking that the stream is uncorked when writing samples
to it.

15 years agospeexenc: fix direction of latency query and other upstream queries
Tim-Philipp Müller [Fri, 20 Mar 2009 01:02:26 +0000 (01:02 +0000)]
speexenc: fix direction of latency query and other upstream queries

Don't send queries back to the element they just came from by sending
them to the peer of the wrong pad.

15 years ago.gitignore: ignore more
Tim-Philipp Müller [Thu, 19 Mar 2009 11:10:40 +0000 (11:10 +0000)]
.gitignore: ignore more

15 years agortpmp4adepay: don't append an extra 0 byte to the codec data
Tim-Philipp Müller [Wed, 18 Mar 2009 16:55:27 +0000 (16:55 +0000)]
rtpmp4adepay: don't append an extra 0 byte to the codec data

The audioMuxVersion structure is packed in such a way that the codec
data does not start byte-aligned, which means there's an extra bit of
padding at the end. We don't want that bit in the codec data, since
some decoders seem get confused when they're fed with an extra codec
data byte (also it's just not right of course).

15 years agortph264depay: fix base64 decoding
Wim Taymans [Thu, 19 Mar 2009 12:25:57 +0000 (13:25 +0100)]
rtph264depay: fix base64 decoding

We can't pass -1 to _decode_step, that functions returns 0 right away instead of
decoding up to the string end.

15 years agoudp: Fix build if on Solaris
David Adam [Thu, 19 Mar 2009 12:24:02 +0000 (13:24 +0100)]
udp: Fix build if on Solaris

This patch checks for Solaris and uses ip_mreq instead of ip_mreqn if on this
platform.
Fixes #575937.

15 years agortp: Use GLib functions for encoding/decoding base64
Sebastian Dröge [Wed, 18 Mar 2009 13:50:17 +0000 (14:50 +0100)]
rtp: Use GLib functions for encoding/decoding base64

15 years agortspsrc: add some debug for the timestamps
Wim Taymans [Mon, 16 Mar 2009 18:17:24 +0000 (19:17 +0100)]
rtspsrc: add some debug for the timestamps

When timestamping in TCP mode, log the first timestamp we put on the buffers.

15 years agov4l2src: log details if we have them, needed for #575391
Stefan Kost [Sun, 15 Mar 2009 21:26:56 +0000 (23:26 +0200)]
v4l2src: log details if we have them, needed for #575391

15 years agoudpsrc: convert _ in properties to -
Wim Taymans [Fri, 13 Mar 2009 17:32:47 +0000 (18:32 +0100)]
udpsrc: convert _ in properties to -

--

15 years agoudpsrc: Add network interface selection
Edgar E. Iglesias [Fri, 13 Mar 2009 17:28:59 +0000 (18:28 +0100)]
udpsrc: Add network interface selection

Add network interface selection when joining multicast groups.
Useful when using the udpsrc on multihomed hosts.
Fixes #575234.

API: GstUDPSrc::multicast-iface

15 years agov4l2src: Prepend to lists and reverse them at the end.
Jan Schmidt [Fri, 13 Mar 2009 15:43:52 +0000 (15:43 +0000)]
v4l2src: Prepend to lists and reverse them at the end.

Gratuitous micro-optimisation - prepend to lists and reverse them, rather
than appending to them each time.

15 years agopulsesink: Wait until there is enough room to write an entire segment
Jan Schmidt [Fri, 13 Mar 2009 15:40:50 +0000 (15:40 +0000)]
pulsesink: Wait until there is enough room to write an entire segment

When trying to write out a segment, wait until there is enough free space
for the entire segment. This helps to reduce ripple in the clock reporting,
where the app might query the playback position while only half a segment
has been written (and is therefore reported by _delay(), even though
the ring buffer has not yet been advanced)

15 years agortspsrc: don't send PAUSE when not connected
Wim Taymans [Thu, 12 Mar 2009 19:38:42 +0000 (20:38 +0100)]
rtspsrc: don't send PAUSE when not connected

don't send a PAUSE request when we are no longer connected.

15 years agoDon't call FLAC__ methods before it's initialized. Fixes #516031
Laszlo Pandy [Thu, 12 Mar 2009 15:10:25 +0000 (16:10 +0100)]
Don't call FLAC__ methods before it's initialized. Fixes #516031

In the event handler, gst_flac_dec_sink_event(), two functions are called on
the FLAC stream without checking if it has been initialized:
FLAC__stream_decoder_flush()
FLAC__stream_decoder_process_until_end_of_stream()

Both these FLAC__*() functions modify the internal state of the FLAC stream.
Later, when the buffers start flowing, gst_flac_dec_chain() tries to initialize
the stream. the FLAC__stream_decoder_init_stream() call will fail because the
previous calls to FLAC__*() changed the stream state so it is no longer in the
initialized state.

15 years agortspsrc: fix timeout check
Wim Taymans [Wed, 11 Mar 2009 16:59:00 +0000 (17:59 +0100)]
rtspsrc: fix timeout check

---

15 years agowin32: update MANIFEST, fixing 'make dist'
Tim-Philipp Müller [Wed, 11 Mar 2009 12:48:03 +0000 (12:48 +0000)]
win32: update MANIFEST, fixing 'make dist'

config.h.in no longer exists.

15 years agomakefile: fix typo in no-static plugins rule
Stefan Kost [Tue, 10 Mar 2009 19:14:43 +0000 (21:14 +0200)]
makefile: fix typo in no-static plugins rule

15 years agopngdec: various cleanups.
Wim Taymans [Tue, 10 Mar 2009 10:01:16 +0000 (11:01 +0100)]
pngdec: various cleanups.

Make some code more readable.
Fix a leak when pull range returns a shot buffer.
Push EOS after posting the error.

15 years agogstrtpvorbisdepay: Fix build on macosx
Edward Hervey [Tue, 10 Mar 2009 09:16:27 +0000 (10:16 +0100)]
gstrtpvorbisdepay: Fix build on macosx

15 years ago.gitignore: Ignore m4 directory
Edward Hervey [Sun, 1 Mar 2009 16:37:56 +0000 (17:37 +0100)]
.gitignore: Ignore m4 directory

15 years agoAutomatic update of common submodule
Jan Schmidt [Mon, 9 Mar 2009 23:12:33 +0000 (23:12 +0000)]
Automatic update of common submodule

From 7032163 to f8b3d91

15 years agovorbisdepay: fix some leaks
Wim Taymans [Mon, 9 Mar 2009 17:07:20 +0000 (18:07 +0100)]
vorbisdepay: fix some leaks

And leak the codebooks.
Use glib base64 decoders.
Use subbuffers to avoid a memcpy of the headers.

15 years agoflacdec: don't lose the first buffer after a seek
Wim Taymans [Mon, 9 Mar 2009 16:14:12 +0000 (17:14 +0100)]
flacdec: don't lose the first buffer after a seek

The flacdec API calls the write callback when performing a seek. We cannot yet
push out a buffer at that time so we must keep it and push it out later.
Flush out the upstream part of the pipeline when doing a seek.
Fixes #574275.

15 years agoqtdemux: sanitize tag names
Wim Taymans [Mon, 9 Mar 2009 14:20:05 +0000 (15:20 +0100)]
qtdemux: sanitize tag names

Sanitize the tag names before turning them into a structure name. We can only
add alphanumeric values as the structure name.

15 years agoAutomatic update of common submodule
Sebastian Dröge [Sun, 8 Mar 2009 11:04:22 +0000 (12:04 +0100)]
Automatic update of common submodule

From ffa738d to 7032163

15 years agoAutomatic update of common submodule
Sebastian Dröge [Sun, 8 Mar 2009 10:19:56 +0000 (11:19 +0100)]
Automatic update of common submodule

From 3f13e4e to ffa738d

15 years agoAutomatic update of common submodule
Sebastian Dröge [Sat, 7 Mar 2009 10:45:35 +0000 (11:45 +0100)]
Automatic update of common submodule

From 3c7456b to 3f13e4e

15 years agoAutomatic update of common submodule
Sebastian Dröge [Sat, 7 Mar 2009 09:45:40 +0000 (10:45 +0100)]
Automatic update of common submodule

From 57c83f2 to 3c7456b

15 years agov4l2src: fix pads, so that they are subset of template caps
Stefan Kost [Fri, 6 Mar 2009 19:56:26 +0000 (21:56 +0200)]
v4l2src: fix pads, so that they are subset of template caps

Do not add w=0 | h=0. When we can't get a framerate add fraction range.

15 years agortspsrc: fix range parsing
Wim Taymans [Thu, 5 Mar 2009 13:08:14 +0000 (14:08 +0100)]
rtspsrc: fix range parsing

Fix parsing of the range headers.

15 years agoMove siren rtp pay/depay from gst-plugins-farsight
Olivier Crête [Tue, 10 Feb 2009 17:20:57 +0000 (17:20 +0000)]
Move siren rtp pay/depay from gst-plugins-farsight

15 years agortspsrc: fix memory leak in close
Wim Taymans [Wed, 4 Mar 2009 15:25:34 +0000 (16:25 +0100)]
rtspsrc: fix memory leak in close

Close the connection even when we fail to send the teardown message.
Use the connection url (which is a copy of the src url).

15 years agocheck: gst-plugins-good.supp needs to be distributed.
Peter Kjellerstedt [Wed, 4 Mar 2009 15:15:05 +0000 (16:15 +0100)]
check: gst-plugins-good.supp needs to be distributed.

15 years agortspsrc: fix do-rtcp property description
Wim Taymans [Wed, 4 Mar 2009 11:29:50 +0000 (12:29 +0100)]
rtspsrc: fix do-rtcp property description

---

15 years agosouphttpsrc: Expose the SoupSession 'timeout' property.
Edward Hervey [Tue, 3 Mar 2009 11:20:27 +0000 (12:20 +0100)]
souphttpsrc: Expose the SoupSession 'timeout' property.

15 years ago.gitignore: Ignore the m4/ directory
Edward Hervey [Mon, 2 Mar 2009 14:07:24 +0000 (15:07 +0100)]
.gitignore: Ignore the m4/ directory

15 years agortpmp4vpay: Add support for more formats
Wim Taymans [Mon, 2 Mar 2009 16:18:55 +0000 (17:18 +0100)]
rtpmp4vpay: Add support for more formats

Hack around short header mpeg4 video files and put the short header as the
config string.
Fixes #572551.

15 years agortspsrc: add support for http tunneling
Wim Taymans [Mon, 2 Mar 2009 15:08:23 +0000 (16:08 +0100)]
rtspsrc: add support for http tunneling

Add support for http tunneling and a new rtsph:// uri for it.
See #573173.

15 years agoMerge branch 'master' of ssh://thomasvs@git.freedesktop.org/git/gstreamer/gst-plugins...
Thomas Vander Stichele [Mon, 2 Mar 2009 08:43:30 +0000 (09:43 +0100)]
Merge branch 'master' of ssh://thomasvs@git.freedesktop.org/git/gstreamer/gst-plugins-good

15 years agoAdd/clarify/fix some logging.
Thomas Vander Stichele [Mon, 2 Mar 2009 07:41:15 +0000 (08:41 +0100)]
Add/clarify/fix some logging.

15 years agoRemove hardcoded definition of OBJC
David Schleef [Sun, 1 Mar 2009 20:47:37 +0000 (12:47 -0800)]
Remove hardcoded definition of OBJC

15 years agoWait for a frame to become available before capturing it
Sjoerd Simons [Sun, 1 Mar 2009 18:55:26 +0000 (19:55 +0100)]
Wait for a frame to become available before capturing it

Use GstPoll to wait for the fd of the video device to become readable before
trying to capture a frame. This speeds up stopping v4l2src a lot as it no
longer has to wait for the next frame, especially when capturing with low
framerates or when the video device just never generates a frame (which seems a
common issue for uvcvideo devices)

Fixes bug #563574.

15 years agoalawdec, mulawdec: demote some debug messages from ERROR to WARNING or DEBUG
Tim-Philipp Müller [Sat, 14 Feb 2009 17:56:05 +0000 (17:56 +0000)]
alawdec, mulawdec: demote some debug messages from ERROR to WARNING or DEBUG

Non-ok flow returns may happen for a variety of perfectly legitimate and expected reasons
(temporarily not linked, seeking, pipeline shutdown), so we really shouldn't spew ERROR
debug messages to stderr in those cases. Fixes #570781. (Seems like someone already took
care of some of these.)

15 years agorgvolume: Improve log message for peak values >1.0 by clamping explicitly.
René Stadler [Sat, 28 Feb 2009 13:26:00 +0000 (15:26 +0200)]
rgvolume: Improve log message for peak values >1.0 by clamping explicitly.

15 years agoFix the field dominance
David Schleef [Sat, 28 Feb 2009 07:25:32 +0000 (23:25 -0800)]
Fix the field dominance

PAL is TFF, NTSC is BFF.  Some day I will learn to keep this
straight.

15 years agodirectdrawsink: Fix type mismatches
LRN [Fri, 27 Feb 2009 19:40:31 +0000 (20:40 +0100)]
directdrawsink: Fix type mismatches

Fixes bug #573343.

15 years agoMerge branch 'master' of ssh://git.freedesktop.org/git/gstreamer/gst-plugins-good
Sebastian Dröge [Fri, 27 Feb 2009 19:28:27 +0000 (20:28 +0100)]
Merge branch 'master' of ssh://git.freedesktop.org/git/gstreamer/gst-plugins-good

15 years agoudp: Don't set errno to EAFNOSUPPORT unconditionally
LRN [Fri, 27 Feb 2009 19:24:53 +0000 (20:24 +0100)]
udp: Don't set errno to EAFNOSUPPORT unconditionally

Fixes bug #573342.

15 years agorgvolume: ignore out-of-range peak values
Michael Smith [Fri, 27 Feb 2009 19:17:50 +0000 (11:17 -0800)]
rgvolume: ignore out-of-range peak values

If the peak value is > 1 (and thus nonsensical) ignore it. Prevents
rgvolume reducing volume to effectively silent on files with bogus peak
values.

15 years agowavparse: Fix SEEK event handling in push mode, and SEEKABLY query handling
Mark Nauwelaerts [Fri, 27 Feb 2009 12:29:41 +0000 (13:29 +0100)]
wavparse: Fix SEEK event handling in push mode, and SEEKABLY query handling

Standard pull mode loop based SEEK handling fails in push mode,
so convert the SEEK event appropriately and dispatch to upstream.
Also cater for NEWSEGMENT event handling, and properly inform
downstream and application of SEEKABLE capabilities, depending
on scheduling mode and upstream.

15 years agomatroskademux: Remove gst_util_dump_mem() calls.
Edward Hervey [Fri, 27 Feb 2009 10:04:08 +0000 (11:04 +0100)]
matroskademux: Remove gst_util_dump_mem() calls.

15 years agoavidemux: fix SEEK event handling in push mode
Julien Moutte [Thu, 26 Feb 2009 18:07:35 +0000 (19:07 +0100)]
avidemux: fix SEEK event handling in push mode

When in push mode we should not try to handle the SEEK event as there's
no code to handle it properly. Propagate upstream.

15 years agortspsrc: add the .h file change too
Patrick Radizi [Thu, 26 Feb 2009 18:05:06 +0000 (19:05 +0100)]
rtspsrc: add the .h file change too

Add the .h file change for the new property.

15 years agortspsrc: add property to disable RTCP
Patrick Radizi [Thu, 26 Feb 2009 18:03:52 +0000 (19:03 +0100)]
rtspsrc: add property to disable RTCP

Some old servers don't like us doing RTCP and thus we need a property to disable
it. See #573173.

15 years agoudp: fix gst_udp_set_loop_ttl() again
Jan Smout [Thu, 26 Feb 2009 12:19:31 +0000 (13:19 +0100)]
udp: fix gst_udp_set_loop_ttl() again

Fix the gst_udp_set_loop_ttl() function that was commented out in a
previous commit. See #573115.

15 years agortpvrawdepay: fail on interlaced video
Wim Taymans [Thu, 26 Feb 2009 12:06:17 +0000 (13:06 +0100)]
rtpvrawdepay: fail on interlaced video

Fail on interlaced video until we support it.

15 years agortpvrawpay: fail on interlaced video
Wim Taymans [Thu, 26 Feb 2009 12:00:58 +0000 (13:00 +0100)]
rtpvrawpay: fail on interlaced video

Detect and fail when trying to payload interlaced video.

15 years agoChange how win32/common/config.h is updated
David Schleef [Thu, 26 Feb 2009 04:47:15 +0000 (20:47 -0800)]
Change how win32/common/config.h is updated

Generate win32/common/config.h-new directly from config.h.in,
using shell variables in configure and some hard-coded information.
Change top-level makefile so that 'make win32-update' copies the
generated file to win32/common/config.h, which we keep in source
control.  It's kept in source control so that the git tree is
buildable from VS.

This change is similar to the one recently applied to GStreamer
and gst-plugins-good.  The previous config.h file in -good was in
pretty bad shape, so unlike core and base, I didn't attempt to
leave it strictly the same, but fixed it as necessary.  Needs
testing I cannot do myself.

15 years agodvdec: Add interlacing info to caps and buffers
David Schleef [Thu, 26 Feb 2009 03:58:29 +0000 (19:58 -0800)]
dvdec: Add interlacing info to caps and buffers

15 years agobuild: Update shave init statement for changes in common. Bump common.
Jan Schmidt [Wed, 25 Feb 2009 14:57:33 +0000 (14:57 +0000)]
build: Update shave init statement for changes in common. Bump common.

15 years agoudpsrc: fix compilation
Wim Taymans [Wed, 25 Feb 2009 13:01:26 +0000 (14:01 +0100)]
udpsrc: fix compilation

Fix compilation on systems MSG_ERRQUEUE and IP_RECVERR.

15 years agojpegenc: error out instead of crashing if no caps have been set
Tim-Philipp Müller [Thu, 19 Feb 2009 20:14:10 +0000 (20:14 +0000)]
jpegenc: error out instead of crashing if no caps have been set

Don't crash if we receive a buffer without caps. Fixes #572413.

15 years agoudpsrc: Make sure the sockaddr length used for recvfrom() is big enough.
Peter Kjellerstedt [Wed, 25 Feb 2009 10:35:31 +0000 (11:35 +0100)]
udpsrc: Make sure the sockaddr length used for recvfrom() is big enough.

Previously the sockaddr length used for recvfrom() was calculated as
sizeof (struct sockaddr). However, this is too little to hold an IPv6
address, so the full size of the gst_sockaddr union should be used
instead.

15 years agoudpsrc: Unify the use of union gst_sockaddr.
Peter Kjellerstedt [Wed, 25 Feb 2009 10:32:28 +0000 (11:32 +0100)]
udpsrc: Unify the use of union gst_sockaddr.

15 years agoAutomatic update of common submodule
Jan Schmidt [Wed, 25 Feb 2009 11:32:07 +0000 (11:32 +0000)]
Automatic update of common submodule

From 9cf8c9b to a6ce5c6

15 years agoavidemux: avoid crashing on subtitles
Wim Taymans [Wed, 25 Feb 2009 11:05:22 +0000 (12:05 +0100)]
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.

15 years agoudp: Fix strict-aliasing warnings from gcc 4.4.0
Jan Schmidt [Tue, 24 Feb 2009 17:58:32 +0000 (17:58 +0000)]
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.

15 years agortp: Fix compiler warning in h264 payloader
Tim-Philipp Müller [Tue, 24 Feb 2009 17:35:46 +0000 (17:35 +0000)]
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>
15 years agoUse shave for the build output
Jan Schmidt [Sun, 22 Feb 2009 17:23:09 +0000 (17:23 +0000)]
Use shave for the build output

15 years agogconf: Rename gconf.[ch] to gstgconf.[ch] to prevent name conflicts
Sebastian Dröge [Tue, 24 Feb 2009 13:55:28 +0000 (14:55 +0100)]
gconf: Rename gconf.[ch] to gstgconf.[ch] to prevent name conflicts

15 years agoqtdemux: Also use "(c)inf" to fill the comment tag
Edward Hervey [Tue, 24 Feb 2009 13:41:26 +0000 (14:41 +0100)]
qtdemux: Also use "(c)inf" to fill the comment tag

15 years agortspsrc: perform UDP SETUP according to MS RTSP spec
Mark Nauwelaerts [Mon, 26 Jan 2009 10:06:13 +0000 (11:06 +0100)]
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.

15 years agoRead ICMP error messages instead of looping
Aurelien Grimaud [Mon, 23 Feb 2009 19:49:37 +0000 (20:49 +0100)]
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.

15 years agoConditionally compile code for YVYU
Wim Taymans [Mon, 23 Feb 2009 18:53:58 +0000 (19:53 +0100)]
Conditionally compile code for YVYU

Only compile the code for the YVYU format when the format is actually defined.
Spotted by tmatth on IRC.

15 years agov4l2src: Make sort_by_frame_size conditionally compiled
Levente Farkas [Tue, 17 Feb 2009 19:01:47 +0000 (11:01 -0800)]
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>
15 years agoAdd YVYU format to caps
Wim Taymans [Mon, 23 Feb 2009 16:05:43 +0000 (17:05 +0100)]
Add YVYU format to caps

Add YVYU format to the caps. We don't have anything to handle these caps yet,
though.

15 years agoSome cleanups
Wim Taymans [Mon, 23 Feb 2009 14:48:41 +0000 (15:48 +0100)]
Some cleanups

Remove some unused variables.
Avoid a useless _resync call.
Correctly use a gboolean.

15 years agoAlways add PPS to the sprop-parameters-set
Wai-Ming Ho [Mon, 23 Feb 2009 14:43:51 +0000 (15:43 +0100)]
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.

15 years agoDon't do crazy things with 0/1 framerates
Arnout Vandecappelle [Mon, 23 Feb 2009 11:14:23 +0000 (12:14 +0100)]
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.

15 years agoRequire newer gst-p-b for the RTSP extensions.
Wim Taymans [Mon, 23 Feb 2009 10:45:50 +0000 (11:45 +0100)]
Require newer gst-p-b for the RTSP extensions.

--

15 years agoCall new receive_request method
Wim Taymans [Mon, 23 Feb 2009 10:42:53 +0000 (11:42 +0100)]
Call new receive_request method

Call the receive_request extension methods so that extensions can handle the
server request if they want.

15 years agoAdd method for hadling server requests
Wim Taymans [Mon, 23 Feb 2009 10:13:30 +0000 (11:13 +0100)]
Add method for hadling server requests

Add method to handle server requests on the list of RTSP extensions.

15 years agoDon't use GST_ERROR for non-error cases.
Wim Taymans [Fri, 13 Feb 2009 13:39:29 +0000 (14:39 +0100)]
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.

15 years agogconfvideo(src|sink): Disconnect GConf notifications
Sjoerd Simons [Sun, 22 Feb 2009 18:30:32 +0000 (19:30 +0100)]
gconfvideo(src|sink): Disconnect GConf notifications

Fixes bug #571321.

15 years agomatroskademux: Unref the buffer and not the memory address of the buffer
Sebastian Dröge [Sun, 22 Feb 2009 18:25:39 +0000 (19:25 +0100)]
matroskademux: Unref the buffer and not the memory address of the buffer

15 years agoalaw/mulaw: Implement _getcaps function for alaw/mulaw decoders
Olivier Crete [Sun, 22 Feb 2009 17:47:35 +0000 (18:47 +0100)]
alaw/mulaw: Implement _getcaps function for alaw/mulaw decoders

Fixes bug #572358.

15 years agoalaw/mulaw: Don't require both, rate and channel, to be set in _getcaps
Olivier Crete [Sun, 22 Feb 2009 17:46:03 +0000 (18:46 +0100)]
alaw/mulaw: Don't require both, rate and channel, to be set in _getcaps

Fixes bug #572358.

15 years agoavidemux: Fix alignment issues by using GST_READ_*
Sebastian Dröge [Sun, 22 Feb 2009 17:32:02 +0000 (18:32 +0100)]
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.