In fact, _videoStream->time_base.* is wrong when _videoStream->avg_frame_rate.* is right... And I find "result != result" beautiful :)