platform/upstream/gst-plugins-base.git
15 years agov4lsrc: optional support for device probing with gudev
Filippo Argiolas [Fri, 3 Jul 2009 09:38:01 +0000 (11:38 +0200)]
v4lsrc: optional support for device probing with gudev

Enumerate v4l devices using gudev if available.

Fixes bug #583640.

15 years agoadder: add since tags to docs
Stefan Kost [Fri, 10 Jul 2009 22:24:36 +0000 (23:24 +0100)]
adder: add since tags to docs

15 years agoseek: don't automatically start pipeline in DB
Wim Taymans [Fri, 10 Jul 2009 20:29:51 +0000 (21:29 +0100)]
seek: don't automatically start pipeline in DB

Keep the pipeline paused when we detect download buffering. The user has to
manually start the pipeline for now because we can't estimate when the buffering
will finish or when we have underrun.

15 years agoqueue2: flush differently, avoiding deadlocks
Wim Taymans [Fri, 10 Jul 2009 20:01:39 +0000 (21:01 +0100)]
queue2: flush differently, avoiding deadlocks

Don't flush the file by closing and opening it but instead use g_freopen. This
avoids a deadlock in shutdown because we emit the temp-location property change
with the wrong lock held.

15 years agoseek: add a checkbox for progressive download
Wim Taymans [Fri, 10 Jul 2009 19:25:43 +0000 (20:25 +0100)]
seek: add a checkbox for progressive download

15 years agouridecodebin: Fix template construction
Wim Taymans [Fri, 10 Jul 2009 19:24:14 +0000 (20:24 +0100)]
uridecodebin: Fix template construction

Fix the construction of the temporary filename construction as the application
name can be NULL and we don't want a separator between the prgname and the
template.

15 years agoplaybin2: add support for progressive download
Wim Taymans [Fri, 10 Jul 2009 19:04:33 +0000 (20:04 +0100)]
playbin2: add support for progressive download

Add a new playbin2 flag (initially disabled) to enable progressive download
buffering in uridecodebin.

15 years agouridecodebin: add download property
Wim Taymans [Fri, 10 Jul 2009 18:59:30 +0000 (19:59 +0100)]
uridecodebin: add download property

Add a download property that will attempt to configure queue2 into progressive
download buffering.
Make sure we only enable download buffering for quicktime and flv formats.

15 years agoqueue2: add temp-template property
Wim Taymans [Fri, 10 Jul 2009 18:49:46 +0000 (19:49 +0100)]
queue2: add temp-template property

Add a new temp-template property so that queue2 can securely allocate a
temporary filename. Deprecate the temp-location property for setting the
location but still use it to notify the allocated temp file.

15 years agoadder: add a caps-property to avoid to need to plug a capsfilter afterwards
Stefan Kost [Fri, 10 Jul 2009 19:06:28 +0000 (20:06 +0100)]
adder: add a caps-property to avoid to need to plug a capsfilter afterwards

Adder can only handle one common format accross the pads. Thus one needed to add
a capsfilter afterwards and manage the caps. Now one can simply set the caps on
the property.

15 years agoadder: skip live-seek text if we have no audiosrc, add new test
Stefan Kost [Fri, 10 Jul 2009 17:59:05 +0000 (18:59 +0100)]
adder: skip live-seek text if we have no audiosrc, add new test

The seek-test needs a real audiosrc. Also add a test that checks that adder is
reusable. Finaly handle warnings as warnings to fix a assertion.

15 years agogio: Also post a "not-mounted" message from giosink
Sebastian Dröge [Fri, 10 Jul 2009 17:16:35 +0000 (19:16 +0200)]
gio: Also post a "not-mounted" message from giosink

15 years agogio: Remove workaround for playbin2 bug in the sample application
Sebastian Dröge [Fri, 10 Jul 2009 15:15:48 +0000 (17:15 +0200)]
gio: Remove workaround for playbin2 bug in the sample application

The playbin2 bug was #588078.

15 years agoplaybin2: Make it possible for READY->PAUSED to succeed after it failed the first...
Sebastian Dröge [Fri, 10 Jul 2009 15:08:40 +0000 (17:08 +0200)]
playbin2: Make it possible for READY->PAUSED to succeed after it failed the first time

