Skip to content
Browse files

Fix file names with ext. chars on Windows for vid.stab.

  • Loading branch information...
1 parent b574669 commit f7b6b8d8941310d1a6febeba7bbbdf9270c907e5 @ddennedy ddennedy committed May 24, 2014
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/modules/vid.stab/filter_vidstab.cpp
View
5 src/modules/vid.stab/filter_vidstab.cpp
@@ -131,8 +131,11 @@ static void init_apply_data( mlt_filter filter, mlt_frame frame, VSPixelFormat v
// Initialize VSTransformations
vsTransformationsInit( &apply_data->trans );
- // Load the motions from the analyze step and convert them to VSTransformations
+ // Convert file name string encoding.
+ mlt_properties_from_utf8( properties, "results", "_results" );
+ filename = mlt_properties_get( properties, "_results" );
+ // Load the motions from the analyze step and convert them to VSTransformations
FILE* f = fopen( filename, "r" );
VSManyLocalMotions mlms;

0 comments on commit f7b6b8d

Please sign in to comment.
Something went wrong with that request. Please try again.