Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
ae27ee8f
Commit
ae27ee8f
authored
Mar 01, 2005
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix playlist export
Remove extra SAP debug
parent
c28589a4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
modules/misc/playlist/m3u.c
modules/misc/playlist/m3u.c
+1
-1
modules/services_discovery/sap.c
modules/services_discovery/sap.c
+1
-2
src/playlist/item.c
src/playlist/item.c
+1
-0
No files found.
modules/misc/playlist/m3u.c
View file @
ae27ee8f
...
@@ -53,7 +53,7 @@ int Export_M3U( vlc_object_t *p_this )
...
@@ -53,7 +53,7 @@ int Export_M3U( vlc_object_t *p_this )
/* Go through the playlist and add items */
/* Go through the playlist and add items */
for
(
i
=
0
;
i
<
p_playlist
->
i_size
;
i
++
)
for
(
i
=
0
;
i
<
p_playlist
->
i_size
;
i
++
)
{
{
if
(
p_playlist
->
pp_items
[
i
]
->
i_flags
&
~
PLAYLIST_SAVE_FLAG
)
if
(
(
p_playlist
->
pp_items
[
i
]
->
i_flags
&
PLAYLIST_SAVE_FLAG
)
==
0
)
{
{
continue
;
continue
;
}
}
...
...
modules/services_discovery/sap.c
View file @
ae27ee8f
...
@@ -638,7 +638,6 @@ static int ParseSAP( services_discovery_t *p_sd, uint8_t *p_buffer, int i_read )
...
@@ -638,7 +638,6 @@ static int ParseSAP( services_discovery_t *p_sd, uint8_t *p_buffer, int i_read )
/* First, check the sap announce is correct */
/* First, check the sap announce is correct */
i_version
=
p_buffer
[
0
]
>>
5
;
i_version
=
p_buffer
[
0
]
>>
5
;
msg_Dbg
(
p_sd
,
"."
);
if
(
i_version
!=
1
)
if
(
i_version
!=
1
)
{
{
msg_Dbg
(
p_sd
,
"strange sap version %d found"
,
i_version
);
msg_Dbg
(
p_sd
,
"strange sap version %d found"
,
i_version
);
...
@@ -893,6 +892,7 @@ sap_announce_t *CreateAnnounce( services_discovery_t *p_sd, uint16_t i_hash,
...
@@ -893,6 +892,7 @@ sap_announce_t *CreateAnnounce( services_discovery_t *p_sd, uint16_t i_hash,
}
}
p_item
->
i_flags
&=
~
PLAYLIST_SKIP_FLAG
;
p_item
->
i_flags
&=
~
PLAYLIST_SKIP_FLAG
;
p_item
->
i_flags
&=
~
PLAYLIST_SAVE_FLAG
;
playlist_NodeAddItem
(
p_playlist
,
p_item
,
VIEW_CATEGORY
,
p_child
,
playlist_NodeAddItem
(
p_playlist
,
p_item
,
VIEW_CATEGORY
,
p_child
,
PLAYLIST_APPEND
,
PLAYLIST_END
);
PLAYLIST_APPEND
,
PLAYLIST_END
);
...
@@ -1100,7 +1100,6 @@ static sdp_t * ParseSDP( vlc_object_t *p_obj, char* psz_sdp )
...
@@ -1100,7 +1100,6 @@ static sdp_t * ParseSDP( vlc_object_t *p_obj, char* psz_sdp )
sdp_t
*
p_sdp
;
sdp_t
*
p_sdp
;
vlc_bool_t
b_invalid
=
VLC_FALSE
;
vlc_bool_t
b_invalid
=
VLC_FALSE
;
vlc_bool_t
b_end
=
VLC_FALSE
;
vlc_bool_t
b_end
=
VLC_FALSE
;
msg_Dbg
(
p_obj
,
"%s"
,
psz_sdp
);
if
(
psz_sdp
==
NULL
)
if
(
psz_sdp
==
NULL
)
{
{
return
NULL
;
return
NULL
;
...
...
src/playlist/item.c
View file @
ae27ee8f
...
@@ -78,6 +78,7 @@ playlist_item_t * playlist_ItemNewWithType( vlc_object_t *p_obj,
...
@@ -78,6 +78,7 @@ playlist_item_t * playlist_ItemNewWithType( vlc_object_t *p_obj,
p_item
->
i_flags
=
0
;
p_item
->
i_flags
=
0
;
p_item
->
i_flags
|=
PLAYLIST_SKIP_FLAG
;
p_item
->
i_flags
|=
PLAYLIST_SKIP_FLAG
;
p_item
->
i_flags
|=
PLAYLIST_SAVE_FLAG
;
p_item
->
input
.
i_duration
=
-
1
;
p_item
->
input
.
i_duration
=
-
1
;
p_item
->
input
.
ppsz_options
=
NULL
;
p_item
->
input
.
ppsz_options
=
NULL
;
...
...
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