assetedit/resize track fixes, dangling popup threads
[goodguy/history.git] / cinelerra-5.1 / cinelerra / asset.C
index 3133649b9ae161077c3b1afdb49e8327452c9213..5a17fde869250aea8744a5cf82f218fdfba289f3 100644 (file)
@@ -88,7 +88,7 @@ int Asset::init_values()
        ff_video_options[0] = 0;
        ff_audio_bitrate = 0;
        ff_video_bitrate = 0;
-       ff_video_quality = 0;
+       ff_video_quality = -1;
 
        jpeg_quality = 80;
        aspect_ratio = -1;
@@ -341,14 +341,14 @@ int Asset::equivalent(Asset &asset, int test_audio, int test_video, EDL *edl)
                                delete [] cp;
                        }
                }
-               if( strcmp(apath, tpath) ) result = 1;
+               if( strcmp(apath, tpath) ) result = 0;
                delete [] apath;
                delete [] tpath;
                delete [] out_path;
        }
 
-       if(result && format == FILE_FFMPEG)
-               result = !strcmp(fformat, asset.fformat);
+       if(result && format == FILE_FFMPEG && strcmp(fformat, asset.fformat) )
+               result = 0;
 
        if(test_audio && result)
        {