Revision 15bc38e5 ffmpeg.c

View differences:

ffmpeg.c
2881 2881
            if(me_threshold)
2882 2882
                enc->debug |= FF_DEBUG_MV;
2883 2883

  
2884
            assert(enc->frame_rate_base == rfps_base); // should be true for now
2885
            if (enc->frame_rate != rfps) { 
2884
            if (enc->frame_rate != rfps || enc->frame_rate_base != rfps_base) { 
2886 2885

  
2887 2886
                if (verbose >= 0)
2888
                    fprintf(stderr,"\nSeems that stream %d comes from film source: %2.2f->%2.2f\n",
2889
                            i, (float)enc->frame_rate / enc->frame_rate_base,
2887
                    fprintf(stderr,"\nSeems that stream %d comes from film source: %2.2f (%d/%d) -> %2.2f (%d/%d)\n",
2888
                            i, (float)enc->frame_rate / enc->frame_rate_base, enc->frame_rate, enc->frame_rate_base,
2890 2889

  
2891
                    (float)rfps / rfps_base);
2890
                    (float)rfps / rfps_base, rfps, rfps_base);
2892 2891
            }
2893 2892
            /* update the current frame rate to match the stream frame rate */
2894 2893
            frame_rate      = rfps;

Also available in: Unified diff