mirror of https://git.ffmpeg.org/ffmpeg.git
Enable and change the log level to DEBUG for the message printed in
case of picref copy. Originally committed as revision 24831 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ca8574310f
commit
dc46661ae2
|
@ -296,12 +296,10 @@ void avfilter_start_frame(AVFilterLink *link, AVFilterBufferRef *picref)
|
||||||
/* prepare to copy the picture if it has insufficient permissions */
|
/* prepare to copy the picture if it has insufficient permissions */
|
||||||
if ((dst->min_perms & picref->perms) != dst->min_perms ||
|
if ((dst->min_perms & picref->perms) != dst->min_perms ||
|
||||||
dst->rej_perms & picref->perms) {
|
dst->rej_perms & picref->perms) {
|
||||||
/*
|
av_log(link->dst, AV_LOG_DEBUG,
|
||||||
av_log(link->dst, AV_LOG_INFO,
|
|
||||||
"frame copy needed (have perms %x, need %x, reject %x)\n",
|
"frame copy needed (have perms %x, need %x, reject %x)\n",
|
||||||
picref->perms,
|
picref->perms,
|
||||||
link_dpad(link).min_perms, link_dpad(link).rej_perms);
|
link_dpad(link).min_perms, link_dpad(link).rej_perms);
|
||||||
*/
|
|
||||||
|
|
||||||
link->cur_buf = avfilter_default_get_video_buffer(link, dst->min_perms, link->w, link->h);
|
link->cur_buf = avfilter_default_get_video_buffer(link, dst->min_perms, link->w, link->h);
|
||||||
link->src_buf = picref;
|
link->src_buf = picref;
|
||||||
|
|
Loading…
Reference in New Issue