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
343112c1
Commit
343112c1
authored
Jan 28, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Should fix the hasVideo and hasAudio detection to enable the good buttons.
parent
94e24e9d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
modules/gui/qt4/input_manager.cpp
modules/gui/qt4/input_manager.cpp
+7
-5
No files found.
modules/gui/qt4/input_manager.cpp
View file @
343112c1
...
...
@@ -81,11 +81,6 @@ void InputManager::setInput( input_thread_t *_p_input )
if
(
p_input
)
{
vlc_object_yield
(
p_input
);
vlc_value_t
val
;
var_Change
(
p_input
,
"video-es"
,
VLC_VAR_CHOICESCOUNT
,
&
val
,
NULL
);
b_has_video
=
val
.
i_int
>
0
;
var_Change
(
p_input
,
"audio-es"
,
VLC_VAR_CHOICESCOUNT
,
&
val
,
NULL
);
b_has_audio
=
val
.
i_int
>
0
;
emit
statusChanged
(
PLAYING_S
);
addCallbacks
();
}
...
...
@@ -293,6 +288,13 @@ void InputManager::UpdateMeta( void )
emit
artChanged
(
artUrl
);
}
/* Has Audio, has Video Tracks ? */
vlc_value_t
val
;
var_Change
(
p_input
,
"audio-es"
,
VLC_VAR_CHOICESCOUNT
,
&
val
,
NULL
);
b_has_audio
=
val
.
i_int
>
0
;
var_Change
(
p_input
,
"video-es"
,
VLC_VAR_CHOICESCOUNT
,
&
val
,
NULL
);
b_has_video
=
val
.
i_int
>
0
;
/* Update ZVBI status */
#ifdef ZVBI_COMPILED
/* Update teletext status*/
...
...
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