Commit graph

8154 commits

Author SHA1 Message Date
Mark Nauwelaerts
96ad733207 faad: refactor some partial stream reset 2010-02-11 22:22:51 +01:00
Mark Nauwelaerts
f6ea217792 faad: correctly estimate average bps
Count consumed bytes and corresponding duration atomically,
rather than letting bytecount run ahead of what has been decoded.

Fixes #440476.
2010-02-11 22:22:51 +01:00
Mark Nauwelaerts
2230469113 faad: give up after some number of decoding failures 2010-02-11 22:22:51 +01:00
Mark Nauwelaerts
b4739124dc faad: do not attempt to sync indefinitely 2010-02-11 22:22:51 +01:00
Mark Nauwelaerts
159fe8a1a0 faad: use adapter rather than temporary buffer 2010-02-11 22:22:50 +01:00
Mark Nauwelaerts
cca1fad250 faad: objectify debug statements and adjust some levels 2010-02-11 22:22:50 +01:00
Mark Nauwelaerts
6407329deb faad: refactor src caps (re)negotiation and reflow some error exits 2010-02-11 22:22:50 +01:00
Mark Nauwelaerts
50e4914edc faad: remove defunct and otherwise obsolete code 2010-02-11 22:22:50 +01:00
Mark Nauwelaerts
94928e44a4 faad: refactor reset 2010-02-11 22:22:49 +01:00
Mark Nauwelaerts
b3e8ded46e faad: use an in struct segment rather than a separately allocated one 2010-02-11 22:22:35 +01:00
Sebastian Dröge
88af663e86 shapewipe: Preserve the input color values in all cases 2010-02-10 10:52:53 +01:00
Sebastian Dröge
dc551ed30f shapewipe: Scale mask alpha values by the source alpha values 2010-02-10 10:50:49 +01:00
Sebastian Dröge
6ef01b3c59 shapewipe: Fix ARGB processing 2010-02-10 10:42:32 +01:00
Sebastian Dröge
0d92938450 shapewipe: Print some more details on error/warning messages 2010-02-10 10:34:24 +01:00
Sebastian Dröge
e1c1a6c874 mpegtsdemux: Never flush more bytes than available
This could happen if the input doesn't contain any MPEG TS
data and the complete adapter content should be skipped.
2010-02-09 15:24:28 +01:00
Thiago Santos
bcbdd12fb3 qtmux: atomsrecovery: Fix compilation problem
Fixes a compilation error due to unused function result.
2010-02-08 11:51:52 -03:00
Sebastian Dröge
ad7eff41a8 shapewipe: Improve/add debug output 2010-02-08 08:26:33 +01:00
Sebastian Dröge
364c53fd61 shapewipe: Always hold the mask mutex before signalling the GCond 2010-02-08 08:20:44 +01:00
Sebastian Dröge
d875dce9bb shapewipe: Move chain function error cases at the end of the function and add useful debug output 2010-02-08 08:19:48 +01:00
Sebastian Dröge
8d213d51f6 shapewipe: Fix race condition during shutdown that can lead to a deadlock 2010-02-08 08:12:11 +01:00
Sebastian Dröge
2d1f06103a shapewipe: Drop mask buffer on FLUSH events 2010-02-08 08:11:33 +01:00
Sebastian Dröge
6df5795651 shapewipe: Update copyright year 2010-02-08 08:09:55 +01:00
Sebastian Dröge
87216b83b9 shapewipe: Don't reset properties when going PAUSED->READY
Also use defines for the default values of the properties.
2010-02-08 08:08:44 +01:00
David Hoyt
beeb8fa8ec rsvgdec: fix compilation with MSVC
MSVC doesn't like #if #else within statements.

Fixes #609215.
2010-02-07 11:17:20 +01:00
Vincent Penquerc'h
334714bbc0 katedec: don't escape special characters
Don't escape special characters, as we'll send the buffer as
text/plain rather than text/x-pango-markup; this avoids e.g.
quotes from appearing as " in the rendered subtitles.

See bug #600929.
2010-02-07 10:27:58 +01:00
Vincent Penquerc'h
dfd5b4c99f kate: rename the tiger overlay element's sink pad to 'subtitle_sink'
As this is what playbin2 expects. See bug #600929.
2010-02-07 10:20:50 +01:00
Tim-Philipp Müller
a60d54c4e2 jpegparse: lower rank to NONE so it is not autoplugged for decoding
This element is too new and too untested to have it autoplugged.
2010-02-07 10:19:06 +01:00
Sebastian Dröge
185df279e8 jpegparse: Fix unit test
The parsed buffers have a framerate of 1/1.

Fixes bug #608998.
2010-02-05 17:26:58 +01:00
Mark Nauwelaerts
a6ba273e36 metadata: append_sorted should really append sorted
... which means that identical offset_orig should preserve the order
in which they are appended.
2010-02-05 10:21:22 +01:00
Mark Nauwelaerts
5f4f24fb76 metadata: use a non-DEFAULT proper debug category in helper files 2010-02-05 10:21:19 +01:00
Julien Moutte
d8117471f6 mpegtsmux: Fix a potential unref of a NULL pointer.
At first iteration we don't have any cached SPS/PPS buffer to free.
2010-02-04 19:45:42 +01:00
Marc-André Lureau
4d3a965476 mpegtsmux: add PAT/PMT in streamheader
The check for PAT/PMT buffers was suggested by
Zaheer Abbas Merali.

