Commit Graph
100 Commits
Author SHA1 Message Date
Damiano Galassi 034431894d Cosmetics 2015-09-05 13:12:06 +02:00
Damiano Galassi 0367be9e3f Disable NSLinguisticTagger on 10.9 and previous because it's too crashy 2015-09-04 20:48:19 +02:00
Damiano Galassi 637dd62adb Better error message. 2015-09-03 08:27:28 +02:00
Damiano Galassi 55dc84d4ef Pass the file url to QTKit, I accidentaly removed it some days ago 2015-09-02 08:01:34 +02:00
Damiano Galassi ef92468f35 Revert part of a previous change because NSURL caches the file size value and so it breaks the optimize progress bar 2015-09-02 08:00:51 +02:00
Damiano Galassi 81b4d88092 Made some headers private 2015-09-02 07:59:54 +02:00
galad87 0246a3498d Added mexican ratings 2015-08-29 13:11:23 +02:00
galad87 b70e19961c Remove the useless init method from MP42Fifo interface and be safer in the implementation 2015-08-29 11:40:37 +02:00
galad87 fa39cf9f4b Add subscripting support to MP42Metadata 2015-08-29 11:39:04 +02:00
galad87 f6b23874f6 More cosmetics 2015-08-27 18:28:54 +02:00
galad87 a074653ec1 Make MP42Fifo a generic container. 2015-08-26 17:25:40 +02:00
Damiano Galassi 68e2ec30a4 Added a mutext around ffmpeg open/close calls and reformatted the code a bit 2015-08-25 17:23:40 +02:00
Damiano Galassi bf32ee8003 Audit more code. 2015-08-25 10:59:38 +02:00
Damiano Galassi 6b9a075236 Another round of code modernization 2015-08-24 20:04:19 +02:00
Damiano Galassi e5095a611a Enabled more warnings, switched the deployment target to 10.7 and minor code cleanup 2015-08-24 17:32:42 +02:00
Damiano Galassi efc0e794c0 More nullable annotations 2015-08-21 09:06:29 +02:00
Damiano Galassi 7612b74435 Fix more issues found by address sanitizer 2015-08-20 15:28:48 +02:00
Damiano Galassi 9e3554d6df Fixed more errors 2015-08-20 14:47:10 +02:00
Damiano Galassi f2ccd9e1d6 Fixed a number of incorrect memory accesses 2015-08-20 14:24:44 +02:00
Damiano Galassi b06696f299 Fixed an illegal memory access, yay for the new address sanitizer 2015-08-20 13:31:52 +02:00
Damiano Galassi ae80f72bd0 Read the last sample of each track 2015-08-20 13:11:32 +02:00
Damiano Galassi 44ed8eb6d8 OCD 2015-08-20 13:10:57 +02:00
Damiano Galassi a6e03a0b06 Added some nullable and generics, needs Xcode 7 to compile 2015-08-19 19:55:50 +02:00
Damiano Galassi bba1753c48 Modernized the projects and fixed a warning 2015-08-19 14:48:40 +02:00
Damiano Galassi 4f1fc0daaf Bump version to 0.32. 2015-05-02 13:42:13 +02:00
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