bug fix.
Fix for public adapter.
Merge pull request #10 from Shallong/video-size-bug-fix

bug fix.