[vlc-devel] RE : libvlc howto change pitch vmem, also; what about libvlc_new() lock?
brezhoneg1
brezhoneg1 at yahoo.fr
Thu Dec 25 12:11:25 CET 2008
> -----Message d'origine-----
> De : vlc-devel-bounces at videolan.org [mailto:vlc-devel-
> bounces at videolan.org] De la part de J Decker
> Envoyé : jeudi 25 décembre 2008 07:56
> À : vlc-devel at videolan.org
> Objet : [vlc-devel] libvlc howto change pitch vmem, also;what about
> libvlc_new() lock?
>
> I started by asking in the forum in
> http://forum.videolan.org/viewforum.php?f=32
>
> After opening a video with vmem, is it possible to resize that
> surface? that is, pass a new vmem_pitch, vmem_height, the vmem_data
> is really resulted dynamically by the lock and unlock proces...
Having a look at vmem.c, no resizing is implemented.
Actually, most often, modern video drivers automatically take care of
resizing. More complex vout (xvideo, ...) only fall back to software
resizing if the driver doesn't support resizing.
With vmem, rationale is to give you back the video buffers. If you plan
to display it by any means (SDL, .... ), I guess resizing should first
be addressed at this level.
Erwan10
>
> Also, is there any particular reason that libvlc_new() should lock and
> never complete?
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list