Skip to content

Commit

Permalink
Update avcodec_video.pri
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Nov 24, 2023
1 parent 49f1007 commit 0040214
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/videostreaming/avcodec/avcodec_video.pri
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ CONFIG += link_pkgconfig
packagesExist(mmal) {
DEFINES += IS_PLATFORM_RPI
}
# Check if mali package exists
message(Mali package exists: $$packagesExist(mali))

# If the mali package exists, define IS_PLATFORM_ROCK
packagesExist(mali) {
DEFINES += IS_PLATFORM_ROCK
message(IS_PLATFORM_ROCK defined because mali package exists)
exists(/usr/local/share/openhd/platform/rock/) {
message(This is a Rock)
DEFINES += IS_PLATFORM_ROCK
} else {
message(This is not a Rock)
}

# can be used in c++, also set to be exposed in qml
DEFINES += QOPENHD_ENABLE_VIDEO_VIA_AVCODEC

0 comments on commit 0040214

Please sign in to comment.