Skip to content

video_output: add video-stereo-mode option to select the stereoscopic video output mode

Steve Lhomme requested to merge robUx4/vlc:stereoscoption into master

This is based on the GSoC work from @Shaan: https://code.videolan.org/gsoc/GSoC2017/Shaan/vlc/-/commits/FinalSubmission/?ref_type=heads

Only the options to select the modes have been kept and adapted to the current state of the core and libvlc. The rest of the repository is mostly adding support for the various modes in D3D11.

For now all display modules accept all modes, except the ones implementing reset_pictures which don't accept any mode change. They do not actually do anything with it.

It's up to each display module to handle the modes it can from the command-line and dynamically through the VOUT_DISPLAY_CHANGE_STEREO_MODE control. Since this is not the case yet, changing/setting the values have no effect but we have the canvas to do it.


v2:

  • turned the initial control into an opt-in callback of display modules, not handled by any module for now.
Edited by Steve Lhomme

Merge request reports

Loading