Second go at this, with an attempt at making the new hwaccel work the same as the old one. I think most people don't actually agree with what's implemented here (allowing an hwaccel to indicate that the hardware format should be the default), but I want to capture the discussion the mailing list, and hopefully we can get a concensus decision.
I think the most credible alternative was to force users to specify an output format, by failing if one is not specified. That at least makes old command lines fail fast, rather than silently downloading/uploading frames. Philip Langdale (2): ffmpeg: Switch cuvid to generic hwaccel ffmpeg: Set default output format for cuvid hwaccel Makefile | 1 - ffmpeg.h | 2 +- ffmpeg_cuvid.c | 73 ---------------------------------------------------------- ffmpeg_opt.c | 21 +++++++++-------- 4 files changed, 13 insertions(+), 84 deletions(-) delete mode 100644 ffmpeg_cuvid.c -- 2.11.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel