]> rtime.felk.cvut.cz Git - frescor/streamer.git/commitdiff
Set default parameters which works with both my cameras
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 27 Nov 2009 18:17:31 +0000 (19:17 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 27 Nov 2009 18:17:31 +0000 (19:17 +0100)
streamer.c

index 0a93751f75069a17e63c57a737e84db3014386b8..635593f0aea8ed0fafab9b044611bd3e28291c73 100644 (file)
@@ -35,8 +35,8 @@ static const char *sdp_file = "sdp.txt";
 static const char *vdev = "/dev/video0";
 static const char *dst = "127.0.0.1";
 static int dport = 20000;
-static int width = 352;
-static int height = 288;
+static int width = 640;
+static int height = 480;
 int fps = 25;
 static const char *impform = "video4linux2";
 AVFormatContext *s, *os;