format_completion->lock("File::get_options");
switch( asset->format ) {
#ifdef HAVE_CIN_3RDPARTY
+#ifdef HAVE_LIBZMPEG
case FILE_AC3: FileAC3::get_parameters(parent_window, asset, format_window,
audio_options, video_options, edl);
break;
#endif
+#endif
#ifdef HAVE_DV
case FILE_RAWDV:
FileDV::get_parameters(parent_window, asset, format_window,
break; }
// format already determined
#ifdef HAVE_CIN_3RDPARTY
+#ifdef HAVE_LIBZMPEG
case FILE_AC3:
file = new FileAC3(this->asset, this);
break;
+#endif
#endif
case FILE_SCENE:
file = new FileScene(this->asset, this);
}
+// If file type is a list verify that all files match in dimensions.
+// Should be done only after the file open function has been performed
+// Reason: although this function checks if file exists or not but
+// it has no way of relaying this information back and if this function
+// is called before open_file the program may accidently interpret file
+// not found as file size don't match
+ if( !file->verify_file_list() ) {
+ delete file; file = 0;
+ return FILE_SIZE_DONT_MATCH;
+ }
+
// Set extra writing parameters to mandatory settings.
if( wr ) {