gstreamer/ext
Ralph Giles d467eb708a Set the theoraenc speed-level property from libtheora's defaults.
The speed-level property, which allows callers to trade of encoding
quality for speed in the libtheora api, has a version-dependent
maximum and default values. Instead of hardcoding the acceptable
range for the theoraenc element's presentation of this setting,
we query the library directly at class initialization time and
set the maximum and default values from that. If the query fails,
we fall back to the previous default setting.

To keep the values reported by gst-inspect (which I'm told use
the spec values from the class) with those available on an\
instantiated element, we remove to setting of enc->speed_level
from the initializer and instead pass G_PARAM_CONSTRUCT to
the property spec flags, asking g_object to set this property
when theoraenc objects are constructed.

NB in theory the maximum speed-level could depend on the actual
video caps. If later versions of libtheoraenc do this, a second
call will need to be made from theora_enc_reset to update the
property, since this function is mostly useful for realtime
adjustment of performance while the pipeline is running.
2011-02-17 18:29:56 -08:00
..
alsa alsasrc/sink: add property to get the card name 2010-08-18 16:45:37 +02:00
cdparanoia cdparanoia: check for cdparanoia with pkg-config first 2010-06-11 22:16:26 +01:00
gio giostreamsrc: Fix copy&paste error in the docs 2010-06-14 09:53:31 +02:00
gnomevfs gnomevfssrc: Remove dead assignment 2010-12-02 19:04:29 +01:00
libvisual libvisual: only drop frames that are really too old 2010-10-05 12:22:39 +02:00
ogg oggmux: ensure serialnos are unique 2011-02-03 09:29:28 +00:00
pango textoverlay: Add support for vertical center alignment 2011-01-24 19:39:59 +01:00
theora Set the theoraenc speed-level property from libtheora's defaults. 2011-02-17 18:29:56 -08:00
vorbis vorbisdec: keep timestamps when no decoded output 2010-12-21 13:39:27 +01:00
Makefile.am build: build plugin and example directories in parallel if make -jN is used 2010-03-29 00:26:59 +01:00