GUAC-236: Output sensible messages at sensible times.
This commit is contained in:
parent
c4f7bae10b
commit
2f93e6ce67
@ -82,11 +82,6 @@ int main(int argc, char* argv[]) {
|
|||||||
guacenc_log(GUAC_LOG_INFO, "Guacamole video encoder (guacenc) "
|
guacenc_log(GUAC_LOG_INFO, "Guacamole video encoder (guacenc) "
|
||||||
"version " VERSION);
|
"version " VERSION);
|
||||||
|
|
||||||
guacenc_log(GUAC_LOG_INFO, "Video will be encoded as \"%s\" at %ix%i "
|
|
||||||
"and %i bps.", codec, width, height, bitrate);
|
|
||||||
|
|
||||||
guacenc_log(GUAC_LOG_INFO, "Output files will end with \".%s\".", suffix);
|
|
||||||
|
|
||||||
/* Prepare libavcodec */
|
/* Prepare libavcodec */
|
||||||
avcodec_register_all();
|
avcodec_register_all();
|
||||||
|
|
||||||
@ -100,6 +95,14 @@ int main(int argc, char* argv[]) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
guacenc_log(GUAC_LOG_INFO, "%i input file(s) provided.", total_files);
|
||||||
|
|
||||||
|
guacenc_log(GUAC_LOG_INFO, "Video will be encoded as \"%s\" at %ix%i "
|
||||||
|
"and %i bps.", codec, width, height, bitrate);
|
||||||
|
|
||||||
|
guacenc_log(GUAC_LOG_INFO, "Output files will end with \".%s\".", suffix);
|
||||||
|
|
||||||
|
|
||||||
/* Encode all input files */
|
/* Encode all input files */
|
||||||
for (i = optind; i < argc; i++) {
|
for (i = optind; i < argc; i++) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user