Cosmetics.
This commit is contained in:
1 file changed
+3
-4
+3
-4
@@ -1065,8 +1065,7 @@ static void logCallback(MP4LogLevel loglevel, const char *fmt, va_list ap) {
|
|||||||
[[NSColor blackColor] set];
|
[[NSColor blackColor] set];
|
||||||
NSRectFill(rect);
|
NSRectFill(rect);
|
||||||
|
|
||||||
if (chapterT.image.image)
|
[chapterT.image.image drawInRect:rect fromRect:NSZeroRect operation:NSCompositingOperationCopy fraction:1.0];
|
||||||
[[chapterT image].image drawInRect:rect fromRect:NSZeroRect operation:NSCompositingOperationCopy fraction:1.0];
|
|
||||||
|
|
||||||
[NSGraphicsContext restoreGraphicsState];
|
[NSGraphicsContext restoreGraphicsState];
|
||||||
|
|
||||||
@@ -1075,8 +1074,8 @@ static void logCallback(MP4LogLevel loglevel, const char *fmt, va_list ap) {
|
|||||||
|
|
||||||
MP4WriteSample(self.fileHandle,
|
MP4WriteSample(self.fileHandle,
|
||||||
jpegTrack,
|
jpegTrack,
|
||||||
[imageData bytes],
|
imageData.bytes,
|
||||||
[imageData length],
|
imageData.length,
|
||||||
duration,
|
duration,
|
||||||
0,
|
0,
|
||||||
true);
|
true);
|
||||||
|
|||||||
Reference in new issue
Block a user