mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 20:47:08 +08:00
优化代码风格
This commit is contained in:
parent
fb5b31a85f
commit
a0955d956a
@ -90,7 +90,7 @@ using H264FrameNoCacheAble = H264FrameHelper<FrameFromPtr>;
|
|||||||
/**
|
/**
|
||||||
* 264视频通道
|
* 264视频通道
|
||||||
*/
|
*/
|
||||||
class H264Track : public VideoTrack{
|
class H264Track : public VideoTrack {
|
||||||
public:
|
public:
|
||||||
using Ptr = std::shared_ptr<H264Track>;
|
using Ptr = std::shared_ptr<H264Track>;
|
||||||
|
|
||||||
|
@ -80,17 +80,17 @@ public:
|
|||||||
/**
|
/**
|
||||||
* 返回视频高度
|
* 返回视频高度
|
||||||
*/
|
*/
|
||||||
virtual int getVideoHeight() const {return 0;};
|
virtual int getVideoHeight() const { return 0; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 返回视频宽度
|
* 返回视频宽度
|
||||||
*/
|
*/
|
||||||
virtual int getVideoWidth() const {return 0;};
|
virtual int getVideoWidth() const { return 0; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 返回视频fps
|
* 返回视频fps
|
||||||
*/
|
*/
|
||||||
virtual float getVideoFps() const {return 0;};
|
virtual float getVideoFps() const { return 0; }
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user