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
803ac430
Commit
803ac430
authored
May 27, 2009
by
Hugo Beauzee-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed debug
parent
5d71c5cc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/Workflow/ClipWorkflow.cpp
src/Workflow/ClipWorkflow.cpp
+3
-3
No files found.
src/Workflow/ClipWorkflow.cpp
View file @
803ac430
...
...
@@ -126,13 +126,13 @@ void ClipWorkflow::initialize( LibVLCpp::MediaPlayer* mediaPlayer )
connect
(
m_mediaPlayer
,
SIGNAL
(
playing
()
),
this
,
SLOT
(
setPosition
()
),
Qt
::
DirectConnection
);
connect
(
m_mediaPlayer
,
SIGNAL
(
endReached
()
),
this
,
SLOT
(
endReached
()
),
Qt
::
DirectConnection
);
qDebug
()
<<
"Launching playback"
;
//
qDebug() << "Launching playback";
m_mediaPlayer
->
play
();
}
void
ClipWorkflow
::
setPosition
()
{
qDebug
()
<<
"Setting position"
;
//
qDebug() << "Setting position";
disconnect
(
m_mediaPlayer
,
SIGNAL
(
playing
()
),
this
,
SLOT
(
setPosition
()
)
);
connect
(
m_mediaPlayer
,
SIGNAL
(
positionChanged
()
),
this
,
SLOT
(
pauseAfterPlaybackStarted
()
),
Qt
::
DirectConnection
);
m_mediaPlayer
->
setPosition
(
m_clip
->
getBegin
()
);
...
...
@@ -144,7 +144,7 @@ void ClipWorkflow::pauseAfterPlaybackStarted()
disconnect
(
m_mediaPlayer
,
SIGNAL
(
playing
()
),
this
,
SLOT
(
pauseAfterPlaybackStarted
()
)
);
connect
(
m_mediaPlayer
,
SIGNAL
(
paused
()
),
this
,
SLOT
(
pausedMediaPlayer
()
),
Qt
::
DirectConnection
);
qDebug
()
<<
"pausing media"
;
//
qDebug() << "pausing media";
m_mediaPlayer
->
pause
();
}
...
...
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