ffmpeg/tools: Function to go from AVPixelFormat to video_format

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2019-07-25 01:36:16 +02:00
parent 3e7fd3ea55
commit e17fa119a1
2 changed files with 29 additions and 0 deletions
+2
View File
@@ -42,6 +42,8 @@ namespace ffmpeg {
AVPixelFormat obs_videoformat_to_avpixelformat(video_format v);
video_format avpixelformat_to_obs_videoformat(AVPixelFormat v);
AVColorSpace obs_videocolorspace_to_avcolorspace(video_colorspace v);
AVColorRange obs_videorangetype_to_avcolorrange(video_range_type v);