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
4e33d8eb
Commit
4e33d8eb
authored
Dec 26, 2012
by
Marton Balint
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffplay: only drop frames if not in frame step mode
Fixes ticket #2053. Signed-off-by:
Marton Balint
<
cus@passwd.hu
>
parent
97660b8b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ffplay.c
ffplay.c
+1
-1
No files found.
ffplay.c
View file @
4e33d8eb
...
@@ -1339,7 +1339,7 @@ retry:
...
@@ -1339,7 +1339,7 @@ retry:
if
(
is
->
pictq_size
>
1
)
{
if
(
is
->
pictq_size
>
1
)
{
VideoPicture
*
nextvp
=
&
is
->
pictq
[(
is
->
pictq_rindex
+
1
)
%
VIDEO_PICTURE_QUEUE_SIZE
];
VideoPicture
*
nextvp
=
&
is
->
pictq
[(
is
->
pictq_rindex
+
1
)
%
VIDEO_PICTURE_QUEUE_SIZE
];
duration
=
nextvp
->
pts
-
vp
->
pts
;
duration
=
nextvp
->
pts
-
vp
->
pts
;
if
((
framedrop
>
0
||
(
framedrop
&&
get_master_sync_type
(
is
)
!=
AV_SYNC_VIDEO_MASTER
))
&&
time
>
is
->
frame_timer
+
duration
){
if
(
!
is
->
step
&&
(
framedrop
>
0
||
(
framedrop
&&
get_master_sync_type
(
is
)
!=
AV_SYNC_VIDEO_MASTER
))
&&
time
>
is
->
frame_timer
+
duration
){
is
->
frame_drops_late
++
;
is
->
frame_drops_late
++
;
pictq_next_picture
(
is
);
pictq_next_picture
(
is
);
goto
retry
;
goto
retry
;
...
...
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