Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7617613
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T03:11:37+00:00 2026-05-31T03:11:37+00:00

How does CMTimeCompare work? Apple seems to have left out the return values from

  • 0

How does CMTimeCompare work? Apple seems to have left out the return values from their documentation.

https://developer.apple.com/library/mac/#documentation/CoreMedia/Reference/CMTime/Reference/reference.html

I assume if the times are equal it returns zero and return positive or negative 1 based on which is greater?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T03:11:38+00:00Added an answer on May 31, 2026 at 3:11 am

    From CMTime.h:

    Returns the numerical relationship (-1 = less than, 1 = greater than,
    0 = equal) of two CMTimes.

    -1 is returned if time1 is less than time2. 0 is returned if they are equal. 1 is returned if time1 is greater than time2.

    EDIT:

    Please note that:

    Invalid CMTimes are considered to be equal to other invalid CMTimes,
    and greater than
    any other CMTime. Positive infinity is considered to be less than any invalid CMTime,
    equal to itself, and greater than any other CMTime. An indefinite CMTime is considered
    to be less than any invalid CMTime, less than positive infinity, equal to itself,
    and greater than any other CMTime. Negative infinity is considered to be equal to itself,
    and less than any other CMTime.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone have some code that will take a TimeZoneInfo field from .NET and
Does Google force employees who have offers from Facebook to leave immediately?
Does anyone have a nice solution for GalleryView when I want to display photos
Does anyone have any idea how to change the thickness of the text pointer
Does any one have a solution to make the SpecFlow autocomplete in Visual Studio
Does anyone know how to make this code stop the knob from rotating past
Does Java have some analog of Oracle's function MONTHS_BETWEEN ?
Does anyone out there know what image format results in the fastest loading speeds?
Does anyone have any suggestions for the best / simplest way to view all
Does doxygen doesn't work properly on python script with a shebang? I tried one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.