Fix some "FIXME" comments.
This commit is contained in:
1 parent
c1e174996b
commit
897510a316
3 files changed
+24
-17
No files matched your search
+1
-1
@@ -811,7 +811,7 @@ static void logCallback(MP4LogLevel loglevel, const char *fmt, va_list ap) {
|
|||||||
[self.muxer addTrack:track];
|
[self.muxer addTrack:track];
|
||||||
} else {
|
} else {
|
||||||
// We don't know how to handle this type of track.
|
// We don't know how to handle this type of track.
|
||||||
// FIXME
|
// Just drop it.
|
||||||
NSError *error = MP42Error(@"Unsupported track",
|
NSError *error = MP42Error(@"Unsupported track",
|
||||||
[NSString stringWithFormat:@"%@, %u, has not been muxed.", track.name, (unsigned int)track.format],
|
[NSString stringWithFormat:@"%@, %u, has not been muxed.", track.name, (unsigned int)track.format],
|
||||||
201);
|
201);
|
||||||
|
|||||||
+1
-2
@@ -597,8 +597,7 @@ static const genreType_t genreType_strings[] = {
|
|||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// FIXME
|
[self.artworks removeAllObjects];
|
||||||
//self.artworks = nil;
|
|
||||||
self.edited = YES;
|
self.edited = YES;
|
||||||
self.isArtworkEdited = YES;
|
self.isArtworkEdited = YES;
|
||||||
return YES;
|
return YES;
|
||||||
|
|||||||
+22
-14
@@ -171,8 +171,28 @@
|
|||||||
return (self.trackId > 0);
|
return (self.trackId > 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
- (uint64_t)hSpacing {
|
- (void)setTrackWidth:(float)trackWidth
|
||||||
return _hSpacing;
|
{
|
||||||
|
_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
|
- (void)setHSpacing:(uint64_t)newHSpacing
|
||||||
@@ -182,10 +202,6 @@
|
|||||||
self.updatedProperty[@"hSpacing"] = @YES;
|
self.updatedProperty[@"hSpacing"] = @YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (uint64_t)vSpacing {
|
|
||||||
return _vSpacing;
|
|
||||||
}
|
|
||||||
|
|
||||||
- (void)setVSpacing:(uint64_t)newVSpacing
|
- (void)setVSpacing:(uint64_t)newVSpacing
|
||||||
{
|
{
|
||||||
_vSpacing = newVSpacing;
|
_vSpacing = newVSpacing;
|
||||||
@@ -193,10 +209,6 @@
|
|||||||
self.updatedProperty[@"vSpacing"] = @YES;
|
self.updatedProperty[@"vSpacing"] = @YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (uint8_t)newProfile {
|
|
||||||
return _newProfile;
|
|
||||||
}
|
|
||||||
|
|
||||||
- (void)setNewProfile:(uint8_t)newProfile
|
- (void)setNewProfile:(uint8_t)newProfile
|
||||||
{
|
{
|
||||||
_newProfile = newProfile;
|
_newProfile = newProfile;
|
||||||
@@ -210,10 +222,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
- (uint8_t)newLevel {
|
|
||||||
return _newLevel;
|
|
||||||
}
|
|
||||||
|
|
||||||
- (void)setNewLevel:(uint8_t)newLevel
|
- (void)setNewLevel:(uint8_t)newLevel
|
||||||
{
|
{
|
||||||
_newLevel = newLevel;
|
_newLevel = newLevel;
|
||||||
|
|||||||
Reference in new issue
Block a user