libav: fix confusing 'insane framerate' debug log message

Usually means no framerate / variable framerate. Also the
fraction arguments were swapped.
This commit is contained in:
Tim-Philipp Müller 2016-08-20 10:53:07 +01:00
parent 490e98913d
commit e5ceb287d3

View 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);
}
}