]> rtime.felk.cvut.cz Git - frescor/streamer.git/commitdiff
Cleanup
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 28 Nov 2009 20:22:56 +0000 (21:22 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 28 Nov 2009 20:22:56 +0000 (21:22 +0100)
output.c
streamer.c

index b5d60e64216f082e0586fc6552a405da2e8df8dc..baa91832987178a4548cf484e518f95e63f09586 100644 (file)
--- a/output.c
+++ b/output.c
@@ -4,6 +4,7 @@
  *  This is free software; see GPL.txt
  */
 #include <libavformat/avformat.h>
+#include "output.h"
 
 
 AVFormatContext *open_output_stream(const char *dst, int port, enum CodecType codec_type)
index 128a154252e2689c05874b251ef813e89900a7e3..28d5b7e1407802601161ae3df31333f49e22ee5e 100644 (file)
@@ -233,7 +233,7 @@ int main(int argc, char *argv[])
   if (ret) PERROR_AND_EXIT(ret, "frsh_init1");
 
   /* fill default network contract params */
-  frsh_rtp_budget = bitrate/8
+  frsh_rtp_budget = 100*bitrate/8/100
   frsh_rtp_period_ms = 1000;
   frsh_rtp_deadline_ms = 1000/fps;
 #endif /*CONFIG_FFMPEG_WITH_FRSH*/