[vlc-devel] libvlc_video_resize

Pierre d'Herbemont pdherbemont at free.fr
Sun Aug 26 04:44:17 CEST 2007


Hello,

On 26 août 07, at 01:47, ChengYQ wrote:
>
> When I hook the video in my own application window, is that  
> possible that I resize the video while keep my application window  
> the same size? for example, I zoom out the video from 100*100 to  
> 400*400 and keep the window the same size 100*100, then I can get  
> the result that only part 100*100 out of the 400*400 video  
> displayed in the application window? because I need to zoom in and  
> zoom out video in my fixed size application window.Are there some  
> functions already realize this?

I think current libvlc doesn't support that. Hacking a bit in libvlc  
should allow that quite easily. But that means compiling vlc.

> testvlc090.obj : error LNK2001: unresolved external symbol  
> _libvlc_exception_raised
> Debug/testvlc090.exe : fatal error LNK1120: 11 unresolved externals
>
> If there is some library files as libvlc.lib, problems may be  
> solved, but I can't find any lib files in the source.
> What mistakes I have?

I think you missed to link against libvlc-control.lib.

Good Luck again!

Pierre.





More information about the vlc-devel mailing list