@ -1,7 +1,10 @@
@@ -1,7 +1,10 @@
if ( GST_FOUND )
include_directories (
$ { G S T _ I N C L U D E _ D I R S }
g s t q t v i d e o s i n k / u t i l s /
)
set ( EXTRA_SRC )
if ( VIDEO )
list ( APPEND EXTRA_SRC
set ( EXTRA_SRC
g s t q t v i d e o s i n k / d e l e g a t e s / b a s e d e l e g a t e . c p p
g s t q t v i d e o s i n k / d e l e g a t e s / q t q u i c k 2 v i d e o s i n k d e l e g a t e . c p p
g s t q t v i d e o s i n k / d e l e g a t e s / q t v i d e o s i n k d e l e g a t e . c p p
@ -13,6 +16,7 @@ if(VIDEO)
@@ -13,6 +16,7 @@ if(VIDEO)
g s t q t v i d e o s i n k / g s t q t v i d e o s i n k b a s e . c p p
g s t q t v i d e o s i n k / g s t q t v i d e o s i n k p l u g i n . c p p
g s t q t v i d e o s i n k / g s t q w i d g e t v i d e o s i n k . c p p
g s t q t v i d e o s i n k / g s t q t v i d e o s i n k m a r s h a l . c
g s t q t v i d e o s i n k / p a i n t e r s / g e n e r i c s u r f a c e p a i n t e r . c p p
g s t q t v i d e o s i n k / p a i n t e r s / o p e n g l s u r f a c e p a i n t e r . c p p
g s t q t v i d e o s i n k / p a i n t e r s / v i d e o m a t e r i a l . c p p
@ -20,22 +24,23 @@ if(VIDEO)
@@ -20,22 +24,23 @@ if(VIDEO)
g s t q t v i d e o s i n k / u t i l s / b u f f e r f o r m a t . c p p
g s t q t v i d e o s i n k / u t i l s / u t i l s . c p p
)
endif ( )
add_library ( VideoStreaming
add_library ( VideoStreaming
V i d e o I t e m . c c
V i d e o R e c e i v e r . c c
V i d e o S t r e a m i n g . c c
V i d e o S u r f a c e . c c
S u b t i t l e W r i t e r . c c
$ { E X T R A _ S R C }
)
)
target_link_libraries ( VideoStreaming
target_link_libraries ( VideoStreaming
P U B L I C
q g c
Q t 5 : : M u l t i m e d i a
)
Q t 5 : : O p e n G L
$ { G S T _ L I B R A R I E S }
)
target_include_directories ( VideoStreaming INTERFACE ${ CMAKE_CURRENT_SOURCE_DIR } )
target_include_directories ( VideoStreaming INTERFACE ${ CMAKE_CURRENT_SOURCE_DIR } )
endif ( )