add HV 7-3 new plugins
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / ffmpeg.C
index 0f41bd2382ecbbc630b75f5af847bb3c5101b283..df39763c3e30033db7c0d640d96d2d22a0c745f2 100644 (file)
@@ -1222,8 +1222,7 @@ int FFVideoStream::probe(int64_t pos)
                return -1;
        }
                
-       if (ffmpeg->interlace_from_codec)
-               return 1;
+       if (ffmpeg->interlace_from_codec) return 1;
 
                ret = read_frame(frame);
                if( ret > 0 ) {
@@ -3563,12 +3562,10 @@ float FFMPEG::ff_aspect_ratio(int stream)
        AVRational dar;
        AVRational sar = av_guess_sample_aspect_ratio(fmt_ctx, strm, NULL);
         if (sar.num) {
-            printf("sample_aspect_ratio, %f \n", av_q2d(sar));
             av_reduce(&dar.num, &dar.den,
                       par->width  * sar.num,
                       par->height * sar.den,
                       1024*1024);
-                      printf("display_aspect_ratio, %f \n", av_q2d(dar));
                       return av_q2d(dar);
                       }
         return ffvideo[stream]->aspect_ratio;
@@ -3617,7 +3614,6 @@ int FFMPEG::ff_interlace(int stream)
 // https://ffmpeg.org/doxygen/trunk/structAVCodecParserContext.html
 /* reads from demuxer because codec frame not ready */
        int interlace0 = ffvideo[stream]->st->codecpar->field_order;
-       printf("interlace from demux: %i\n", interlace0);
 
        switch (interlace0)
        {