mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
libeplayer3: work around duplicate ffmpeg stream ids by comparing stream addresses instead of pids (plus a couple of optimizations)
This commit is contained in:
@@ -72,10 +72,7 @@ bool Player::Open(const char *Url, bool _noprobe)
|
||||
|
||||
manager.clearTracks();
|
||||
|
||||
if (*Url == '/') {
|
||||
url = "file://";
|
||||
url += Url;
|
||||
} else if (!strncmp("mms://", Url, 6)) {
|
||||
if (!strncmp("mms://", Url, 6)) {
|
||||
url = "mmst";
|
||||
url += Url + 3;
|
||||
isHttp = true;
|
||||
@@ -207,7 +204,6 @@ bool Player::Stop()
|
||||
bool ret = true;
|
||||
|
||||
if (isPlaying) {
|
||||
|
||||
isPaused = false;
|
||||
isPlaying = false;
|
||||
isForwarding = false;
|
||||
|
Reference in New Issue
Block a user