[vlc-commits] decklink: provide dummy display control callback
Rémi Denis-Courmont
git at videolan.org
Mon Apr 1 19:45:58 CEST 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Apr 1 19:52:31 2019 +0300| [e372881b55769be8a9531487e912c9e14d37cb1d] | committer: Rémi Denis-Courmont
decklink: provide dummy display control callback
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e372881b55769be8a9531487e912c9e14d37cb1d
---
modules/video_output/decklink.cpp | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/modules/video_output/decklink.cpp b/modules/video_output/decklink.cpp
index 8455aefedc..98460c1abc 100644
--- a/modules/video_output/decklink.cpp
+++ b/modules/video_output/decklink.cpp
@@ -1013,7 +1013,16 @@ end:
static int ControlVideo(vout_display_t *vd, int query, va_list args)
{
- (void) vd; (void) query; (void) args;
+ (void) vd; (void) args;
+
+ switch (query) {
+ case VOUT_DISPLAY_CHANGE_DISPLAY_SIZE:
+ case VOUT_DISPLAY_CHANGE_DISPLAY_FILLED:
+ case VOUT_DISPLAY_CHANGE_ZOOM:
+ case VOUT_DISPLAY_CHANGE_SOURCE_ASPECT:
+ case VOUT_DISPLAY_CHANGE_SOURCE_CROP:
+ return VLC_SUCCESS;
+ }
return VLC_EGENERIC;
}
More information about the vlc-commits
mailing list