[vlc-commits] vout: decklink: configure framerate
Francois Cartegnie
git at videolan.org
Sun Nov 27 21:57:35 CET 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun Nov 27 18:21:46 2016 +0100| [e3cef24925a5ff7b6b1f2caea5a4dca46c4b33d9] | committer: Francois Cartegnie
vout: decklink: configure framerate
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e3cef24925a5ff7b6b1f2caea5a4dca46c4b33d9
---
modules/video_output/decklink.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/video_output/decklink.cpp b/modules/video_output/decklink.cpp
index e8232a8..9783ed2 100644
--- a/modules/video_output/decklink.cpp
+++ b/modules/video_output/decklink.cpp
@@ -598,6 +598,8 @@ static struct decklink_sys_t *OpenDecklink(vout_display_t *vd)
fmt->i_sar_num = 0;
fmt->i_sar_den = 0;
fmt->i_chroma = !sys->tenbits ? VLC_CODEC_UYVY : VLC_CODEC_I422_10L; /* we will convert to v210 */
+ fmt->i_frame_rate = (unsigned) decklink_sys->frameduration;
+ fmt->i_frame_rate_base = (unsigned) decklink_sys->timescale;
}
if (/*decklink_sys->i_channels > 0 &&*/ decklink_sys->i_rate > 0)
More information about the vlc-commits
mailing list