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
11a1940b
Commit
11a1940b
authored
Dec 23, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add extra debug to chase #934
parent
25346010
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
modules/gui/qt4/input_manager.cpp
modules/gui/qt4/input_manager.cpp
+9
-3
No files found.
modules/gui/qt4/input_manager.cpp
View file @
11a1940b
...
...
@@ -82,6 +82,7 @@ void InputManager::update()
if
(
p_input
->
b_dead
||
p_input
->
b_die
)
{
emit
positionUpdated
(
0.0
,
0
,
0
);
msg_Dbg
(
p_intf
,
"*********** NAV 0"
);
emit
navigationChanged
(
0
);
emit
statusChanged
(
0
);
// 0 = STOPPED, 1 = PLAY, 2 = PAUSE
}
...
...
@@ -100,21 +101,26 @@ void InputManager::update()
emit
positionUpdated
(
f_pos
,
i_time
,
i_length
);
/* Update disc status */
vlc_value_t
val
;
vlc_value_t
val
;
val
.
i_int
=
0
;
var_Change
(
p_input
,
"title"
,
VLC_VAR_CHOICESCOUNT
,
&
val
,
NULL
);
if
(
val
.
i_int
>
0
)
{
v
lc_value_t
val
;
v
al
.
i_int
=
0
;
var_Change
(
p_input
,
"chapter"
,
VLC_VAR_CHOICESCOUNT
,
&
val
,
NULL
);
if
(
val
.
i_int
>
0
)
{
msg_Dbg
(
p_intf
,
"******* CHAPTER"
);
emit
navigationChanged
(
1
);
// 1 = chapter, 2 = title, 0 = NO
}
else
{
msg_Dbg
(
p_intf
,
"******* TITLE"
);
emit
navigationChanged
(
2
);
}
}
else
{
msg_Dbg
(
p_intf
,
"******** NONE"
);
emit
navigationChanged
(
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