platform/upstream/gstreamer.git
15 years agoplaybin2: fix linking order
Wim Taymans [Mon, 23 Mar 2009 14:27:27 +0000 (15:27 +0100)]
playbin2: fix linking order

Link after doing the state change and unlink before shutting down. Makes the
window for causing races in toggling the visualisations smaller.
See #576187.

15 years agouridecodebin: reset counter
Wim Taymans [Mon, 23 Mar 2009 11:26:05 +0000 (12:26 +0100)]
uridecodebin: reset counter

reset the number of pending dynamic operations back to 0 when we reuse
uridecodebin.
Fixes #576190

15 years agotheoradec: Use GST_CLOCK_TIME_NONE for invalid positions. Fixes #543591
Edward Hervey [Mon, 23 Mar 2009 10:38:53 +0000 (11:38 +0100)]
theoradec: Use GST_CLOCK_TIME_NONE for invalid positions. Fixes #543591

The problem was that previously we didn't check whether _theora_granule_frame
returned a negative framecount or not, resulting in bogus timestamps.

15 years agovorbisenc: Set caps on non-header ouput buffers.
René Stadler [Sat, 21 Mar 2009 08:46:28 +0000 (09:46 +0100)]
vorbisenc: Set caps on non-header ouput buffers.

Fixes #576142.

15 years agoseek: Add some more debug
Wim Taymans [Fri, 20 Mar 2009 15:13:06 +0000 (16:13 +0100)]
seek: Add some more debug

Add some more info about the selected streams.

15 years agodecodebin2: a pad starts out being not drained.
Wim Taymans [Fri, 20 Mar 2009 14:47:47 +0000 (15:47 +0100)]
decodebin2: a pad starts out being not drained.

Mark a new pad as not drained until we get EOS on it.

15 years agowin32: fix seeking in large files
LRN [Fri, 20 Mar 2009 13:17:19 +0000 (14:17 +0100)]
win32: fix seeking in large files

Fix Seeking in large files by using the 64-bit seek functions.
Fixes #576019

15 years agodecodebin2: recover from failing to add a pad
Wim Taymans [Thu, 19 Mar 2009 19:31:01 +0000 (20:31 +0100)]
decodebin2: recover from failing to add a pad

When we cannot add a pad to the decodebin2 for some reason, print a warning but
continue adding the remaining pads.

15 years agodecodebin2: more cleanups and docs.
Wim Taymans [Thu, 19 Mar 2009 18:35:15 +0000 (19:35 +0100)]
decodebin2: more cleanups and docs.

Add some more comments and use g_list_prepend().

15 years agodecodebin2: refactoring and race fixes
Wim Taymans [Thu, 19 Mar 2009 18:19:38 +0000 (19:19 +0100)]
decodebin2: refactoring and race fixes

Refactor some code so that we can take the right locks and in the right order.
Fixes quite a bit of races already.

15 years agoplaybin2: remove the group cond + cleanups
Wim Taymans [Thu, 19 Mar 2009 18:03:25 +0000 (19:03 +0100)]
playbin2: remove the group cond + cleanups

Remove the group GCond that we used for waiting for groups to finish because we
use pad blocking on the selectors and counters instead for waiting for the
groups to complete.

remove the obsolete about_to_finish variable set while emiting the
about-to-finish signal and fix some old comments.

We don't need to take the playbin lock when querying the uridecodebin.

15 years agoicles: print better error and warning messages
Wim Taymans [Wed, 18 Mar 2009 09:45:50 +0000 (10:45 +0100)]
icles: print better error and warning messages

--

15 years agortsp: Use GLib base64 functions and deprecate gst_rtsp_base64_encode
Sebastian Dröge [Tue, 17 Mar 2009 21:53:44 +0000 (22:53 +0100)]
rtsp: Use GLib base64 functions and deprecate gst_rtsp_base64_encode

This also fixes another instance of CVE-2008-4316.

15 years agooggdemux: report -1 for duration in push mode
Wim Taymans [Tue, 17 Mar 2009 18:53:44 +0000 (19:53 +0100)]
oggdemux: report -1 for duration in push mode

