Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
5bbe4142
Commit
5bbe4142
authored
Aug 19, 2012
by
Nicolas George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/buffersrc: add AV_BUFFERSRC_FLAG_PUSH.
parent
3899e499
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
buffersrc.c
libavfilter/buffersrc.c
+4
-0
buffersrc.h
libavfilter/buffersrc.h
+5
-0
version.h
libavfilter/version.h
+1
-1
No files found.
libavfilter/buffersrc.c
View file @
5bbe4142
...
@@ -148,6 +148,10 @@ int av_buffersrc_add_ref(AVFilterContext *s, AVFilterBufferRef *buf, int flags)
...
@@ -148,6 +148,10 @@ int av_buffersrc_add_ref(AVFilterContext *s, AVFilterBufferRef *buf, int flags)
c
->
warning_limit
*=
10
;
c
->
warning_limit
*=
10
;
}
}
if
((
flags
&
AV_BUFFERSRC_FLAG_PUSH
))
if
((
ret
=
s
->
output_pads
[
0
].
request_frame
(
s
->
outputs
[
0
]))
<
0
)
return
ret
;
return
0
;
return
0
;
}
}
...
...
libavfilter/buffersrc.h
View file @
5bbe4142
...
@@ -40,6 +40,11 @@ enum {
...
@@ -40,6 +40,11 @@ enum {
*/
*/
AV_BUFFERSRC_FLAG_NO_COPY
=
2
,
AV_BUFFERSRC_FLAG_NO_COPY
=
2
,
/**
* Immediately push the frame to the output.
*/
AV_BUFFERSRC_FLAG_PUSH
=
4
,
};
};
/**
/**
...
...
libavfilter/version.h
View file @
5bbe4142
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
#include "libavutil/avutil.h"
#include "libavutil/avutil.h"
#define LIBAVFILTER_VERSION_MAJOR 3
#define LIBAVFILTER_VERSION_MAJOR 3
#define LIBAVFILTER_VERSION_MINOR 1
2
#define LIBAVFILTER_VERSION_MINOR 1
3
#define LIBAVFILTER_VERSION_MICRO 100
#define LIBAVFILTER_VERSION_MICRO 100
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment