Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
8c7c961f
Commit
8c7c961f
authored
Dec 21, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Fix the SINGLE Item mode of the Media Information! Be Carefull again !
parent
ba836c7e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
modules/gui/qt4/dialogs/mediainfo.cpp
modules/gui/qt4/dialogs/mediainfo.cpp
+17
-3
No files found.
modules/gui/qt4/dialogs/mediainfo.cpp
View file @
8c7c961f
...
...
@@ -33,6 +33,11 @@
MediaInfoDialog
*
MediaInfoDialog
::
instance
=
NULL
;
/* This Dialog has two main modes:
- General Mode that shows the current Played item, and the stats
- Single mode that shows the info on ONE SINGLE Item on the playlist
Please be Careful of not breaking one the modes behaviour... */
MediaInfoDialog
::
MediaInfoDialog
(
intf_thread_t
*
_p_intf
,
input_item_t
*
_p_item
,
bool
_mainInput
,
...
...
@@ -89,11 +94,20 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf,
CONNECT
(
IT
,
currentChanged
(
int
),
this
,
updateButtons
(
int
)
);
CONNECT
(
THEMIM
,
inputChanged
(
input_thread_t
*
),
this
,
update
(
input_thread_t
*
)
);
/* If using the General Mode */
if
(
!
p_item
)
{
msg_Dbg
(
p_intf
,
"Using a general windows"
);
CONNECT
(
THEMIM
,
inputChanged
(
input_thread_t
*
),
this
,
update
(
input_thread_t
*
)
);
p_item
=
input_GetItem
(
THEMIM
->
getInput
()
);
}
/* Call update by hand, so info is shown from current item too */
if
(
THEMIM
->
getInput
()
)
update
(
input_GetItem
(
THEMIM
->
getInput
()
),
true
,
true
);
if
(
p_item
)
update
(
p_item
,
true
,
true
);
if
(
stats
)
ON_TIMEOUT
(
updateOnTimeOut
()
);
}
...
...
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