jit.window unwanted resize

mfell's icon

im playing an mpeg2 file in jit.qt.movie that renders directly to a named window. when i open a new movie, the window automatically resizes to the resolution of the movie. i can seem to find a way to disable this and have to send a rect command to the window after the movie has started to get it back to the desired size/position.

am i missing something obvious?

MJ's icon

nice!
hmm can you send a patch with that feature
here the jit.windows stay always the same size

mfell's icon

heres a test patch that shows the problem on my machine.
actually i just noticed the window does not resize, but the movie does not fill the entire window. i have to resize the window a few times to different values and then it does.

Rob Ramirez's icon

i can't reproduce over here.
please send relevant system information: (os, gpu, quicktime version, max/jitter version)

mfell's icon

os 10.5.6, quicktime 7.6, maxjitter 5.0.6. and im running it on a mac book pro 2.4ghz intel core duo with 2 gig ram. the movie files im using are mpeg2.

this is what it says in the graphics and displays in system profiler.

GeForce 8600M GT:

Chipset Model:    GeForce 8600M GT
Type:    Display
Bus:    PCIe
PCIe Lane Width:    x16
VRAM (Total):    256 MB
Vendor:    NVIDIA (0x10de)
Device ID:    0x0407
Revision ID:    0x00a1
ROM Revision:    3212
Displays:
Color LCD:
Resolution:    1440 x 900
Depth:    32-bit Color
Core Image:    Hardware Accelerated
Main Display:    Yes
Mirror:    Off
Online:    Yes
Quartz Extreme:    Supported
Built-In:    Yes
Display Connector:
Status:    No display connected

mfell's icon

i just did some more tests with different codecs and it only seems to have this problem with the mpeg2 files im using. i would be interested to know if anyone does not have this problem with mpeg2 - ie, that the patch works ok for them with mpeg2.