From: "Zhao Zhili" <quinkblack@foxmail.com> To: "'FFmpeg development discussions and patches'" <ffmpeg-devel@ffmpeg.org> Subject: Re: [FFmpeg-devel] [PATCH] lavc/videotoolbox: validate vt context in the decoder callback Date: Mon, 9 Jan 2023 22:48:20 +0800 Message-ID: <tencent_FE801434BF3E4357879D44E01C5AB434B309@qq.com> (raw) In-Reply-To: <7807fe91-c269-4a6d-a397-481fb2014aa3@Spark> > From: ffmpeg-devel <ffmpeg-devel-bounces@ffmpeg.org> On Behalf Of Alessandro Di Nepi > Sent: 2022年12月15日 22:16 > To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH] lavc/videotoolbox: validate vt context in the decoder callback > > Ping on this, > Can I contribute somehow either to fix calling `av_videotoolbox_default_init` or at least update the docs? Hope this patch set fixed the original usecase. http://ffmpeg.org/pipermail/ffmpeg-devel/2023-January/305477.html > > Best Regards, > Alessandro > On 11 Dec 2022, 11:57 +0200, Alessandro Di Nepi <alessandro.dinepi@gmail.com>, wrote: > > On 9 Dec 2022, 6:45 +0200, FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>, wrote: > > > Did you call av_videotoolbox_default_init() or av_videotoolbox_default_init2()? > > Actually yes, I call `av_videotoolbox_default_init(context);` > > > I think that’s why avctx->internal->hwaccel_priv_data is NULL. That code path is broken. > > > Does remove the call of av_videotoolbox_default_init()/av_videotoolbox_default_init2() works for you? > > Definitively yes, if I remove the call to `av_videotoolbox_default_init` the context is fine. > > > > Thanks for sorting this out. I'd like to contribute and have this fixed or documented for other people. > > What should be the desired behavior? Calling `av_videotoolbox_default_init` and having the context not NULL? > > Or shall we remove the init at all? > > > > Best Regards > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
next prev parent reply other threads:[~2023-01-09 14:48 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-11-27 17:33 Alessandro Di Nepi 2022-11-29 16:46 ` Alessandro Di Nepi 2022-12-04 14:02 ` Alessandro Di Nepi 2022-12-04 15:00 ` Rick Kern 2022-12-04 17:51 ` Alessandro Di Nepi 2022-12-05 13:36 ` Rick Kern 2022-12-06 5:19 ` "zhilizhao(赵志立)" 2022-12-06 16:30 ` Alessandro Di Nepi 2022-12-09 4:44 ` "zhilizhao(赵志立)" 2022-12-11 9:57 ` Alessandro Di Nepi 2022-12-15 14:16 ` Alessandro Di Nepi 2022-12-15 14:45 ` Zhao Zhili 2023-01-09 14:48 ` Zhao Zhili [this message] [not found] <53dafc80-d9f6-4b5b-a7a5-781bbb045493@Spark> 2022-11-27 16:21 ` Alessandro Di Nepi
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=tencent_FE801434BF3E4357879D44E01C5AB434B309@qq.com \ --to=quinkblack@foxmail.com \ --cc=ffmpeg-devel@ffmpeg.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel This inbox may be cloned and mirrored by anyone: git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \ ffmpegdev@gitmailbox.com public-inbox-index ffmpegdev Example config snippet for mirrors. AGPL code for this site: git clone https://public-inbox.org/public-inbox.git