#1 Tiny cleanup (GetMainDevice is deprecated)

Framework
closed-fixed
XMeeting (1)
5
2006-05-17
2006-05-17
No

In XMSequenceGrabberVideoInputModule.m the function
SGSetGWorld uses GetMainDevice() in order to determine
the main screen. However GetMainDevice complains that
it is deprecated and it works just fine to pass NULL to
SGSetGWorld. In fact the apple documentation does this
too, so I assume it's not too dangerous.

so
- err = SGSetGWorld(sequenceGrabber, NULL,
GetMainDevice());
+ err = SGSetGWorld(sequenceGrabber, NULL, NULL);

should give us one compiler complaint less. I tested
this on 10.4.6 and video worked fine in both directions.

Thanks for considering this tiny clean up.
Sebastian

Discussion

  • Hannes Friederich

    Logged In: YES
    user_id=1003925

    Fixed. Thank you!

     
  • Hannes Friederich

    • milestone: 281532 --> Framework
    • assigned_to: nobody --> hfriederich
    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks