Fix some "FIXME" comments.

This commit is contained in:
Damiano Galassi committed 2016-09-18 10:06:46 +02:00
1 parent c1e174996b
commit 897510a316
3 files changed
+24 -17

No files matched your search

+1 -1
View File
@@ -811,7 +811,7 @@ static void logCallback(MP4LogLevel loglevel, const char *fmt, va_list ap) {
[self.muxer addTrack:track];
} else {
// We don't know how to handle this type of track.
// FIXME
// Just drop it.
NSError *error = MP42Error(@"Unsupported track",
[NSString stringWithFormat:@"%@, %u, has not been muxed.", track.name, (unsigned int)track.format],
201);
+1 -2
View File
@@ -597,8 +597,7 @@ static const genreType_t genreType_strings[] = {
return NO;
}
} else {
// FIXME
//self.artworks = nil;
[self.artworks removeAllObjects];
self.edited = YES;
self.isArtworkEdited = YES;
return YES;
+22 -14
View File
@@ -171,8 +171,28 @@
return (self.trackId > 0);
}
- (uint64_t)hSpacing {
return _hSpacing;
- (void)setTrackWidth:(float)trackWidth
{
_trackWidth = trackWidth;
self.edited = YES;
}
- (void)setTrackHeight:(float)trackHeight
{
_trackHeight = trackHeight;
self.edited = YES;
}
- (void)setOffsetX:(uint32_t)offsetX
{
_offsetX = offsetX;
self.edited = YES;
}
- (void)setOffsetY:(uint32_t)offsetY
{
_offsetY = offsetY;
self.edited = YES;
}
- (void)setHSpacing:(uint64_t)newHSpacing
@@ -182,10 +202,6 @@
self.updatedProperty[@"hSpacing"] = @YES;
}
- (uint64_t)vSpacing {
return _vSpacing;
}
- (void)setVSpacing:(uint64_t)newVSpacing
{
_vSpacing = newVSpacing;
@@ -193,10 +209,6 @@
self.updatedProperty[@"vSpacing"] = @YES;
}
- (uint8_t)newProfile {
return _newProfile;
}
- (void)setNewProfile:(uint8_t)newProfile
{
_newProfile = newProfile;
@@ -210,10 +222,6 @@
}
}
- (uint8_t)newLevel {
return _newLevel;
}
- (void)setNewLevel:(uint8_t)newLevel
{
_newLevel = newLevel;