Skip to content

Commit 3b491ea

Browse files
committed
Add quick convert option in the main menu
1 parent 27ce585 commit 3b491ea

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

include/ffmpeg-coder/frontend_funcs.hpp

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ void homepage()
8383
//Adding the options to the homepage menu (Main menu)
8484
vector<string> options;
8585
options.push_back("Make Codes");
86+
options.push_back("Quick Convert");
8687
options.push_back("About");
8788
options.push_back("Settings");
8889
options.push_back("Exit");
@@ -106,22 +107,26 @@ void homepage()
106107
ffmpeg.select_encodes();
107108
ffmpeg.selected_action();
108109
}
109-
else if (choice == 2)
110+
else if (choice == 2){
111+
cout << "Work in progress !!" << endl;
112+
}
113+
else if (choice == 3)
110114
{
111115
about();
112116
}
113-
else if (choice == 3)
117+
else if (choice == 4)
114118
{
115119
settings();
116120
}
117-
else if (choice == 4)
121+
else if (choice == 5)
118122
{
119123
clear_screen();
120124
std::cout << "Exiting the program..............." << std::endl;
121125
exit(0);
122126
}
123127
else
124128
{
129+
cout << "Invalid choice | Exiting...........";
125130
exit(0);
126131
}
127132

0 commit comments

Comments
 (0)