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
293ccca1
Commit
293ccca1
authored
Dec 18, 2014
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Smooth: use PRIu|d64 as format
parent
e36f9d18
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/stream_filter/smooth/smooth.c
modules/stream_filter/smooth/smooth.c
+5
-5
No files found.
modules/stream_filter/smooth/smooth.c
View file @
293ccca1
...
...
@@ -687,7 +687,7 @@ static chunk_t *get_chunk( stream_t *s, const bool wait, bool *pb_isinit )
* module anyaway. */
if
(
!
wait
||
p_sys
->
b_error
)
{
msg_Warn
(
s
,
"get_chunk failed! (starttime %"
PRI
u
64
")"
,
p_chunk
->
start_time
);
msg_Warn
(
s
,
"get_chunk failed! (starttime %"
PRI
d
64
")"
,
p_chunk
->
start_time
);
vlc_mutex_unlock
(
&
p_sys
->
p_current_stream
->
chunks_lock
);
return
NULL
;
}
...
...
@@ -699,7 +699,7 @@ static chunk_t *get_chunk( stream_t *s, const bool wait, bool *pb_isinit )
return
NULL
;
}
msg_Dbg
(
s
,
"get_chunk is waiting for chunk %
ld
!!!"
,
p_chunk
->
start_time
);
msg_Dbg
(
s
,
"get_chunk is waiting for chunk %
"
PRId64
"
!!!"
,
p_chunk
->
start_time
);
vlc_mutex_lock
(
&
p_sys
->
playback
.
lock
);
p_sys
->
playback
.
b_underrun
=
true
;
vlc_mutex_unlock
(
&
p_sys
->
playback
.
lock
);
...
...
@@ -712,7 +712,7 @@ static chunk_t *get_chunk( stream_t *s, const bool wait, bool *pb_isinit )
setChunkOffset
(
p_sys
,
p_chunk
);
#ifndef NDEBUG
if
(
!
p_chunk
->
read_pos
)
msg_Dbg
(
s
,
"Sending chunk %
ld
from offset %"
PRId64
,
p_chunk
->
start_time
,
p_chunk
->
offset
);
msg_Dbg
(
s
,
"Sending chunk %
"
PRId64
"
from offset %"
PRId64
,
p_chunk
->
start_time
,
p_chunk
->
offset
);
#endif
}
vlc_mutex_unlock
(
&
p_sys
->
p_current_stream
->
chunks_lock
);
...
...
@@ -882,11 +882,11 @@ static int chunk_Seek( stream_t *s, const uint64_t pos )
{
if
(
p_sys
->
b_live
)
{
msg_Err
(
s
,
"Cannot seek to %
ld outside the current chunk for a live stream at %ld"
,
pos
,
p_sys
->
playback
.
boffset
);
msg_Err
(
s
,
"Cannot seek to %
"
PRIu64
" outside the current chunk for a live stream at %"
PRIu64
,
pos
,
p_sys
->
playback
.
boffset
);
return
VLC_EGENERIC
;
}
msg_Info
(
s
,
"Seeking outside the current chunk (%
ld->%ld) to %ld"
,
chunk
->
offset
,
chunk
->
offset
+
chunk
->
size
,
pos
);
msg_Info
(
s
,
"Seeking outside the current chunk (%
"
PRIu64
"->%"
PRIu64
") to %"
PRIu64
,
chunk
->
offset
,
chunk
->
offset
+
chunk
->
size
,
pos
);
assert
(
pos
<=
FAKE_STREAM_SIZE
);
vlc_mutex_lock
(
&
p_sys
->
lock
);
...
...
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