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
f06e4545
Commit
f06e4545
authored
Jul 09, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
smooth: remove write-only variable
parent
4786038b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
8 deletions
+0
-8
modules/stream_filter/smooth/smooth.c
modules/stream_filter/smooth/smooth.c
+0
-7
modules/stream_filter/smooth/smooth.h
modules/stream_filter/smooth/smooth.h
+0
-1
No files found.
modules/stream_filter/smooth/smooth.c
View file @
f06e4545
...
...
@@ -526,7 +526,6 @@ static int Open( vlc_object_t *p_this )
free
(
p_sys
);
return
VLC_EGENERIC
;
}
p_sys
->
playback
.
toffset
=
p_sys
->
p_current_stream
->
p_playback
->
start_time
;
p_sys
->
playback
.
next_chunk_offset
=
CHUNK_OFFSET_UNSET
;
p_sys
->
i_probe_length
=
SMS_PROBE_LENGTH
;
...
...
@@ -562,10 +561,6 @@ static void Close( vlc_object_t *p_this )
p_sys
->
b_close
=
true
;
vlc_cond_signal
(
&
p_sys
->
download
.
wait
);
vlc_mutex_lock
(
&
p_sys
->
playback
.
lock
);
p_sys
->
playback
.
toffset
=
0
;
vlc_mutex_unlock
(
&
p_sys
->
playback
.
lock
);
vlc_join
(
p_sys
->
download
.
thread
,
NULL
);
vlc_mutex_destroy
(
&
p_sys
->
lock
);
vlc_cond_destroy
(
&
p_sys
->
download
.
wait
);
...
...
@@ -719,7 +714,6 @@ static unsigned int sms_Read( stream_t *s, uint8_t *p_read, unsigned int i_read
if
(
chunk
->
type
==
VIDEO_ES
||
(
!
SMS_GET_SELECTED_ST
(
VIDEO_ES
)
&&
chunk
->
type
==
AUDIO_ES
)
)
{
p_sys
->
playback
.
toffset
+=
chunk
->
duration
;
vlc_cond_signal
(
&
p_sys
->
download
.
wait
);
}
...
...
@@ -873,7 +867,6 @@ static int chunk_Seek( stream_t *s, const uint64_t pos )
vlc_mutex_lock
(
&
p_sys
->
lock
);
resetChunksState
(
p_sys
);
p_sys
->
playback
.
toffset
=
p_sys
->
time_pos
;
p_sys
->
playback
.
next_chunk_offset
=
0
;
p_sys
->
playback
.
boffset
=
0
;
p_sys
->
time_pos
=
p_sys
->
vod_duration
*
pos
/
FAKE_STREAM_SIZE
;
...
...
modules/stream_filter/smooth/smooth.h
View file @
f06e4545
...
...
@@ -124,7 +124,6 @@ struct stream_sys_t
struct
{
uint64_t
boffset
;
/* current byte offset in media */
uint64_t
toffset
;
/* current time offset in media */
uint64_t
next_chunk_offset
;
struct
{
...
...
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