Added function for outputting current video device settings.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@350 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2003-01-16 14:57:30 +00:00
parent 45213be9bf
commit 7a06d529bd
1 changed files with 1 additions and 1 deletions

View File

@ -1320,7 +1320,7 @@ bool Camera::GetCurrentSettings( int device, char *output, bool verbose )
sprintf( output+strlen(output), "n%d:%d,", chan, vid_src.name );
sprintf( output+strlen(output), "C%d:%d,", chan, vid_src.channel );
sprintf( output+strlen(output), "Fl%d:%x,", chan, vid_src.flags );
sprintf( output+strlen(output), "T%d:%d", chan, vid_src.type )
sprintf( output+strlen(output), "T%d:%d", chan, vid_src.type );
sprintf( output+strlen(output), "F%d:%d%s,", chan, vid_src.norm, chan==(vid_cap.channels-1)?"":"," );
}
}