Commit Graph
100 Commits
Author SHA1 Message Date
Damiano Galassi b8cd627cd6 Merged in travis_cobbs/mp42foundation (pull request #4)
Add ability to update chapter track titles from Handbrake-compatible chapters CSV file.
2015-04-24 13:15:27 +02:00
Damiano Galassi 4e53271070 Fix 32bit build. 2015-04-01 12:55:00 +02:00
Damiano Galassi 6641495b35 Fix a potential crash on 10.6.8 in the preview generation. 2015-04-01 12:43:46 +02:00
Damiano Galassi 8ad7e178ed Merged in digdog/mp42foundation (pull request #3)
Add extended language tag atom ('mdia.elng') support to select correct .traineddata file for Trad. and Simp. Chinese
2015-03-30 11:48:00 +02:00
Damiano Galassi 0fdad0eebf Fix a crash when the rating index is outside the bounds of the ratings codes. This happens when a users changes the ratings settings in the preferences. 2015-03-29 21:40:44 +02:00
Damiano Galassi acbc6a3f93 MacGui: random fixes. 2015-02-27 09:43:11 +01:00
Damiano Galassi d427d6f214 Disable those logs in debug mode too. 2014-12-15 17:23:50 +01:00
Damiano Galassi 45fc71d337 Removed a duplicated list of supported formats. 2014-12-14 09:44:34 +01:00
Damiano Galassi 5d9890e5f4 Do not pass the chapter track to the muxer. 2014-12-14 09:30:47 +01:00
Damiano Galassi 017cd8d8c1 Return NO in updateMP4FileWithAttributes:attributes:error: only if a serious error happened like a permission error or the mp4 not closing properly. Print the other errors to the log. 2014-12-14 09:23:18 +01:00
Damiano Galassi f0b349eef1 New formats constants. 2014-12-12 11:20:08 +01:00
Damiano Galassi c6b60dbd42 Fixed a hang that happened when trying to mux an unsupported track, and added better error reporting. Disabled some log messages. 2014-12-12 09:13:32 +01:00
Damiano Galassi 3ed5ca860a Close the bold tag correctly. 2014-12-11 16:28:49 +01:00
Damiano Galassi 3bf6d614b6 Don't set the language to nil if the linguistic tagger is not able to find a language. 2014-12-11 16:28:01 +01:00
Damiano Galassi fd8c5cf274 OCD. 2014-11-19 09:26:52 +01:00
Damiano Galassi f8a408ff9b Removed an unused ivar in MP42Metadata. 2014-11-08 11:48:20 +01:00
Damiano Galassi b0258bfca5 Fixed yet another crash with the ratingiTunesCode ivar, I should just drop 10.6 and switch to ARC. 2014-11-08 08:19:37 +01:00
Damiano Galassi acd886df09 OCD plus fixed a leak. 2014-11-07 18:37:50 +01:00
Damiano Galassi a9aba89695 Add a missing retain to ratingiTunesCode… sigh… 2014-11-06 17:07:00 +01:00
Damiano Galassi 109d28b14b Reworked the MetadataImporter api to take a completation block. 2014-11-06 16:22:15 +01:00
Damiano Galassi 374266db69 Removed a useless autoreleasepool. 2014-11-06 14:09:39 +01:00
Damiano Galassi 8870e8099a Reenable static analyser on every file due to a bug in Xcode 6.
Fixed a possible null deference.
2014-11-05 18:49:24 +01:00
Damiano Galassi e634d55575 Fix a NSTableView issue on Yosemite. 2014-11-03 19:16:04 +01:00
Damiano Galassi ea68240920 Fixed a warning. 2014-10-29 19:00:00 +01:00
Damiano Galassi 064ae8235c Do not recreate the preview track automatically if chapters are edited. 2014-10-28 13:54:50 +01:00
Damiano Galassi cd1cfda2fe Warnings --; 2014-10-27 08:15:28 +01:00
Damiano Galassi 73309f670e Fixed a type mismatch. 2014-10-27 08:07:44 +01:00
Damiano Galassi 4f51d8ceab Fix compilation with the 10.10 sdk. 2014-10-27 08:07:17 +01:00
Damiano Galassi 224958455a Reworked the logger a bit. 2014-10-26 14:56:42 +01:00
Damiano Galassi 38ffcce146 Enable the variable audio thing by default, let's see what happens. 2014-10-24 18:16:56 +02:00
Damiano Galassi ae965714c0 Fix the duration for real. 2014-10-24 17:48:36 +02:00
Damiano Galassi 2161d6cd4d Fix the duration of the first audio sample from mkv when using the variable audio rate code. 2014-10-24 17:37:27 +02:00
Damiano Galassi f8abb461a9 Update the debug window on the main thread. 2014-10-24 11:46:16 +02:00
Damiano Galassi da474728fa Always test before a commit. ehm. 2014-10-24 11:30:08 +02:00
Damiano Galassi 8ce6bd1931 Rewrote an error message. 2014-10-24 11:27:18 +02:00
Damiano Galassi d9e2a022f1 Added a log window to show the mp4v2 log messages. 2014-10-24 09:07:58 +02:00
Damiano Galassi 65e8074829 Added an error message if we try to save on a folder without the write permission. 2014-10-23 18:14:43 +02:00
Damiano Galassi e2292ba6f4 Replaced some NSAutoreleasepool with @autoreleasepool. 2014-10-23 14:23:41 +02:00
Damiano Galassi 22436fa661 Reworked StringFromTime and TimeFromString to show three digit for the last value. 2014-10-23 14:03:32 +02:00
Damiano Galassi f3fc75138a Better validation of the input in - (BOOL)setTag:(id)value forKey:(NSString *)key . 2014-10-21 18:59:45 +02:00
Damiano Galassi db5f14f730 More warnings fixed. 2014-10-21 18:42:25 +02:00
Damiano Galassi c7e9a124f3 Check if outError pointer is not null before assigning a new value. 2014-10-15 09:51:47 +02:00
Damiano Galassi 97c1378a48 Removed an unused ivar in MP42OCRWrapper and added a check to select the correct Chinese trained data. 2014-10-15 08:55:32 +02:00
Damiano Galassi 0394dbddaa Fixed the search button position. 2014-08-20 18:08:54 +02:00
Damiano Galassi 1170579734 Removed the code to check for installed components. 2014-08-14 17:22:43 +02:00
Damiano Galassi 1e1f842d77 Fixed FLAC and Vorbis decoders. 2014-08-14 17:19:49 +02:00
Damiano Galassi 05b6351d0d Work around a crash in track references, and modified the creation of the jpeg track to be done only if needed. 2014-07-29 13:10:59 +02:00
Damiano Galassi dbf73e87c8 Load the DTS decoder from Perian too. 2014-07-29 12:36:44 +02:00
Damiano Galassi adc294be53 Added the MP42ComponentLoader, it will be used to load core audio components from inside the application bundle. 2014-07-24 19:04:44 +02:00
Damiano Galassi dc227c8fbc Check if the NSLinguisticTagger class is available before using it (it was added in 10.7). 2014-07-24 15:07:50 +02:00
Damiano Galassi d369decee2 Removed two NSLog. 2014-07-09 17:09:57 +02:00
Damiano Galassi f5b1d6d7af Fixed SublerCLI. 2014-07-09 14:16:00 +02:00
Damiano Galassi cc26cdf2f9 Added a comment about the unfinished MP42EditListReconstructor class. 2014-07-09 12:19:32 +02:00
Damiano Galassi 78ccde9934 Another try at making the construction of new edit lists in the AVFoundation importer a bit better. 2014-06-29 14:30:47 +02:00
Damiano Galassi 64c95977ca Cosmetics. 2014-06-29 14:28:42 +02:00
Damiano Galassi 0a4785e4ef A simple static heap implementation. 2014-06-29 14:28:25 +02:00
Damiano Galassi c8ab6b3b3c Removed a bit of duplicate code in the chapters preview part. 2014-06-26 10:00:47 +02:00
Damiano Galassi 812cac3785 Check the return value of optimize in SBDocument. 2014-06-26 09:10:07 +02:00
Damiano Galassi b1d1d1dd25 Uses the filePathURL where possibile. 2014-06-25 13:06:05 +02:00
Damiano Galassi 90be068c6d Cosmetics. 2014-06-25 11:09:25 +02:00
Damiano Galassi dc3d8132b6 Fixed the optimize method on 10.6. 2014-06-25 11:03:10 +02:00
Damiano Galassi 52a5117483 Hide a private MP42Track method. Plus added @private in some classes. 2014-06-25 09:18:19 +02:00
Damiano Galassi 3ac8115de8 Reverted a previous change. OCD: 2014-06-25 08:55:05 +02:00
Damiano Galassi a8cd0e962c Added more docs.
Copy the track in addTrack: to be more safe.
2014-06-25 08:39:20 +02:00
Damiano Galassi c35308d93e Added a bunch of comments. 2014-06-24 07:22:06 +02:00
Damiano Galassi fa51d2b0b4 Added a missing autorelease. 2014-04-18 10:41:04 +02:00
Damiano Galassi c1426e83b8 Used firstObject where possible to simplify some code. 2014-04-18 10:26:15 +02:00
Damiano Galassi ec0663f5f4 Enabled and fixes some warnings. 2014-03-29 08:51:26 +01:00
Damiano Galassi 3f6ceb3bab Still not optimal. 2014-03-28 10:20:17 +01:00
Damiano Galassi a0a8c3b56f Fixed an issue with a negative initial presetantion output timestamp. 2014-03-27 11:13:53 +01:00
Damiano Galassi d1fbdb19d5 More cosmetics changes. 2014-03-27 10:47:47 +01:00
Damiano Galassi ba273bc261 Cosmetics. 2014-03-27 10:14:11 +01:00
Damiano Galassi 60cf96a6af Cosmetiscs. 2014-03-27 10:01:18 +01:00
Damiano Galassi 618b52140c Various fixes. 2014-03-27 09:58:34 +01:00
Damiano Galassi 6bc342118d Handle the initial empty edit list. 2014-03-26 21:18:38 +01:00
Damiano Galassi 43903a4590 Apply the same changes to the other demuxed part. 2014-03-26 20:00:39 +01:00
Damiano Galassi b7668b0fc8 Almost working edit lists implementation in the AVFoundation importer. yay! 2014-03-26 19:35:55 +01:00
Damiano Galassi 1035b321c6 Apply the same Core Image filters to the PGS subtitles. 2014-03-26 09:41:26 +01:00
Damiano Galassi 6a95e8d565 Cosmetics. 2014-03-24 14:08:58 +01:00
Damiano Galassi e88c278428 Updated an autoreleasepool. 2014-03-24 13:52:50 +01:00
Damiano Galassi e87ca990e5 Fixed a crash. 2014-03-22 08:40:33 +01:00
Damiano Galassi 196dc6effc Two small fixes to error handling in MP42File. 2014-03-21 08:41:57 +01:00
Damiano Galassi 4140eee606 More work on the queue. 2014-03-16 13:15:04 +01:00
Damiano Galassi d66726ae01 Revert an unwanted commit. 2014-03-16 10:09:05 +01:00
Damiano Galassi 6eaa5a11b3 Use NSLinguisticTagger to deduce the language of the srt file. Patch by Aymeric Bard. 2014-03-16 09:36:32 +01:00
Damiano Galassi 83f6b41d74 Added the protocol type to MP42File’s delegate. 2014-03-12 20:05:38 +01:00
Damiano Galassi 2c565c224e Renamed UniversalDetector to avoid conflicts. 2014-03-12 09:49:55 +01:00
Damiano Galassi b29092a153 Cosmetics. 2014-03-11 19:48:28 +01:00
Damiano Galassi 1b17ce90b2 Add a missing retain. 2014-02-22 15:09:15 +01:00
Damiano Galassi 2ece3cabf2 Add an uuid property to MP42Image. 2014-02-20 10:15:27 +01:00
Damiano Galassi d5c56a7a5c Indentation. 2014-02-19 17:40:21 +01:00
Damiano Galassi 86b600b6a6 Use NSString’s fileSystemRepresentation where possible and fixed some clang static analyzer warning. 2014-02-15 08:29:00 +01:00
Damiano Galassi 70095c73a7 Comment out a line in MatroskaParser that made the timecode start at 0 instead of the timecode of the first cluster. 2014-02-15 08:27:17 +01:00
Damiano Galassi 20dcb31cb5 Update projects to 5.1 2014-02-15 08:26:15 +01:00
Damiano Galassi 9fdc8e8cd0 Make MP42Image thread-safe. 2014-02-09 15:24:02 +01:00
Damiano Galassi 2e559043eb Add a simple pre-processing to vobsub samples and disable styles creation for vobsub. 2014-02-09 14:58:57 +01:00
Damiano Galassi 6b73413c7c Initialize a muxer instance only if there is some actual work to do. 2014-02-08 15:04:29 +01:00
Damiano Galassi 4d3a9312ae Fix another logic error. 2014-02-08 14:53:29 +01:00
Damiano Galassi 8a9d2835cc Add a missing “!”. 2014-02-08 14:49:42 +01:00
Damiano Galassi bb12555844 Add an additional check on the number of audio channels. 2014-01-22 12:11:53 +01:00