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
2f34021d
Commit
2f34021d
authored
Sep 06, 2012
by
Janne Grunau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avconv: flush filtered frames before reconfiguring filters
This prevents lost frames after a resolution change.
parent
a5ea623b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
avconv.c
avconv.c
+4
-0
No files found.
avconv.c
View file @
2f34021d
...
...
@@ -1245,6 +1245,10 @@ static int decode_video(InputStream *ist, AVPacket *pkt, int *got_output)
ist
->
resample_width
,
ist
->
resample_height
,
av_get_pix_fmt_name
(
ist
->
resample_pix_fmt
),
decoded_frame
->
width
,
decoded_frame
->
height
,
av_get_pix_fmt_name
(
decoded_frame
->
format
));
ret
=
poll_filters
();
if
(
ret
<
0
&&
(
ret
!=
AVERROR_EOF
&&
ret
!=
AVERROR
(
EAGAIN
)))
av_log
(
NULL
,
AV_LOG_ERROR
,
"Error while filtering.
\n
"
);
ist
->
resample_width
=
decoded_frame
->
width
;
ist
->
resample_height
=
decoded_frame
->
height
;
ist
->
resample_pix_fmt
=
decoded_frame
->
format
;
...
...
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