Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
98701be3
Commit
98701be3
authored
Jun 21, 2012
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/ass: update use of deprecated functions, fix warnings
parent
eda45008
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
vf_ass.c
libavfilter/vf_ass.c
+7
-5
No files found.
libavfilter/vf_ass.c
View file @
98701be3
...
...
@@ -34,6 +34,8 @@
#include "libavutil/parseutils.h"
#include "drawutils.h"
#include "avfilter.h"
#include "formats.h"
#include "video.h"
typedef
struct
{
const
AVClass
*
class
;
...
...
@@ -142,7 +144,7 @@ static av_cold void uninit(AVFilterContext *ctx)
static
int
query_formats
(
AVFilterContext
*
ctx
)
{
avfilter_set_common_pixel
_formats
(
ctx
,
ff_draw_supported_pixel_formats
(
0
));
ff_set_common
_formats
(
ctx
,
ff_draw_supported_pixel_formats
(
0
));
return
0
;
}
...
...
@@ -199,8 +201,8 @@ static void end_frame(AVFilterLink *inlink)
overlay_ass_image
(
ass
,
picref
,
image
);
avfilter
_draw_slice
(
outlink
,
0
,
picref
->
video
->
h
,
1
);
avfilter
_end_frame
(
outlink
);
ff
_draw_slice
(
outlink
,
0
,
picref
->
video
->
h
,
1
);
ff
_end_frame
(
outlink
);
}
AVFilter
avfilter_vf_ass
=
{
...
...
@@ -214,8 +216,8 @@ AVFilter avfilter_vf_ass = {
.
inputs
=
(
const
AVFilterPad
[])
{
{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
get_video_buffer
=
avfilter
_null_get_video_buffer
,
.
start_frame
=
avfilter
_null_start_frame
,
.
get_video_buffer
=
ff
_null_get_video_buffer
,
.
start_frame
=
ff
_null_start_frame
,
.
draw_slice
=
null_draw_slice
,
.
end_frame
=
end_frame
,
.
config_props
=
config_input
,
...
...
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