mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-01 23:57:37 +08:00
Unified code style (#2137)
This commit is contained in:
@@ -18,7 +18,7 @@ namespace mediakit {
|
||||
|
||||
class MP4Demuxer : public TrackSource {
|
||||
public:
|
||||
typedef std::shared_ptr<MP4Demuxer> Ptr;
|
||||
using Ptr = std::shared_ptr<MP4Demuxer>;
|
||||
|
||||
/**
|
||||
* 创建mp4解复用器
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user