Loading media/libstagefright/include/media/stagefright/MediaMuxer.h +5 −4 Original line number Original line Diff line number Diff line Loading @@ -56,10 +56,6 @@ public: */ */ static MediaMuxer* create(int fd, OutputFormat format); 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(); virtual ~MediaMuxer(); /** /** Loading Loading @@ -135,6 +131,11 @@ public: sp<AMessage> getTrackFormat(size_t idx); sp<AMessage> getTrackFormat(size_t idx); private: 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; const OutputFormat mFormat; sp<MediaWriter> mWriter; sp<MediaWriter> mWriter; Vector< sp<MediaAdapter> > mTrackList; // Each track has its MediaAdapter. Vector< sp<MediaAdapter> > mTrackList; // Each track has its MediaAdapter. Loading Loading
media/libstagefright/include/media/stagefright/MediaMuxer.h +5 −4 Original line number Original line Diff line number Diff line Loading @@ -56,10 +56,6 @@ public: */ */ static MediaMuxer* create(int fd, OutputFormat format); 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(); virtual ~MediaMuxer(); /** /** Loading Loading @@ -135,6 +131,11 @@ public: sp<AMessage> getTrackFormat(size_t idx); sp<AMessage> getTrackFormat(size_t idx); private: 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; const OutputFormat mFormat; sp<MediaWriter> mWriter; sp<MediaWriter> mWriter; Vector< sp<MediaAdapter> > mTrackList; // Each track has its MediaAdapter. Vector< sp<MediaAdapter> > mTrackList; // Each track has its MediaAdapter. Loading