libav: fix confusing 'insane framerate' debug log message
authorTim-Philipp Müller <tim@centricular.com>
Sat, 20 Aug 2016 09:53:07 +0000 (10:53 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 20 Aug 2016 09:54:07 +0000 (10:54 +0100)
Usually means no framerate / variable framerate. Also the
fraction arguments were swapped.

ext/libav/gstavcodecmap.c

index c4f1f7e..a507c5a 100644 (file)
@@ -2442,8 +2442,8 @@ gst_ffmpeg_caps_to_pixfmt (const GstCaps * caps,
           context->time_base.den, context->time_base.num,
           1. * context->time_base.den / context->time_base.num);
     } else {
-      GST_WARNING ("ignoring insane framerate %d/%d",
-          context->time_base.den, context->time_base.num);
+      GST_INFO ("ignoring framerate %d/%d (probably variable framerate)",
+          context->time_base.num, context->time_base.den);
     }
   }