Commit graph

6743 commits

Author SHA1 Message Date
Wim Taymans
956c9f32a3 videorate: handle invalid timestamps better
Handle buffers with -1 timestamps better by keeping track of the en time of the
previous buffer and assuming the -1 timestamp buffer goes right after the
previous one.

when we have two buffers that are equally good, output the oldest buffer once to
minimize latency.

don't try to calculate latency when the input framerate is unknown.
2009-05-12 10:47:17 +02:00
Wim Taymans
6cee823237 oggmux: small debug statement in DISCONT 2009-05-12 10:46:35 +02:00
Wim Taymans
7e43c10754 oggdemux: fix abuse of ogg API, handle broken oggs
When we feed the ogg sync layer, we need to feed it contiguous data even if the
sync layer did not consume all of it yet. This makes sure that it always finds
the next page even for more corrupted files. Use a different read_offset for
this purpose. since we now keep track of the sync layer, we don't have to reset
after finding a start of a page.

Add some more debug info for the error paths.

Only reset the sync layer when we perform a seek operation.

Avoid failure when the next chain has no bos pages but instead simply ignore it.

when we receive unknown page serial numbers mid stream, don't fail but post a
warning and hope that we get back on track later.

Fixes #579642
2009-05-12 10:44:17 +02:00
Wim Taymans
a0525fadb4 decodebin2: make subpictures a raw output format
Subpictures are a raw format, we want those pads exposed so that playbin2 can do
the subpicture mixing.
2009-05-12 10:40:11 +02:00
Wim Taymans
0a09632396 rtpdepay: add some more comments 2009-05-12 10:39:49 +02:00
Wim Taymans
d655120ee6 audioclock: make sure values are ever increasing 2009-05-12 10:39:41 +02:00
Wim Taymans
e1aa348246 playbin2: make fallback identity silent
Set the signal-handoffs to FALSE and silent to TRUE for the fallback identity
element so that it consumes less CPU.
2009-05-12 10:38:15 +02:00
Wim Taymans
c6f6282fde playbin2: handle custom audiosinks differently
Keep track of the autoplugged custom sinks and configure them in the playsink
element when we have collected all streams.
Also make sure that we only select one custom sink.
When unreffing the internal sink, we don't need to change the state to NULL.
2009-05-12 10:37:45 +02:00
Wim Taymans
0b372dd371 playbin2: unify custom sink get/set functions
Use one function to set/get all of the different sink types.
cleanup up the subpicture chain too.
Allow setting a custom subpicture sink.
2009-05-12 10:36:25 +02:00
Sebastian Dröge
24dd91b1f0 interfaces: Seperate some more struct definitions from typedefs 2009-05-12 09:03:25 +02:00
Sebastian Dröge
e057414049 interfaces: Seperate some more struct definitions from typedefs 2009-05-12 09:03:25 +02:00
Sebastian Dröge
7638cd7c3b Add new functions to win32 exports 2009-05-12 09:03:25 +02:00
Sebastian Dröge
3e459f2246 Add new functions to the docs 2009-05-12 09:03:24 +02:00
Sebastian Dröge
59aa1251d9 interfaces: API: Add gst_mixer_get_mixer_type()
This is a convenience function that returns the mixer_type
of the interface struct.
2009-05-12 09:03:24 +02:00
Sebastian Dröge
29b063b39b interfaces: Add docs for gst_color_balance_get_balance_type() 2009-05-12 09:03:24 +02:00
Marc-Andre Lureau
ce34fdfc30 Run libtoolize before aclocal
This unbreaks the build in some cases. Fixes bug #582021
2009-05-12 09:03:24 +02:00
Sebastian Dröge
1d4ba53259 textrender: Correctly initialize the background for ARGB too 2009-05-12 09:03:24 +02:00
Sebastian Dröge
204c327b23 textrender: Use libgstvideo functions to create caps
Also check if downstream wants ARGB always when we get
new caps.
2009-05-12 09:03:23 +02:00
Sebastian Dröge
4f5502a896 textrender: Don't always use ARGB if downstream supports it but take it's preference 2009-05-12 09:03:23 +02:00
Kapil Agrawal
2ddf7c8e13 textrender: Add support for ARGB and alignment properties
Fixes bug #581571.
2009-05-12 09:03:23 +02:00
Sebastian Dröge
ce95857718 textrender: Add ; after GST_BOILERPLATE to fix indention 2009-05-12 09:03:23 +02:00
Sebastian Dröge
9fc4d195e1 vorbistag: Use text/uri-list as mimetype instead of ---> for URI lists 2009-05-12 09:03:22 +02:00
Arnout Vandecappelle
192a34af40 typefindfunctions: made mp3_type_find less aggressive
mp3_type_find could suggest already when only a single valid header
was found, if it ran out of data before the end of the next frame.
Therefore, ignore the last found frame if it was incomplete.
Fixes bug #579692.
2009-05-12 09:03:22 +02:00
John Millikin
ef473dd0ae vorbistag: Store cover art in vorbiscomments
Fixes bug #513373.
2009-05-12 09:03:22 +02:00
Sebastian Dröge
e1875bf25f interfaces: API: Add gst_color_balance_get_balance_type()
This is a convenience function that returns the balance_type
of the interface struct.
2009-05-12 09:03:22 +02:00
Sebastian Dröge
b6c3567b41 interfaces: Separate struct definitions from typedefs 2009-05-12 09:03:22 +02:00
Sebastian Dröge
85c11069a2 Fix libdir for uninstalled gstreamer-app library 2009-05-12 09:03:21 +02:00
Tim-Philipp Müller
279b996d20 pbutils: add description for APE tag caps 2009-05-12 01:59:01 +01:00
Tim-Philipp Müller
cf11cc3d9d configure: bump core requirement to last release
as that's more likely to be true than that we need
only 0.21.1.
2009-05-12 01:37:01 +01:00
Tim-Philipp Müller
ef5d0cca18 configure: rename CVS -> git in a couple of places 2009-05-12 01:21:57 +01:00
Tim-Philipp Müller
15637b6bd4 configure: bump GLib requirement to GLib >= 2.16
as per the New Regime (see wiki).
2009-05-12 01:17:53 +01:00
Tim-Philipp Müller
3d33e2a873 tagdemux: cache events from upstream and re-send them once we have a source pad
Makes sure tags don't get dropped when we have multiple tag demuxers in a row.
Fixes #580318.
2009-05-12 01:15:21 +01:00
Michael Smith
8f6399f109 riff: support UYVY raw 4:2:2 in riff. 2009-05-11 14:04:16 -07:00
Jan Schmidt
a373667b5e Back to development -> 0.10.23.1 2009-05-11 21:20:07 +01:00
Michael Smith
21c52af2b3 theoradec: fix buffer overrun on 422 decode. 2009-05-10 18:08:13 -07:00
Michael Smith
c94a36bff4 theoradec: 444 support. 2009-05-10 18:08:13 -07:00
Michael Smith
62b571b93b theoradec: handle 422 images (as YUY2). 2009-05-10 18:08:13 -07:00
Michael Smith
a91b7f0857 theoradec: rearrange code in preparation for 422 and 444 support. 2009-05-10 18:08:12 -07:00
Jan Schmidt
f8370edc90 Release 0.10.23 2009-05-10 23:57:01 +01:00
Jan Schmidt
4d8f38fd70 Update .po files 2009-05-10 23:56:05 +01:00
Jan Schmidt
ed77e6af6c 0.10.22.6 pre-release 2009-05-08 20:32:20 +01:00
Wim Taymans
691a52975e playbin2: fix resume after pause
Don't ignore the state change of the children, they might be doing an ASYNC
state change.
2009-05-08 13:11:01 +02:00
Jan Schmidt
af8926c26b 0.10.22.5 pre-release 2009-05-08 11:05:41 +01:00
Wim Taymans
7c61249ceb multifdsink: fix signature of the add-full signal
The second parameter is a GstSyncMethod enum, not a boolean.
2009-05-07 23:14:56 +02:00
Wim Taymans
52da312fa5 playsink: initialize variable too 2009-05-07 15:19:05 +02:00
Wim Taymans
c05541c195 playbin2: make playsink go ASYNC to PAUSED
Make playsink go async to the PAUSED state instead of relying on uridecodebin
for async behaviour in playbin. This solves some problems (mainly with DVD)
where the pipeline would go to PLAYING before preroll completed, failing to
select the audiosink clock.
Fixes #581727
2009-05-07 14:28:30 +02:00
Jan Schmidt
8677c0bdf3 0.10.22.4 pre-release 2009-05-06 16:09:52 +01:00
Zaheer Merali
1650272b84 vorbisenc, theoraenc: Ensure gp is computed consistently + clip to segment
With vorbisenc, compute the granulepos with running time and clip incoming
buffers to segment.
With theoraenc, drop out of segment buffers.
2009-05-06 13:19:34 +01:00
Jan Schmidt
02a7b31f0e audioresample: Fix buffer size transformations
When calculating the input/output buffer sizes in the transform_size function,
take the number of channels into account, so we don't end up calculating
a buffer size that only contains a partial number of audio frames.

Also, when going from output size to input size, round down rather than
up, so as to calculate the minimum number of samples that *might* yield
a buffer of the intended destination size.

Fixes: #580470 and #580952
2009-05-01 16:47:53 +01:00
Jan Schmidt
d14c80b22e vorbisenc: Ensure output buffers fall within the segment
Add the start position of the first segment to the running time
used to generate buffer timestamps in vorbisenc. This avoids generating
buffers which fall outside the initial segment. The element segment
handling requires more extensive fixing, but this at least prevents
regressions. Fixes: #580020
2009-04-29 16:48:45 +01:00