Tim-Philipp Müller
da9f20eceb
Work around deprecated thread API in glib master
...
Add private replacements for deprecated functions such as
g_mutex_new(), g_mutex_free(), g_cond_new() etc., mostly
to avoid the deprecation warnings. We can't change most of
these in 0.10 because they're part of our API and ABI.
Suppress deprecation warnings in selected files, mostly for
g_static_rec_mutex_*. StaticRecMutex is part of our API/ABI,
not much we can do here in 0.10.
2011-12-12 11:33:31 +00:00
Tim-Philipp Müller
15cd0c5e36
rdtdepay: make buffer metadata writable before setting caps on it
...
Fixes issue when the header buffer is being pushed, which was taken
from the caps and is therefore not writable.
2011-12-09 15:25:21 +00:00
Vincent Penquerc'h
213ce049ad
various: fix pad template ref leaks
...
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:10:01 +00:00
Tim-Philipp Müller
700d8b1c28
rmdemux: delay announcing container tags until we have pads
...
Fixes tags when transcoding.
https://bugzilla.gnome.org/show_bug.cgi?id=658297
2011-09-08 14:33:00 +01:00
Stefan Kost
a184490e6c
rmdemux: target is unsigned and can't be < 0
2011-05-20 13:32:31 +03:00
Tim-Philipp Müller
59ced3ae36
rademux: fix two 'variable may be used uninitialized' warnings caused by -DG_DISABLE_ASSERT
2011-04-16 23:23:56 +01:00
Thibault Saunier
1e6a607e01
android: make it ready for androgenizer
...
To build gstreamer for android we are now using androgenizer which
generates the needed Android.mk files.
Androgenizer can be found here: http://git.collabora.co.uk/?p=user/derek/androgenizer.git
2011-04-11 07:31:13 +02:00
Edward Hervey
65ac3e727b
rmdemux: Initialize return variable.
...
In the unlikely event that height is 0 (which is invalid) we would end up
never setting the flow return.
2011-01-06 13:15:17 +01:00
Edward Hervey
c849e854a8
realmedia: Fix unitialized variables on macosx
2011-01-05 16:52:03 +01:00
Vincent Penquerc'h
878781c6a7
realmedia: do not use the pad buffer allocation functions in demuxers
...
Doing so can block, see https://bugzilla.gnome.org/show_bug.cgi?id=637822
https://bugzilla.gnome.org/show_bug.cgi?id=637932
2010-12-24 14:15:48 +01:00
Rob Clark
987c199370
rmdemux: set GST_BUFFER_FLAG_DELTA_UNIT properly
...
Signed-off-by: Rob Clark <rob@ti.com>
2010-12-13 14:51:53 -06:00
Edward Hervey
f4031d19a6
realmedia: Remove dead assignments
2010-11-25 19:51:50 +01:00
Tim-Philipp Müller
d128f5fab1
realmedia: fix LIBS order in Makefile
2010-10-28 17:04:24 +01:00
Edward Hervey
fe3e26bee4
realmedia: Get codec name from pbutils instead of harcoding them
2010-10-24 14:25:49 +02:00
Stefan Kost
91f9b986a1
various (gst): add a missing G_PARAM_STATIC_STRINGS flags
2010-10-19 09:51:23 +03:00
Sebastian Dröge
f3fa6f6de0
rmdemux: Don't use GST_FLOW_IS_FATAL() and GST_FLOW_IS_SUCCESS()
2010-09-04 14:57:51 +02:00
Tim-Philipp Müller
6f5dabb71f
rmdemux: fix compiler warning when debugging system in core is disabled
2010-06-24 18:03:21 +01:00
Sebastian Dröge
602fb1319a
configure: Update required GLib version to 2.20
2010-06-14 16:59:25 +02:00
Wim Taymans
2c469df530
rmdemux: pass bitrate on caps
...
Set the bitrate on the caps, some decoders like sipro need this to function
properly.
Fixes #620007
2010-06-05 14:13:02 +02:00
Wim Taymans
4044046ac1
rmdemux: add better sipr nibble swap routine
2010-05-14 16:02:47 +02:00
Wim Taymans
a68951f0bb
rmdemux: descramble SIPR before pushing out
...
Collect and descramble the SIPR packets before pushing.
Descramble ATRAC audio.
Fixes #618098
2010-05-13 17:57:57 +02:00
Wim Taymans
0b73505c61
rm: add function to descramble sipr
2010-05-13 17:57:02 +02:00
Tim-Philipp Müller
d7dc396878
rtspreal: use GLib's base64 functions if available
...
Since gst_rtsp_base64_decode_ip() just got deprecated in -base git.
2010-04-30 19:53:15 +01:00
Руслан Ижбулатов
49c5383c71
Fix pointer type.
...
Fixes #613815
2010-03-24 19:01:34 +01:00
Sebastian Dröge
c88c88de0d
build: Add all kinds of compiler warning flags and fix the resulting warnings
2010-03-24 11:27:40 +01:00
Benjamin Otte
9850bd814f
gst_element_class_set_details => gst_element_class_set_details_simple
2010-03-18 15:53:14 +01:00
Tim-Philipp Müller
efc5181d13
rtspreal: don't construct config header with uninitialised bytes
...
Turns out 4 + 4 + 2 + (4 * 2) is actually 18 and not 22. This avoids
a presumably unintentional padding of uninitialised bytes at the end
of the CONT tags chunk, which should be harmless but causes warnings
in valgrind (see #608533 for a test URL).
2010-01-31 13:03:58 +00:00
Tim-Philipp Müller
cd6b16734e
rtspreal: add finalize function so we can free streams and rulebook
...
Fix memory leak in Real RTSP component (#608533 ).
2010-01-30 19:15:15 +00:00
Tim-Philipp Müller
4cb5f32308
rtspreal: fix minor memory leak
...
Caps take their own reference when a buffer is added to them, so
unref buffer after adding it to caps (#608533 ).
2010-01-30 19:15:15 +00:00
Tim-Philipp Müller
29c509a7b8
rdtdepay: unref input buffer when done
...
Fixes memory leak, see #608533 .
2010-01-30 19:15:15 +00:00
Thiago Santos
6dd3525806
rmdemux: Parse and post bitrate for streams
...
Parse the bitrate of the streams and post their tags.
Fixes #599299
2010-01-07 16:36:08 -03:00
Wim Taymans
3784de031d
rmutils: fix byteswapping
...
fix the byteswapping code that was wrong because of the side effects of the
READ/WRITE macros.
Fixes #599676
2009-10-27 12:33:24 +01:00
Stefan Kost
d125baa8c5
build: fprintf, sprintf, sscanf need stdio.h
2009-10-07 14:22:09 +03:00
Mark Nauwelaerts
095c8eb5d4
rmdemux: plug buffer leaking
2009-06-22 19:10:15 +02:00
Tim-Philipp Müller
0e285b3d29
x264enc, rdtmanager: fix compilation with debugging disabled
2009-06-19 15:01:46 +01:00
Edward Hervey
29b34e049c
rmdemux: Actually return the return value for the seek handling.
2009-04-21 20:37:19 +02:00
Edward Hervey
c1cd90eb57
rmdemux: Remove dead assignment, value is being overwritten before being read.
2009-04-19 13:59:24 +02:00
Edward Hervey
2a892f5856
rmdemux: Remove unused accurate flag.
...
I couldn't see any reason why this was there in the first place.
2009-04-19 13:58:31 +02:00
Edward Hervey
2190ad3962
realmedia: Remove dead assignments. The results are never read.
2009-04-19 13:57:59 +02:00
Edward Hervey
0d32a3703d
realmedia: Remove useless variables, only being used once (or not).
2009-04-19 13:57:10 +02:00
Edward Hervey
ac0e11e55c
remove empty method implementations.
2009-04-19 13:55:24 +02:00
Josep Torra
8258daf87c
realmedia: add special Real header to DESCRIBE message only for Real
...
servers
Add headers that are specific to real only if a real server had been
detected by the OPTIONS message.
2009-04-15 11:09:56 +02:00
Tim-Philipp Müller
18e79995af
realmedia: add special Real header to SETUP message only for Real servers
...
Fixes playback of Windows Media RTSP streams and other non-Real RTSP
streams where the server errors out because it can't handle the
Real-specific 'Required: com.real.retain-entity-for-setup' header
we've been adding unconditionally in the recent past.
For reference:
rtsp://66.111.34.191:601/broadcast/alnour.rm
rtsp://195.134.224.231/snowboard_100.wmv
2009-04-09 20:21:46 +01:00
Wim Taymans
1731c58b9b
realrtsp: add more headers
...
Parse the ETag from the describe method and pass the sessionid as the value for
the If-Match header is subsequent setup calls.
Fixes support for more RealMedia RTSP streams.
2009-03-25 16:39:06 +01:00
Jan Schmidt
b510f2ab6b
rmdemux: Fix strict-aliasing warnings.
...
Use existing GST_READ_UINT32 and GST_WRITE_UINT32 macros instead of
hand-rolled ones.
2009-03-04 16:52:59 +00:00
Wim Taymans
d99f4c9756
rtspreal: ignore data streams. Fixes #527112
...
Ignore data streams when parsing the SDP as they don't contain anything we need
to put in the realmedia header.
2009-02-25 18:23:55 +01:00
Edward Hervey
96d35e0819
Fix indentation.
2009-02-22 14:22:30 +01:00
Edward Hervey
52e30c1b33
pnmsrc: Error out gracefully if location is NULL. Run gst-indent
2009-02-22 14:21:22 +01:00
Wim Taymans
da28d1620e
Add pnm:// uri source
...
Add a new utri handler for pnm:// that for now just redirects to the same uri
with the rtsp:// protocol, which usually works nowadays.
Separate the registration of the various plugins into a separate source file.
2009-02-20 15:53:34 +01:00
Roland Moser
c42e090acc
Fix parsing of the flags in rmdemux
...
Fix parsing of the flags in version 1 realmedia streams.
Fixes #571358 .
2009-02-18 12:55:16 +01:00