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
6371c81a
Commit
6371c81a
authored
Jan 31, 2010
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix indention.
Originally committed as revision 21578 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
411ff322
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
ffplay.c
ffplay.c
+18
-18
No files found.
ffplay.c
View file @
6371c81a
...
...
@@ -2337,24 +2337,24 @@ static void event_loop(void)
uint64_t
size
=
url_fsize
(
cur_stream
->
ic
->
pb
);
stream_seek
(
cur_stream
,
size
*
(
double
)
event
.
button
.
x
/
(
double
)
cur_stream
->
width
,
0
,
1
);
}
else
{
int64_t
ts
;
int
ns
,
hh
,
mm
,
ss
;
int
tns
,
thh
,
tmm
,
tss
;
tns
=
cur_stream
->
ic
->
duration
/
1000000LL
;
thh
=
tns
/
3600
;
tmm
=
(
tns
%
3600
)
/
60
;
tss
=
(
tns
%
60
);
frac
=
(
double
)
event
.
button
.
x
/
(
double
)
cur_stream
->
width
;
ns
=
frac
*
tns
;
hh
=
ns
/
3600
;
mm
=
(
ns
%
3600
)
/
60
;
ss
=
(
ns
%
60
);
fprintf
(
stderr
,
"Seek to %2.0f%% (%2d:%02d:%02d) of total duration (%2d:%02d:%02d)
\n
"
,
frac
*
100
,
hh
,
mm
,
ss
,
thh
,
tmm
,
tss
);
ts
=
frac
*
cur_stream
->
ic
->
duration
;
if
(
cur_stream
->
ic
->
start_time
!=
AV_NOPTS_VALUE
)
ts
+=
cur_stream
->
ic
->
start_time
;
stream_seek
(
cur_stream
,
ts
,
0
,
0
);
int64_t
ts
;
int
ns
,
hh
,
mm
,
ss
;
int
tns
,
thh
,
tmm
,
tss
;
tns
=
cur_stream
->
ic
->
duration
/
1000000LL
;
thh
=
tns
/
3600
;
tmm
=
(
tns
%
3600
)
/
60
;
tss
=
(
tns
%
60
);
frac
=
(
double
)
event
.
button
.
x
/
(
double
)
cur_stream
->
width
;
ns
=
frac
*
tns
;
hh
=
ns
/
3600
;
mm
=
(
ns
%
3600
)
/
60
;
ss
=
(
ns
%
60
);
fprintf
(
stderr
,
"Seek to %2.0f%% (%2d:%02d:%02d) of total duration (%2d:%02d:%02d)
\n
"
,
frac
*
100
,
hh
,
mm
,
ss
,
thh
,
tmm
,
tss
);
ts
=
frac
*
cur_stream
->
ic
->
duration
;
if
(
cur_stream
->
ic
->
start_time
!=
AV_NOPTS_VALUE
)
ts
+=
cur_stream
->
ic
->
start_time
;
stream_seek
(
cur_stream
,
ts
,
0
,
0
);
}
}
break
;
...
...
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