Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
61097535
Commit
61097535
authored
Dec 06, 2019
by
Zhao Zhili
Committed by
Nicolas George
Dec 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/buffersink: deprecate AVBufferSinkParams and AVABufferSinkParams
parent
07ffdedf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
buffersink.c
libavfilter/buffersink.c
+2
-0
buffersink.h
libavfilter/buffersink.h
+4
-0
No files found.
libavfilter/buffersink.c
View file @
61097535
...
...
@@ -125,6 +125,7 @@ int attribute_align_arg av_buffersink_get_samples(AVFilterContext *ctx,
return
get_frame_internal
(
ctx
,
frame
,
0
,
nb_samples
);
}
#if FF_API_NEXT
AVBufferSinkParams
*
av_buffersink_params_alloc
(
void
)
{
static
const
int
pixel_fmts
[]
=
{
AV_PIX_FMT_NONE
};
...
...
@@ -144,6 +145,7 @@ AVABufferSinkParams *av_abuffersink_params_alloc(void)
return
NULL
;
return
params
;
}
#endif
static
av_cold
int
common_init
(
AVFilterContext
*
ctx
)
{
...
...
libavfilter/buffersink.h
View file @
61097535
...
...
@@ -59,6 +59,7 @@ int av_buffersink_get_frame_flags(AVFilterContext *ctx, AVFrame *frame, int flag
*/
#define AV_BUFFERSINK_FLAG_NO_REQUEST 2
#if FF_API_NEXT
/**
* Struct to use for initializing a buffersink context.
*/
...
...
@@ -71,6 +72,7 @@ typedef struct AVBufferSinkParams {
*
* Must be freed with av_free().
*/
attribute_deprecated
AVBufferSinkParams
*
av_buffersink_params_alloc
(
void
);
/**
...
...
@@ -89,7 +91,9 @@ typedef struct AVABufferSinkParams {
*
* Must be freed with av_free().
*/
attribute_deprecated
AVABufferSinkParams
*
av_abuffersink_params_alloc
(
void
);
#endif
/**
* Set the frame size for an audio buffer sink.
...
...
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