If READY->PAUSED failed in the source element we would've swapped
the current and next group already. To allow READY->PAUSED to succeed
after the first failure we have to swap the current and next group
back again. This also ensure that we're again in the same state
as before the failed state change and not at the next group.

This was especially a problem for playbin2 pipelines that use the
new mounting support in giosrc as the source would fail for READY->PAUSED
the first time, the application mounts the location and then tries
to go READY->PAUSED again (and this time it would succeed).

Fixes bug #588078.

15 years agogio: Add example application that shows how to handle the "not-mounted" message
Sebastian Dröge [Fri, 10 Jul 2009 09:42:51 +0000 (11:42 +0200)]
gio: Add example application that shows how to handle the "not-mounted" message

15 years agogio: Remove the experimental status from the GIO plugin
Sebastian Dröge [Fri, 10 Jul 2009 09:24:57 +0000 (11:24 +0200)]
gio: Remove the experimental status from the GIO plugin

Fixes bug #510417.

15 years agogio: Add documentation for the new "not-mounted" and "file-exists" messages
Sebastian Dröge [Fri, 10 Jul 2009 09:24:05 +0000 (11:24 +0200)]
gio: Add documentation for the new "not-mounted" and "file-exists" messages

15 years agogio: Make sure that we have the correct stream position when starting
Sebastian Dröge [Thu, 9 Jul 2009 11:45:13 +0000 (13:45 +0200)]
gio: Make sure that we have the correct stream position when starting

15 years agogio: Make sure to flush the output stream if it shouldn't be closed
Sebastian Dröge [Wed, 8 Jul 2009 15:24:19 +0000 (17:24 +0200)]
gio: Make sure to flush the output stream if it shouldn't be closed

Otherwise there might still be unwritten data after the element
has stopped.

15 years agogio: Don't close the GIO streams for the giostream{src,sink} elements
Sebastian Dröge [Wed, 8 Jul 2009 15:19:29 +0000 (17:19 +0200)]
gio: Don't close the GIO streams for the giostream{src,sink} elements

This makes it possible to do something useful with the streams
after the element has stopped. Fixes bug #587896.

15 years agogio: Try to reuse the pipeline with the same stream objects
Sebastian Dröge [Wed, 8 Jul 2009 15:19:05 +0000 (17:19 +0200)]
gio: Try to reuse the pipeline with the same stream objects

15 years agogio: Improve the error message if a stream is already closed before usage
Sebastian Dröge [Wed, 8 Jul 2009 15:02:54 +0000 (17:02 +0200)]
gio: Improve the error message if a stream is already closed before usage

15 years agogio: Post a custom file-exists message on the bus if the file already exists
Sebastian Dröge [Wed, 8 Jul 2009 14:55:41 +0000 (16:55 +0200)]
gio: Post a custom file-exists message on the bus if the file already exists

An application can handle this message, remove the file in question
and restart the pipeline again without showing an error.

This fixes bug #529300.

15 years agogio: Use OPEN_READ instead of NOT_FOUND if a location is not mounted
Sebastian Dröge [Wed, 8 Jul 2009 14:54:56 +0000 (16:54 +0200)]
gio: Use OPEN_READ instead of NOT_FOUND if a location is not mounted

15 years agogio: Use OPEN_WRITE instead of OPEN_READ as error category in giosink
Sebastian Dröge [Wed, 8 Jul 2009 14:50:56 +0000 (16:50 +0200)]
gio: Use OPEN_WRITE instead of OPEN_READ as error category in giosink

15 years agogio: Post a custom "not-mounted" message on the bus
Sebastian Dröge [Wed, 8 Jul 2009 13:52:35 +0000 (15:52 +0200)]
gio: Post a custom "not-mounted" message on the bus

This allows applications to mount the GFile if possible and restart
the pipeline instead of simply giving an error.

15 years agoaudioconvert: Fix compilation when debugging is disabled
Philip Jägenstedt [Wed, 8 Jul 2009 13:08:32 +0000 (15:08 +0200)]
audioconvert: Fix compilation when debugging is disabled

Fixes bug #587980.

15 years agogio: Add vfunc for requesting the stream for the sinks too
Sebastian Dröge [Tue, 7 Jul 2009 18:23:23 +0000 (20:23 +0200)]
gio: Add vfunc for requesting the stream for the sinks too

15 years agogio: Some more random cleanup
Sebastian Dröge [Tue, 7 Jul 2009 18:21:36 +0000 (20:21 +0200)]
gio: Some more random cleanup

15 years agogio: Update my mail address and copyright
Sebastian Dröge [Tue, 7 Jul 2009 18:20:58 +0000 (20:20 +0200)]
gio: Update my mail address and copyright

15 years agogio: General clean up and simplification
Sebastian Dröge [Tue, 7 Jul 2009 18:18:00 +0000 (20:18 +0200)]
gio: General clean up and simplification

The GInputStreams are now requested by a vfunc from
the subclasses instead of relying that the subclass
sets it until it's needed.

This might also fix bug #587896.

15 years agoadder: keep sending newsegments after seeking
Stefan Kost [Mon, 6 Jul 2009 21:31:12 +0000 (22:31 +0100)]
adder: keep sending newsegments after seeking

Adder sends with timestamps from 0 upwards. After seeking we need to send
new-segments to get correct positions-queries.

15 years agoadder: make test more robust
Stefan Kost [Mon, 6 Jul 2009 19:44:00 +0000 (20:44 +0100)]
adder: make test more robust

Add audioconverts to the live-seeking test to make it negotiate.

15 years agoxvimagesink: use core performance log category
Stefan Kost [Tue, 30 Jun 2009 14:19:50 +0000 (17:19 +0300)]
xvimagesink: use core performance log category

15 years agoadder: Call set_flushing(TRUE) for flushing seeks *when* the streaming is stopped.
Edward Hervey [Sun, 5 Jul 2009 19:29:40 +0000 (21:29 +0200)]
adder: Call set_flushing(TRUE) for flushing seeks *when* the streaming is stopped.

This ensures that collectpads' cookie is properly updated so that when the streaming
threads will restart and be checking for the flushing status of all pads there will
be no inconsistent state.

15 years agopango: Call tzset() before localtime_r()
Hans-Peter Nilsson [Sun, 5 Jul 2009 16:01:38 +0000 (18:01 +0200)]
pango: Call tzset() before localtime_r()

POSIX and your local friendly ctime(3) manual entry says that localtime_r isn't
required to set the state variables that define the current timezone.  Indeed,
glibc (at least 2.9) doesn't do this for subsequent calls.  The effect is that
if the system timezone is changed for a running program between two calls to
gst_clock_overlay_render_time, it won't be noticed.  For glibc, changing the
timezone equals /etc/localtime being modified.

Fixes bug #587676.

15 years agobuild: remove spurious schroedinger reference
David Schleef [Thu, 2 Jul 2009 00:33:14 +0000 (17:33 -0700)]
build: remove spurious schroedinger reference

15 years agobasevideo: send basevideo back to remedial school
David Schleef [Wed, 1 Jul 2009 17:25:43 +0000 (10:25 -0700)]
basevideo: send basevideo back to remedial school

Move basevideo classes and schroedinger plugin to -bad.

15 years agonetaddress: add constant for max len
Wim Taymans [Wed, 1 Jul 2009 10:54:21 +0000 (12:54 +0200)]
netaddress: add constant for max len

15 years agonetbuffer: add gst_netaddress_to_string
Wim Taymans [Wed, 1 Jul 2009 10:48:38 +0000 (12:48 +0200)]
netbuffer: add gst_netaddress_to_string

Add function to serialize a net address to a string.

API: GstNetAddress::gst_netaddress_to_string()

15 years agouridecodebin: make fd:// uri use buffering too
Wim Taymans [Tue, 30 Jun 2009 16:44:44 +0000 (18:44 +0200)]
uridecodebin: make fd:// uri use buffering too

fd:// usually operate in push mode only and are thus suitable for buffering.

15 years agovolume: include "1.0=100%" in property description
Stefan Kost [Tue, 30 Jun 2009 11:46:38 +0000 (14:46 +0300)]
volume: include "1.0=100%" in property description

