On Wed, Sep 27, 2017 at 9:44 AM, Hendrik Leppkes <h.lepp...@gmail.com> wrote:
> On Wed, Sep 27, 2017 at 6:37 PM, wm4 <nfx...@googlemail.com> wrote: > > 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. > > VT is supported since 10.8, if anything newer is required for this, > then it should get a configure check. > pushed to master with configure check > > - Hendrik > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel > _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel