mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
libeplayer3: cleanup AVFormatContext propagation to writers
Origin commit data
------------------
Branch: master
Commit: e2e5582c64
Author: martii <m4rtii@gmx.de>
Date: 2014-05-01 (Thu, 01 May 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -44,13 +44,12 @@ struct Track
|
||||
{
|
||||
std::string title;
|
||||
int pid;
|
||||
AVFormatContext *avfc;
|
||||
AVStream *stream;
|
||||
bool inactive;
|
||||
bool is_static;
|
||||
int ac3flags;
|
||||
int type, mag, page; // for teletext
|
||||
Track() : pid(-1), avfc(NULL), stream(NULL), inactive(0), is_static(0), ac3flags(0) {}
|
||||
Track() : pid(-1), stream(NULL), inactive(0), is_static(0), ac3flags(0) {}
|
||||
};
|
||||
|
||||
class Manager
|
||||
|
@@ -74,7 +74,7 @@ class Output
|
||||
bool GetFrameCount(int64_t &framecount);
|
||||
bool SwitchAudio(AVStream *stream);
|
||||
bool SwitchVideo(AVStream *stream);
|
||||
bool Write(AVFormatContext *avfc, AVStream *stream, AVPacket *packet, int64_t Pts);
|
||||
bool Write(AVStream *stream, AVPacket *packet, int64_t Pts);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@@ -47,6 +47,6 @@ class Writer
|
||||
static Writer *GetWriter(enum AVCodecID id, enum AVMediaType codec_type);
|
||||
|
||||
virtual void Init(void) { }
|
||||
virtual bool Write(int fd, AVFormatContext *avfc, AVStream *stream, AVPacket *packet, int64_t pts);
|
||||
virtual bool Write(int fd, AVStream *stream, AVPacket *packet, int64_t pts);
|
||||
};
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user