[Cin] Update: I tried to restore "Warn on EDL version mismatch' preference setting

Andrew Randrianasulu randrianasulu at gmail.com
Wed Jan 13 08:24:31 CET 2021


There is much simpler version

diff --git a/cinelerra-5.1/cinelerra/mwindow.C b/cinelerra-5.1/cinelerra/mwindow.C
index 04549fde..ded1603e 100644
--- a/cinelerra-5.1/cinelerra/mwindow.C
+++ b/cinelerra-5.1/cinelerra/mwindow.C
@@ -2211,8 +2211,9 @@ if(debug) printf("MWindow::load_filenames %d\n", __LINE__);
                        if( strcmp(cin_version, CINELERRA_VERSION) &&
                            strcmp(cin_version, "Unify") &&
                            strcmp(cin_version, "5.1") ) {
+                               if (preferences->warn_version)
                                eprintf(_("Warning: XML from cinelerra version %s\n"
-                                       "Session data may be incompatible."), cin_version);
+                                        "Session data may be incompatible."), cin_version);
                        }
                        if( new_edl->load_xml(&xml_file, LOAD_ALL) ) {
                                eprintf(_("Error: unable to load:\n  %s"), filename);

----

With this patch it shows warning in same window where plugin mismatch warn shows it,
so it remain more compact.. 

Again, not sure if we want to extend or repair or remove this *toggle* altogether .....
I think this warning can be set to 'always display' now, when it doesn't spawn their own window.

PS: My non-loading old project was simply because by now CinGG tries to 'Create resources only' first
I switched it back to loading/replacing current proj, and it showed up.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EDL_VER_warning_pref_restored-2.diff
Type: text/x-diff
Size: 767 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20210113/f71d24f1/attachment.bin>


More information about the Cin mailing list