throw new ArgumentException("height must be positive.");\r
}\r
\r
- //HBFunctions.hb_init(0, 0);\r
- //IntPtr ptr = HBFunctions.hb_x264_param_unparse(\r
- // preset,\r
- // string.Join(",", tunes),\r
- // extraOptions,\r
- // profile,\r
- // level,\r
- // width,\r
- // height);\r
+ HBFunctions.hb_init(0, 0);\r
+ IntPtr ptr = HBFunctions.hb_x264_param_unparse(\r
+ preset,\r
+ string.Join(",", tunes),\r
+ extraOptions,\r
+ profile,\r
+ level,\r
+ width,\r
+ height);\r
\r
- //string x264Settings = Marshal.PtrToStringAnsi(ptr);\r
+ string x264Settings = Marshal.PtrToStringAnsi(ptr);\r
\r
\r
- return "";\r
+ return x264Settings;\r
}\r
\r
/// <summary>\r