Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
f927470d
Commit
f927470d
authored
Aug 20, 2003
by
Cyril Deguet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fixed an internal error with stupid gcc2.95
parent
eead4323
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
modules/gui/wxwindows/subtitles.cpp
modules/gui/wxwindows/subtitles.cpp
+7
-5
No files found.
modules/gui/wxwindows/subtitles.cpp
View file @
f927470d
...
...
@@ -2,7 +2,7 @@
* subtitles.cpp : wxWindows plugin for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* $Id: subtitles.cpp,v 1.
4 2003/08/10 10:22:52 gbazin
Exp $
* $Id: subtitles.cpp,v 1.
5 2003/08/20 21:59:01 asmax
Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -158,8 +158,9 @@ SubsFileDialog::SubsFileDialog( intf_thread_t *_p_intf, wxWindow* _p_parent ):
wxStaticText
*
label
=
new
wxStaticText
(
panel
,
-
1
,
wxU
(
_
(
"Delay subtitles (in 1/10s)"
)));
int
i_delay
=
config_GetInt
(
p_intf
,
"sub-delay"
);
delay_spinctrl
=
new
wxSpinCtrl
(
panel
,
-
1
,
wxString
::
Format
(
wxT
(
"%d"
),
i_delay
),
/* Outside the new wxSpinCtrl to avoid an internal error in gcc2.95 ! */
wxString
format_delay
(
wxString
::
Format
(
wxT
(
"%d"
),
i_delay
));
delay_spinctrl
=
new
wxSpinCtrl
(
panel
,
-
1
,
format_delay
,
wxDefaultPosition
,
wxDefaultSize
,
wxSP_ARROW_KEYS
,
-
650000
,
650000
,
i_delay
);
...
...
@@ -170,8 +171,9 @@ SubsFileDialog::SubsFileDialog( intf_thread_t *_p_intf, wxWindow* _p_parent ):
label
=
new
wxStaticText
(
panel
,
-
1
,
wxU
(
_
(
"Frames per second"
)));
float
f_fps
=
config_GetFloat
(
p_intf
,
"sub-fps"
);
fps_spinctrl
=
new
wxSpinCtrl
(
panel
,
-
1
,
wxString
::
Format
(
wxT
(
"%d"
),(
int
)
f_fps
),
/* Outside the new wxSpinCtrl to avoid an internal error in gcc2.95 ! */
wxString
format_fps
(
wxString
::
Format
(
wxT
(
"%d"
),(
int
)
f_fps
));
fps_spinctrl
=
new
wxSpinCtrl
(
panel
,
-
1
,
format_fps
,
wxDefaultPosition
,
wxDefaultSize
,
wxSP_ARROW_KEYS
,
0
,
16000
,
(
int
)
f_fps
);
...
...
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