Last active
August 29, 2015 13:57
-
-
Save mnn/9707326 to your computer and use it in GitHub Desktop.
adds bars to bottom and top so the resulting stream covers whole screen (de_w and de_h parameters)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
de_w=1920.0 | |
de_h=1080.0 | |
a=de_w/de_h | |
my_w=Width() | |
my_h=Height() | |
p_w=0 | |
p_h=(-my_h+(my_w/a))/2 | |
AddBorders(round(p_w), round(p_h), round(p_w), round(p_h),$000000) | |
#Subtitle(string(p_h)+"x") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment