[FFmpeg-devel] [PATCHv2] af_hdcd: Don't warn if converting from AV_SAMPLE_FMT_S16P

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Aug 8 00:26:43 EEST 2016

2016-08-07 23:07 GMT+02:00 Nicolas George <george at nsup.org>:
> Le primidi 21 thermidor, an CCXXIV, Carl Eugen Hoyos a écrit :
>> i wanted to suggest since some time to remove sample_fmts_in[]
>> (that is responsible for a possibly auto-inserted resampler) and
>> instead error out if the input signal is not S16 (or S16P) 44100.
> That would not work: the pixel format can be constrained by any filter in
> the chain.

(Not sure if I understand correctly.)

It would require the user to precisely declare what he wants which
is a good idea in this case because the filter can only work for
stereo s16 44100.

Carl Eugen

More information about the ffmpeg-devel mailing list