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
6c0f5172
Commit
6c0f5172
authored
Jun 19, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffplay: dont drop frames by default when there is no audio stream
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
fd2c0a5d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ffplay.c
ffplay.c
+2
-2
No files found.
ffplay.c
View file @
6c0f5172
...
...
@@ -254,7 +254,7 @@ static int autoexit;
static
int
exit_on_keydown
;
static
int
exit_on_mousedown
;
static
int
loop
=
1
;
static
int
framedrop
=
1
;
static
int
framedrop
=
-
1
;
static
enum
ShowMode
show_mode
=
SHOW_MODE_NONE
;
static
int
rdftspeed
=
20
;
...
...
@@ -1139,7 +1139,7 @@ retry:
}
else
{
next_target
=
vp
->
target_clock
+
is
->
video_clock
-
vp
->
pts
;
//FIXME pass durations cleanly
}
if
(
framedrop
&&
time
>
next_target
){
if
(
(
framedrop
>
0
||
(
framedrop
&&
is
->
audio_st
))
&&
time
>
next_target
){
is
->
skip_frames
*=
1
.
0
+
FRAME_SKIP_FACTOR
;
if
(
is
->
pictq_size
>
1
||
time
>
next_target
+
0
.
5
){
/* update queue size and signal for next picture */
...
...
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