Calling TrickSpeed without decoder can happen.

This commit is contained in:
Johns 2012-04-01 17:04:16 +02:00
parent f86fa4edd7
commit 413983a666

View File

@ -1905,7 +1905,8 @@ void TrickSpeed(int speed)
if (MyHwDecoder) { if (MyHwDecoder) {
VideoSetTrickSpeed(MyHwDecoder, speed); VideoSetTrickSpeed(MyHwDecoder, speed);
} else { } else {
Error(_("softhddev: %s called without hw decoder\n"), __FUNCTION__); // can happen, during startup
Debug(3, "softhddev: %s called without hw decoder\n", __FUNCTION__);
} }
StreamFreezed = 0; StreamFreezed = 0;
} }