Skip to content

Commit

Permalink
Fix special characters in output file path
Browse files Browse the repository at this point in the history
Issue #54
  • Loading branch information
DanielSWolf committed Jan 4, 2019
1 parent d52bec8 commit 9ba5fc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

* **Added** basic support for non-English recordings through phonetic recognition ([issue #45](https://github.com/DanielSWolf/rhubarb-lip-sync/issues/45)).
* **Fixed** a bug that resulted in unwanted mouth movement at beginning of a recording ([issue #53](https://github.com/DanielSWolf/rhubarb-lip-sync/issues/53)).
* **Fixed** a bug that garbled special characters in the output file path ([issue #54](https://github.com/DanielSWolf/rhubarb-lip-sync/issues/54)).
* **Fixed** a bug that prevented the progress bar from reaching 100% ([issue #48](https://github.com/DanielSWolf/rhubarb-lip-sync/issues/48)).

## Version 1.8.0
Expand Down
3 changes: 1 addition & 2 deletions rhubarb/src/rhubarb/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ using std::unique_ptr;
using std::make_unique;
using std::shared_ptr;
using std::make_shared;
using std::ofstream;
using boost::filesystem::path;
using boost::adaptors::transformed;
using boost::optional;
Expand Down Expand Up @@ -248,7 +247,7 @@ int main(int platformArgc, char* platformArgv[]) {

// Export animation
unique_ptr<Exporter> exporter = createExporter(exportFormat.getValue());
optional<ofstream> outputFile;
optional<boost::filesystem::ofstream> outputFile;
if (outputFileName.isSet()) {
outputFile = boost::in_place(outputFileName.getValue());
outputFile->exceptions(std::ifstream::failbit | std::ifstream::badbit);
Expand Down

0 comments on commit 9ba5fc9

Please sign in to comment.