Rewrote audio decoding to provide timing information
that is used to sync with video. Separated audio decoding and playing into two threads, the same applies to video decoding and playback. This was inspired from code written by Stephan. Added video decoding and display, added play/pause/stop. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17533 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -199,10 +199,9 @@ MainWin::SetupWindow()
|
||||
fVideoMenu->ItemAt(0)->SetMarked(true);
|
||||
|
||||
if (fHasVideo) {
|
||||
fSourceWidth = 320;
|
||||
fSourceHeight = 240;
|
||||
fWidthScale = 1.24;
|
||||
fHeightScale = 1.35;
|
||||
fController->GetSize(&fSourceWidth, &fSourceHeight);
|
||||
fWidthScale = 1.0;
|
||||
fHeightScale = 1.0;
|
||||
} else {
|
||||
fSourceWidth = 0;
|
||||
fSourceHeight = 0;
|
||||
|
||||
Reference in New Issue
Block a user