fix local-tv

Origin commit data
------------------
Branch: master
Commit: 2e2b406af5
Author: max_10 <max_10@gmx.de>
Date: 2016-06-25 (Sat, 25 Jun 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
max_10
2016-06-25 15:16:41 +02:00
parent bced5efe5b
commit d5517a733c

View File

@@ -72,6 +72,9 @@ bool cPlayback::Start(char *filename, int vpid, int vtype, int apid, int ac3, in
file = "file://";
file += filename;
if (file.find(":31339/id=") != std::string::npos) // for LocalTV streaming
no_probe = true;
if (file.substr(0, 7) == "file://") {
if (file.substr(file.length() - 3) == ".ts") {
fn_ts = file.substr(7);