summaryrefslogtreecommitdiffstats
path: root/libvideoeditor/vss
diff options
context:
space:
mode:
authorDheeraj Sharma <dheerajs@google.com>2011-01-27 19:31:28 -0800
committerDheeraj Sharma <dheerajs@google.com>2011-01-28 09:49:59 -0800
commiteab39fb973444f2c03b0e92d4df263b83c31f71b (patch)
tree2a292dbcb85aba631a6eb9158db1b80c21d86bea /libvideoeditor/vss
parent78554cc3ef73938202f79a9fd3c86b109d2d73f1 (diff)
downloadframeworks_av-eab39fb973444f2c03b0e92d4df263b83c31f71b.zip
frameworks_av-eab39fb973444f2c03b0e92d4df263b83c31f71b.tar.gz
frameworks_av-eab39fb973444f2c03b0e92d4df263b83c31f71b.tar.bz2
Merging on top of new sync
VideoEditor:Fix for issue 3378727 Change-Id: Iff7d13689b436cda2b2073625a786322945b3edc
Diffstat (limited to 'libvideoeditor/vss')
-rwxr-xr-xlibvideoeditor/vss/stagefrightshells/src/VideoEditorMp3Reader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvideoeditor/vss/stagefrightshells/src/VideoEditorMp3Reader.cpp b/libvideoeditor/vss/stagefrightshells/src/VideoEditorMp3Reader.cpp
index a07bf47..322881a 100755
--- a/libvideoeditor/vss/stagefrightshells/src/VideoEditorMp3Reader.cpp
+++ b/libvideoeditor/vss/stagefrightshells/src/VideoEditorMp3Reader.cpp
@@ -165,8 +165,7 @@ M4OSA_ERR VideoEditorMp3Reader_open(M4OSA_Context context,
LOGV("VideoEditorMp3Reader_open Datasource start %s",
(char*)pFileDescriptor);
- pReaderContext->mDataSource = DataSource::CreateFromURI(
- (char*)pFileDescriptor);
+ pReaderContext->mDataSource = new FileSource ((char*)pFileDescriptor);
LOGV("VideoEditorMp3Reader_open Datasource end");
if (pReaderContext->mDataSource == NULL) {
@@ -230,6 +229,7 @@ M4OSA_ERR VideoEditorMp3Reader_close(M4OSA_Context context) {
pReaderContext->mMediaSource->stop();
pReaderContext->mMediaSource.clear();
+ pReaderContext->mExtractor.clear();
pReaderContext->mDataSource.clear();
LOGV("VideoEditorMp3Reader_close end ");