libeplayer3: limit video frame skipping to network streams

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

View File

@@ -78,6 +78,7 @@ bool Player::Open(const char *Url, bool _noprobe)
isHttp = true;
} else if (strstr(Url, "://")) {
url = Url;
isHttp = strncmp("file://", Url, 7);
} else {
fprintf(stderr, "%s %s %d: Unknown stream (%s)\n", __FILE__, __func__, __LINE__, Url);
return false;