In push mode we must return TRUE from the duration query with a value of -1
meaning that we know that we don't know the duration.

15 years agodecodebin2: add extra dynamic ref for demuxers
Wim Taymans [Tue, 17 Mar 2009 18:09:02 +0000 (19:09 +0100)]
decodebin2: add extra dynamic ref for demuxers

When we make a group connected to a demuxer, keep an extra dynamic refcount for
the group which is only decremented when no_more_pads or a multiqueue overrun is
detected. This way we avoid a race between exposing the group while more dynamic
refs are added from new pads.

Fixes #575588.

15 years agoplaybin2: sync state of the sink correctly
Wim Taymans [Tue, 17 Mar 2009 14:39:23 +0000 (15:39 +0100)]
playbin2: sync state of the sink correctly

Sync the state of the newly added chains to the state of the parent sink element
to avoid lost async-start messages. Fixes cdda:// async-done message storm.

15 years agoplaybin2: return NOT_LINKED for unselected streams
Wim Taymans [Tue, 17 Mar 2009 10:54:40 +0000 (11:54 +0100)]
playbin2: return NOT_LINKED for unselected streams

When streams are not selected in the selector, return NOT_LINKED so that
upstream elements can skip decoding. Only do this for audio and video pads
because for text streams the overhead is smaller and they could come from
external files.

15 years agoplaybin: set custom text sink properties
Wim Taymans [Tue, 17 Mar 2009 10:51:58 +0000 (11:51 +0100)]
playbin: set custom text sink properties

Set the custom sink async=FALSE to not make it participate in preroll because we
are dealing with sparse streams.
Try to set sync=TRUE on the custom text sink.

15 years agoexample: use appsink instead of fakesink
Wim Taymans [Tue, 17 Mar 2009 10:30:58 +0000 (11:30 +0100)]
example: use appsink instead of fakesink

Use appsink instead of fakesink to get the subtitles.
Make things more pretty.

15 years agoexamples: add example of intercepting subtitles
Wim Taymans [Tue, 17 Mar 2009 10:24:00 +0000 (11:24 +0100)]
examples: add example of intercepting subtitles

Add an example of how to install a custom sink for receiving subtitles in
playbin2.

15 years agotests: fix include in the appsink test
Wim Taymans [Tue, 17 Mar 2009 10:03:57 +0000 (11:03 +0100)]
tests: fix include in the appsink test

Fix dist by doing the right include.

15 years agoplaybin2: don't try to set invalid stream numbers
Wim Taymans [Mon, 16 Mar 2009 15:42:18 +0000 (16:42 +0100)]
playbin2: don't try to set invalid stream numbers

Fix a problem with setting the stream numbers because we check for the wrong
range.
See #575239.

15 years agoplaybin2: release the shutdown lock
Wim Taymans [Mon, 16 Mar 2009 15:16:30 +0000 (16:16 +0100)]
playbin2: release the shutdown lock

Release the shutdown lock when we wait for other groups to complete or else we
have a deadlock when the other group completes and tries to grab the shutdown
lock.
Fixes #575550.

15 years agoexamples: fix g_object_set() value type.
Wim Taymans [Mon, 16 Mar 2009 14:31:44 +0000 (15:31 +0100)]
examples: fix g_object_set() value type.

Make sure we cast the length value as a gint64 to the vararg g_object_set() just
incase sizeof(gsize) != sizeof(gint64).

15 years agotypefinding: make flac typefinder return lower probability for frame headers
Tim-Philipp Müller [Sun, 15 Mar 2009 19:57:36 +0000 (19:57 +0000)]
typefinding: make flac typefinder return lower probability for frame headers

The flac frame header typefinder overstates the likelihood of a match, leading
to false positives with e.g. aac streams and PDF files. Reduce probabilty
returned from LIKELY to POSSIBLE for the frame header matchin code.
Fixes #574939.

15 years agotypefinding: improve image/bmp typefinder
Tim-Philipp Müller [Wed, 11 Mar 2009 12:59:05 +0000 (12:59 +0000)]
typefinding: improve image/bmp typefinder

