libeplayer3/input: stream duration fix

Origin commit data
------------------
Branch: master
Commit: 18d7a15b88
Author: martii <m4rtii@gmx.de>
Date: 2014-04-30 (Wed, 30 Apr 2014)


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

------------------
This commit was generated by Migit
This commit is contained in:
martii
2014-04-30 19:08:30 +02:00
parent 12414c3f12
commit 1eb4d2913f
2 changed files with 5 additions and 22 deletions

View File

@@ -44,14 +44,13 @@ struct Track
{
std::string title;
int pid;
int64_t duration;
AVFormatContext *avfc;
AVStream *stream;
bool inactive;
bool is_static;
int ac3flags;
int type, mag, page; // for teletext
Track() : pid(-1), duration(-1), avfc(NULL), stream(NULL), inactive(0), is_static(0), ac3flags(0) {}
Track() : pid(-1), avfc(NULL), stream(NULL), inactive(0), is_static(0), ac3flags(0) {}
};
class Manager