Commit 1513e9a8 by ziyue

Revert "忽略某些流声明存在却没实质数据的track"

This reverts commit b4207240.
parent 6f92ef2f
......@@ -147,12 +147,7 @@ public:
* 是否已经初始化
*/
bool ready() override {
return _ready;
}
bool inputFrame(const Frame::Ptr &frame) override {
_ready = true;
return AudioTrack::inputFrame(frame);
return true;
}
/**
......@@ -176,7 +171,6 @@ public:
return _channels;
}
private:
bool _ready = false;
CodecId _codecid;
int _sample_rate;
int _channels;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论