Enable GC_VIDEO_VLC option for macOS

After this change:
QtMacVideoWindow.h is used only for native macOS video options:
    GC_VIDEO_AV (incomplete)
    GC_VIDEO_QUICKTIME (obsolete)
Otherwise standard VideoWindow.h is included with the same options for
the three supported OS:
    GC_VIDEO_NONE: placeholder for no video, currently used for macOS builds
    GC_VIDEO_VLC: basic video control plus videosync, macOS experimental
    GC_VIDEO_QT5: basic video control only, macOS experimental
Overlay Widgets only works on Windows with VLC.
Tested with VLC 3.0.8 on the 3 Operating Systems.
This commit is contained in:
Ale Martinez
2020-05-19 13:00:34 -03:00
parent 47e67f4d37
commit 1cb1beb09c
8 changed files with 34 additions and 38 deletions

View File

@@ -29,7 +29,7 @@
#endif
#include "HistogramWindow.h"
#include "LTMWindow.h"
#ifdef Q_OS_MAC
#if defined(GC_VIDEO_AV) || defined(GC_VIDEO_QUICKTIME)
#include "QtMacVideoWindow.h"
#else
#include "VideoWindow.h"