Skip to content

Commit

Permalink
so decoder works...
Browse files Browse the repository at this point in the history
still a long way to go
  • Loading branch information
DJ Shaji committed Jan 7, 2024
1 parent b14ecd1 commit 0768709
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/src/main/cpp/camera_engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ void CameraAppEngine::createDecoder () {

AMediaExtractor *ex = AMediaExtractor_new();
media_status_t err = AMediaExtractor_setDataSourceFd(
ex, fd, 0, 120);
ex, fd, 0, 120000);

if (err != AMEDIA_OK) {
LOGV("setDataSource error: %d", err);
Expand Down Expand Up @@ -970,4 +970,8 @@ void CameraAppEngine::createDecoder () {
}

OUT
}

void CameraAppEngine::testEncode () {

}

0 comments on commit 0768709

Please sign in to comment.