avfilter/buffersrc: use 1 << n for flags (cosmetic)
Signed-off-by: Niklas Haas <git@haasn.dev>
This commit is contained in:
@@ -38,19 +38,19 @@ enum {
|
||||
/**
|
||||
* Do not check for format changes.
|
||||
*/
|
||||
AV_BUFFERSRC_FLAG_NO_CHECK_FORMAT = 1,
|
||||
AV_BUFFERSRC_FLAG_NO_CHECK_FORMAT = 1 << 0,
|
||||
|
||||
/**
|
||||
* Immediately push the frame to the output.
|
||||
*/
|
||||
AV_BUFFERSRC_FLAG_PUSH = 4,
|
||||
AV_BUFFERSRC_FLAG_PUSH = 1 << 2,
|
||||
|
||||
/**
|
||||
* Keep a reference to the frame.
|
||||
* If the frame if reference-counted, create a new reference; otherwise
|
||||
* copy the frame data.
|
||||
*/
|
||||
AV_BUFFERSRC_FLAG_KEEP_REF = 8,
|
||||
AV_BUFFERSRC_FLAG_KEEP_REF = 1 << 3,
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user