From 91ef963738176dd44efd02546d56846496609df2 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 12 Jul 2016 12:06:12 -0400 Subject: [PATCH] add case for no rotation to get rid of log message --- src/zm_videostore.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/zm_videostore.cpp b/src/zm_videostore.cpp index 6b35404b57..4371f5b77f 100644 --- a/src/zm_videostore.cpp +++ b/src/zm_videostore.cpp @@ -98,7 +98,9 @@ VideoStore::VideoStore(const char *filename_in, const char *format_in, } if ( orientation ) { - if ( orientation == Monitor::ROTATE_90 ) { + if ( orientation == Monitor::ROTATE_0 ) { + + } else if ( orientation == Monitor::ROTATE_90 ) { dsr = av_dict_set( &video_st->metadata, "rotate", "90", 0); if (dsr < 0) Warning("%s:%d: title set failed", __FILE__, __LINE__ ); } else if ( orientation == Monitor::ROTATE_180 ) {