On Wed, 27 Sep 2017 09:17:36 -0700 Aman Gupta <ffm...@tmm1.net> wrote:
> On Wed, Sep 27, 2017 at 5:51 AM, wm4 <nfx...@googlemail.com> wrote: > > > On Tue, 26 Sep 2017 18:08:10 -0700 > > Aman Gupta <ffm...@tmm1.net> wrote: > > > > > From: Aman Gupta <a...@tmm1.net> > > > > > > --- > > > configure | 2 + > > > libavcodec/allcodecs.c | 1 + > > > libavcodec/hevc_refs.c | 3 + > > > libavcodec/hevcdec.c | 12 ++- > > > libavcodec/vda_vt_internal.h | 1 + > > > libavcodec/videotoolbox.c | 203 ++++++++++++++++++++++++++++++ > > +++++++++++++ > > > 6 files changed, 221 insertions(+), 1 deletion(-) > > > > PS: A final patch should make sure these symbols don't cause build > > failures with older SDKs: > > > > > + case kCMVideoCodecType_HEVC : > > > > > + videotoolbox->cm_codec_type = kCMVideoCodecType_HEVC; > > > > > > Maybe with a configure check. > > > > This is available since macOS 10.11. How far back does ffmpeg support? Really not sure. If VideoToolbox support is never detected before 10.11, then it's OK. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel