Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
9dffe0cb
Commit
9dffe0cb
authored
Dec 31, 2010
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stream_filter/httplive.c: cleanup debugging messages
no functional changes
parent
31d95875
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
modules/stream_filter/httplive.c
modules/stream_filter/httplive.c
+2
-6
No files found.
modules/stream_filter/httplive.c
View file @
9dffe0cb
...
...
@@ -525,7 +525,6 @@ static int parse_MediaSequence(stream_t *s, hls_stream_t *hls, char *p_read)
if
(
hls
->
sequence
>
0
)
msg_Err
(
s
,
"EXT-X-MEDIA-SEQUENCE already present in playlist"
);
msg_Info
(
s
,
"#EXT-X-MEDIA-SEQUENCE:%d"
,
sequence
);
hls
->
sequence
=
sequence
;
return
VLC_SUCCESS
;
}
...
...
@@ -1014,8 +1013,6 @@ static int hls_UpdatePlaylist(stream_t *s, hls_stream_t *hls_new, hls_stream_t *
segment_t
*
l
=
segment_GetSegment
(
*
hls
,
last
);
if
(
l
==
NULL
)
goto
fail_and_unlock
;
msg_Info
(
s
,
"adding segment %d after %d"
,
p
->
sequence
,
l
->
sequence
);
if
((
l
->
sequence
+
1
)
==
p
->
sequence
)
{
vlc_array_append
((
*
hls
)
->
segments
,
p
);
...
...
@@ -1023,7 +1020,7 @@ static int hls_UpdatePlaylist(stream_t *s, hls_stream_t *hls_new, hls_stream_t *
}
else
/* there is a gap */
{
msg_Err
(
s
,
"gap in sequence numbers found: new=%d
,
old=%d"
,
msg_Err
(
s
,
"gap in sequence numbers found: new=%d
expected
old=%d"
,
p
->
sequence
,
l
->
sequence
);
goto
fail_and_unlock
;
}
...
...
@@ -1069,7 +1066,6 @@ static int hls_ReloadPlaylist(stream_t *s)
}
/* merge playlists */
msg_Info
(
s
,
"Merging playlist"
);
for
(
int
n
=
0
;
n
<
count
;
n
++
)
{
hls_stream_t
*
hls_new
=
hls_Get
(
hls_streams
,
n
);
...
...
@@ -1079,7 +1075,7 @@ static int hls_ReloadPlaylist(stream_t *s)
if
(
hls_old
==
NULL
)
{
/* new hls stream - append */
vlc_array_append
(
p_sys
->
hls_stream
,
hls_new
);
msg_Info
(
s
,
"
N
ew HLS stream appended (id=%d, bandwidth=%"
PRIu64
")"
,
msg_Info
(
s
,
"
n
ew HLS stream appended (id=%d, bandwidth=%"
PRIu64
")"
,
hls_new
->
id
,
hls_new
->
bandwidth
);
}
else
if
(
hls_UpdatePlaylist
(
s
,
hls_new
,
&
hls_old
)
!=
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