[vlc-devel] [PATCH] Add a libvlc_set_video_output function

Edward Wang edward.c.wang at compdigitec.com
Thu Feb 13 00:54:28 CET 2014

On 2014-02-11 17:57, Hugo Beauzée-Luyssen <hugo at beauzee.fr> wrote:
>> never depended on which video output plugin was used (though it depends on
>> >windowing system - that is unavoidable). Worse yet, your patch is of
>> >absolutely no use in portable code, since the possible values are system-
>> >specific.
>> >
> I think this is up to libvlc user to take care of this, just like it's
> the case for the libvlc_media_player_set_{xwindow,hwnd,nsobject}
> functions.

Having the ability to allow the libvlc applications to override and 
select a custom video output would also grant greater flexibility in 
overcoming platform bugs. For instance, if on one platform the default, 
say xcb_xv, or direct3d, or whatever, crashes because of a driver bug 
and the libvlc-based application doesn't run, it would be nice if the 
application could override it so that the custom libvlc application can 
at least run.

We can't expect VideoLAN to fix all the driver bugs on all platforms 
either, so maybe this should be prefixed with a prominent warning that 
if you do this and things go horribly wrong, you can't blame libvlc for 

         Edward Wang

More information about the vlc-devel mailing list