Detect more variations and also bail out in more cases where the values
don't make sense. Furthermore, add width/height and bpp to the caps,
because we can.

15 years agocheck: Ignore alsamixer in the states test too
Jan Schmidt [Fri, 13 Mar 2009 15:22:42 +0000 (15:22 +0000)]
check: Ignore alsamixer in the states test too

15 years agov4lsrc: Fix some valgrind warnings about leaked memory and uninitialised data.
Jan Schmidt [Fri, 13 Mar 2009 15:22:11 +0000 (15:22 +0000)]
v4lsrc: Fix some valgrind warnings about leaked memory and uninitialised data.

15 years agortsp: fix resolving of hostnames
Wim Taymans [Fri, 13 Mar 2009 15:19:41 +0000 (16:19 +0100)]
rtsp: fix resolving of hostnames

We were returning a pointer to a stack variable with the resolved hostname,
which doesn't work.
return a copy of the resolved ip address instead.
Fixes #575256.

15 years agovorbisparse: be smarter when queueing headers
Wim Taymans [Fri, 13 Mar 2009 14:29:29 +0000 (15:29 +0100)]
vorbisparse: be smarter when queueing headers

Look at the first buffer byte to see if a buffer is a header instead of counting
packets.

15 years agotheoraparse: be smarter when queuing headers
Wim Taymans [Fri, 13 Mar 2009 14:27:51 +0000 (15:27 +0100)]
theoraparse: be smarter when queuing headers

Look at the first byte of the buffer data (if we can) to decide if the packet is
a header packet or not instead of counting packets.

15 years agooggdemux: add some debug info
Wim Taymans [Fri, 13 Mar 2009 14:26:40 +0000 (15:26 +0100)]
oggdemux: add some debug info

Add some debug info to log when the seek worked.

15 years agoappsrc: release lock in _eos flushing case
Wim Taymans [Fri, 13 Mar 2009 14:14:37 +0000 (15:14 +0100)]
appsrc: release lock in _eos flushing case

Release the mutex when we are flushing in gst_app_src_end_of_stream()
Fixes #574964.

15 years agovorbisdec: Avoid an unnecessary memory allocation in vorbiscomment handling.
Jan Schmidt [Fri, 13 Mar 2009 11:49:10 +0000 (11:49 +0000)]
vorbisdec: Avoid an unnecessary memory allocation in vorbiscomment handling.

15 years agotheoradec: Avoid an unnecessary memory allocation in vorbiscomment handling.
Jan Schmidt [Fri, 13 Mar 2009 11:48:28 +0000 (11:48 +0000)]
theoradec: Avoid an unnecessary memory allocation in vorbiscomment handling.

15 years agoplaybin2: fix raw elements like cdda://
Wim Taymans [Thu, 12 Mar 2009 17:27:25 +0000 (18:27 +0100)]
playbin2: fix raw elements like cdda://

Fix a fixme with a one liner and make cd playback work again.

15 years agoplaybin2: improve subtitle handling
Wim Taymans [Thu, 12 Mar 2009 16:47:41 +0000 (17:47 +0100)]
playbin2: improve subtitle handling

Add property to playbin2 to configure a custom sink that receives the raw
subtitle buffers instead of using a textoverlay.
Improve the property finding code to make it more usable.
Use property find code to find async properties in custom sinks that are bins.
Improve text overlay code to gracefully handle missing elements.

15 years agovorbistag: Protect memory allocation calculation from overflow.
Jan Schmidt [Tue, 24 Feb 2009 15:58:42 +0000 (15:58 +0000)]
vorbistag: Protect memory allocation calculation from overflow.

Patch by: Tomas Hoger <thoger@redhat.com> Fixes CVE-2009-0586

15 years agoSpec: fix up deps
Jan Urbanski [Thu, 12 Mar 2009 11:34:20 +0000 (11:34 +0000)]
Spec: fix up deps

15 years agortsp: fix parsing of the timeout parameter
Wim Taymans [Wed, 11 Mar 2009 17:45:59 +0000 (18:45 +0100)]
rtsp: fix parsing of the timeout parameter

--

15 years agortsp: fix g_return condition
Wim Taymans [Wed, 11 Mar 2009 15:20:20 +0000 (16:20 +0100)]
rtsp: fix g_return condition

when parsing a data message, we require a data message.

15 years agotypefinding: flac typefinder fixes
Tim-Philipp Müller [Wed, 11 Mar 2009 13:33:33 +0000 (13:33 +0000)]
typefinding: flac typefinder fixes

Use scan context for initial peek as well. Peek 6 bytes in the initial
peek rather than 5 bytes, to match the length of the memcmp we're doing
on that data later. Return immediately when we found caps from looking
at the beginning of the data - no point in continuing to scan the next
64kB for something matching a frame header.

15 years agortsp: free the right string.
Wim Taymans [Wed, 11 Mar 2009 13:08:10 +0000 (14:08 +0100)]
rtsp: free the right string.

Free the key value before we remove the header item from the array. The item we
retrieved from the array is only valid until we remove it from the array.

15 years agortsp: keep track of amount of decoded bytes
Wim Taymans [Wed, 11 Mar 2009 13:07:05 +0000 (14:07 +0100)]
rtsp: keep track of amount of decoded bytes

Keep track of the actual amount of decoded bytes, which can be less than 3 when
we decode the last bits of a base64 message.

15 years agoadder: log details in getcaps like in setcaps
Stefan Kost [Tue, 10 Mar 2009 19:00:26 +0000 (21:00 +0200)]
adder: log details in getcaps like in setcaps

15 years agowin32: update MANIFEST, fixing 'make dist'
Tim-Philipp Müller [Tue, 10 Mar 2009 13:11:09 +0000 (13:11 +0000)]
win32: update MANIFEST, fixing 'make dist'

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

From 7032163 to f8b3d91

15 years agotypefind: add photoshop typefind functions
Jonathan Matthew [Mon, 9 Mar 2009 15:19:40 +0000 (16:19 +0100)]
typefind: add photoshop typefind functions

Add photoshop typefind functions.
Fixes #574516.

15 years agodecodebin2: only remove pads that were added
Wim Taymans [Mon, 9 Mar 2009 14:46:21 +0000 (15:46 +0100)]
decodebin2: only remove pads that were added

Flag pads that were added so that we can see if we need to remove them later or
not.

15 years agortsp: only add ports when not using TCP
Wim Taymans [Mon, 9 Mar 2009 12:53:41 +0000 (13:53 +0100)]
rtsp: only add ports when not using TCP

Only add the port numbers in the transport string when we are using udp or
multicast.

15 years agortsp: use gstreamer dump mem
Wim Taymans [Mon, 9 Mar 2009 12:53:15 +0000 (13:53 +0100)]
rtsp: use gstreamer dump mem

--

15 years agortsp: use glib base64 encoder
Wim Taymans [Mon, 9 Mar 2009 12:51:48 +0000 (13:51 +0100)]
rtsp: use glib base64 encoder

--

15 years agoUnblock blocked ghostpads when shutting down. Fixes #574293.
Mark Nauwelaerts [Fri, 6 Mar 2009 18:28:37 +0000 (19:28 +0100)]
Unblock blocked ghostpads when shutting down.  Fixes #574293.

15 years agoRiff: Add mapping for Fraps video codec.
Edward Hervey [Mon, 9 Mar 2009 09:03:13 +0000 (10:03 +0100)]
Riff: Add mapping for Fraps video codec.

Found through insanity testrun. Confirmed mapping in libavformat.

15 years agoriff: Add the 'DVR ' mapping for mpeg2video.
Edward Hervey [Mon, 9 Mar 2009 08:07:13 +0000 (09:07 +0100)]
riff: Add the 'DVR ' mapping for mpeg2video.

Found this in 3 files from the insanity suite and mapping is also present
in libavformat.

15 years agotypefind: Use the proper data pointer instead of poking random memory.
Edward Hervey [Mon, 9 Mar 2009 08:06:40 +0000 (09:06 +0100)]
typefind: Use the proper data pointer instead of poking random memory.

15 years agortsp: fix compilation on windows.
LRN [Sun, 8 Mar 2009 17:17:48 +0000 (18:17 +0100)]
rtsp: fix compilation on windows.

Remove unused variable when building for windows.
Fixes #574443.

15 years agoAutomatic update of common submodule
Sebastian Dröge [Sun, 8 Mar 2009 11:03:22 +0000 (12:03 +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:00 +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:44:40 +0000 (11:44 +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:44:43 +0000 (10:44 +0100)]
Automatic update of common submodule

From 57c83f2 to 3c7456b

15 years agotheoradec: parse and use codec_data in the caps
Wim Taymans [Fri, 6 Mar 2009 18:02:58 +0000 (19:02 +0100)]
theoradec: parse and use codec_data in the caps

Parse the codec_data in the caps and use this as the headers.
Fixes #574169.

15 years agoriff: add theora mapping
Wim Taymans [Fri, 6 Mar 2009 17:53:17 +0000 (18:53 +0100)]
riff: add theora mapping

Add theora mappings. See #574169.

15 years agortsp: Add methods for getting the read/write fds
Wim Taymans [Fri, 6 Mar 2009 15:31:29 +0000 (16:31 +0100)]
rtsp: Add methods for getting the read/write fds

API:gst_rtsp_connection_get_readfd()
API:gst_rtsp_connection_get_writefd()

15 years agowin32: indent copied *-enumtypes.c files in make win32-update
Tim-Philipp Müller [Fri, 6 Mar 2009 10:35:01 +0000 (10:35 +0000)]
win32: indent copied *-enumtypes.c files in make win32-update

15 years agowin32: update MANIFEST
Tim-Philipp Müller [Fri, 6 Mar 2009 10:35:56 +0000 (10:35 +0000)]
win32: update MANIFEST

15 years agowin32: fix configure logic for GST_INSTALL_PLUGINS_HELPER define
Tim-Philipp Müller [Fri, 6 Mar 2009 10:30:28 +0000 (10:30 +0000)]
win32: fix configure logic for GST_INSTALL_PLUGINS_HELPER define

15 years agowin32: update windows files via make win32-update
Tim-Philipp Müller [Fri, 6 Mar 2009 10:05:11 +0000 (10:05 +0000)]
win32: update windows files via make win32-update

Updates win32 files using the new system/hook, and defines HAVE_PROCESS_H,
which fixes the build of pbutils on windows (#574319).

15 years agogitignore: ignore more
Tim-Philipp Müller [Fri, 6 Mar 2009 10:03:31 +0000 (10:03 +0000)]
gitignore: ignore more

15 years agoFix build on Mac OS X
Julien Moutte [Fri, 6 Mar 2009 09:37:38 +0000 (10:37 +0100)]
Fix build on Mac OS X

15 years agodecodebin2: don't stay connected to notify::caps after negotiation
Michael Smith [Thu, 5 Mar 2009 23:42:23 +0000 (15:42 -0800)]
decodebin2: don't stay connected to notify::caps after negotiation

Disconnect the notify::caps signal in our callback (it'll be re-added
if we're not, in fact, finished getting complete caps). Ensures that
caps changes mid-stream (e.g. from an mp3 that changes from
stereo->mono mid-file) don't cause us to try to add a new pad.

15 years agortsp: fix parsing of 'now-' ranges.
Wim Taymans [Thu, 5 Mar 2009 12:48:37 +0000 (13:48 +0100)]
rtsp: fix parsing of 'now-' ranges.

--

15 years agoexamples: add some more sprinkle examples
Wim Taymans [Thu, 5 Mar 2009 11:43:02 +0000 (12:43 +0100)]
examples: add some more sprinkle examples

Add some more sprinle examples and add some more comments.
See #574160.

15 years agodocs: add appsrc symbols to standard section
Wim Taymans [Thu, 5 Mar 2009 10:57:40 +0000 (11:57 +0100)]
docs: add appsrc symbols to standard section

--

15 years agoadder: add variants for unsigned to fix warnings for unneeded check
Stefan Kost [Thu, 5 Mar 2009 10:27:16 +0000 (12:27 +0200)]
adder: add variants for unsigned to fix warnings for unneeded check

For unsigned int out+in can't be < 0.

15 years agosubparse: use the right variable in debug log, encoding is not yet initialized
Stefan Kost [Thu, 5 Mar 2009 08:58:12 +0000 (10:58 +0200)]
subparse: use the right variable in debug log, encoding is not yet initialized

15 years agov4l: add a fixme for broken code, that someone who has a v4l tuner device should fix
Stefan Kost [Thu, 5 Mar 2009 08:51:25 +0000 (10:51 +0200)]
v4l: add a fixme for broken code, that someone who has a v4l tuner device should fix

15 years agoaudioresample: add missing break in event handling, remove dead code
Stefan Kost [Thu, 5 Mar 2009 08:39:33 +0000 (10:39 +0200)]
audioresample: add missing break in event handling, remove dead code

15 years agortsp: do some more cleanup in _close
Wim Taymans [Wed, 4 Mar 2009 15:24:01 +0000 (16:24 +0100)]
rtsp: do some more cleanup in _close

Do som more cleanup in gst_rtsp_connection_close() so that it's back into the
unconnected state as it was allocated.

15 years agortsp: fix the memory management of the url
Wim Taymans [Wed, 4 Mar 2009 15:11:20 +0000 (16:11 +0100)]
rtsp: fix the memory management of the url

Constify the url parameter in _create.
Make a copy of the url stored in the connection.
Free the url when the connection is freed.

15 years agoRTSP: Add support for server tunneling
Wim Taymans [Wed, 4 Mar 2009 11:21:29 +0000 (12:21 +0100)]
RTSP: Add support for server tunneling

Save the tunnelid in the connection. Add a method to retrieve the tunnelid so
that a server can store and match the id against other tunnel requests.

Fix the URI in the tunnel requests so that they contain the absolute uri and the
query string if any instead of just the hostname.

Transparently base64 decode the input stream when tunneling.

Add method to set the connection ip address so that it can be included in the
tunnel response.

Add method to connect the two tunnel requests.

Add two callbacks for the async mode to notify a tunnel start and tunnel
complete event.

Add method to reset the watch after the connection has been tunneled.

Various little refactoring to make more stuff reusable.

API: RTSP::gst_rtsp_connection_set_ip()
API: RTSP::gst_rtsp_connection_get_tunnelid()
API: RTSP::gst_rtsp_connection_do_tunnel()
API: RTSP::gst_rtsp_watch_reset()

15 years agortsp: add new defines for tunneling
Wim Taymans [Wed, 4 Mar 2009 11:18:00 +0000 (12:18 +0100)]
rtsp: add new defines for tunneling

Add two more result codes for tunneling support.

15 years agortsp: remove , from last enum member
Wim Taymans [Wed, 4 Mar 2009 11:12:06 +0000 (12:12 +0100)]
rtsp: remove , from last enum member

Remove , from last enum member to improve compatibility with other compilers.

15 years agosubparse: Convert regex code to GRegex code
LRN [Sat, 28 Feb 2009 23:23:20 +0000 (15:23 -0800)]
subparse: Convert regex code to GRegex code

Fixes: #572993.  Patch author prefers to use an alias, contact
ds if you actually need a real name.

Signed-off-by: David Schleef <ds@schleef.org>
15 years agortsp: remove debugging g_message
Wim Taymans [Mon, 2 Mar 2009 15:13:33 +0000 (16:13 +0100)]
rtsp: remove debugging g_message

--

15 years agoRTSP: add support for Quicktime tunneled RTSP
Wim Taymans [Mon, 2 Mar 2009 15:03:49 +0000 (16:03 +0100)]
RTSP: add support for Quicktime tunneled RTSP

Add support for tunneling RTSP over HTTP.
Fix documentation some more.
See also #573173.

API: RTSP:gst_rtsp_connection_is_tunneled()
API: RTSP:gst_rtsp_connection_set_tunneled()

15 years agoRTSP: parse rtsph uris as RTSP tunneled over HTTP
Wim Taymans [Mon, 2 Mar 2009 14:48:56 +0000 (15:48 +0100)]
RTSP: parse rtsph uris as RTSP tunneled over HTTP

Add transport define for RTSP tunneled over HTTP.

Parse rtsph:// uris as tunneled HTTP over TCP.

API: GstRTSPLowerTrans::GST_RTSP_LOWER_TRANS_HTTP

See also #573173.

15 years agowin32: Add gst_rtsp_connection_get_url definition
Edward Hervey [Mon, 2 Mar 2009 11:48:18 +0000 (12:48 +0100)]
win32: Add gst_rtsp_connection_get_url definition

No, I'm not wim's buildslave, seriously.

15 years agortsp: add _get_url method and separate sockets
Wim Taymans [Mon, 2 Mar 2009 09:58:49 +0000 (10:58 +0100)]
rtsp: add _get_url method and separate sockets

Add gst_rtsp_connection_get_url() method.

Reserve space for 2 sockets, one for reading and one for writing. Use socket
pointers to select the read and write sockets. This should allow us to implement
tunneling over HTTP soon.

API: RTSP::gst_rtsp_connection_get_url()

15 years agoapp: force automatic rebuild of gstapp-marshal.[ch] after previous change
Tim-Philipp Müller [Sun, 1 Mar 2009 18:31:17 +0000 (18:31 +0000)]
app: force automatic rebuild of gstapp-marshal.[ch] after previous change

The previous change to appsrc/appsink requires people to 'make clean'
to get the marshallers rebuilt (causing a build failure otherwise).
Change some lines in the .list file around to force a rebuild of
these files automatically.

15 years agoBump glib requirement to 2.14
David Schleef [Sat, 28 Feb 2009 19:07:04 +0000 (11:07 -0800)]
Bump glib requirement to 2.14

15 years agogio: Use correct format modifier for size_t
LRN [Sat, 28 Feb 2009 18:37:53 +0000 (19:37 +0100)]
gio: Use correct format modifier for size_t

Fixes bug #573528.

15 years agortspconnection: Use correct types for some functions on Win32
LRN [Sat, 28 Feb 2009 18:35:33 +0000 (19:35 +0100)]
rtspconnection: Use correct types for some functions on Win32

Fixes bug #573529.

15 years agortspconnection: Fix warning about using unitialized value.
Edward Hervey [Sat, 28 Feb 2009 12:11:59 +0000 (13:11 +0100)]
rtspconnection: Fix warning about using unitialized value.

15 years agoriff: Add more codec mappings.
Edward Hervey [Sat, 28 Feb 2009 11:41:28 +0000 (12:41 +0100)]
riff: Add more codec mappings.

This comes mostly from a review of ffmpeg/libavformat/riff.c

15 years agoalsa: release pcminfo after the strdup
Stefan Kost [Fri, 27 Feb 2009 09:14:25 +0000 (11:14 +0200)]
alsa: release pcminfo after the strdup

15 years agortsprange: don't leak the range in case of parsing error.
Stefan Kost [Thu, 26 Feb 2009 15:38:47 +0000 (17:38 +0200)]
rtsprange: don't leak the range in case of parsing error.

Free the gstRTSPTimeRange if we don't return it. Also simplify
gst_rtsp_range_free() as it is valid to pass NULL to g_free().

15 years agoalsa: cleanup name lookup.
Stefan Kost [Thu, 26 Feb 2009 14:47:39 +0000 (16:47 +0200)]
alsa: cleanup name lookup.

We can break, once we have a name to make sure, we won't read it ever twice.

15 years agosubparse: don't leak line, if flushing
Stefan Kost [Thu, 26 Feb 2009 14:09:03 +0000 (16:09 +0200)]
subparse: don't leak line, if flushing

15 years agogiosink: reflow error handling to not leak uri
Stefan Kost [Thu, 26 Feb 2009 14:03:39 +0000 (16:03 +0200)]
giosink: reflow error handling to not leak uri