[vlc-devel] [PATCH] vaapi: use ffmpeg context to read the codec profile
matmaul at gmail.com
Thu Dec 28 17:33:52 CET 2017
Le jeu. 28 déc. 2017 à 17:23, Francois Cartegnie <fcvlcdev at free.fr> a
> Le 26/12/2017 à 15:21, Mathieu Velten a écrit :
> > Sometimes the profile is not available in the container metadatas (WebM).
> Sorry but profile is always available for HEVC.
Indeed, please disregard the HEVC changes I removed them in the new patch I
sent yesterday. This is now specific to VP9.
> > case AV_CODEC_ID_HEVC:
> > - if (fmt->i_profile == FF_PROFILE_HEVC_MAIN)
> > + if (ctx->profile == FF_PROFILE_HEVC_MAIN)
> > i_profile = VAProfileHEVCMain;
> I haven't looking into it, but
> if we really have a mix of FF_PROFILE defines and core es_format profile
> values in that code, that might be your real issue.
This is not the issue at play here since for VP9 in webm the reported value
is -1, however you are right we probably have a mix-up here, I'll send a
separate patch for that.
> Francois Cartegnie
> VideoLAN - VLC Developer
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel