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
a8bded2e
Commit
a8bded2e
authored
Mar 29, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/gui/wxwindows/*: small fixes to the open and streamout dialogs.
parent
7755dab3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
13 deletions
+16
-13
modules/gui/wxwindows/open.cpp
modules/gui/wxwindows/open.cpp
+5
-1
modules/gui/wxwindows/streamout.cpp
modules/gui/wxwindows/streamout.cpp
+11
-12
No files found.
modules/gui/wxwindows/open.cpp
View file @
a8bded2e
...
...
@@ -2,7 +2,7 @@
* open.cpp : wxWindows plugin for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* $Id: open.cpp,v 1.
7 2003/03/29 01:50:12
gbazin Exp $
* $Id: open.cpp,v 1.
8 2003/03/29 11:15:14
gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -243,6 +243,10 @@ OpenDialog::OpenDialog( intf_thread_t *_p_intf, Interface *_p_main_interface,
wxCommandEvent
dummy_event
;
OnDiscTypeChange
(
dummy_event
);
/* Update Net panel */
dummy_event
.
SetId
(
NetRadio1_Event
);
OnNetTypeChange
(
dummy_event
);
/* Update MRL */
wxNotebookEvent
event
=
wxNotebookEvent
(
wxEVT_NULL
,
0
,
i_access_method
);
OnPageChange
(
event
);
...
...
modules/gui/wxwindows/streamout.cpp
View file @
a8bded2e
...
...
@@ -2,7 +2,7 @@
* streamout.cpp : wxWindows plugin for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* $Id: streamout.cpp,v 1.
2 2003/03/22 11:21:58
gbazin Exp $
* $Id: streamout.cpp,v 1.
3 2003/03/29 11:15:14
gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -229,15 +229,13 @@ void SoutDialog::UpdateMRL()
break
;
case
UDP_ACCESS_OUT
:
mrl
=
"udp"
+
encapsulation
+
":"
+
net_addr
->
GetLineText
(
0
)
+
wxString
::
Format
(
":%d"
,
net_port
->
GetValue
()
);
break
;
case
RTP_ACCESS_OUT
:
mrl
=
"rtp"
+
encapsulation
+
":"
+
net_addr
->
GetLineText
(
0
)
+
wxString
::
Format
(
":%d"
,
net_port
->
GetValue
()
);
mrl
=
(
i_access_type
==
UDP_ACCESS_OUT
)
?
"udp"
:
"rtp"
;
mrl
+=
encapsulation
+
":"
+
net_addr
->
GetLineText
(
0
);
if
(
net_port
->
GetValue
()
!=
config_GetInt
(
p_intf
,
"server-port"
)
)
{
mrl
+=
wxString
::
Format
(
":%d"
,
net_port
->
GetValue
()
);
}
break
;
}
...
...
@@ -301,12 +299,13 @@ wxPanel *SoutDialog::AccessPanel( wxWindow* parent )
subpanel_sizer
->
Add
(
net_addr
,
1
,
wxEXPAND
|
wxALIGN_LEFT
|
wxALIGN_CENTER_VERTICAL
);
int
val
=
config_GetInt
(
p_intf
,
"server-port"
);
label
=
new
wxStaticText
(
access_subpanels
[
2
],
-
1
,
_
(
"Port"
)
);
net_port
=
new
wxSpinCtrl
(
access_subpanels
[
2
],
NetPort_Event
,
wxString
::
Format
(
_
(
"%d"
),
0
/*val*/
),
wxString
::
Format
(
_
(
"%d"
),
val
),
wxDefaultPosition
,
wxDefaultSize
,
wxSP_ARROW_KEYS
,
0
,
16000
,
0
/*val*/
);
0
,
16000
,
val
);
subpanel_sizer
->
Add
(
label
,
0
,
wxALIGN_RIGHT
|
wxALIGN_CENTER_VERTICAL
);
subpanel_sizer
->
Add
(
net_port
,
0
,
...
...
@@ -357,7 +356,7 @@ wxPanel *SoutDialog::EncapsulationPanel( wxWindow* parent )
new
wxRadioButton
(
panel
,
EncapsulationRadio1_Event
+
i
,
encapsulation_array
[
i
]
);
panel_sizer
->
Add
(
encapsulation_radios
[
i
],
0
,
wxALIGN_LEFT
|
wxALIGN_CENTER_VERTICAL
);
wxALIGN_LEFT
|
wxALIGN_CENTER_VERTICAL
,
5
);
}
panel
->
SetSizerAndFit
(
panel_sizer
);
...
...
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