Disabled some debugging left-over from the recent commits.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34128 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -667,13 +667,11 @@ Controller::SetPosition(float value)
|
|||||||
void
|
void
|
||||||
Controller::SetFramePosition(int32 value)
|
Controller::SetFramePosition(int32 value)
|
||||||
{
|
{
|
||||||
printf("Controller::SetFramePosition(%ld)\n", value);
|
|
||||||
BAutolock _(this);
|
BAutolock _(this);
|
||||||
|
|
||||||
int32 seekFrame = max_c(0, min_c(Duration(), value));
|
int32 seekFrame = max_c(0, min_c(Duration(), value));
|
||||||
int32 currentFrame = CurrentFrame();
|
int32 currentFrame = CurrentFrame();
|
||||||
if (seekFrame != currentFrame) {
|
if (seekFrame != currentFrame) {
|
||||||
printf(" adjusted seek frame\n");
|
|
||||||
fSeekFrame = seekFrame;
|
fSeekFrame = seekFrame;
|
||||||
fSeekRequested = true;
|
fSeekRequested = true;
|
||||||
SetCurrentFrame(seekFrame);
|
SetCurrentFrame(seekFrame);
|
||||||
|
|||||||
Reference in New Issue
Block a user