StevenLOL / aforge

Automatically exported from code.google.com/p/aforge
Other
0 stars 1 forks source link

Support for keeping aspect ratio in VideoSourcePlayer #329

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This patch adds a KeepAspectRatio property to the VideoSourcePlayer class. It 
enables the player the video to be automatically rescaled in order to keep its 
aspect ratio even if the player size changes.

A live demonstration for this feature can be found on Screencast Capture Lite, 
a screen capturing tool I've written ( 
https://code.google.com/p/screencast-capture/ ).

Original issue reported on code.google.com by cesarso...@gmail.com on 17 Jan 2013 at 2:59

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by andrew.k...@gmail.com on 17 Jan 2013 at 8:20

GoogleCodeExporter commented 8 years ago

Original comment by andrew.k...@gmail.com on 17 Jan 2013 at 8:20

GoogleCodeExporter commented 8 years ago
Merged the fix which adds property allowing to keep aspect ratio in 
VideoSourcePlayer.

Committed in revision 1709.

Original comment by andrew.k...@gmail.com on 7 Feb 2013 at 2:07

GoogleCodeExporter commented 8 years ago

Original comment by andrew.k...@gmail.com on 16 Jul 2013 at 9:53

GoogleCodeExporter commented 8 years ago
Hello Andrew; happy new year!

Thanks for merging the patch! However, it seems that, for some reason, the 
latest available binary for AForge.Controls doesn't includes the 
KeepAspectRatio property. Would it be possible that, for some reason, the 
updated assembly didn't get included in the binary distributions/installers?

Original comment by cesarso...@gmail.com on 19 Jan 2014 at 1:43

GoogleCodeExporter commented 8 years ago
Hello,

Yes, I think this it the case. I remember someone was already reporting this 
issue.

I am sure you know how to make build ;)

Original comment by andrew.k...@gmail.com on 19 Jan 2014 at 4:22

GoogleCodeExporter commented 8 years ago
Yeah, it was just to let you know :P

Original comment by cesarso...@gmail.com on 19 Jan 2014 at 4:42

GoogleCodeExporter commented 8 years ago
How can i set the properties of Aspect Ratio of the VIdeoSourcePlayer. 

Because i did not find this property. Can you please guide how can i achieve to 
maintain the aspect ratio using aforge.net framework for the Integrated camera. 
Please reply me as soon as possible.

Original comment by vickylan...@gmail.com on 27 Apr 2015 at 7:27