🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.multimedia
Article #411

Re: How to avoid 'flickering' when playing a new video-file after an old one?

#411
From: Remy Lebeau (TeamB)
Date: Thu, 22 Jul 2004 15:57
26 lines
1888 bytes
<M_R> wrote in message news:mh2vf0lagp9ve0vn9b35bnmh5imng1cfar@4ax.com...

>  How does this help?

It should be more like this instead:

    void __fastcall TForm1::Button1Click(TObject *Sender)
    {
        MediaPlayer1->FileName="c:\\video_1.mpg";
        MediaPlayer1->Notify = true;
        MediaPlayer1->OnNotify = PlayNotification;
        //...
        MediaPlayer1->Play();
    }

    void __fastcall TForm1::PlayNotification(TObject *Sender)
    {
        MediaPlayer1->Close();
        MediaPlayer1->FileName="c:\\video_2.mpg";
        //...
        MediaPlayer1->Play();
    }


Gambit
Technical Details
Message-ID: <40ffe397$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <ckmkf05u4846s2o6vfhp05i04o6id8c7kq@4ax.com> <40fade9f@newsgroups.borland.com> <vnjnf0hp06sn262ugb3783ng7kl1sgreu4@4ax.com> <40fbfca0$1@newsgroups.borland.com> <te3of0prmhqhdafo2b7phguq17dvk3tj2j@4ax.com> <40fc16c9@newsgroups.borland.com> <v9epf0ds8elo0ot6cmskhnsscc41ruc509@4ax.com> <40ff02b3$1@newsgroups.borland.com> <mh2vf0lagp9ve0vn9b35bnmh5imng1cfar@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10d0fc,22953efa7c53cb7b
X-Google-Attributes: gid10d0fc,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.multimedia
References: <ckmkf05u4846s2o6vfhp05i04o6id8c7kq@4ax.com> <40fade9f@newsgroups.borland.com> <vnjnf0hp06sn262ugb3783ng7kl1sgreu4@4ax.com> <40fbfca0$1@newsgroups.borland.com> <te3of0prmhqhdafo2b7phguq17dvk3tj2j@4ax.com> <40fc16c9@newsgroups.borland.com> <v9epf0ds8elo0ot6cmskhnsscc41ruc509@4ax.com> <40ff02b3$1@newsgroups.borland.com> <mh2vf0lagp9ve0vn9b35bnmh5imng1cfar@4ax.com>
Subject: Re: How to avoid 'flickering' when playing a new video-file after an old one?
Date: Thu, 22 Jul 2004 08:57:10 -0700
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <40ffe397$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1090511767 68.69.17.41 (22 Jul 2004 08:56:07 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail