Two new functions added:
* val = libvlc_audio_get_delay( p_mi )
* libvlc_audio_set_delay( p_mi, i_delay )
The delay is measured in microseconds.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
The memory usage is already there anyway. However, this increases the
code size a little, especially on 32-bits platforms.
N.B.: helper getter functions are still 32-bits until further change.
So are configuration items.
Currently, the muxer generates invalid files whenever any streams
with non-PCM codecs are used as input. This is fixed by adding a few
additional waveformat tags to the wave_format_tag_to_fourcc table and
using the fourcc_to_wf_tag utility function.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Adds a JPEG 2000 fourcc and hooks it up to the libavcodec decoder.
Also add an alias to 'mjp2' which is used to pack JPEG 2000 in MOV
by Final Cut Pro etc.
This patch exposes the adjust module to libvlc_media_player/libvlc_video
and adds a frequently requested featureset: to manipulate brightness,
contrast, gamma, saturation and hue through libvlc. The patch introduces
a new set of functions analogous to
libvlc_video_{get,set}_{marq,logo}_*, hence the use of the function set
should be self explanatory.
New Functions:
* value = libvlc_video_get_adjust_int( p_mi, option );
* libvlc_video_set_adjust_int( p_mi, option, value );
* value = libvlc_video_get_adjust_float( p_mi, option );
* libvlc_video_set_adjust_float( p_mi, option, value );
New Options:
* libvlc_adjust_Enable
* libvlc_adjust_Contrast
* libvlc_adjust_Brightness
* libvlc_adjust_Hue
* libvlc_adjust_Saturation
* libvlc_adjust_Gamma
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
This saves a few mutexes, but it does not really solve gcrypt
reentrancy. gcry_control() should only be called once for all per copy
of gcrypt in the memory. This is hard to conciliate with dlopen().