Tim-Philipp Müller
4cacc441d8
typefinding: move gio-based xdg mime typefinder from -bad to -base
...
Its purposes is mainly to avoid false positives (e.g. mp3 typefinder
reporting a 20% probability and somesuch). Won't be registered if
the gio plugin has been disabled via ./configure --disable-gio.
2009-09-03 09:01:47 +01:00
Tim-Philipp Müller
889c318798
subparse: GstAdapter is not a GstObject and should be freed with g_object_unref
2009-09-01 15:16:17 +01:00
Stefan Kost
e7368354d5
adder: improve caps filter functionality. Fixes #590146 .
...
Also use the capsfilter if there is no src-peer as the caps constrain what
we can do. Don't create any_caps as a default, as we check for NULL to skip the
filtering. This is a (small) performance regression as we always intersect
otherwise.
2009-08-31 22:48:01 +03:00
Sebastian Dröge
2194166e05
decodebin2: Post missing plugin messages before any error messages
2009-08-31 11:10:55 +02:00
Marc-André Lureau
605f3c2942
Bug 593035 - set IN_CAPS for streamheader buffer
2009-08-28 08:44:55 +01:00
Sebastian Dröge
460dc94d23
playbin: The internally linked pad of the selector might be NULL in some cases
2009-08-26 16:56:19 +02:00
Sebastian Dröge
67a0ef9b3a
playbin: Fix iterate internal linked pads functions for the stream selectors
...
This now used the new gst_iterator_new_single() function and as a side effect
fixes bug #592864 .
2009-08-26 16:45:49 +02:00
Sebastian Dröge
3c8ff21ba2
typefindfunctions: Detect AVF files as RIFF files too
...
AVF is valid RIFF but has AVF0 as first fourcc instead of RIFF.
Partially fixes bug #593117 .
2009-08-26 09:10:19 +02:00
Sebastian Dröge
1e450f21f8
audioresample: Fix drain processing
...
In case we have to convert internally don't process output length input samples
but history length input samples.
2009-08-26 09:10:18 +02:00
Sebastian Dröge
2e585ac7ac
audioresample: On the first buffer we need discont handling
...
Otherwise we won't get upstream timestamps and everything and all
output buffers would have -1 timestamps.
2009-08-26 09:10:18 +02:00
Руслан Ижбулатов
5d96fd4bf1
subparse: Remove dependency on regex.h as it's not used anyway
...
Fixes bug #592544 .
2009-08-26 09:10:17 +02:00
Kipp Cannon
86b4c51c8c
audioresample: Fix buffer overflow when pushing the drain
2009-08-26 09:10:17 +02:00
Kipp Cannon
a69068d70d
audioresample: Fix timestamp drift
...
Fixes bug #591934 .
2009-08-26 09:10:17 +02:00
David Schleef
0e9bc5125a
Remove Ronald Bultje from Authors field
...
Replaced with "GStreamer maintainers
<gstreamer-devel@lists.sourceforge.net>" or just removed,
depending on the number of other authors.
2009-08-24 11:37:01 -07:00
Wim Taymans
c3ebeec5a5
playbin2: fix refcounting of _get_sink()
...
g_value_set_object() increases the refcount of the sink, which is not needed
because the object should already be refcounted. Make sure this is always the
case and use g_value_take_object().
Fixes : #592884
2009-08-24 15:08:36 +02:00
Sebastian Dröge
0c1fa2e8ab
streamselector/inputselector: Use iterate internal links instead of deprecated get internal links
2009-08-19 17:23:21 +02:00
Sebastian Dröge
b7fa34a279
playsink: Also send SEEK events directly to a subpicture sink
2009-08-18 11:15:41 +02:00
Sebastian Dröge
b5f84c0637
playsink: If a custom text sink is used, send events to it too
...
Before, SEEK events would be sent to the video sink, which wouldn't
be linked in any way to the subtitle part of the pipeline and
subparse would never see the SEEK event. This would then seek
the audio/video but the subtitles would continue from the old
position instead.
Fixes bug #591664 .
2009-08-18 08:39:02 +02:00
Sebastian Dröge
6aa731cb48
uridecodebin: Make missing plugins emit a warning message, not an error message
...
The problem with an error message is, that it will stop playback completely
while it could be that only a audio decoder plugin is missing and the video
could be played with the available plugins.
See bug #591677 .
2009-08-18 08:20:28 +02:00
Sebastian Dröge
a6b1e0b645
uridecodebin: Post a correct error message for unknown types
...
Before we had STREAM/WRONG_TYPE but it's really CORE/MISSING_PLUGIN
because a plugin is missing and nothing else is wrong.
Also make it an error instead of a warning.
Really fixes bug #591677 .
2009-08-13 17:42:07 +02:00
Sebastian Dröge
504f8dc9c7
uridecodebin: Post a missing plugin message additional to the error message on unknown types
...
Fixes bug #591677 .
2009-08-13 15:55:25 +02:00
Tim-Philipp Müller
4871cd9254
playbin2: fix error message string
...
Fixes #591577 .
2009-08-13 10:59:35 +01:00
Mark Nauwelaerts
188d698449
decodebin2: avoid assertion failure on empty/NULL caps
2009-08-12 13:39:12 +02:00
Sebastian Dröge
3b4c35e319
typefindfunctions: Also detect SVG by the <svg> starting tag
...
Not all SVG images have the DOCTYPE specified.
2009-08-12 12:11:08 +02:00
Sebastian Dröge
88a55e6dae
subparse: Allow . instead of , as millisecond delimiter in srt subtitles
...
Fixes bug #591207 .
2009-08-09 12:13:16 +02:00
Tim-Philipp Müller
0021e6b765
Revert inlines that cause compiler warnings and are not needed anyway
2009-08-08 17:51:10 +01:00
Edward Hervey
8cd1b5209b
gst: Remove dead assignments and resulting unused variables
2009-08-08 15:54:02 +02:00
Sebastian Dröge
141c3f52cd
typefindfunctions: Add typefinders for many game sound console formats supported by gme
...
These are AY, GBS, GYM, KSS, SAP and VGM. SPC and NSF already had typefinders.
2009-08-07 09:33:34 +02:00
Siarhei Siamashka
720a927f38
ffmpegcolorspace: support for direct conversion from uyvy422 to rgb formats
2009-08-06 15:09:44 +03:00
Stefan Kost
007da06645
playbin2: smarter sink selection. Fixes #588523
...
Don't do fallbacks if application specified a sink element. When doing the
fallback use configured default elements instead of hardcoded linux only
elements. Improve error messages accordingly.
2009-08-06 15:07:02 +03:00
Mark Nauwelaerts
ff998f24db
queue2: post error message when pausing task if so appropriate
...
If a downstream element returns an error while upstream has already
put all data into queue2 (including EOS), upstream will no longer
chain into queue2, so it is up to queue2 to perform some
EOS handling / message posting in such cases. See #589991 .
2009-08-06 13:39:19 +02:00
Tim-Philipp Müller
85a08d8dc2
typefinding: fix postscript typefinder probability
...
Two bytes for a rare format hardly warrants MAXIMUM typefinding
probability, POSSIBLE seems more appropriate.
2009-08-06 09:57:25 +01:00
Sebastian Dröge
060f9c07e5
subparse: Implement POSITION query
2009-08-06 06:43:38 +02:00
Sebastian Dröge
7e119e46e5
subparse: Implement SEEKING query
2009-08-06 06:43:38 +02:00
Sebastian Dröge
76571840ef
typefindfunctions: Add SVG typefinder
2009-08-06 06:43:35 +02:00
Sebastian Dröge
5c52513aab
typefindfunctions: Add postscript typefinder
2009-08-06 06:43:35 +02:00
Sebastian Dröge
37839ee2b3
typefindfunctions: Use static caps again for MPEG4 typefinding
2009-08-06 06:43:35 +02:00
Arnout Vandecappelle
ce24ac4ed0
typefindfunctions: Implement better & more flexible MPEG4 typefinding
...
This detects more MPEG4 streams as MPEG4.
Fixes bug #556537 .
2009-08-06 06:43:35 +02:00
Sebastian Dröge
cac4b032c3
videoscale: Restrict width/height to 2^15 - 1
...
Otherwise integer overflows will happen, resulting in segmentation faults.
Fixes bug #590243 .
2009-08-06 06:43:34 +02:00
Sebastian Dröge
6b63053be1
ffmpegcolorspace: Fix indention of template header
2009-08-06 06:43:34 +02:00
Benjamin Gaignard
2f4c65bb06
typefindfunctions: Fix typefinding of SDP files
...
Fixes bug #589574 .
2009-08-06 06:43:33 +02:00
Kipp Cannon
4689acd68f
audioresample: Take the output offsets from the input if possible
...
Fixes bug #588915 .
2009-08-06 06:43:33 +02:00
Sebastian Dröge
b69f5e2c66
videoscale: Make sure to allocate enough memory for the temporary buffer
...
and fix scaling of odd-height interlaced video.
2009-08-06 06:43:32 +02:00
Sebastian Dröge
c51d2febd3
videoscale: Fix interlaced scaling for I420
...
...and some other minor mistakes in the previous change.
2009-08-06 06:43:32 +02:00
Sebastian Dröge
164b90f9d0
ffmpegcolorspace: Include interlacing information in the AVPicture
...
This later allows to handle interlaced AVPicture different than
progressive ones which is needed for horizontally subsampled YUV
formats, see bug #589242 .
2009-08-06 06:43:32 +02:00
Sebastian Dröge
33c490f4b9
videoscale: Add support for interlaced content
...
videoscale is not mixing content of two seperate fields anymore
and does scaling on every field separately.
Fixes bug #588761 .
2009-08-06 06:43:31 +02:00
Tim-Philipp Müller
e199d7e1cd
typefinding: fix detection of fLaC id packet in broken flac-in-ogg
...
There are flac-in-ogg files without the usual flac packet framing
and these files just have a 4-byte fLaC ID packet as first packet.
We need to recognise the type just from these four bytes if we
want oggdemux to recognise these streams correctly.
2009-08-01 19:01:39 +01:00
Stefan Kost
7205bbc031
adder: reset pending flush-stop flag in state_changed. (mostly) Fixes #590146 .
2009-07-30 13:45:42 +03:00
Tim-Philipp Müller
789f5b0488
playbin: rename GType of stream selector pad to avoid clash with input-selector from -bad
...
Rename the GType of the pads of playbin's internal stream selector
element so they don't use the same type name as input-selector's
pads. Fixes #589622 .
2009-07-27 14:18:27 +01:00
Tim-Philipp Müller
2670f23812
typefind: recognise Kate spu subtitles as well
...
Recognise spu-subtitles, SUB and K-SPU as valid categories for
Kate subtitles as well.
2009-07-24 09:42:05 +01:00