bsd compatibility mods
[goodguy/history.git] / cinelerra-5.1 / cinelerra / assetedit.C
index 7275070ec365a5c7c853378af8989a0a1d082a81..0a417e4bf7175775ec737b7a79e5e3c28445c700 100644 (file)
@@ -561,7 +561,7 @@ void AssetEditWindow::create_objects()
 void AssetEditWindow::show_info_detail()
 {
        int cur_x, cur_y;
-       get_abs_cursor_xy(cur_x, cur_y, 0);
+       get_abs_cursor(cur_x, cur_y, 0);
        detail_dialog->start((Asset*)asset_edit->indexable, cur_x, cur_y);
 }
 
@@ -927,9 +927,11 @@ void DetailAssetWindow::create_objects()
        strncpy(info,_("no info available"),len);
        if( !mwindow->preferences->get_asset_file_path(asset, file_name) ) {
                switch( asset->format ) {
+#ifdef HAVE_LIBZMPEG
                case FILE_MPEG:
                        FileMPEG::get_info(asset->path, file_name, &info[0],len);
                        break;
+#endif
                case FILE_FFMPEG:
                        FileFFMPEG::get_info(asset->path, &info[0],len);
                        break;