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
2bb2d008
Commit
2bb2d008
authored
May 19, 2002
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* on win32 the rc plugin opens a new console.
parent
bf05a0e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
11 deletions
+19
-11
plugins/dummy/intf_dummy.c
plugins/dummy/intf_dummy.c
+10
-10
plugins/text/rc.c
plugins/text/rc.c
+9
-1
No files found.
plugins/dummy/intf_dummy.c
View file @
2bb2d008
...
...
@@ -2,7 +2,7 @@
* intf_dummy.c: dummy interface plugin
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* $Id: intf_dummy.c,v 1.1
6 2002/05/19 10:06:37
gbazin Exp $
* $Id: intf_dummy.c,v 1.1
7 2002/05/19 15:23:35
gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
...
...
@@ -71,6 +71,15 @@ static int intf_Open( intf_thread_t *p_intf )
return
(
1
);
};
#ifdef WIN32
AllocConsole
();
freopen
(
"CONOUT$"
,
"w"
,
stdout
);
freopen
(
"CONOUT$"
,
"w"
,
stderr
);
freopen
(
"CONIN$"
,
"r"
,
stdin
);
intf_Msg
(
VERSION_MESSAGE
);
intf_Msg
(
_
(
"
\n
Using the dummy interface plugin..."
)
);
#endif
return
(
0
);
}
...
...
@@ -89,15 +98,6 @@ static void intf_Close( intf_thread_t *p_intf )
*****************************************************************************/
static
void
intf_Run
(
intf_thread_t
*
p_intf
)
{
#ifdef WIN32
AllocConsole
();
freopen
(
"CONOUT$"
,
"w"
,
stdout
);
freopen
(
"CONOUT$"
,
"w"
,
stderr
);
freopen
(
"CONIN$"
,
"r"
,
stdin
);
intf_Msg
(
VERSION_MESSAGE
);
intf_Msg
(
_
(
"
\n
Using the dummy interface plugin..."
)
);
#endif
while
(
!
p_intf
->
b_die
)
{
/* Manage core vlc functions through the callback */
...
...
plugins/text/rc.c
View file @
2bb2d008
...
...
@@ -2,7 +2,7 @@
* rc.c : remote control stdin/stdout plugin for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: rc.c,v 1.1
3 2002/05/18 07:30:03 sam
Exp $
* $Id: rc.c,v 1.1
4 2002/05/19 15:23:35 gbazin
Exp $
*
* Authors: Peter Surda <shurdeek@panorama.sth.ac.at>
*
...
...
@@ -120,6 +120,14 @@ static int intf_Open( intf_thread_t *p_intf )
return
(
1
);
}
#ifdef WIN32
AllocConsole
();
freopen
(
"CONOUT$"
,
"w"
,
stdout
);
freopen
(
"CONOUT$"
,
"w"
,
stderr
);
freopen
(
"CONIN$"
,
"r"
,
stdin
);
intf_Msg
(
VERSION_MESSAGE
);
#endif
intf_Msg
(
"rc: remote control interface initialized, `h' for help"
);
return
(
0
);
}
...
...
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