From: Michal Sojka Date: Sat, 28 Nov 2009 20:22:56 +0000 (+0100) Subject: Cleanup X-Git-Url: https://rtime.felk.cvut.cz/gitweb/frescor/streamer.git/commitdiff_plain/38babfe9b5c67e84e79c50db7a09406b1518bb16 Cleanup --- diff --git a/output.c b/output.c index b5d60e6..baa9183 100644 --- a/output.c +++ b/output.c @@ -4,6 +4,7 @@ * This is free software; see GPL.txt */ #include +#include "output.h" AVFormatContext *open_output_stream(const char *dst, int port, enum CodecType codec_type) diff --git a/streamer.c b/streamer.c index 128a154..28d5b7e 100644 --- a/streamer.c +++ b/streamer.c @@ -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*/