Commit graph

8543 commits

Author SHA1 Message Date
Mark Nauwelaerts
484af544bf baseparse: prevent arithmetic overflows in pull mode buffer cache handling 2010-06-15 15:42:26 +02:00
Mark Nauwelaerts
07561dbfd1 baseparse: fix seek handling
Allow a few more seek event type combinations, and really use the result
of gst_segment_set_seek to perform the seek.  Also add some debug.
2010-06-15 15:42:26 +02:00
Stefan Kost
c27c8d8f44 Automatic update of common submodule
From 57c89b7 to 5adb1ca
2010-06-15 16:35:35 +03:00
Stefan Kost
808ae01c4d Automatic update of common submodule
From c804988 to 57c89b7
2010-06-15 15:49:26 +03:00
Sebastian Dröge
351bb1bbb6 vp8enc: Implement multipass encoding
Fixes bug #621348.
2010-06-15 11:51:41 +02:00
Mark Nauwelaerts
a60af008d5 mpeg4videoparse: sprinkle some branch prediction 2010-06-15 11:30:45 +02:00
Mark Nauwelaerts
cd018e5440 mpeg4videoparse: handle FLUSH_STOP event 2010-06-15 11:30:41 +02:00
Mark Nauwelaerts
c2b649d692 mpeg4videoparse: add config-interval parameter to re-insert config in stream
Add a new config-interval property to instruct the parser to insert
config (VOSH, VOS, etc) at periodic intervals in the stream
(when a GOP or VOP-I is encountered).

Based on patch by <marc.leeman at gmail.com>

Fixes #621205.
2010-06-15 11:30:39 +02:00
Jan Schmidt
2f9b765326 mpegvideoparse: Apply previous timestamp when there isn't any newer.
If the current incoming packet didn't carry a timestamp, but a
previous packet had one we didn't yet use, then apply that timestamp
to the next picture.
Fixes: #618336
2010-06-15 17:16:12 +10:00
Sebastian Dröge
85d3c03d26 configure: Require GLib 2.20 2010-06-14 17:01:03 +02:00
Sebastian Dröge
0679c76b64 vp8enc: Set VP8E_SET_CPUUSED to 0
This setting controls how much CPU can be used by the encoder, specified
in fractions of 16. Negative values mean strict enforcement of this
while positive values are adaptive.

The default value is -4, which means that we're not running as fast
as possible and probably are wasting some quality. 0 is the recommended
default by libvpx upstream.
2010-06-14 15:56:24 +02:00
Sebastian Dröge
c2809e6843 vp8enc: Use VPX defines for REALTIME, GOOD/BEST quality deadlines instead of our own
These are the values used for the speed property.
2010-06-14 15:52:28 +02:00
Mark Nauwelaerts
268636c880 dtsdec: prevent compiler warning if orc not present 2010-06-14 15:48:34 +02:00
Mark Nauwelaerts
7601bc306a jpegparse: handle FLUSH_STOP sink event 2010-06-14 15:48:34 +02:00
Mark Nauwelaerts
e6cf05b114 jpegparse: optimize image parsing
Use adapter API for scanning and peeking to reduce buffer copying.

See #583047.
2010-06-14 15:48:34 +02:00
Sebastian Dröge
12856e52fd dtsdec: Call orc_init() before trying to get target flags 2010-06-14 15:32:26 +02:00
Sebastian Dröge
1b73ff4469 configure: Check for orc instead of liboil 2010-06-14 14:53:33 +02:00
Sebastian Dröge
8474fd9518 dtsdec: Use orc for CPU feature detection 2010-06-14 14:51:31 +02:00
Sebastian Dröge
b1a12c3a2d mpegtsdemux: Don't use liboil functions
glibc memcpy() will be faster than liboil's/orc's for now anyway
and we can use orc's later, after orc has support for loop unrolling.
2010-06-14 14:48:02 +02:00
Sebastian Dröge
3a2f40e160 legacyresample: Don't include liboil headers, they're not used anyway 2010-06-14 14:47:47 +02:00
Sebastian Dröge
0351433db4 configure: Use GLIB_EXTRA_CFLAGS 2010-06-14 13:27:06 +02:00
Sebastian Dröge
d3bbc9078a Automatic update of common submodule
From 7a0fdf5 to c804988
2010-06-14 13:04:59 +02:00
Mark Nauwelaerts
d6cab72552 h264parse: add option to insert SPS/PPS in stream
Add a new config-interval property to insert SPS and PPS at periodic intervals
in the stream (when an IDR is encountered).

Based on patch by <marc.leeman at gmail.com>

Fixes #620978.
2010-06-14 12:49:40 +02:00
Mark Nauwelaerts
3a1fad6099 h264parse: also collect SPS and PPS nalu in codec_data 2010-06-14 11:59:55 +02:00
Sebastian Dröge
456382fb01 Automatic update of common submodule
From 6da3bab to 7a0fdf5
2010-06-14 11:34:15 +02:00
Sebastian Dröge
63081c815b xvid: Don't use deprecated 15/16 bit RGB masks 2010-06-13 08:28:05 +02:00
Sebastian Dröge
485194b754 Automatic update of common submodule
From 733fca9 to 6da3bab
2010-06-12 08:28:54 +02:00
Tim-Philipp Müller
0b3f5bfed8 vcdsrc: minor clean-up
Use gst_uri_has_protocol().
2010-06-12 00:19:00 +01:00
Thiago Santos
9ab8959b30 jifmux: Fix tests building
Only build jifmux tests if libexif headers are present
2010-06-11 15:29:43 -03:00
David Schleef
0e89bc8d54 cog: use glib instead of stdint types 2010-06-10 10:58:54 -07:00
David Schleef
999e3982a1 configure: use m4 macro for Orc check 2010-06-10 10:58:54 -07:00
Philip Jägenstedt
7a181a9ed3 basevideodecoder: remove spurious warning 2010-06-10 10:58:54 -07:00
Tim-Philipp Müller
a0dbd6561f configure: require core/base git for the new image tags and helper functions 2010-06-10 14:17:24 +01:00
Thiago Santos
c54b5325cb tests: jifmux: Adds jifmux exif tags tests
Adds a basic unit test for jifmux to test that exif tags
are writen properly.

This test uses libexif.

Fixes #614872
2010-06-09 18:06:07 -03:00
Thiago Santos
00897e21a9 jpegformat: Add exif support
Adds exif writing support to jifmux.
Adds parsing support to jpegparse.

Fixes #614872
2010-06-09 17:29:32 -03:00
David Schleef
eebe58a163 Automatic update of common submodule
From fad145b to 733fca9
2010-06-09 12:40:21 -07:00
David Schleef
11173ccfb3 Automatic update of common submodule
From 47683c1 to fad145b
2010-06-09 12:34:10 -07:00
Sebastian Dröge
f0e7bd298c rtmpsrc: Fix timestamps after a seek 2010-06-09 20:49:10 +02:00
Thiago Santos
bc8f4adaa6 asfmux: Deprecate 'is-live' and add 'streamable' property
Following the similar change in flvmux, this commit adds
'streamable' property and deprecated 'is-live' for a better/less wrong
name.
2010-06-08 19:37:43 -03:00
Andoni Morales Alastruey
40209aa30f asfmux: don't set the 'seekable' flag if we are streaming
Fixes #618522
2010-06-08 14:50:35 -03:00
Andoni Morales Alastruey
2a94798136 asfmux: write preroll info in the header at initialization
This value doesn't need to be updated and is usefull in a streaming context

Fixes #618522
2010-06-08 14:50:22 -03:00
Andoni Morales Alastruey
0039494227 asfmux: put headers in streamheader for streaming
Fixes #618522
2010-06-08 14:49:30 -03:00
Marc-André Lureau
43f8e926e7 mpegtsmux: start pmt at 0x020 as suggested by Zaheer 2010-06-08 15:36:47 +02:00
Marc-André Lureau
d335a55b49 mpegtsmux: take all the pmt in the streamheaders 2010-06-08 15:36:29 +02:00
Thiago Santos
233b09f9b9 camerabin: Do not assert on set_property to NULL for elements
Check if the value is NULL before reffing them in set_property
for 'GstElement' properties
2010-06-08 09:14:01 -03:00
Thiago Santos
7806ba95b6 camerabin: Do not assert on null caps property
If camerabin receives a null caps as 'filter-caps' argument,
use the default value
2010-06-08 08:41:49 -03:00
Thiago Santos
4fa3e217e2 geometrictransform: Use _CAST macro
Replace default type casting macro with the faster direct _CAST macro
2010-06-07 22:56:17 -03:00
Thiago Santos
1c33b79c0c geometrictransform: Make properties controllable
Makes the element's properties controllable and threadsafe.

Fixes #620825
2010-06-07 22:55:24 -03:00
Sebastian Dröge
5417900a0e rtmpsrc: Remove page-url and swf-url properties
It's possible to include all those options in the URL already
by appending the options and separating them by spaces, e.g.
rtmp://somewhere/something opt1=val1 opt2=val2
2010-06-07 17:39:07 +02:00
Sebastian Dröge
6aa4a71604 rtmpsrc: Fix memory leaks 2010-06-07 17:31:40 +02:00