Unified code style (#2137)

This commit is contained in:
老衲不出家
2022-12-02 14:43:06 +08:00
committed by GitHub
parent a12b7c8021
commit f05a9501fa
62 changed files with 166 additions and 149 deletions

View File

@@ -18,7 +18,7 @@ namespace mediakit {
class MP4Demuxer : public TrackSource {
public:
typedef std::shared_ptr<MP4Demuxer> Ptr;
using Ptr = std::shared_ptr<MP4Demuxer>;
/**
* 创建mp4解复用器

View File

@@ -84,7 +84,7 @@ private:
class MP4Muxer : public MP4MuxerInterface{
public:
typedef std::shared_ptr<MP4Muxer> Ptr;
using Ptr = std::shared_ptr<MP4Muxer>;
MP4Muxer() = default;
~MP4Muxer() override;

View File

@@ -15,6 +15,7 @@
#include <memory>
#include "Common/MediaSink.h"
#include "Record/Recorder.h"
#include "MP4Muxer.h"
namespace mediakit {
@@ -60,7 +61,7 @@ private:
std::string _full_path;
std::string _full_path_tmp;
RecordInfo _info;
std::shared_ptr<MP4Muxer> _muxer;
MP4Muxer::Ptr _muxer;
std::list<Track::Ptr> _tracks;
uint64_t _last_dts = 0;
};