streamio/streamio-ffmpeg — pull request #38 by sshanker220 (2012-09-20 06:35:41+00:00)
Title: Fix frame_rate for invalid videos

Fixes problem in which for invalid movie objects the frame_rate method raises a NoMethodError while width and height return nil and duration returns 0.

This fixes the NoMethodError by returning nil (in the manner of width and height).