[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-video-dev
Subject:    [Video-dev] Re: how could I change the display size at runtime?
From:       Greg Wright <gwright () real ! com>
Date:       2005-03-31 17:49:42
Message-ID: 424C3836.3000201 () real ! com
[Download RAW message or body]

Adding video-dev....

Leon Qiu wrote:
> Greg,
>  
> How could I change the display size of the simple player at runtime? 
> that is, if I have a clip with 320x240, how could I display it with a 
> size of 160x120? how could I make the display size changable at runtime?

You would have to put code into clientapps/simpleplayer/main.cpp
to detect key hits (if the current linux one doesn't work for you)
and then call SetSize() on the site. You might also need to add
some plumbing to get a handle to the site from the exsitsup.cpp
file.

--greg.

>  
> Thanks.
>  
>  
> Leon


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic