Move EbmlWriter to video folder and enable only if libvpx is available.

This commit is contained in:
Torsten Paul 2016-09-30 15:04:30 +02:00
parent 3657cec838
commit f59c6babc3
4 changed files with 2 additions and 4 deletions

View file

@ -341,7 +341,6 @@ HEADERS += src/version_check.h \
src/svg.h \ src/svg.h \
src/video.h \ src/video.h \
src/video/video_png.h \ src/video/video_png.h \
src/EbmlWriter.h \
\ \
src/lodepng.h \ src/lodepng.h \
src/OffscreenView.h \ src/OffscreenView.h \
@ -420,7 +419,6 @@ SOURCES += \
src/boost-utils.cc \ src/boost-utils.cc \
src/video.cc \ src/video.cc \
src/video/video_png.cc \ src/video/video_png.cc \
src/EbmlWriter.cpp \
src/PlatformUtils.cc \ src/PlatformUtils.cc \
src/LibraryInfo.cc \ src/LibraryInfo.cc \
\ \

View file

@ -38,8 +38,8 @@ isEmpty(VPX_LIBPATH) {
LIBS += $$VPX_LIBS LIBS += $$VPX_LIBS
DEFINES += ENABLE_VIDEO_VPX DEFINES += ENABLE_VIDEO_VPX
HEADERS += src/video/video_vpx.h HEADERS += src/video/EbmlWriter.h src/video/video_vpx.h
SOURCES += src/video/video_vpx.cc SOURCES += src/video/EbmlWriter.cpp src/video/video_vpx.cc
} }
} }