Mark Nauwelaerts
cacc663b35
dvddemux: tweak subtitle stream setup based on dvd language codes event
...
... to allow for non-continuous subtitle stream numbers.
The missing stream numbers tend to come up as subtitle streams anyway
(albeit not with an identified language tag).
2011-12-21 22:07:27 +01:00
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
Edward Hervey
daecb74456
asfdemux: Don't leak pending payload buffers
...
Fixes #662964
2011-10-29 11:57:40 +02:00
Mark Nauwelaerts
eee31aecb3
asfpacket: skip empty payload packets
...
... which also avoids assertion failures and possible segfaults later on
when possibly trying to join 2 empty buffers.
2011-09-08 17:02:27 +02: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
Mark Nauwelaerts
3ba6d1588f
rtpasfdepay: fix fragmented packet handling and packet padding
...
Also remove a bogus assert.
2011-06-06 12:55:02 +02:00
Stefan Kost
2965dbac47
synaesthesia: fix wrong debug log string (copy'n'paste)
2011-06-03 11:35:55 +03:00
Stefan Kost
a184490e6c
rmdemux: target is unsigned and can't be < 0
2011-05-20 13:32:31 +03:00
Mark Nauwelaerts
58e445d91f
rtpasfdepay: simplify and refactor packet parsing
...
Specifically, refactor buffer padding and consider marker bit for fragment
assembling.
2011-05-16 12:53:27 +02:00
Mark Nauwelaerts
4f2627e737
rtpasfdepay: avoid re-sending header
...
... e.g. following a seek, which otherwise confuses downstream demuxer
expecting only a flow of data packets at this time.
2011-05-16 12:53:24 +02:00
Mark Nauwelaerts
81f62a987a
rtpasfdepay: remove unused field
2011-05-16 12:53:20 +02: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
Tim-Philipp Müller
120731ee4e
mpegstream: fix unused-but-set-variable warnings with gcc 4.6
2011-04-14 15:04:19 +01:00
Tim-Philipp Müller
81173fcbad
asfdemux: fix unused-but-set-variable warnings with gcc 4.6
2011-04-14 15:03:33 +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
Sebastian Dröge
101e8a024f
dvdsubdec: Rearrange buffer allocation and pushing code a bit
...
This makes the code easier to read, doesn't store every buffer
in the instance until the next buffer is to be drawn and
fixes an unitialized variable compiler warning.
2011-03-15 11:02:42 +01:00
Brendan Le Foll
1c1868682e
dvdsubdec: Output only a single buffer per subpicture and set the correct duration
...
Fixes bug #619136 .
2011-03-15 10:59:23 +01:00
Brendan Le Foll
a72cc73798
dvdsubdec: Implement clipping if the video size is smaller than the subpicture size
...
Fixes bug #644704 .
2011-03-14 18:40:40 +01:00
Stefan Kost
253afc02c9
dvddemux: small code cleanup
...
Don't duplicate the 'if' check. Makes the 2nd condition easier to read also
and avoid empty 'if' when logging is disabled.
2011-03-02 13:12:11 +02:00
Stefan Kost
9424c553b9
index: use delta frame flags instead of 0 or none
2011-02-17 18:05:58 +02:00
Edward Hervey
67f754a9ea
asfpacket: Avoid using broken duration extension
...
Quite a few (broken?) files have a packet duration of 1ms, which is
most definitely wrong for either audio or video packets.
We therefore avoid using that value and instead use other metrics to
determine the buffer duration (like using the extended stream properties
average frame duration if present and valid).
2011-01-30 16:17:19 +01:00
Yang Xichuan
904d0b9b60
xingmux: Use FALSE instead of 0 as return value for a function returning gboolean
...
Fixes bug #639291 .
2011-01-24 19:44:41 +01:00
Vincent Penquerc'h
7e6125fc8f
mpegstream: increase allowable gap between streams
...
The new delay is three times as much as the old one, and just happens
to let me properly decode my "Princess Mononoke" DVD, on which dvdreadsrc
was chocking before at 5:11.
While there, merge the constants used in two places into a define.
https://bugzilla.gnome.org/show_bug.cgi?id=539708
2011-01-24 19:44:41 +01:00
Edward Hervey
6eb48af87c
asfdemux: Handle new type of DRM'd asf files.
...
These are produced by the new MS PlayReady system.
https://bugzilla.gnome.org/show_bug.cgi?id=639226
2011-01-11 17:51:31 +01: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
26cd4ee3a0
various: canonicalize property names
2010-10-19 12:24:13 +03:00
Stefan Kost
91f9b986a1
various (gst): add a missing G_PARAM_STATIC_STRINGS flags
2010-10-19 09:51:23 +03:00
Tim-Philipp Müller
ccb624ec03
mpegparse: re-fix flow return handling
...
Fix wrong GST_FLOW_IS_SUCCESS substitution in commit e99cb46c
:
- } while (GST_FLOW_IS_SUCCESS (result));
+ } while (result != GST_FLOW_OK);
2010-09-15 20:19:26 +01:00
Sebastian Dröge
bd65afed85
xingmux: Don't ignore WRONG_STATE and NOT_LINKED when pushing data downstream
2010-09-04 14:57:51 +02:00
Sebastian Dröge
e99cb46c60
mpegstream: Don't use GST_FLOW_IS_SUCCESS()
2010-09-04 14:57:51 +02: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
Sebastian Dröge
704b371944
asfdemux: Don't use GST_FLOW_IS_FATAL()
...
And don't post error messages for UNEXPECTED and post an error
message if pulling data failed because of NOT_LINKED.
2010-09-04 14:57:51 +02:00
Edward Hervey
776a09149e
asfdemux: Don't error out on non-critical flow returns
...
Only error out when downstream returns:
* NOT_SUPPORTED
* ERROR
* NOT_NEGOTIATED
* NOT_LINKED
If we got _UNEXPECTED, we push an EOS downstream (since maybe only one
of the streams had gone EOS) and then stop the task silently.
In the case of WRONG_STATE we just need to stop silently
https://bugzilla.gnome.org/show_bug.cgi?id=600412
2010-08-27 17:59:12 +02:00
Alessandro Decina
2ca354e3ab
mp3parse: propagate flow errors upstream.
...
Remove a wrong GST_FLOW_IS_FATAL call. When pushing fails, mp3parse should
always return the error upstream.
2010-08-25 15:39:33 +02:00
Stefan Kost
73cc65fa88
synaesthesia: code cleanups.
...
Remove unused boilerplate for signals. Use _OBJECT variants of logging macros
more.
2010-08-10 14:37:39 +03:00
Stefan Kost
ed9fd645ad
synaesthesia: use GST_BOILERPLATE macros
2010-08-10 14:29:05 +03:00
Thiago Santos
81dfce4095
asfdemux: Fix seeking after last commits
...
Don't handle wrong-state returns as errors to allow seeking to work
again.
2010-06-28 09:34:30 -03:00
Thiago Santos
36e12c92c1
asfdemux: Push all pending data on EOS
...
When on push mode and receiving an EOS event, asfdemux
should push all pending data because we might be dealing
with a broken file that has a preroll value higher
than its actual length.
2010-06-24 19:46:39 -03:00
Thiago Santos
ec3b13a250
asfdemux: Fix sending eos event for chained asfs
...
Properly push EOS event when finishing a chained asf file
in pull mode
Fixes #599718
2010-06-24 19:29:17 -03: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
Edward Hervey
5ac4ea3f1b
asfdemux: Allow at least 500ms of preroll.
...
Some files have insanely low preroll values which break the
all_streams_prerolled() logic.
Fixes #622407
2010-06-23 11:06:54 +02:00
Sebastian Dröge
602fb1319a
configure: Update required GLib version to 2.20
2010-06-14 16:59:25 +02:00