Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
3c587bc8
Commit
3c587bc8
authored
May 05, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/gui/skins/src/*: forgot a few references to the channels server.
parent
cf3c9805
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
36 deletions
+3
-36
modules/gui/skins/src/event.cpp
modules/gui/skins/src/event.cpp
+1
-4
modules/gui/skins/src/vlcproc.cpp
modules/gui/skins/src/vlcproc.cpp
+1
-30
modules/gui/skins/src/vlcproc.h
modules/gui/skins/src/vlcproc.h
+1
-2
No files found.
modules/gui/skins/src/event.cpp
View file @
3c587bc8
...
...
@@ -2,7 +2,7 @@
* event.cpp: Event class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: event.cpp,v 1.1
4 2003/05/05 16:09:40
gbazin Exp $
* $Id: event.cpp,v 1.1
5 2003/05/05 16:29:57
gbazin Exp $
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
@@ -240,9 +240,6 @@ void Event::CreateEvent()
char
*
para2
=
new
char
[
MAX_PARAM_SIZE
];
char
*
para3
=
new
char
[
MAX_PARAM_SIZE
];
// Buffer to create strings
char
*
buf
;
// Scan the event
int
scan
=
sscanf
(
EventDesc
.
c_str
(),
"%[^(](%[^,)],%[^,)],%[^,)])"
,
msg
,
para1
,
para2
,
para3
);
...
...
modules/gui/skins/src/vlcproc.cpp
View file @
3c587bc8
...
...
@@ -2,7 +2,7 @@
* vlcproc.cpp: VlcProc class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: vlcproc.cpp,v 1.2
0 2003/05/05 16:09:40
gbazin Exp $
* $Id: vlcproc.cpp,v 1.2
1 2003/05/05 16:29:57
gbazin Exp $
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
@@ -593,8 +593,6 @@ void VlcProc::ChangeVolume( unsigned int msg, long param )
//---------------------------------------------------------------------------
void
VlcProc
::
AddNetworkUDP
(
int
port
)
{
config_PutInt
(
p_intf
,
"network-channel"
,
VLC_FALSE
);
// Build source name
char
*
s_port
=
new
char
[
5
];
sprintf
(
s_port
,
"%i"
,
port
);
...
...
@@ -610,31 +608,4 @@ void VlcProc::AddNetworkUDP( int port )
InterfaceRefresh
();
}
//---------------------------------------------------------------------------
void
VlcProc
::
AddNetworkChannelServer
(
char
*
server
)
{
char
*
name
=
new
char
[
MAX_PARAM_SIZE
];
int
port
=
0
;
// Scan the server address
int
scan
=
sscanf
(
server
,
"%[^:]:%i"
,
name
,
&
port
);
if
(
scan
!=
2
)
{
msg_Err
(
p_intf
,
"Invalid channel server: %s"
,
server
);
delete
[]
name
;
return
;
}
config_PutInt
(
p_intf
,
"network-channel"
,
VLC_TRUE
);
config_PutPsz
(
p_intf
,
"channel-server"
,
name
);
config_PutInt
(
p_intf
,
"channel-port"
,
port
);
if
(
p_intf
->
p_vlc
->
p_channel
==
NULL
)
{
network_ChannelCreate
(
p_intf
);
}
delete
[]
name
;
}
//---------------------------------------------------------------------------
modules/gui/skins/src/vlcproc.h
View file @
3c587bc8
...
...
@@ -2,7 +2,7 @@
* vlcproc.h: VlcProc class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: vlcproc.h,v 1.
4 2003/04/15 20:33:58 karibu
Exp $
* $Id: vlcproc.h,v 1.
5 2003/05/05 16:29:57 gbazin
Exp $
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
@@ -53,7 +53,6 @@ class VlcProc
void
FullScreen
();
void
ChangeVolume
(
unsigned
int
msg
,
long
param
);
void
AddNetworkUDP
(
int
port
);
void
AddNetworkChannelServer
(
char
*
server
);
void
InterfaceRefresh
(
bool
All
=
false
);
void
EnabledEvent
(
string
type
,
bool
state
);
...
...
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