diff options
author | John Stebbins <[email protected]> | 2020-04-17 13:12:46 -0600 |
---|---|---|
committer | John Stebbins <[email protected]> | 2020-04-17 13:12:46 -0600 |
commit | fee51eb7283acda9e27af02da6af6743ffeaeac8 (patch) | |
tree | 495228c217c1ab9bef8790085dfcb6a5cb3101a4 | |
parent | 4009e1364fcc419e226661b9986b2a51f5c20b31 (diff) |
log when auto-rotation is applied
-rw-r--r-- | libhb/decavcodec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c index 97958fa09..2cfb13c49 100644 --- a/libhb/decavcodec.c +++ b/libhb/decavcodec.c @@ -1192,15 +1192,18 @@ int reinit_video_filters(hb_work_private_t * pv) settings = hb_dict_init(); hb_dict_set(settings, "dir", hb_value_string("cclock")); hb_avfilter_append_dict(filters, "transpose", settings); + hb_log("Auto-Rotating video 90 degrees"); break; case HB_ROTATION_180: hb_avfilter_append_dict(filters, "hflip", hb_value_null()); hb_avfilter_append_dict(filters, "vflip", hb_value_null()); + hb_log("Auto-Rotating video 180 degrees"); break; case HB_ROTATION_270: settings = hb_dict_init(); hb_dict_set(settings, "dir", hb_value_string("clock")); hb_avfilter_append_dict(filters, "transpose", settings); + hb_log("Auto-Rotating video 270 degrees"); break; default: hb_log("reinit_video_filters: Unknown rotation, failed"); |