|
|
|
@@ -232,8 +232,9 @@ static void clear_link(AVFilterLink *link) |
|
|
|
int ff_start_frame(AVFilterLink *link, AVFilterBufferRef *picref) |
|
|
|
{ |
|
|
|
int (*start_frame)(AVFilterLink *, AVFilterBufferRef *); |
|
|
|
AVFilterPad *src = link->srcpad; |
|
|
|
AVFilterPad *dst = link->dstpad; |
|
|
|
int ret, perms = picref->perms; |
|
|
|
int ret, perms; |
|
|
|
AVFilterCommand *cmd= link->dst->command_queue; |
|
|
|
int64_t pts; |
|
|
|
|
|
|
|
@@ -242,6 +243,10 @@ int ff_start_frame(AVFilterLink *link, AVFilterBufferRef *picref) |
|
|
|
if (!(start_frame = dst->start_frame)) |
|
|
|
start_frame = default_start_frame; |
|
|
|
|
|
|
|
av_assert1((picref->perms & src->min_perms) == src->min_perms); |
|
|
|
picref->perms &= ~ src->rej_perms; |
|
|
|
perms = picref->perms; |
|
|
|
|
|
|
|
if (picref->linesize[0] < 0) |
|
|
|
perms |= AV_PERM_NEG_LINESIZES; |
|
|
|
/* prepare to copy the picture if it has insufficient permissions */ |
|
|
|
|