Le primidi 21 thermidor, an CCXXIV, Burt P. a écrit :
> The HDCD codes are stored in the LSB of consecutive samples, and
> anything that would change a sample could cause problems. So it looks
> through the AVFilterLink chain and warns if any resampling or
> truncation is happening that might destroy the HDCD code before or
> undo the filter's work after.

I understand the concern, but intruding in other filters is really outside
from lavfi's design. Just to illustrate this point, the tests as they are
could call av_get_sample_fmt_name() on something that is not a sample
format.

You can advise users to disable automatic conversions when using this filter
(there is an API for that, but I think there is no user interface yet), but
beyond that the policy should be to always leave enough rope to shoot
oneself in the foot.

Regards,

-- 
  Nicolas George

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to