Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
d6083f05
Commit
d6083f05
authored
Sep 27, 2011
by
F. Yhuel
Committed by
Rémi Denis-Courmont
Sep 27, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos in httplive.c
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
44207900
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/stream_filter/httplive.c
modules/stream_filter/httplive.c
+5
-5
No files found.
modules/stream_filter/httplive.c
View file @
d6083f05
...
...
@@ -358,7 +358,7 @@ static int ChooseSegment(stream_t *s, const int current)
hls_stream_t
*
hls
=
hls_Get
(
p_sys
->
hls_stream
,
current
);
if
(
hls
==
NULL
)
return
0
;
/* Choose a segment to start which is no closer th
e
n
/* Choose a segment to start which is no closer th
a
n
* 3 times the target duration from the end of the playlist.
*/
int
wanted
=
0
;
...
...
@@ -374,7 +374,7 @@ static int ChooseSegment(stream_t *s, const int current)
if
(
segment
->
duration
>
hls
->
duration
)
{
msg_Err
(
s
,
"EXTINF:%d duration is larger th
e
n EXT-X-TARGETDURATION:%d"
,
msg_Err
(
s
,
"EXTINF:%d duration is larger th
a
n EXT-X-TARGETDURATION:%d"
,
segment
->
duration
,
hls
->
duration
);
}
...
...
@@ -626,7 +626,7 @@ static int parse_StreamInformation(stream_t *s, vlc_array_t **hls_stream,
return
VLC_EGENERIC
;
}
msg_Info
(
s
,
"bandwidth adaption detected (program-id=%d, bandwidth=%"
PRIu64
")."
,
id
,
bw
);
msg_Info
(
s
,
"bandwidth adapt
at
ion detected (program-id=%d, bandwidth=%"
PRIu64
")."
,
id
,
bw
);
char
*
psz_uri
=
relative_URI
(
s
,
uri
,
NULL
);
...
...
@@ -1141,7 +1141,7 @@ static int Download(stream_t *s, hls_stream_t *hls, segment_t *segment, int *cur
int
estimated
=
(
int
)(
size
/
p_sys
->
bandwidth
);
if
(
estimated
>
segment
->
duration
)
{
msg_Warn
(
s
,
"downloading of segment %d takes %ds, which is longer th
e
n its playback (%ds)"
,
msg_Warn
(
s
,
"downloading of segment %d takes %ds, which is longer th
a
n its playback (%ds)"
,
segment
->
sequence
,
estimated
,
segment
->
duration
);
}
}
...
...
@@ -1571,7 +1571,7 @@ static int Open(vlc_object_t *p_this)
if
(
p_sys
->
b_live
&&
(
p_sys
->
playback
.
segment
<
0
))
{
msg_Warn
(
s
,
"less data th
e
n 3 times 'target duration' available for live playback, playback may stall"
);
msg_Warn
(
s
,
"less data th
a
n 3 times 'target duration' available for live playback, playback may stall"
);
}
if
(
Prefetch
(
s
,
&
current
)
!=
VLC_SUCCESS
)
...
...
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