diff options
-rw-r--r-- | libvideoeditor/lvpp/PreviewPlayer.cpp | 13 | ||||
-rw-r--r-- | libvideoeditor/lvpp/PreviewPlayer.h | 1 |
2 files changed, 0 insertions, 14 deletions
diff --git a/libvideoeditor/lvpp/PreviewPlayer.cpp b/libvideoeditor/lvpp/PreviewPlayer.cpp index d0b84d8..7d08a9f 100644 --- a/libvideoeditor/lvpp/PreviewPlayer.cpp +++ b/libvideoeditor/lvpp/PreviewPlayer.cpp @@ -27,7 +27,6 @@ #include "DummyAudioSource.h" #include "DummyVideoSource.h" #include "VideoEditorSRC.h" -#include "include/LiveSession.h" #include "include/NuCachedSource2.h" #include "include/ThrottledSource.h" @@ -452,18 +451,6 @@ void PreviewPlayer::reset_l() { } } -void PreviewPlayer::partial_reset_l() { - - if (mLastVideoBuffer) { - mLastVideoBuffer->release(); - mLastVideoBuffer = NULL; - } - - /* call base struct */ - AwesomePlayer::partial_reset_l(); - -} - status_t PreviewPlayer::play() { Mutex::Autolock autoLock(mLock); diff --git a/libvideoeditor/lvpp/PreviewPlayer.h b/libvideoeditor/lvpp/PreviewPlayer.h index e06836e..dceffab 100644 --- a/libvideoeditor/lvpp/PreviewPlayer.h +++ b/libvideoeditor/lvpp/PreviewPlayer.h @@ -118,7 +118,6 @@ private: status_t setDataSource_l( const char *uri, const KeyedVector<String8, String8> *headers); void reset_l(); - void partial_reset_l(); status_t play_l(); status_t initRenderer_l(); status_t initAudioDecoder(); |