libeplayer3: limit video frame skipping to network streams

This commit is contained in:
martii
2014-05-02 15:05:47 +02:00
parent 84e5a47f24
commit d2de1050ba
2 changed files with 4 additions and 1 deletions

View File

@@ -88,7 +88,9 @@ bool Input::Play()
int warnAudioWrite = 0;
int warnVideoWrite = 0;
bool audioSeen = !audioTrack; // HACK: Drop all video frames until the first audio frame was seen to keep player2 from stuttering.
// HACK: Drop all video frames until the first audio frame was seen to keep player2 from stuttering.
// This seems to be necessary for network streaming only ...
bool audioSeen = !audioTrack || !player->isHttp;
while (player->isPlaying && !player->abortRequested) {