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
102cf964
Commit
102cf964
authored
Jan 01, 2013
by
Nicolas George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg: sub2video: set resample size.
Necessary after
04a530f7
.
parent
5ed5e90f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ffmpeg_filter.c
ffmpeg_filter.c
+2
-2
No files found.
ffmpeg_filter.c
View file @
102cf964
...
@@ -517,8 +517,8 @@ static int sub2video_prepare(InputStream *ist)
...
@@ -517,8 +517,8 @@ static int sub2video_prepare(InputStream *ist)
}
}
av_log
(
avf
,
AV_LOG_INFO
,
"sub2video: using %dx%d canvas
\n
"
,
w
,
h
);
av_log
(
avf
,
AV_LOG_INFO
,
"sub2video: using %dx%d canvas
\n
"
,
w
,
h
);
}
}
ist
->
sub2video
.
w
=
ist
->
st
->
codec
->
width
=
w
;
ist
->
sub2video
.
w
=
ist
->
st
->
codec
->
width
=
ist
->
resample_width
=
w
;
ist
->
sub2video
.
h
=
ist
->
st
->
codec
->
height
=
h
;
ist
->
sub2video
.
h
=
ist
->
st
->
codec
->
height
=
ist
->
resample_height
=
h
;
/* rectangles are AV_PIX_FMT_PAL8, but we have no guarantee that the
/* rectangles are AV_PIX_FMT_PAL8, but we have no guarantee that the
palettes for all rectangles are identical or compatible */
palettes for all rectangles are identical or compatible */
...
...
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