15 years agoplaysink: remove unused property defs
Stefan Kost [Tue, 30 Jun 2009 11:45:51 +0000 (14:45 +0300)]
playsink: remove unused property defs

15 years agomultichannel: rewrite the new doc comment a bit
Stefan Kost [Mon, 29 Jun 2009 14:11:50 +0000 (17:11 +0300)]
multichannel: rewrite the new doc comment a bit

Its part of the audio lib.

15 years agoplaysink: Avoid a segfault when the video sink fails to start
Jan Schmidt [Mon, 29 Jun 2009 13:34:02 +0000 (14:34 +0100)]
playsink: Avoid a segfault when the video sink fails to start

Don't attempt to display the subpictures and segfault when the
video sink failed to start (and hence the videochain is NULL).

15 years agoringbuffer: add vmethod to clear the ringbuffer
Wim Taymans [Mon, 29 Jun 2009 13:14:07 +0000 (15:14 +0200)]
ringbuffer: add vmethod to clear the ringbuffer

Add a vmethod so that subclasses can be notified when they should clear the data
in the ringbuffer.

15 years agoriff-media: Fix the fourcc caps property for VC-1/WMVA
Jan Schmidt [Mon, 29 Jun 2009 13:00:14 +0000 (14:00 +0100)]
riff-media: Fix the fourcc caps property for VC-1/WMVA

The caps property for carrying fourccs is 'format', not 'fourcc'

15 years agortsp: include in.h for FreeBSD compat
Wim Taymans [Mon, 29 Jun 2009 10:20:52 +0000 (12:20 +0200)]
rtsp: include in.h for FreeBSD compat

Fixes #586920

15 years agodefs: add defs for new appsink buffer-list method
Wim Taymans [Mon, 29 Jun 2009 10:20:20 +0000 (12:20 +0200)]
defs: add defs for new appsink buffer-list method

15 years agoappsink: add docs and signals
Wim Taymans [Mon, 29 Jun 2009 10:14:43 +0000 (12:14 +0200)]
appsink: add docs and signals

Add docs for the new callback.
Add signals for the new buffer-list support.

15 years agoAdded unit tests for buffer list support in appsink.
Branko Subasic [Mon, 29 Jun 2009 08:24:36 +0000 (10:24 +0200)]
Added unit tests for buffer list support in appsink.

15 years agoAdded buffer list support.
Branko Subasic [Wed, 17 Jun 2009 09:12:08 +0000 (11:12 +0200)]
Added buffer list support.

15 years agoAdded buffer list support.
Branko Subasic [Wed, 17 Jun 2009 07:23:11 +0000 (09:23 +0200)]
Added buffer list support.

15 years agosdp: Include winsock2.h after defining WINVER.
Peter Kjellerstedt [Mon, 29 Jun 2009 07:36:27 +0000 (09:36 +0200)]
sdp: Include winsock2.h after defining WINVER.

Similar to bug #587080.

15 years agortsp: Moved a comment.
Peter Kjellerstedt [Mon, 29 Jun 2009 07:31:40 +0000 (09:31 +0200)]
rtsp: Moved a comment.

15 years agodocs: add basic section docs for multichannel and relocate the ones for audio
Stefan Kost [Sat, 27 Jun 2009 20:23:02 +0000 (23:23 +0300)]
docs: add basic section docs for multichannel and relocate the ones for audio

Add section docs for multichannel, so that it has a short desc in the toc too.
Move the section docs in adio up, so that the follow the copyright like
elsewhere.

15 years agov4l: open/close device in ready.
Stefan Kost [Fri, 26 Jun 2009 18:11:45 +0000 (21:11 +0300)]
v4l: open/close device in ready.

Simillar change like in v4l2src. This allows probing feature in paused, where
streaming is noit yet started.

15 years agoplaybin2: fix initial volume handling also when reusing the element
René Stadler [Wed, 10 Jun 2009 14:05:22 +0000 (17:05 +0300)]
playbin2: fix initial volume handling also when reusing the element

This is a follow-up to commit 452988, making it work correctly when the audio
chain is reused.

15 years agoDefine WINVER before including any win headers
Руслан Ижбулатов [Fri, 26 Jun 2009 17:48:58 +0000 (21:48 +0400)]
Define WINVER before including any win headers

Fixes bug #587080.

15 years agoriff: prevent crash if rounded up tag size exceeds data size
René Stadler [Fri, 26 Jun 2009 21:50:54 +0000 (00:50 +0300)]
riff: prevent crash if rounded up tag size exceeds data size

When rounding up `tsize' exceeds the remaining buffer size, `size' underflows
and an invalid read past the buffer data follows.

15 years agobasevideocodec: By default don't allow caps changes on the srcpad
Sebastian Dröge [Fri, 26 Jun 2009 13:17:21 +0000 (15:17 +0200)]
basevideocodec: By default don't allow caps changes on the srcpad

This fixed playback of Dirac files with schrodec when upstream wants
a different width/height, basevideocodec accepts this and then
pushes buffers with new caps but content of the old caps.
In the best case this will just result in wrong unit size and a
failure in basestransform elements.

15 years agoautogen.sh: Use printf instead of 'echo -n'. Check for automake-1.1[01]
Jan Schmidt [Fri, 26 Jun 2009 13:11:21 +0000 (14:11 +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

15 years agoAutomatic update of common submodule
Jan Schmidt [Fri, 26 Jun 2009 12:41:38 +0000 (13:41 +0100)]
Automatic update of common submodule

From f810030 to 5845b63

15 years agoscreenshot: don't leak message
Stefan Kost [Fri, 26 Jun 2009 10:14:02 +0000 (13:14 +0300)]
screenshot: don't leak message

15 years agotypefinding: lower the h264 typefinder's probability
Tim-Philipp Müller [Thu, 25 Jun 2009 11:04:59 +0000 (12:04 +0100)]
typefinding: lower the h264 typefinder's probability

A NEARLY_CERTAIN is absolutely not warranted given the kind
of things it checks for. Even a LIKELY is probably not entirely
appropriate.

15 years agoAutomatic update of common submodule
Jan Schmidt [Wed, 24 Jun 2009 14:13:56 +0000 (15:13 +0100)]
Automatic update of common submodule

From f3bb51b to f810030

15 years agopbutils: add description for multipart
Tim-Philipp Müller [Wed, 24 Jun 2009 08:48:41 +0000 (09:48 +0100)]
pbutils: add description for multipart

So we get slightly nicer error messages when multipartdemux is missing.

15 years agoadder: only unflush when we flushed before
Wim Taymans [Tue, 23 Jun 2009 16:07:31 +0000 (18:07 +0200)]
adder: only unflush when we flushed before

Ass suggested by Stefan Kost:
Keep track of when the sinkpad was set to flushing and unflush the pad when an
upstream flushing seek failed.

15 years agouridecodebin: fix leak when the source fails to change state
Tim-Philipp Müller [Tue, 23 Jun 2009 14:10:37 +0000 (15:10 +0100)]
uridecodebin: fix leak when the source fails to change state

15 years agossaparse: avoid leaking all buffers
Wim Taymans [Tue, 23 Jun 2009 10:40:56 +0000 (12:40 +0200)]
ssaparse: avoid leaking all buffers

15 years agoadder: test seek handling in adder
Stefan Kost [Mon, 22 Jun 2009 19:18:03 +0000 (22:18 +0300)]
adder: test seek handling in adder

This tests seeking on an adder that has a normal and a live source connected.
Wheter the current behavior is the desired one needs to be discussed still
(see #586033)

15 years agox(v)imagesink: pass the xwindow along to not look at the yet unset var.
Stefan Kost [Mon, 22 Jun 2009 13:17:10 +0000 (16:17 +0300)]
x(v)imagesink: pass the xwindow along to not look at the yet unset var.

When we call this from xwindow_new, x(v)imagesink->xwindow is not yet set.

15 years agox(v)imagesink: catch tags and show title in own window
Stefan Kost [Mon, 22 Jun 2009 08:40:33 +0000 (11:40 +0300)]
x(v)imagesink: catch tags and show title in own window

Refactor the code that sets the window title. Catch tag-events and use title
metadata for the window title.

15 years agoaudiotestsrc: Name gaussian noise "gaussian-noise" instead of just "gaussian"
Sebastian Dröge [Sun, 21 Jun 2009 17:42:15 +0000 (19:42 +0200)]
audiotestsrc: Name gaussian noise "gaussian-noise" instead of just "gaussian"

Also make all the function arrays constant.

15 years agoaudiotestsrc: Add support for generating gaussian white noise
Kipp Cannon [Sun, 21 Jun 2009 10:27:37 +0000 (12:27 +0200)]
audiotestsrc: Add support for generating gaussian white noise

This patch adds support for stationary white Gaussian noise.
The Box-Muller algorithm is used to generate pairs of independent
normally-distributed random numbers.

Fixes bug #586519.

15 years agoffmpegcolorspace: Fix NV12 and NV21 transformations
Jan Schmidt [Sat, 20 Jun 2009 22:46:28 +0000 (23:46 +0100)]
ffmpegcolorspace: Fix NV12 and NV21 transformations

Fix some stride problems, fix the nv12 to nv21 direct transformation,
and implement a direct conversion to yuv444 to save CPU.

15 years agovideotestsrc: Fix NV12 painting for odd strides/heights
Jan Schmidt [Sat, 20 Jun 2009 21:36:21 +0000 (22:36 +0100)]
videotestsrc: Fix NV12 painting for odd strides/heights

15 years agocdparanoia: run-time license is LGPL now that we require cdparanoia 0.10.2
Tim-Philipp Müller [Fri, 19 Jun 2009 21:16:43 +0000 (22:16 +0100)]
cdparanoia: run-time license is LGPL now that we require cdparanoia 0.10.2

cdparanoia has an LGPL v2.1 license since 0.10.1 and we now require 0.10.2.
Finally fixes #531035.

15 years agocdparanoia: try to guess a good cache size if it's set to -1
Tim-Philipp Müller [Fri, 19 Jun 2009 20:25:54 +0000 (21:25 +0100)]
cdparanoia: try to guess a good cache size if it's set to -1

Try to guess from the paranoia-mode setting whether playback or
ripping is wanted, and use a smaller cache size if we're likely
to be doing playback, to avoid a long startup delay. Since this
was the value used in older cdparanoia versions, it should be
fine in any case. See #586331.

15 years agocdparanoia: expose cache size setting
Jonathan Matthew [Fri, 19 Jun 2009 01:27:40 +0000 (11:27 +1000)]
cdparanoia: expose cache size setting

This setting was added in cdparanoia 10.2.  The default value is good
for audio extraction, but lower values (previous versions of cdparanoia
used 150) are better for realtime playback.

Fixes #586331.

15 years agoMake build of schro plugin conditional
Christian Schaller [Fri, 19 Jun 2009 16:43:03 +0000 (17:43 +0100)]
Make build of schro plugin conditional

15 years agobasertppayload: add support for bufferlists
Wim Taymans [Fri, 19 Jun 2009 13:52:34 +0000 (15:52 +0200)]
basertppayload: add support for bufferlists

Based on patch from Ognyan Tonchev.

See #585559

15 years agortpbuffer: use new convenience functions
Wim Taymans [Fri, 19 Jun 2009 13:33:04 +0000 (15:33 +0200)]
rtpbuffer: use new convenience functions

New core convenience functions makes the list getters and setters trivial.
Maybe even too trivial...

15 years agodefs: add new symbol to win32 defs file
Wim Taymans [Thu, 18 Jun 2009 17:07:22 +0000 (19:07 +0200)]
defs: add new symbol to win32 defs file

Based on patches by Ognyan Tonchev.

See #585559

15 years agortp: cleanups, add _list_get_seq() too
Wim Taymans [Thu, 18 Jun 2009 17:04:52 +0000 (19:04 +0200)]
rtp: cleanups, add _list_get_seq() too

Clean up the docs a little.
Add missing _list_get_seq method.
Add new symbols to the docs

15 years agortp: cleanups
Wim Taymans [Thu, 18 Jun 2009 16:47:49 +0000 (18:47 +0200)]
rtp: cleanups

Add Since tags to docs
Move some code around
Add win32 symbols

15 years agortp: add bufferlist support
Wim Taymans [Thu, 18 Jun 2009 15:46:01 +0000 (17:46 +0200)]
rtp: add bufferlist support

15 years agortp: pass data to macros instead of GstBuffer
Wim Taymans [Thu, 18 Jun 2009 16:03:40 +0000 (18:03 +0200)]
rtp: pass data to macros instead of GstBuffer

15 years agowin32: Add gst_rtsp_watch_queue_data() to the exports
Jan Schmidt [Thu, 18 Jun 2009 16:42:10 +0000 (17:42 +0100)]
win32: Add gst_rtsp_watch_queue_data() to the exports

Fix the tests by exporting the new symbol from the win32 dlls

15 years agoxvimagesink: appname might be NULL
Stefan Kost [Thu, 18 Jun 2009 15:13:22 +0000 (18:13 +0300)]
xvimagesink: appname might be NULL

Don't set title if appname is unknown.

15 years agoxvimagesink: set window title from application name
Stefan Kost [Thu, 18 Jun 2009 14:58:06 +0000 (17:58 +0300)]
xvimagesink: set window title from application name

15 years agortsp: Made the parsing of the RTSP URL scheme more generic.
Peter Kjellerstedt [Tue, 9 Jun 2009 17:14:00 +0000 (19:14 +0200)]
rtsp: Made the parsing of the RTSP URL scheme more generic.

15 years agortsp: Added gst_rtsp_watch_queue_data().
Peter Kjellerstedt [Mon, 15 Jun 2009 11:58:26 +0000 (13:58 +0200)]
rtsp: Added gst_rtsp_watch_queue_data().

gst_rtsp_watch_queue_data() is similar to gst_rtsp_watch_queue_message()
but allows for queuing any data block for writing (much like
gst_rtsp_connection_write() vs. gst_rtsp_connection_send().)

API: gst_rtsp_watch_queue_data()

15 years agortsp: Only extract the session ID from RTSP responses.
Peter Kjellerstedt [Tue, 9 Jun 2009 14:37:09 +0000 (16:37 +0200)]
rtsp: Only extract the session ID from RTSP responses.

15 years agortsp: Added support for parsing IPv6 addresses in RTSP URLs.
Peter Kjellerstedt [Tue, 9 Jun 2009 17:06:57 +0000 (19:06 +0200)]
rtsp: Added support for parsing IPv6 addresses in RTSP URLs.

15 years agortsp: Use getaddrinfo() to support both IPv4 and IPv6.
Peter Kjellerstedt [Tue, 9 Jun 2009 12:31:18 +0000 (14:31 +0200)]
rtsp: Use getaddrinfo() to support both IPv4 and IPv6.

15 years agortsp: Improved base64 decoding in fill_bytes().
Peter Kjellerstedt [Wed, 17 Jun 2009 13:37:53 +0000 (15:37 +0200)]
rtsp: Improved base64 decoding in fill_bytes().

The base64 decoding in fill_bytes() expected the size of the read data to
be evenly divisible by four (which is true for the base64 encoded data
itself). This did not, however, take whitespace (especially line breaks)
into account and would fail the decoding if any whitespace was present.

15 years agoaudiosrc: fix get_offset
Wim Taymans [Wed, 17 Jun 2009 12:00:23 +0000 (14:00 +0200)]
audiosrc: fix get_offset

When we need to jump to the most recently captured sample, jump to where the
next sample will be written instead of to some old data.

Fixes #581460

15 years agoaudiosink: free the ringbuffer when going to NULL
Wim Taymans [Wed, 17 Jun 2009 11:18:18 +0000 (13:18 +0200)]
audiosink: free the ringbuffer when going to NULL

Unparent and free the ringbuffer when going to NULL, like we do with the
audiosrc element. We can do this now because we correctly manage the time
jumping back to 0.

15 years agoaudio: correctly handle short read/writes
Wim Taymans [Wed, 17 Jun 2009 11:17:30 +0000 (13:17 +0200)]
audio: correctly handle short read/writes