This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gscbuf = v4l2_getfree_v4l2buf(gsc->output); | |
if (!gscbuf) | |
return AVERROR(ENOMEM); | |
// copy mfc capture buffer to gsc capture buffer | |
for(i = 0; i < avbuf->num_planes; i++) { | |
gscbuf->plane_info[i].mm_addr = avbuf->plane_info[i].mm_addr; | |
gscbuf->planes[i].bytesused = avbuf->planes[i].bytesused; | |
gscbuf->planes[i].length = avbuf->planes[i].length; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
METHOD OVERVIEW: | |
================ | |
This method involves creating a PSQL trigger, and PSQL C function which runs a bash script. | |
The bash script is responsible for running FileBot and notifying Plex server of new files. | |
The bash script outputs the recognized files to the PSQL C function, which removes completed | |
downloads containing those files from the database (and from DownloadStation GUI). | |
NOTE: you need to give the Synology user 'postgres' access to all the required paths | |
(download folder, plex media folder, scripts folder, filebot, java). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/arm 4.14.0-rc7 Kernel Configuration | |
# | |
CONFIG_ARM=y | |
CONFIG_ARM_HAS_SG_CHAIN=y | |
CONFIG_NEED_SG_DMA_LENGTH=y | |
CONFIG_ARM_DMA_USE_IOMMU=y | |
CONFIG_ARM_DMA_IOMMU_ALIGNMENT=8 | |
CONFIG_MIGHT_HAVE_PCI=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/arm 4.14.0-rc6 Kernel Configuration | |
# | |
CONFIG_ARM=y | |
CONFIG_ARM_HAS_SG_CHAIN=y | |
CONFIG_NEED_SG_DMA_LENGTH=y | |
CONFIG_ARM_DMA_USE_IOMMU=y | |
CONFIG_ARM_DMA_IOMMU_ALIGNMENT=8 | |
CONFIG_MIGHT_HAVE_PCI=y |
NewerOlder