taglia / HandBrakeBatch

Encode video in batch mode using HandBrake
http://www.osomac.com
53 stars 17 forks source link

Slash characters in preset names not supported #4

Closed taglia closed 12 years ago

taglia commented 12 years ago

If a preset name contains a "/", it will not appear in the dropdown list in HandBrakeBatch, although it is handled nicely by HandBrakeCLI.

taglia commented 12 years ago

Turns out that the problem had nothing to do with "/" characters, it was a coincidence that in the test file the first non-working preset and all the following ones contained a "/". The problem was linked to the use of a method of NSFileHandle which does not necessarily read till the end of a file. Replaced with "readDataToEndOfFile".

Fixed in 1.11