> > looks nice, but my question is is this enough? > > there are also calls from quicktime/*.c directly to ffmpeg... (i believe
the "problem" with swscale is that code in libavcodec/imgconvert.c :
#ifndef CONFIG_SWSCALER
/* XXX: always use linesize. Return -1 if not supported */
int img_convert(AVPicture *dst, int dst_pix_fmt,
const AVPicture *src, int src_pix_fmt,
int src_width, int src_height)
that's the only function that gets removed if swscale is enabled afaik
(and greping in ffmpeg's svn confirms this). The only code in
cinelerra that calls it is in cinelerra/ffmpeg.C ;)
They (read: ffmpeg devs) could have wrapped img_convert to use the new
swscale api and be compatible with softwares that dont use swscale, but
they didn't want to because that would add swscale dependency to
libavcodec. They prefered to wrap swscale calls to use the old
img_convert if swscale is not present.
Regards,
Alexis.
pgpEaZPoA07K2.pgp
Description: PGP signature
