mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.Bazaar/VLCPlayer : Some corrections to right compile
git-svn-id: svn://ultimatepp.org/upp/trunk@3890 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
642400c4f2
commit
7fba1a64b5
2 changed files with 1 additions and 4 deletions
|
|
@ -154,7 +154,6 @@ VLCPlayer::VLCPlayer() {
|
|||
this->SetTimeCallback(1000,THISBACK(StartPlay));
|
||||
}
|
||||
void VLCPlayer::StartPlay(){
|
||||
AddPlayList(GetHomeDirFile("Видео/DiscountTerminals.avi"));
|
||||
Play();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ void MainLayDlg::Layout() {
|
|||
Size ws = GetSize()/2;
|
||||
ws.cy = ws.cx / 16 * 9;
|
||||
player.SetVSize(ws);
|
||||
if (!player.playactive) {
|
||||
if (AtomicRead(player.playeractive)!=1) {
|
||||
INTERLOCKED_(mtx) {
|
||||
|
||||
|
||||
|
|
@ -93,8 +93,6 @@ GUI_APP_MAIN {
|
|||
MainLayDlg app;
|
||||
app.OpenMain();
|
||||
app.player.AddPlayList(GetHomeDirFile("Видео/Avaria-Leto vsegda1-5.avi"));
|
||||
//app.player.AddPlayList(GetHomeDirFile("Видео/Фильмы/Hunting__(2009-09).avi"));
|
||||
//app.player.AddPlayList(GetHomeDirFile("Видео/Фильмы/Varshavyanka__(2009-09).avi"));
|
||||
|
||||
app.Run();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue