summaryrefslogtreecommitdiffstats
path: root/libhb/stream.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2017-11-08 17:11:21 -0800
committerJohn Stebbins <[email protected]>2017-11-09 13:18:29 -0800
commit86d6345771e3b2fb22255620aa91cf77fdf15f10 (patch)
tree27a36483b5f419972b2501237ec4f325e37c1f92 /libhb/stream.c
parent9d67804d059c9d0946ba73bba229c69a78ea7439 (diff)
Auto-rotate video that has rotation tag
Diffstat (limited to 'libhb/stream.c')
-rw-r--r--libhb/stream.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/stream.c b/libhb/stream.c
index ba1d41761..d4d03ab12 100644
--- a/libhb/stream.c
+++ b/libhb/stream.c
@@ -5553,6 +5553,8 @@ static hb_title_t *ffmpeg_title_scan( hb_stream_t *stream, hb_title_t *title )
{
int rotation = av_display_rotation_get((int32_t *)sd.data);
switch (rotation) {
+ case 0:
+ title->rotation = HB_ROTATION_0;
case 90:
title->rotation = HB_ROTATION_90;
break;