mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-17 21:30:02 +01:00
show input when verbose is enabled
This commit is contained in:
@@ -159,6 +159,9 @@ static int vjsend( int cmd, unsigned char *buf )
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(verbose)
|
||||||
|
fprintf(stdout, "%s\n", buf);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -282,6 +285,8 @@ static int processLine(FILE *infile, FILE *outfile, char *tmp, size_t len)
|
|||||||
{
|
{
|
||||||
int wait_frames_ = 1;
|
int wait_frames_ = 1;
|
||||||
if( sscanf( tmp + 1, "%d" , &wait_frames_ ) == 1 ) {
|
if( sscanf( tmp + 1, "%d" , &wait_frames_ ) == 1 ) {
|
||||||
|
if(verbose)
|
||||||
|
fprintf(stdout, "wait %d frames\n", wait_frames_);
|
||||||
if( vj_flush( wait_frames_ ) == 0)
|
if( vj_flush( wait_frames_ ) == 0)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@@ -482,7 +487,6 @@ static void do_work(int stdin_fd, FILE *std_out)
|
|||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
int i = 0;
|
|
||||||
int n = 0;
|
int n = 0;
|
||||||
char option[2];
|
char option[2];
|
||||||
int err = 0;
|
int err = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user