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
3b4e4faa
Commit
3b4e4faa
authored
Apr 13, 2005
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't autoplay SAP items
parent
9ceef3c7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
modules/gui/wxwindows/wxwindows.cpp
modules/gui/wxwindows/wxwindows.cpp
+1
-1
modules/services_discovery/sap.c
modules/services_discovery/sap.c
+4
-0
src/playlist/playlist.c
src/playlist/playlist.c
+4
-2
No files found.
modules/gui/wxwindows/wxwindows.cpp
View file @
3b4e4faa
...
...
@@ -362,7 +362,7 @@ bool Instance::OnInit()
FIND_ANYWHERE
);
if
(
p_playlist
)
{
playlist_
Play
(
p_playlist
);
playlist_
LockControl
(
p_playlist
,
PLAYLIST_AUTOPLAY
);
vlc_object_release
(
p_playlist
);
}
}
...
...
modules/services_discovery/sap.c
View file @
3b4e4faa
...
...
@@ -346,6 +346,7 @@ static int Open( vlc_object_t *p_this )
p_sys
->
p_node
=
playlist_NodeCreate
(
p_playlist
,
VIEW_CATEGORY
,
_
(
"SAP"
),
p_view
->
p_root
);
p_sys
->
p_node
->
i_flags
|=
PLAYLIST_RO_FLAG
;
p_sys
->
p_node
->
i_flags
=~
PLAYLIST_SKIP_FLAG
;
val
.
b_bool
=
VLC_TRUE
;
var_Set
(
p_playlist
,
"intf-change"
,
val
);
...
...
@@ -858,8 +859,11 @@ sap_announce_t *CreateAnnounce( services_discovery_t *p_sd, uint16_t i_hash,
psz_grp
);
if
(
p_child
==
NULL
)
{
p_child
=
playlist_NodeCreate
(
p_playlist
,
VIEW_CATEGORY
,
psz_grp
,
p_sd
->
p_sys
->
p_node
);
p_child
->
i_flags
=~
PLAYLIST_SKIP_FLAG
;
}
free
(
psz_grp
);
}
else
...
...
src/playlist/playlist.c
View file @
3b4e4faa
...
...
@@ -794,7 +794,7 @@ static playlist_item_t * NextItem( playlist_t *p_playlist )
}
if
(
!
p_playlist
->
request
.
b_request
&&
p_playlist
->
status
.
p_item
&&
!
(
p_playlist
->
status
.
p_item
->
i_flags
&
PLAYLIST_SKIP_FLAG
)
)
!
(
p_playlist
->
status
.
p_item
->
i_flags
&
PLAYLIST_SKIP_FLAG
)
)
{
msg_Dbg
(
p_playlist
,
"no-skip mode, stopping"
)
;
return
NULL
;
...
...
@@ -947,7 +947,7 @@ static playlist_item_t * NextItem( playlist_t *p_playlist )
{
p_playlist
->
i_index
++
;
p_new
=
p_playlist
->
pp_items
[
p_playlist
->
i_index
];
if
(
!
(
p_new
->
i_flags
&
PLAYLIST_SKIP_FLAG
)
)
if
(
!
(
p_new
->
i_flags
&
PLAYLIST_SKIP_FLAG
)
)
{
return
NULL
;
}
...
...
@@ -988,6 +988,8 @@ static playlist_item_t * NextItem( playlist_t *p_playlist )
p_playlist
->
status
.
p_node
,
NULL
);
}
if
(
p_new
!=
NULL
&&
!
(
p_new
->
i_flags
&
PLAYLIST_SKIP_FLAG
)
)
return
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