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
a9e77b42
Commit
a9e77b42
authored
Jan 11, 2023
by
James Almer
Committed by
Anton Khirnov
Feb 09, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter: remove FF_API_SWS_PARAM_OPTION
Signed-off-by:
James Almer
<
jamrial@gmail.com
>
parent
6d6ae359
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
12 deletions
+0
-12
buffersrc.c
libavfilter/buffersrc.c
+0
-11
version_major.h
libavfilter/version_major.h
+0
-1
No files found.
libavfilter/buffersrc.c
View file @
a9e77b42
...
...
@@ -50,9 +50,6 @@ typedef struct BufferSourceContext {
int
w
,
h
;
enum
AVPixelFormat
pix_fmt
;
AVRational
pixel_aspect
;
#if FF_API_SWS_PARAM_OPTION
char
*
sws_param
;
#endif
AVBufferRef
*
hw_frames_ctx
;
...
...
@@ -287,11 +284,6 @@ static av_cold int init_video(AVFilterContext *ctx)
c
->
time_base
.
num
,
c
->
time_base
.
den
,
c
->
frame_rate
.
num
,
c
->
frame_rate
.
den
,
c
->
pixel_aspect
.
num
,
c
->
pixel_aspect
.
den
);
#if FF_API_SWS_PARAM_OPTION
if
(
c
->
sws_param
)
av_log
(
ctx
,
AV_LOG_WARNING
,
"sws_param option is deprecated and ignored
\n
"
);
#endif
return
0
;
}
...
...
@@ -313,9 +305,6 @@ static const AVOption buffer_options[] = {
{
"pixel_aspect"
,
"sample aspect ratio"
,
OFFSET
(
pixel_aspect
),
AV_OPT_TYPE_RATIONAL
,
{
.
dbl
=
0
},
0
,
DBL_MAX
,
V
},
{
"time_base"
,
NULL
,
OFFSET
(
time_base
),
AV_OPT_TYPE_RATIONAL
,
{
.
dbl
=
0
},
0
,
DBL_MAX
,
V
},
{
"frame_rate"
,
NULL
,
OFFSET
(
frame_rate
),
AV_OPT_TYPE_RATIONAL
,
{
.
dbl
=
0
},
0
,
DBL_MAX
,
V
},
#if FF_API_SWS_PARAM_OPTION
{
"sws_param"
,
NULL
,
OFFSET
(
sws_param
),
AV_OPT_TYPE_STRING
,
.
flags
=
V
},
#endif
{
NULL
},
};
...
...
libavfilter/version_major.h
View file @
a9e77b42
...
...
@@ -35,7 +35,6 @@
* the public API and may change, break or disappear at any time.
*/
#define FF_API_SWS_PARAM_OPTION (LIBAVFILTER_VERSION_MAJOR < 9)
#define FF_API_BUFFERSINK_ALLOC (LIBAVFILTER_VERSION_MAJOR < 9)
#define FF_API_PAD_COUNT (LIBAVFILTER_VERSION_MAJOR < 9)
...
...
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