mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-20 01:14:20 +00:00
Fix to the demo for DirectShow video.
This commit is contained in:
parent
685d6525e3
commit
5147b7d93b
1 changed files with 4 additions and 0 deletions
|
|
@ -105,7 +105,11 @@ private:
|
|||
void filenameComponentChanged (FilenameComponent*) override
|
||||
{
|
||||
// this is called when the user changes the filename in the file chooser box
|
||||
#if JUCE_QUICKTIME
|
||||
if (videoComp.loadMovie (fileChooser.getCurrentFile(), true))
|
||||
#elif JUCE_DIRECTSHOW
|
||||
if (videoComp.loadMovie (fileChooser.getCurrentFile()))
|
||||
#endif
|
||||
{
|
||||
// loaded the file ok, so let's start it playing..
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue