Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 17ae9818 authored by Ray Essick's avatar Ray Essick Committed by Automerger Merge Worker
Browse files

Merge "MediaMuxer: Make MediaMuxer's default constructor as private" am: dd3b6e20 am: 856bd297

parents 652ad599 856bd297
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -56,10 +56,6 @@ public:
     */
    static MediaMuxer* create(int fd, OutputFormat format);

    // Construct the muxer with the file descriptor. Note that the MediaMuxer
    // will close this file at stop().
    MediaMuxer(int fd, OutputFormat format);

    virtual ~MediaMuxer();

    /**
@@ -135,6 +131,11 @@ public:
    sp<AMessage> getTrackFormat(size_t idx);

private:
    // Construct the muxer with the file descriptor. Note that the MediaMuxer
    // will close this file at stop().
    // This constructor is made private to ensure that MediaMuxer::create() is used instead.
    MediaMuxer(int fd, OutputFormat format);

    const OutputFormat mFormat;
    sp<MediaWriter> mWriter;
    Vector< sp<MediaAdapter> > mTrackList;  // Each track has its MediaAdapter.