[FFmpeg-devel] [PATCH 4/6] avformat/wavdec: s337m support
Tomas Härdin
git at haerdin.se
Thu Feb 16 12:36:46 EET 2023
mån 2023-02-13 klockan 19:09 +0100 skrev Nicolas Gaullier:
> +#if CONFIG_S337M_DEMUXER
> + {"non_pcm_mode", "Chooses what to do with s337m",
> OFFSET(non_pcm_mode), AV_OPT_TYPE_INT, {.i64 = 1}, 0, 1, DEC,
> "non_pcm_mode"},
> + {"copy" , "Pass s337m through unchanged", 0,
> AV_OPT_TYPE_CONST, {.i64 = 0}, 0, 1, DEC, "non_pcm_mode"},
> + {"demux" , "Demux s337m" , 0,
> AV_OPT_TYPE_CONST, {.i64 = 1}, 0, 1, DEC, "non_pcm_mode"},
> +#endif
> { NULL },
> };
So default is to demux? Sounds OK and probably avoids eardrum
destruction
> + } else {
> + av_log(s, AV_LOG_INFO, "Passing
> through S337M data: codec will not be reported\n");
> + }
Perhaps the user should also be informed when S337m is demuxed rather
than passed through?
/Tomas
More information about the ffmpeg-devel
mailing list