diff options
author | John Stebbins <[email protected]> | 2017-11-08 17:11:21 -0800 |
---|---|---|
committer | John Stebbins <[email protected]> | 2017-11-09 13:18:29 -0800 |
commit | 86d6345771e3b2fb22255620aa91cf77fdf15f10 (patch) | |
tree | 27a36483b5f419972b2501237ec4f325e37c1f92 /libhb/hbffmpeg.h | |
parent | 9d67804d059c9d0946ba73bba229c69a78ea7439 (diff) |
Auto-rotate video that has rotation tag
Diffstat (limited to 'libhb/hbffmpeg.h')
-rw-r--r-- | libhb/hbffmpeg.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libhb/hbffmpeg.h b/libhb/hbffmpeg.h index 82930ad96..76ffbe830 100644 --- a/libhb/hbffmpeg.h +++ b/libhb/hbffmpeg.h @@ -36,3 +36,7 @@ struct SwsContext* hb_sws_get_context(int srcW, int srcH, enum AVPixelFormat srcFormat, int dstW, int dstH, enum AVPixelFormat dstFormat, int flags, int colorspace); + +hb_buffer_t * hb_avframe_to_video_buffer(AVFrame *frame, AVRational time_base); +void hb_avframe_set_video_buffer_flags(hb_buffer_t * buf, AVFrame *frame, + AVRational time_base); |