Skip to content

Commit

Permalink
Fix image rotation regression
Browse files Browse the repository at this point in the history
  • Loading branch information
avanc committed Nov 22, 2021
1 parent a667e4e commit 3d7ed43
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion board/common/overlay/etc/version
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
OS_NAME="photOS"
OS_SHORT_NAME="photOS"
OS_PREFIX="photos"
OS_VERSION="0.3.6-rc5"
OS_VERSION="0.3.6-rc6"
6 changes: 5 additions & 1 deletion package/photoframe/photoframe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,11 @@ function start {
if ${IS_IMAGE}
then
LAST_IMAGE_UPDATE=$(date +%s)
fbv $PARAMS_FBV "$IMAGE"

IMAGE2=/tmp/photoframe.image
cp "$IMAGE" "$IMAGE2"
jhead -autorot $IMAGE2 &> /dev/null
fbv $PARAMS_FBV "$IMAGE2"
else
omxplayer --no-keys "$IMAGE" &
PID=$!
Expand Down

0 comments on commit 3d7ed43

Please sign in to comment.