mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-12-04 01:00:16 -05:00
add case for no rotation to get rid of log message
This commit is contained in:
1 parent
26369268bb
commit
91ef963738
1 file changed
+3
-1
@@ -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 ) {
|
||||
|
||||
Reference in new issue
Block a user