diff --git a/lib/ffmpeg/movie.rb b/lib/ffmpeg/movie.rb index 0e148bb3..85bb5043 100644 --- a/lib/ffmpeg/movie.rb +++ b/lib/ffmpeg/movie.rb @@ -156,11 +156,11 @@ def local? end def width - rotation.nil? || rotation == 180 ? @width : @height; + rotation.nil? || rotation == 0 || rotation == 180 ? @width : @height; end def height - rotation.nil? || rotation == 180 ? @height : @width; + rotation.nil? || rotation == 0 || rotation == 180 ? @height : @width; end def resolution