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
31d65713
Commit
31d65713
authored
Nov 03, 2016
by
Hendrik Leppkes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg: fix width/height overrides for sub2video processing
parent
b6422902
Show 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 @
31d65713
...
@@ -692,8 +692,8 @@ static int sub2video_prepare(InputStream *ist, InputFilter *ifilter)
...
@@ -692,8 +692,8 @@ static int sub2video_prepare(InputStream *ist, InputFilter *ifilter)
}
}
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
->
resample_width
=
w
;
ist
->
sub2video
.
w
=
ist
->
resample_width
=
ifilter
->
width
=
w
;
ist
->
sub2video
.
h
=
ist
->
resample_height
=
h
;
ist
->
sub2video
.
h
=
ist
->
resample_height
=
ifilter
->
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