OSDN Git Service

lavfi/buffersrc: implement flags.
authorNicolas George <nicolas.george@normalesup.org>
Sun, 10 Mar 2013 12:33:18 +0000 (13:33 +0100)
committerNicolas George <nicolas.george@normalesup.org>
Sun, 10 Mar 2013 12:56:17 +0000 (13:56 +0100)
commitb0012de420f20d5731b90af1f2a3e7093f2195d9
tree2b3fed590dfd42581082e71ccae2c597e5e5d4c3
parentcb2bd91413af28ca9a0202e9b92ee7c1e3d9dd2e
lavfi/buffersrc: implement flags.

The PUSH flags is necessary for efficient scheduling;
otherwise there is no feedback when adding frames to
closed paths.

The NO_CHECK_FORMAT is a small optimization that does
not cost much to implement.

The KEEP_REF flag maps to the add/write distinction in
the fork's API.
libavfilter/buffersrc.c
libavfilter/buffersrc.h