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
803556c3
Commit
803556c3
authored
Sep 23, 1999
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* AUTO_SPAWN n'est plus necessaire pour lancer l'init script.
--Meuuh
parent
3f04079d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/interface/interface.c
src/interface/interface.c
+3
-3
No files found.
src/interface/interface.c
View file @
803556c3
...
@@ -105,7 +105,7 @@ int intf_Run( intf_thread_t *p_intf )
...
@@ -105,7 +105,7 @@ int intf_Run( intf_thread_t *p_intf )
static
int
StartInterface
(
intf_thread_t
*
p_intf
)
static
int
StartInterface
(
intf_thread_t
*
p_intf
)
{
{
int
i_thread
;
/* thread index */
int
i_thread
;
/* thread index */
#ifdef
AUTO_SPAWN
#ifdef
INIT_SCRIPT
int
fd
;
int
fd
;
#endif
#endif
...
@@ -126,13 +126,13 @@ static int StartInterface( intf_thread_t *p_intf )
...
@@ -126,13 +126,13 @@ static int StartInterface( intf_thread_t *p_intf )
return
(
1
);
return
(
1
);
}
}
#ifdef
AUTO_SPAWN
#ifdef
INIT_SCRIPT
/* Execute the initialization script (typically spawn an input thread) */
/* Execute the initialization script (typically spawn an input thread) */
if
(
(
fd
=
open
(
INIT_SCRIPT
,
O_RDONLY
))
!=
-
1
)
if
(
(
fd
=
open
(
INIT_SCRIPT
,
O_RDONLY
))
!=
-
1
)
{
{
/* Startup script does exist */
/* Startup script does exist */
close
(
fd
);
close
(
fd
);
intf_ExecScript
(
"vlc.init"
);
intf_ExecScript
(
INIT_SCRIPT
);
}
}
#endif
#endif
...
...
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