mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 07:23:11 +02:00
libeplayer3: implement multi-program support
This commit is contained in:
@@ -51,14 +51,15 @@ class WriterVC1 : public Writer
|
||||
AVStream *stream;
|
||||
public:
|
||||
bool Write(AVPacket *packet, int64_t pts);
|
||||
void Init(int _fd, AVStream *_stream);
|
||||
void Init(int _fd, AVStream *_stream, Player *_player);
|
||||
WriterVC1();
|
||||
};
|
||||
|
||||
void WriterVC1::Init(int _fd, AVStream *_stream)
|
||||
void WriterVC1::Init(int _fd, AVStream *_stream, Player *_player)
|
||||
{
|
||||
fd = _fd;
|
||||
stream = _stream;
|
||||
player = _player;
|
||||
initialHeader = true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user