Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLMC
Commits
71e3ba5f
Commit
71e3ba5f
authored
Jul 03, 2010
by
Hugo Beauzée-Luyssen
Browse files
ImportController: Fixing progress bar
parent
4a480c3c
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Gui/import/ImportController.cpp
View file @
71e3ba5f
...
...
@@ -159,6 +159,7 @@ ImportController::importMedia( const QString &filePath )
m_temporaryMedias
->
addClip
(
clip
);
++
m_nbMediaToLoad
;
m_ui
->
progressBar
->
setMaximum
(
m_nbMediaToLoad
);
connect
(
media
,
SIGNAL
(
metaDataComputed
(
const
Media
*
)
),
this
,
SLOT
(
mediaLoaded
()
)
);
}
void
...
...
@@ -322,6 +323,7 @@ ImportController::failedToLoad( Media *media )
m_ui
->
errorLabel
->
show
();
QTimer
::
singleShot
(
3000
,
this
,
SLOT
(
hideErrors
()
)
);
m_temporaryMedias
->
deleteClip
(
media
->
baseClip
()
->
uuid
()
);
mediaLoaded
();
}
void
...
...
src/LibVLCpp/VLCInstance.cpp
View file @
71e3ba5f
...
...
@@ -29,7 +29,7 @@ Instance::Instance( QObject* parent /*= NULL*/ ) : QObject( parent )
{
char
const
*
argv
[]
=
{
"-vvvvv"
,
//
"-vvvvv",
"--no-skip-frames"
,
// "--intf", "dummy",
"--text-renderer"
,
"dummy"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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