Use h264bitstream library to mixup the SPS so OS X will use hardware decoding

This commit is contained in:
Cameron Gutman
2016-02-21 15:57:45 -05:00
parent 83ba8a10bb
commit 36e76ed86d
10 changed files with 4716 additions and 3 deletions

View File

@@ -5,8 +5,9 @@ TARGET = moonlight-chrome
# Include library makefiles
include common-c.mk
include opus.mk
include h264bitstream.mk
EXTRA_INC_PATHS := $(EXTRA_INC_PATHS) $(COMMON_C_INCLUDE) $(OPUS_INCLUDE)
EXTRA_INC_PATHS := $(EXTRA_INC_PATHS) $(COMMON_C_INCLUDE) $(OPUS_INCLUDE) $(H264BS_INCLUDE)
include $(NACL_SDK_ROOT)/tools/common.mk
@@ -21,6 +22,7 @@ CFLAGS = -Wall $(COMMON_C_C_FLAGS) $(OPUS_C_FLAGS)
SOURCES = \
$(OPUS_SOURCE) \
$(H264BS_SOURCE) \
$(COMMON_C_SOURCE) \
libchelper.c \
main.cpp \