Julien Moutte
d6108b8fad
subtitleoverlay: relax caps template on sink pads
...
Allow any caps on sink pad templates as we could do passthrough with non raw
video caps.
2010-01-25 18:57:52 +01:00
Wim Taymans
e4b68a3658
oggdemux: use right type for the serialno
...
Use a consistent type for the serialno to avoid problems when comparing between
signed and unsigned variants.
Fixes #607926
2010-01-25 15:14:56 +01:00
Wim Taymans
95511c8821
oggdemux: don't push headers twice
...
Don't push the stream headers twice but only in the activation of a chain.
Fixes #607929
2010-01-25 14:00:52 +01:00
Wim Taymans
9aeafa25d1
Merge branch 'master' of ssh://git.freedesktop.org/git/gstreamer/gst-plugins-base
2010-01-25 13:18:18 +01:00
Wim Taymans
62f8c3c672
oggdemux: rename a variable
...
Rename the 'seekable' variable to 'pullmode'. We might be able to seek in push
mode too eventually.
2010-01-25 12:31:24 +01:00
Sebastian Dröge
fcf2668b20
Revert "inputselector: Protect g_object_notify() with the object's mutex"
...
This reverts commit a37426c41c
, it's
causing deadlocks with playbin2.
2010-01-25 12:22:17 +01:00
Kipp Cannon
a37426c41c
inputselector: Protect g_object_notify() with the object's mutex
...
This works around the thread unsafety of g_object_notify()
Fixes bug #607513 .
2010-01-24 20:55:26 +01:00
Sebastian Dröge
1ae783dafc
typefindfunctions: Add typefinder for ISO MP4 files
...
Fixes bug #607848 .
2010-01-24 20:46:58 +01:00
Tim-Philipp Müller
e1c319949d
oggdemux: fix crash when freeing headers
...
Use _ogg_packet_free() instead of gst_mini_object_unref in one more
place now that the header list contains ogg packets and not buffers.
file: Stephen_Fry-Happy_Birthday_GNU-nq_600px_425kbit.ogv
2010-01-24 13:32:20 +00:00
Sebastian Dröge
1652005f26
oggdemux: Strip trailing \0 for subtitle OGM streams
...
Fixes bug #607870 .
2010-01-24 08:57:13 +01:00
Sebastian Dröge
a66ce94adc
oggdemux: Correctly set DELTA_UNIT flag for OGM streams
2010-01-23 22:10:09 +01:00
Sebastian Dröge
b38dcf5277
oggdemux: Don't strip all 0-bytes from the end of OGM packets
...
This fixes broken packets pushed downstream by oggdemux for
MPEG4 streams for example.
2010-01-23 22:10:09 +01:00
Sebastian Dröge
592bc87dc9
oggdemux: Extract tags from OGM text streams and don't push them downstream
2010-01-23 22:10:08 +01:00
Sebastian Dröge
541da50c53
oggdemux: Store header/queued packets as ogg_packet and use normal peer chaining functions to pass them downstream
2010-01-23 22:10:08 +01:00
Tim-Philipp Müller
eef885cf86
typefinding: optimise AC-3 typefinder a bit
...
Make AC-3 typefinder use the DataScanCtx stuff so we don't have to
do gst_type_find_peek() in the inner loop all the time. Also return
when we've suggested AC3 caps, instead of continuing with the loop.
2010-01-23 15:28:02 +00:00
Tim-Philipp Müller
ca7ba91e5b
Revert "typefind: Reduce number of calls to gst_type_find_peek."
...
This reverts commit c661bfaa99
.
This breaks AC-3 typefinding for all cases where the first frame
is at an offset > 0.
2010-01-23 15:27:49 +00:00
Edward Hervey
c783ec3c4d
pbutils: Add description for Zip Block Motion Video
2010-01-23 15:35:05 +01:00
Edward Hervey
dde84e4c4b
riff: Add mapping for Zip Block Motion Video
2010-01-23 15:34:54 +01:00
Edward Hervey
52ec4f4394
riff: YUNV is a fourcc which is also used for YUY2 raw video
2010-01-23 15:26:37 +01:00
Edward Hervey
de736fb1d1
riff: vp61 and VP61 are also valid On2 VP6 fourcc
2010-01-23 15:13:45 +01:00
Edward Hervey
5dff488a26
riff: Add mapping for On2 VP5
2010-01-23 15:10:45 +01:00
Edward Hervey
b5367b89ed
riff: Add mapping for Sigma-Designs MPEG4
...
It's actually a xvid-compatible stream. both xviddec and ffmpeg handle it.
2010-01-23 15:04:35 +01:00
Edward Hervey
d714a5a68b
pbutils: Add description for LOCO Lossless codec
2010-01-23 14:35:28 +01:00
Edward Hervey
554b4a6c25
riff: Add mapping for LOCO Lossless codec
2010-01-23 14:35:16 +01:00
Edward Hervey
444e7a68aa
riff: Add support for YV12 / Uncompressed packed YVU 4:2:2
2010-01-23 14:08:39 +01:00
Edward Hervey
da3dd574c1
pbutils: add description for Autodesk Animator codec
2010-01-23 13:50:26 +01:00
Edward Hervey
2795591247
riff: Add mapping for Autodesk Animator Codec
2010-01-23 13:50:09 +01:00
Sebastian Dröge
d78cffb2e8
oggdemux: ...and set caps on queued packet buffers too
2010-01-23 13:20:46 +01:00
Sebastian Dröge
b63a582bf9
oggdemux: Set caps on header buffers
2010-01-23 13:19:44 +01:00
Wim Taymans
12af633942
uridecodebin: handle raw sources about-to-finish signals
...
When we are dealing with a source that produces raw audio/video, we don't use a
decodebin2 to decode the data and we thus don't have the drained/about-to-finish
signal emited. To fix this, we add a padprobe on the source pads and emit the
drained signal ourselves. This then makes playbin2 emit the about-to-finish
signal for raw sources such as cdda://
Fixes #607116
2010-01-22 16:36:46 +01:00
Stefan Kost
8ebb6be803
typefind: include stdio.h for sscanf
2010-01-22 16:15:54 +02:00
Tim-Philipp Müller
2a84cf0941
typefinding: add PNM typefinder
...
Add PNM typefinder, so we can remove the one that's in the PNM plugin
in -bad (which btw uses different/wrong media types that don't match
the ones used by gdkpixbufdec) and people don't make fun of us for
loading image decoders when typefinding and playing back audio files.
2010-01-22 02:09:58 +00:00
Thijs Vermeir
48aa1959c8
ffmpegcolorspace: rename performance category
...
rename the performance category to ffmpegcolorspace_performance
as there is already a global GST_CAT_PERFORMANCE in core
2010-01-21 19:34:33 +01:00
Wim Taymans
4b9666aedb
oggdemux: keep track of added pads
...
Keep track of the pads we added and removed.
Remove some unused fields.
Don't add pads for which we don't have caps.
2010-01-21 17:39:52 +01:00
Wim Taymans
06e2d2791b
oggstream: don't call NULL setup functions
...
If we find a known mapper but it doesn't have a setup function, simply skip it
instead of crashing.
2010-01-21 17:39:51 +01:00
Wim Taymans
4ed58b5882
oggstream: avoid division by 0 on bad annodex streams
2010-01-21 17:39:51 +01:00
Edward Hervey
ab82529497
pbutils: Add description for y4m container
2010-01-21 13:47:30 +01:00
Olivier Crête
6c6d0e32cf
basertppayload: ptime/maxptime should be unsigned
...
https://bugzilla.gnome.org/show_bug.cgi?id=607403
2010-01-21 10:46:31 +01:00
Olivier Crête
8d2ac0b2ec
basertppayload: ptime should be in nanoseconds
...
https://bugzilla.gnome.org/show_bug.cgi?id=607403
2010-01-21 10:46:17 +01:00
Tim-Philipp Müller
dea7d352da
Automatic update of common submodule
...
From 14cec89 to 15d47a6
2010-01-20 00:53:20 +00:00
David Schleef
e432c8ebc2
typefind: rewrite h.264 detection
...
Make detection simpler: check for NALs, check that they make
sense, and report how certain we are that it's a raw H.264 stream.
Fixes : #583376 .
2010-01-19 13:37:12 -08:00
Olivier Crête
ad399c8069
basertppayload: Reject empty caps
...
https://bugzilla.gnome.org/show_bug.cgi?id=607353
2010-01-19 13:29:19 +01:00
Thiago Santos
4b771bff7a
oggdemux: No need to subtract begin time
...
Last stop is already based on the chain start and there is no need
to subtract the chain start as it may lead to a negative overflow.
This was causing seeking issues when the target chain was not
the first one (that has chain start = 0)
Fixes #606382
2010-01-19 08:39:14 -03:00
Sebastian Dröge
6dfc0270ec
audio: Use rounding scaling functions for GST_CLOCK_TIME_TO_FRAMES and _FRAMES_TO_CLOCK_TIME
...
Fixes bug #607381 .
2010-01-19 09:26:37 +01:00
Thiago Santos
125f7dfdb0
oggdemux: granulepos is relative to its chain
...
When performing seeks, the granulepos should be offset by
its chain start time to avoid using wrong values to
update segment's last_stop. A sample file is indicated on
bug #606382
2010-01-18 15:39:55 -03:00
Edward Hervey
24f1a9a9b7
pbutils: Add description for MXF container format
2010-01-18 17:57:16 +01:00
Tim-Philipp Müller
b0fe1867d4
playsink: re-use iterator callback to avoid code duplication
2010-01-18 10:10:27 +00:00
Tim-Philipp Müller
7216605ffa
playsink: when looking for sink properties, make sure they have the right type
...
We don't want to end up setting values on elements where the property is of
a different type than we expect. Can't transform the value either, since we
can't really make assumptions about the scale and transform function.
Fixes crashes when using playbin2 with apexsink (#606949 ).
2010-01-18 10:10:27 +00:00
Sebastian Dröge
7335ce5d3e
playbin2: Only allow to set the URIs in states <= READY or from an about-to-finish signal handler
...
Changing the URIs in a state > READY results in unexpected behaviour,
i.e. the new URIs are only used after the current track has finished.
Fixes bug #607226 .
2010-01-18 09:32:42 +01:00
Mark Nauwelaerts
2482a536ac
decodebin2: sprinkle some more locking
...
... to avoid races and ensure some data structure consistency.
See also #574289 .
2010-01-16 18:48:00 +01:00