Enable aac writer and use resmpling for some AAC streams thx Taapat and technik

Origin commit data
------------------
Branch: master
Commit: 73483990f8
Author: schpuntik <schpuntik@freenet.de>
Date: 2016-10-28 (Fri, 28 Oct 2016)

Origin message was:
------------------
Enable aac writer and use resmpling for some AAC streams thx Taapat and technik

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

------------------
This commit was generated by Migit
This commit is contained in:
schpuntik
2016-10-28 23:42:58 +02:00
parent 564c981889
commit 7c88ee32fa
7 changed files with 116 additions and 73 deletions

View File

@@ -49,7 +49,7 @@ class Output
int audiofd;
Writer *videoWriter, *audioWriter;
Mutex audioMutex, videoMutex;
AVStream *audioStream, *videoStream;
Track *audioTrack, *videoTrack;
Player *player;
public:
Output();
@@ -70,8 +70,8 @@ class Output
bool ClearVideo();
bool GetPts(int64_t &pts);
bool GetFrameCount(int64_t &framecount);
bool SwitchAudio(AVStream *stream);
bool SwitchVideo(AVStream *stream);
bool SwitchAudio(Track *track);
bool SwitchVideo(Track *track);
bool Write(AVStream *stream, AVPacket *packet, int64_t Pts);
};