Commit graph

3307 commits

Author SHA1 Message Date
David Schleef
159e2768d6 Fix pad template memleaks
Pad templates returned by gst_static_pad_template_get() were not
being unreffed.
2010-11-30 18:54:46 -08:00
Mark Nauwelaerts
aa93b5b458 baseparse: avoid unexpected stray metadata 2010-11-30 16:23:26 +01:00
Mark Nauwelaerts
145e041af5 baseparse: use proper _NONE output value when applicable 2010-11-30 16:23:24 +01:00
Sebastian Dröge
5df40a727c jp2kdecimator: Add a JPEG2000 decimator element
This element drops information from JPEG2000 images without reencoding.
2010-11-30 12:39:46 +01:00
Alejandro Gonzalez
0930f0645f qtmux: gst_qtmux_check_difference verify before subtract
Avoid negative overflow by checking the order of operands
on subtraction of unsigned integers.

https://bugzilla.gnome.org/show_bug.cgi?id=635878
2010-11-29 09:21:39 -03:00
David Schleef
7e8081c89e mpegtsmux: Fix some memleaks 2010-11-27 19:09:58 -08:00
Edward Hervey
3a507f9ef9 videomeasure: Remove dead assignments 2010-11-25 19:31:03 +01:00
Edward Hervey
ba40212297 tta: Remove dead assignments and useless variable 2010-11-25 19:25:27 +01:00
Edward Hervey
a4c4debf5d stereo: Remove dead assignments 2010-11-25 19:24:56 +01:00
Edward Hervey
63251255a9 sdp: Remove useless variables 2010-11-25 19:21:23 +01:00
Edward Hervey
f69ee5ca33 rtpmux: Remove dead assignments 2010-11-25 19:21:11 +01:00
Edward Hervey
bebfa4d50a real: Remove dead assignments 2010-11-25 19:21:01 +01:00
Edward Hervey
59ec2bff48 ivfparse: Remove dead assignments 2010-11-25 19:20:51 +01:00
Edward Hervey
6507312e46 freeze: Remove dead assignments 2010-11-25 19:06:49 +01:00
Edward Hervey
8356184967 dvdspu: Remove dead assignments 2010-11-25 19:06:38 +01:00
Edward Hervey
0d7ba7dc1a dtmf: Remove dead assignments 2010-11-25 19:06:27 +01:00
Edward Hervey
7905c19e4e dccp: Remove dead assignments 2010-11-25 19:01:42 +01:00
Edward Hervey
15cd318ada audioparsers: Remove dead assignments 2010-11-25 18:56:42 +01:00
Andoni Morales Alastruey
bc3917bb04 audioparse: fix possible division-by-zero
https://bugzilla.gnome.org/show_bug.cgi?id=635786
2010-11-25 17:28:16 +01:00
Robert Swain
0de362f248 interlace: Fix buffer timestamp and duration
The field rate is twice the frame rate of the src pad and so the duration of
one output buffer is src_fps_d / (2 * src_fps_n).
2010-11-24 12:09:16 +01:00
Robert Swain
341b0c2d62 interlace: Rename pattern property to field-pattern
This is mostly for clarity of what the property means and, I believe, makes the
pattern-offset property more comprehensible.
2010-11-24 12:09:16 +01:00
Robert Swain
bea13ef43b interlace: Add pattern offset property
This property allows one to start at any point within the field pattern after
a discontinuity (whenever gst_interlace_reset () is called). Thus with the
2:3:3:2 pattern, for example, one can start at offset 2 and achieve 3:2:2:3
or offset 1 and achieve 3:3:2:2.
2010-11-24 12:09:16 +01:00
Lasse Laukkanen
5c2f805199 camerabin: Create imagebin elements when image mode is set in camerabin NULL state
This patch refactors imagebin element creation and linking into separate functions,
and adds re-using also for imagebin internally created elements.

So this refactoring allows creating imagebin elements already in NULL state when
application sets the image mode, and next state change from NULL to READY will be faster.
This reduces first capture latency.

Earlier the elements were both created and linked in NULL to READY state change.
2010-11-23 10:04:24 -03:00
Andoni Morales Alastruey
e307bfe6e6 mpegtsparse: Create a sub-buffer with the section length 2010-11-23 11:26:56 +01:00
Thiago Santos
7622328aab jpegparse: Small optimization on tags parsing
Optimize a little avoiding copying a taglist when parsing xmp/exif
data.
2010-11-22 17:43:53 -03:00
Thiago Santos
8d5cfc6511 outputselector: Avoid losing the last_buffer when switching
This patch makes outputselector take an extra ref when pushing
the last_buffer to avoid it losing it during the switch function.

This makes resend-latest properly work if the active-pad is changed
during the switch function buffer pushing (on a pad probe, for example).

https://bugzilla.gnome.org/show_bug.cgi?id=629917
2010-11-22 17:34:02 -03:00
Thiago Santos
0451adeabd outputselector: Recheck pending switch after pushing buffer
This patch makes output-selector always recheck if there's a
pending pad switch after pushing a buffer, preventing that
it pushes a buffer on the 'wrong' pad.

https://bugzilla.gnome.org/show_bug.cgi?id=629917
2010-11-22 17:29:17 -03:00
David Schleef
edc392fcc8 colorspace: remove incorrect check 2010-11-21 23:13:30 -08:00
Mark Nauwelaerts
d7a9452a6e qtmux: remove remnant of obsolete property 2010-11-19 19:21:38 +01:00
Marc-André Lureau
a4b93bb95d qtmux: allow specifying trak timescale
This is mainly because Smoothstreaming client are broken and don't
take the TimeScale property into account.
2010-11-19 19:21:38 +01:00
Mark Nauwelaerts
5abdd9ab03 qtmux: include sdtp atoms for ismv fragmented files
Based on patch by Marc-André Lureau <mlureau@flumotion.com>
2010-11-19 19:21:37 +01:00
Mark Nauwelaerts
083c26aca8 qtmux: enable default fragmented file for ismlmux 2010-11-19 19:21:37 +01:00
Marc-André Lureau
b5f6f94d54 qtmux: add ismlmux, for fragmented isml major brand 2010-11-19 19:21:37 +01:00
Mark Nauwelaerts
46e2186fd9 qtmux: finalize sinkpads list 2010-11-19 19:21:37 +01:00
Marc-André Lureau
8f84cbd620 qtmux: add moov in streamheader 2010-11-19 19:21:37 +01:00
Marc-André Lureau
3ae5297660 qtmux: add streamable property to avoid building fragmented mfra index 2010-11-19 19:21:37 +01:00
Mark Nauwelaerts
f03dc57faf qtmux: add mfra to fragmented file
Based on patch by Marc-André Lureau <mlureau@flumotion.com>
2010-11-19 19:21:37 +01:00
Mark Nauwelaerts
68d5ab1a1d qtmux: optionally create fragmented file
In this mode, an initial empty moov (containing only stream metadata) is written,
followed by fragments containing actual data (along with required metadata).
New fragments are started either at keyframe (if such are sparse) or when
property configured duration exceeded.

Based on patch by Marc-André Lureau <mlureau@flumotion.com>

Fixes #632911.
2010-11-19 19:21:37 +01:00
Mark Nauwelaerts
bd46298ca6 qtmux: use helper to set atom flags from given uint 2010-11-19 19:21:37 +01:00
Mark Nauwelaerts
857efb4917 qtmux: refactor configuring and sending of moov
Based on patch by Marc-André Lureau <mlureau@flumotion.com>
2010-11-19 19:21:37 +01:00
Mark Nauwelaerts
e361a0b3ce qtmux: refactor extra top-level atom handling
Also check a bit more for possible errors, and free proper items in such case.
2010-11-19 19:21:37 +01:00
Mark Nauwelaerts
261df7636e qtmux: refactor slightly using buffer helper 2010-11-19 19:21:37 +01:00
Mark Nauwelaerts
3fea86fa60 qtmux: fix misinforming comment 2010-11-19 19:21:37 +01:00
Mark Nauwelaerts
1a279a9466 qtmux: delegate mvex handling to atoms
... which keeps qtmux simpler.
2010-11-19 19:21:36 +01:00
Marc-André Lureau
78d2d8598d qtmux: add mvex/trex in header if fragmented
One "trex" is added per "trak". We don't support default values,
but the "trex" box is mandatory.
2010-11-19 19:21:36 +01:00
Marc-André Lureau
84d8b33d1a qtmux: add a couple of fourcc for fragmented mp4 2010-11-19 19:21:36 +01:00
Mark Nauwelaerts
7e4c96359f qtmux: avoid removing temp file when error occurred 2010-11-19 19:21:36 +01:00
Marc-André Lureau
401fb0a09b qtmux: truncate buffer file after each send 2010-11-19 19:21:36 +01:00
Marc-André Lureau
055a1a3b0a qtmux: remove temp file when reset/finalize 2010-11-19 19:21:36 +01:00
Arun Raghavan
8ca66f336e jpegformat: Push tags after setting srcpad caps
This patch defers emission of tag events till caps are set on the source
pad of jpegparse, so that these tags can be seen downstream.

https://bugzilla.gnome.org/show_bug.cgi?id=627211
2010-11-19 14:57:59 -03:00