diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/media/stagefright/MediaSync.h | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/include/media/stagefright/MediaSync.h b/include/media/stagefright/MediaSync.h index 1b7d7e8..4b5cd05 100644 --- a/include/media/stagefright/MediaSync.h +++ b/include/media/stagefright/MediaSync.h @@ -104,6 +104,9 @@ public:      // MediaClock::getMediaTime() and MediaClock::getRealTimeFor().      sp<const MediaClock> getMediaClock(); +    // Flush mediasync +    void flush(); +      // Set the video frame rate hint - this is used by the video FrameScheduler      status_t setVideoFrameRateHint(float rate); @@ -195,6 +198,7 @@ private:      sp<IGraphicBufferProducer> mOutput;      int mUsageFlagsFromOutput;      uint32_t mMaxAcquiredBufferCount; // max acquired buffer count +    bool mReturnPendingInputFrame;    // set while we are pending before acquiring an input frame      sp<AudioTrack> mAudioTrack;      uint32_t mNativeSampleRateInHz;  | 
