(bug?) jit.qt.movie: @adapt 1 doesn't work for newmovie command

Apr 12, 2007 at 3:02pm

(bug?) jit.qt.movie: @adapt 1 doesn't work for newmovie command

Hi people,

I expect jit.qt.movie to adapt its output dimensions to the dimensions of the movie it holds. But when I fill it with a new movie, the output dimensions aren’t adapted.

Max 4.6.2, Jitter 1.6.3b2

Steps to reproduce are in this patch:

#P comment 32 145 20 196617 5);
#P comment 32 127 20 196617 4);
#P comment 32 109 20 196617 3);
#P comment 32 91 20 196617 2);
#P message 54 145 40 196617 getdim;
#P message 54 73 68 196617 dim 360 288;
#P message 54 127 67 196617 getmoviedim;
#P newex 171 191 32 196617 print;
#P message 54 91 40 196617 getdim;
#P message 54 109 97 196617 newmovie 320 240;
#P newex 74 170 107 196617 jit.qt.movie @adapt 1;
#P comment 32 73 20 196617 1);
#P comment 32 53 100 196617 steps to reproduce:;
#P connect 6 0 2 0;
#P connect 2 1 5 0;
#P connect 4 0 2 0;
#P connect 3 0 2 0;
#P connect 7 0 2 0;
#P connect 8 0 2 0;

Hope someone can confirm,

Mattijs

#31340
Apr 12, 2007 at 3:24pm

You need to bang the object once after loading so that the dimensions
are adapted.

jb

Am 12.04.2007 um 17:02 schrieb Mattijs Kneppers:

>
> Hi people,
>
> I expect jit.qt.movie to adapt its output dimensions to the
> dimensions of the movie it holds. But when I fill it with a new
> movie, the output dimensions aren’t adapted.
>
> Max 4.6.2, Jitter 1.6.3b2
>
> Steps to reproduce are in this patch:
>
> #P comment 32 145 20 196617 5);
> #P comment 32 127 20 196617 4);
> #P comment 32 109 20 196617 3);
> #P comment 32 91 20 196617 2);
> #P message 54 145 40 196617 getdim;
> #P message 54 73 68 196617 dim 360 288;
> #P message 54 127 67 196617 getmoviedim;
> #P newex 171 191 32 196617 print;
> #P message 54 91 40 196617 getdim;
> #P message 54 109 97 196617 newmovie 320 240;
> #P newex 74 170 107 196617 jit.qt.movie @adapt 1;
> #P comment 32 73 20 196617 1);
> #P comment 32 53 100 196617 steps to reproduce:;
> #P connect 6 0 2 0;
> #P connect 2 1 5 0;
> #P connect 4 0 2 0;
> #P connect 3 0 2 0;
> #P connect 7 0 2 0;
> #P connect 8 0 2 0;
>
>
> Hope someone can confirm,
>
> Mattijs
> –
> SmadSteck – http://www.smadsteck.nl
> Interactive audiovisual sampling soft- and hardware
>

#101702
Apr 12, 2007 at 4:03pm

Quote: Jeremy Bernstein wrote on Thu, 12 April 2007 17:24
—————————————————-
> You need to bang the object once after loading so that the dimensions
> are adapted.
>
> jb

Thanks!

Mattijs

#101703

You must be logged in to reply to this topic.