select: new filter to drop frames based on offset and skip

Motivation was to select only odd or even frames.
This commit is contained in:
Joshua M. Doe
2019-10-10 07:49:56 -04:00
parent 8b7b405381
commit 685b202541
4 changed files with 365 additions and 0 deletions

28
gst/select/CMakeLists.txt Normal file
View File

@@ -0,0 +1,28 @@
set (SOURCES
gstselect.c
)
set (HEADERS
gstselect.h)
include_directories (AFTER
${ORC_INCLUDE_DIR})
set (libname libgstselect)
add_library (${libname} MODULE
${SOURCES}
${HEADERS})
target_link_libraries (${libname}
${ORC_LIBRARIES}
${GLIB2_LIBRARIES}
${GOBJECT_LIBRARIES}
${GSTREAMER_LIBRARY}
${GSTREAMER_BASE_LIBRARY}
${GSTREAMER_VIDEO_LIBRARY})
set (pdbfile "${CMAKE_CURRENT_BINARY_DIR}/\${CMAKE_INSTALL_CONFIG_NAME}/${libname}.pdb")
install (FILES ${pdbfile} DESTINATION lib/gstreamer-1.0 COMPONENT pdb)
install(TARGETS ${libname}
LIBRARY DESTINATION lib/gstreamer-1.0)