<div dir="ltr"><div><div dir="ltr">Le mar. 2 janv. 2018 à 14:30, Thomas Guillem <<a href="mailto:thomas@gllm.fr">thomas@gllm.fr</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br><br>dec->fmt_in should not be written from decoder modules.<br><br>I already merged your VP9 vaapi patch. Was I too fast ?</blockquote></div><div><br></div>Fine for me, I was answering the last comment of Steve.<div>Both solutions are fine for me so let's keep it like that if nobody objects.</div><br class="inbox-inbox-Apple-interchange-newline"><br><div class="gmail_quote"><div dir="ltr">Le mar. 2 janv. 2018 à 15:00, Francois Cartegnie <<a href="mailto:fcvlcdev@free.fr">fcvlcdev@free.fr</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le 02/01/2018 à 14:26, Mathieu Velten a écrit :<br>
><br>
> +    /* Sometimes the profile is not available through the container metadatas<br>
> +     * and not provided by the packetizer either (VP9 in WebM) */<br>
> +    if (p_dec->fmt_in.i_profile < 0 && p_context->profile > 0)<br>
> +        p_dec->fmt_in.i_profile = p_context->profile;<br>
<br>
Again, the ffmpeg defines are not usable on vlc structs.<br></blockquote><div><br></div><div>I checked after what you said and it looks like standardize value defined by the decoder standard, at least for H264/HEVC/VP9.</div><div><br></div><div>Anyway the merged patch is better in this regard this I compare the avcodec ctx value to the FF constant.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
--<br>
Francois Cartegnie<br>
VideoLAN - VLC Developer<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="https://mailman.videolan.org/listinfo/vlc-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a></blockquote></div></div>