bugfix related with the re format of video stream and clean some code in the SubWindowHandle
Improvements in LibAvContextHandle and related code
Merge branch 'jfmcarreira-dev'
Bugfix in InputStream: add check for input format
Add function to return current format and set initial parameters
Fix minor bugs and add a debug timer in order to measure the real frame rate