Disallow Copy and Assign For WebVTT Output
We don't want to allow any handler to be copyable or assigned-over so this change enforces that for the webvtt output handler. Change-Id: Ie0d59d6dbfb7a5e00bb4dd1422cd696d1a2d6072
This commit is contained in:
parent
b3c148607f
commit
d56efd147a
|
@ -23,10 +23,11 @@ class WebVttTextOutputHandler : public MediaHandler {
|
||||||
public:
|
public:
|
||||||
WebVttTextOutputHandler(const MuxerOptions& muxer_options,
|
WebVttTextOutputHandler(const MuxerOptions& muxer_options,
|
||||||
std::unique_ptr<MuxerListener> muxer_listener);
|
std::unique_ptr<MuxerListener> muxer_listener);
|
||||||
// TODO(vaage): Add missing default destructor.
|
virtual ~WebVttTextOutputHandler() = default;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// TODO(vaage): Add missing deleted copy and assign constructors.
|
WebVttTextOutputHandler(const WebVttTextOutputHandler&) = delete;
|
||||||
|
WebVttTextOutputHandler& operator=(const WebVttTextOutputHandler&) = delete;
|
||||||
|
|
||||||
Status InitializeInternal() override;
|
Status InitializeInternal() override;
|
||||||
Status Process(std::unique_ptr<StreamData> stream_data) override;
|
Status Process(std::unique_ptr<StreamData> stream_data) override;
|
||||||
|
|
Loading…
Reference in New Issue