Add a DRC setting to the preferences.

This commit is contained in:
Damiano Galassi committed 2016-09-13 12:52:01 +02:00
1 parent e5c14727c9
commit e323a76b30
2 files changed
+18 -12

No files matched your search

+1 -1
View File
@@ -427,7 +427,7 @@ static void logCallback(MP4LogLevel loglevel, const char *fmt, va_list ap) {
}
}
if (trackNeedConversion(track.format)) {
if (trackNeedConversion(track.format) && ![track isMemberOfClass:[MP42ChapterTrack class]]) {
NSAssert(track.conversionSettings, @"Missing conversion settings");
}
+17 -11
View File
@@ -16,25 +16,31 @@
#import "MP42Track+Private.h"
@implementation MP42Track
@interface MP42Track ()
{
MP42TrackId _sourceId;
uint64_t _size;
uint32_t _bitrate;
NSString *_name;
NSSet<NSString *> *_mediaCharacteristicTags;
uint64_t _alternate_group;
int64_t _startOffset;
uint32_t _timescale;
MP42Duration _duration;
NSMutableDictionary<NSString *, NSNumber *> *_updatedProperty;
}
@property(nonatomic, readwrite) MP42TrackId trackId;
@property(nonatomic, readwrite) MP42TrackId sourceId;
@property(nonatomic, readwrite, copy) NSURL *sourceURL;
@property(nonatomic, readwrite) FourCharCode format;
@property(nonatomic, readwrite) MP42Duration duration;
@property(nonatomic, readwrite) BOOL muxed;
@property(nonatomic, readonly) NSMutableDictionary<NSString *, NSNumber *> *updatedProperty;
@end
@implementation MP42Track
- (instancetype)init
{
if ((self = [super init])) {