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

Hugo Beauzée-Luyssen hugo at beauzee.fr
Wed Feb 12 18:33:10 CET 2014

On Wed, Feb 12, 2014 at 12:17 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> On Wed, 12 Feb 2014 11:18:57 +0200, Hugo Beauzée-Luyssen <hugo at beauzee.fr>
> wrote:
>> In my use case, no I can't disable video. Having an invisble window
>> could work, but it feels weird to output to something not shown
>> instead of disabling.
>> Using callbacks, hence vmem, is doable, would probably work, but why
>> would I want to copy frames to not use those afterward?
> There are two good ways, internally, to disable video. Setting the "video"
> variable to false, or setting the video to -1. Setting vout to dummy is
> much less efficient (and unclean). IMHO, you should either extend the track
> selection functions to operate even when there is no active input thread,
> or add functions to set/get the audio, spu and video boolean variables.

I completely agree with this. Yet again, that does not suit what I'm
looking for. More specifically, I'm interested in the video infos,
fps, dimensions, ... which are only accessible once the media
(including the video, obviously) is playing.

>>> If you think there is a bug, you are welcome to fix it.
>> I don't think it's a bug.
> It is definitely a bug if LibVLC ends up ignoring the selected output
> window. It is a separate issue, but an issue nevertheless.

That can be addressed separately then.


Hugo Beauzée-Luyssen
mail: hugo at beauzee.fr
skype: beauze.h

More information about the vlc-devel mailing list