1 | #import <CoreMedia/CoreMedia.h> |
2 | |
3 | int main(int argc, const char **argv) |
4 | { |
5 | @autoreleasepool |
6 | { |
7 | CMTime t1 = CMTimeMake(1, 2); |
8 | CMTime t2 = CMTimeMake(1, 3); |
9 | CMTime t3 = CMTimeMake(1, 10); |
10 | CMTime t4 = CMTimeMake(10, 1); |
11 | CMTime t5 = CMTimeMake(10, 1); |
12 | t5.flags = kCMTimeFlags_PositiveInfinity; |
13 | CMTime t6 = CMTimeMake(10, 1); |
14 | t6.flags = kCMTimeFlags_NegativeInfinity; |
15 | CMTime t7 = CMTimeMake(10, 1); |
16 | t7.flags = kCMTimeFlags_Indefinite; |
17 | |
18 | CMTimeShow(t1); // break here |
19 | CMTimeShow(t2); |
20 | CMTimeShow(t3); |
21 | CMTimeShow(t4); |
22 | CMTimeShow(t5); |
23 | CMTimeShow(t6); |
24 | CMTimeShow(t7); |
25 | } |
26 | return 0; |
27 | } |
28 | |