]> granicus.if.org Git - handbrake/commitdiff
Fix rotation of video flagged with 0 rotation
authorJohn Stebbins <jstebbins.hb@gmail.com>
Tue, 25 Dec 2018 16:23:38 +0000 (09:23 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Tue, 25 Dec 2018 16:23:38 +0000 (09:23 -0700)
Only breaks in cases that video is *explicitely* flagged with 0 rotation.

Fixes https://github.com/HandBrake/HandBrake/issues/1750

libhb/stream.c

index 543abdb8e909b1e62d0a27aa24a4e6313c7f0753..f089ae298a96a196c645da50e16f437b412b56f4 100644 (file)
@@ -5580,6 +5580,7 @@ static hb_title_t *ffmpeg_title_scan( hb_stream_t *stream, hb_title_t *title )
                         switch (rotation) {
                             case 0:
                                 title->rotation = HB_ROTATION_0;
+                                break;
                             case 90:
                                 title->rotation = HB_ROTATION_90;
                                 break;