https://bugzilla.gnome.org/show_bug.cgi?id=608896
2010-02-03 18:26:15 +00:00
Marc-André Lureau
1537023905 mpegtsmux: add pat-interval and pmt-interval properties
https://bugzilla.gnome.org/show_bug.cgi?id=608896
2010-02-03 18:26:12 +00:00
Marc-André Lureau
130cf80752 mpegtsmux: fix PAT/PMT insertion frequency
The current code is comparing timestamps with different clock.
Let's use only the clock for PTS values.

Also rename frequency to interval, to avoid confusion. And remove
documentation about value 0, which won't work like documented.

https://bugzilla.gnome.org/show_bug.cgi?id=608896
2010-02-03 18:26:09 +00:00
Marc-André Lureau
6d554a5560 mpegtsmux: marking non-delta unit, including pre-sections
This patch address the issue observed with KF timestamps
and delta flag. When a section is appended before the keyframe,
it is not marked as non-delta. It's preferable to mark the
first buffer non-delta.

This patch also simplify the initial patch written by thomas,
since it does not clutter tsmux/ with a delta flag passed
around only for GStreamer convenience.

https://bugzilla.gnome.org/show_bug.cgi?id=604908
2010-02-03 16:37:27 +00:00
Stefan Kost
6c6ea0b79b jpegformat: add a basic jifmuxer
The new element can chop and reassemble the markers. I implements the tagsetter
and for now can serialize some tags to jpeg comments.
2010-02-03 15:13:30 +02:00
Thiago Santos
e1c1405396 qtmux: Adds moov recovery feature
Adds a new property to qtmux that sets a path to a file to write
and update data about the moov atom (that is not writen till the
end of the file). If the pipeline/app crashes during execution it
might be possible to recover the movie using the qtmoovrecover element.

qtmoovrecover is an element that is also a pipeline. It is not
meant to be used with other elements (it has no pads). It is merely
a tool/utilitary to recover unfinished qtmux files.

Fixes #601576
2010-02-02 14:03:38 -03:00
Stefan Kost
b9f8f5d281 jpegparse: improve parsing
Handle more app maker. Print app marker names to debug log. Remember last_marker
when parsing to avoid reparsing from the very begin.
2010-02-02 17:19:31 +02:00
Julien Moutte
6f1ee59df6 mpegtsmux: generate SPS/PPS header once and fix overflow
Some H264 packets can be as small as 5 bytes for repeated frames.
In such a situation the output buffer size was not big enough (5*2) to fit the
SPS/PPS header and the start codes. This corrupts the ES stream.
We now generate the SPS/PPS only once which is much more optimal and we now
know the size of the header to calculate the output buffer size more safely.
2010-02-02 12:23:24 +01:00
Grigori Goronzy
934c91682f assrender: instruct libass to use light autohinting
Fixes bug #608753.
2010-02-02 08:55:59 +01:00
Eric Appleman
febb13d26f assrender: Don't scan current working directory recursively for fonts
This can take a very long time and also libass will overwrite files
if there's an embedded font with the same filename as an existing file.

Fixes bug #575878 and #608706.
2010-02-02 08:53:53 +01:00
David Hoyt
584ac24ba0 dshowvideosink: don't crash on invalid AM_MEDIA_TYPE 2010-02-01 16:26:36 -08:00
Michael Smith
80b3d80a58 qtmux: for fixed-sample size streams (PCM audio, etc) don't allocate an enormous
buffer that we then won't use at all.
2010-02-01 16:24:39 -08:00
Michael Smith
4b28a46bc7 qtmux: handle muxing adpcm correctly. 2010-02-01 16:23:48 -08:00
Michael Smith
e1fe7f357f qtmux: Set the mdia hdlr name field to what quicktime uses. Fix writing it
since it's not null-terminated. Improves compatibility with some hardware
players.
2010-02-01 16:23:47 -08:00
Michael Smith
5753f8a3aa qtmux: endianness in gstreamer is an int, not boolean. 2010-02-01 16:23:47 -08:00
Michael Smith
c2b1bebc02 mpeg4videoparse: parse more forms of codec_data 2010-02-01 16:23:47 -08:00
Stefan Kost
88009080e8 lv2: code cleanups
More logging and comments. Rename some vars for consistency. Fully init port
struct.
2010-02-01 22:37:39 +02:00
Stefan Kost
ebdf1c2a18 signalprocessor,lv2,ladspa: move sample-rate to baseclass
We need the sample-rate in baseclass for upcomming timestamp changes.
2010-02-01 22:32:32 +02:00
Stefan Kost
8f1bb31255 lv2: shorter element names
Cut off the protocol part from the uri. Also just g_Strdup, instead of printf
the name.
2010-02-01 22:24:52 +02:00