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
631f3415
Commit
631f3415
authored
Oct 16, 2008
by
Ilkka Ollakka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Missed this, connect mediainfo-stats also inputmanager for statsupdate.
parent
ebec8934
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
16 deletions
+5
-16
modules/gui/qt4/dialogs/mediainfo.cpp
modules/gui/qt4/dialogs/mediainfo.cpp
+4
-15
modules/gui/qt4/dialogs/mediainfo.hpp
modules/gui/qt4/dialogs/mediainfo.hpp
+1
-1
No files found.
modules/gui/qt4/dialogs/mediainfo.cpp
View file @
631f3415
...
@@ -112,7 +112,8 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf,
...
@@ -112,7 +112,8 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf,
update
(
p_item
,
true
,
true
);
update
(
p_item
,
true
,
true
);
if
(
stats
)
if
(
stats
)
ON_TIMEOUT
(
updateOnTimeOut
()
);
CONNECT
(
THEMIM
->
getIM
(),
statisticsUpdated
(
input_item_t
*
),
this
,
updateStats
(
input_item_t
*
));
readSettings
(
"Mediainfo"
,
QSize
(
600
,
480
)
);
readSettings
(
"Mediainfo"
,
QSize
(
600
,
480
)
);
}
}
...
@@ -160,21 +161,9 @@ void MediaInfoDialog::update( input_thread_t *p_input )
...
@@ -160,21 +161,9 @@ void MediaInfoDialog::update( input_thread_t *p_input )
vlc_object_release
(
p_input
);
vlc_object_release
(
p_input
);
}
}
void
MediaInfoDialog
::
update
OnTimeOut
(
)
void
MediaInfoDialog
::
update
Stats
(
input_item_t
*
p_input
)
{
{
/* Timer runs at 150 ms, dont' update more than 2 times per second
update
(
p_input
,
false
,
false
);
i_runs++;
if( i_runs % 4 != 0 ) return;*/
/* Get Input and clear if non-existant */
input_thread_t
*
p_input
=
THEMIM
->
getInput
();
if
(
p_input
&&
!
p_input
->
b_dead
)
{
vlc_object_hold
(
p_input
);
update
(
input_GetItem
(
p_input
),
false
,
false
);
vlc_object_release
(
p_input
);
}
}
}
void
MediaInfoDialog
::
update
(
input_item_t
*
p_item
,
void
MediaInfoDialog
::
update
(
input_item_t
*
p_item
,
...
...
modules/gui/qt4/dialogs/mediainfo.hpp
View file @
631f3415
...
@@ -86,7 +86,7 @@ public slots:
...
@@ -86,7 +86,7 @@ public slots:
void
update
(
input_item_t
*
,
bool
,
bool
);
void
update
(
input_item_t
*
,
bool
,
bool
);
private
slots
:
private
slots
:
void
update
OnTimeOut
(
);
void
update
Stats
(
input_item_t
*
);
void
close
();
void
close
();
void
clear
();
void
clear
();
void
saveMeta
();
void
saveMeta
();
...
...
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