Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLMC
Commits
6ea9dfb5
Commit
6ea9dfb5
authored
Jan 04, 2010
by
Hugo Beauzee-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed useless flags
parent
db088c95
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
16 deletions
+0
-16
src/Workflow/ClipWorkflow.cpp
src/Workflow/ClipWorkflow.cpp
+0
-4
src/Workflow/ClipWorkflow.h
src/Workflow/ClipWorkflow.h
+0
-12
No files found.
src/Workflow/ClipWorkflow.cpp
View file @
6ea9dfb5
...
...
@@ -30,8 +30,6 @@
ClipWorkflow
::
ClipWorkflow
(
Clip
::
Clip
*
clip
)
:
m_mediaPlayer
(
NULL
),
m_requiredState
(
ClipWorkflow
::
None
),
m_rendering
(
false
),
m_initFlag
(
false
),
m_clip
(
clip
),
m_state
(
ClipWorkflow
::
Stopped
)
{
...
...
@@ -142,8 +140,6 @@ void ClipWorkflow::stop()
QMutexLocker
lock
(
m_requiredStateLock
);
m_requiredState
=
ClipWorkflow
::
None
;
delete
m_vlcMedia
;
m_initFlag
=
false
;
m_rendering
=
false
;
}
else
qDebug
()
<<
"ClipWorkflow has already been stopped"
;
...
...
src/Workflow/ClipWorkflow.h
View file @
6ea9dfb5
...
...
@@ -183,18 +183,6 @@ class ClipWorkflow : public QObject
WaitCondition
*
m_initWaitCond
;
WaitCondition
*
m_pausingStateWaitCond
;
/**
* While this flag is set to false, we will use the same buffer, to prevent
* having X buffers with the same picture (when media player is paused mainly)
*/
bool
m_rendering
;
/**
* This flag is here to avoid multiple connection to the mediaPlayer* slots.
* It's essentially a nasty hack due to the multiples calls to lock/unlock when
* the render is started, and that cannot really be avoided...
*/
bool
m_initFlag
;
protected:
Clip
*
m_clip
;
QMutex
*
m_renderLock
;
...
...
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