Commit 873f8bc5 by xiongziliang

精简代码

parent 0087f50a
...@@ -68,10 +68,7 @@ public: ...@@ -68,10 +68,7 @@ public:
_dts = dts; _dts = dts;
_pts = pts; _pts = pts;
_prefix_size = prefix_size; _prefix_size = prefix_size;
} _codec_id = CodecH264;
CodecId getCodecId() const override{
return CodecH264;
} }
bool keyFrame() const override { bool keyFrame() const override {
......
...@@ -92,10 +92,7 @@ public: ...@@ -92,10 +92,7 @@ public:
_dts = dts; _dts = dts;
_pts = pts; _pts = pts;
_prefix_size = prefix_size; _prefix_size = prefix_size;
} _codec_id = CodecH265;
CodecId getCodecId() const override {
return CodecH265;
} }
bool keyFrame() const override { bool keyFrame() const override {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论