Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
d9b6b884
Commit
d9b6b884
authored
Apr 11, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input: remove write-only stream_access stat values
parent
ac3ff888
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
src/input/stream.c
src/input/stream.c
+0
-13
No files found.
src/input/stream.c
View file @
d9b6b884
...
...
@@ -164,17 +164,10 @@ struct stream_sys_t
/* Stat for both method */
struct
{
bool
b_fastseek
;
/* From access */
/* Stat about reading data */
uint64_t
i_read_count
;
uint64_t
i_bytes
;
uint64_t
i_read_time
;
/* Stat about seek */
unsigned
i_seek_count
;
uint64_t
i_seek_time
;
}
stat
;
/* Streams list */
...
...
@@ -309,12 +302,9 @@ stream_t *stream_AccessNew( access_t *p_access, char **ppsz_list )
p_sys
->
i_pos
=
p_access
->
info
.
i_pos
;
/* Stats */
access_Control
(
p_access
,
ACCESS_CAN_FASTSEEK
,
&
p_sys
->
stat
.
b_fastseek
);
p_sys
->
stat
.
i_bytes
=
0
;
p_sys
->
stat
.
i_read_time
=
0
;
p_sys
->
stat
.
i_read_count
=
0
;
p_sys
->
stat
.
i_seek_count
=
0
;
p_sys
->
stat
.
i_seek_time
=
0
;
TAB_INIT
(
p_sys
->
i_list
,
p_sys
->
list
);
p_sys
->
i_list_index
=
0
;
...
...
@@ -955,9 +945,6 @@ static int AStreamSeekBlock( stream_t *s, uint64_t i_pos )
if
(
AStreamRefillBlock
(
s
)
)
return
VLC_EGENERIC
;
/* Update stat */
p_sys
->
stat
.
i_seek_time
+=
i_end
-
i_start
;
p_sys
->
stat
.
i_seek_count
++
;
return
VLC_SUCCESS
;
}
else
...
...
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