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
0b0379db
Commit
0b0379db
authored
Jul 19, 2008
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix displaying of teletext buttons.
parent
fb2b7fc5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.cpp
+1
-0
modules/gui/qt4/input_manager.cpp
modules/gui/qt4/input_manager.cpp
+5
-5
No files found.
modules/gui/qt4/components/interface_widgets.cpp
View file @
0b0379db
...
@@ -684,6 +684,7 @@ void ControlsWidget::toggleTeletext()
...
@@ -684,6 +684,7 @@ void ControlsWidget::toggleTeletext()
b_telexEnabled
=
true
;
b_telexEnabled
=
true
;
}
}
}
}
void
ControlsWidget
::
enableTeletext
(
bool
b_enable
)
void
ControlsWidget
::
enableTeletext
(
bool
b_enable
)
{
{
telexFrame
->
setVisible
(
b_enable
);
telexFrame
->
setVisible
(
b_enable
);
...
...
modules/gui/qt4/input_manager.cpp
View file @
0b0379db
...
@@ -443,17 +443,17 @@ void InputManager::telexGotoPage( int page )
...
@@ -443,17 +443,17 @@ void InputManager::telexGotoPage( int page )
void
InputManager
::
telexToggle
(
bool
b_enabled
)
void
InputManager
::
telexToggle
(
bool
b_enabled
)
{
{
int
i_page
=
100
;
if
(
hasInput
()
)
if
(
hasInput
()
)
{
{
const
int
i_teletext_es
=
var_GetInteger
(
p_input
,
"teletext-es"
);
const
int
i_teletext_es
=
var_GetInteger
(
p_input
,
"teletext-es"
);
const
int
i_spu_es
=
var_GetInteger
(
p_input
,
"spu-es"
);
const
int
i_spu_es
=
var_GetInteger
(
p_input
,
"spu-es"
);
b_enabled
=
i_teletext_es
>=
0
;
b_enabled
=
(
i_teletext_es
>=
0
);
if
(
b_enabled
&&
i_teletext_es
==
i_spu_es
)
emit
teletextEnabled
(
b_enabled
);
if
(
b_enabled
&&
(
i_teletext_es
==
i_spu_es
)
)
{
{
vlc_object_t
*
p_vbi
;
vlc_object_t
*
p_vbi
;
int
i_page
=
100
;
p_vbi
=
(
vlc_object_t
*
)
vlc_object_find_name
(
p_input
,
p_vbi
=
(
vlc_object_t
*
)
vlc_object_find_name
(
p_input
,
"zvbi"
,
FIND_ANYWHERE
);
"zvbi"
,
FIND_ANYWHERE
);
if
(
p_vbi
)
if
(
p_vbi
)
...
@@ -465,7 +465,7 @@ void InputManager::telexToggle( bool b_enabled )
...
@@ -465,7 +465,7 @@ void InputManager::telexToggle( bool b_enabled )
}
}
}
}
}
}
emit
teletextEnabled
(
b_enabled
);
e
lse
e
mit
teletextEnabled
(
b_enabled
);
}
}
void
InputManager
::
telexToggleButtons
()
void
InputManager
::
telexToggleButtons
()
...
...
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