diff options
author | James Dong <jdong@google.com> | 2012-01-12 12:12:40 -0800 |
---|---|---|
committer | James Dong <jdong@google.com> | 2012-01-12 15:53:01 -0800 |
commit | daeb5b33861147fda0096f9c794be6f341d884c2 (patch) | |
tree | 434128fd7151191d8718a57da09d3b019e874915 /libvideoeditor/lvpp/VideoEditorPreviewController.cpp | |
parent | 8dcbd11c186e26b67de813adaec66dd578415cd7 (diff) | |
download | frameworks_av-daeb5b33861147fda0096f9c794be6f341d884c2.zip frameworks_av-daeb5b33861147fda0096f9c794be6f341d884c2.tar.gz frameworks_av-daeb5b33861147fda0096f9c794be6f341d884c2.tar.bz2 |
Remove streaming related logic from preview player.
Video editor engine only deals with local file playback/preview.
Change-Id: I8e3414abf8a109a77a1e34a959fb4a090612ae3d
related-to-bug: 5857057
Diffstat (limited to 'libvideoeditor/lvpp/VideoEditorPreviewController.cpp')
-rwxr-xr-x | libvideoeditor/lvpp/VideoEditorPreviewController.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libvideoeditor/lvpp/VideoEditorPreviewController.cpp b/libvideoeditor/lvpp/VideoEditorPreviewController.cpp index acb9904..8c4c721 100755 --- a/libvideoeditor/lvpp/VideoEditorPreviewController.cpp +++ b/libvideoeditor/lvpp/VideoEditorPreviewController.cpp @@ -959,8 +959,9 @@ M4OSA_ERR VideoEditorPreviewController::preparePlayer( ALOGV("preparePlayer: instance %d file %d", playerInstance, index); - pController->mVePlayer[playerInstance]->setDataSource( - (const char *)pController->mClipList[index]->pFile, NULL); + const char* fileName = (const char*) pController->mClipList[index]->pFile; + pController->mVePlayer[playerInstance]->setDataSource(fileName, NULL); + ALOGV("preparePlayer: setDataSource instance %s", (const char *)pController->mClipList[index]->pFile); |