]> rtime.felk.cvut.cz Git - frescor/streamer.git/commitdiff
Updated to new FRHS protocol in ffmpeg
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 27 Nov 2009 00:01:38 +0000 (01:01 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 27 Nov 2009 00:01:38 +0000 (01:01 +0100)
streamer.c

index bb7f091bf0c881c0fa401b58018d375aad83d7d2..ee77884582e479cef4d6a6ed74d3b35e7b7cf431 100644 (file)
@@ -28,7 +28,7 @@
 #include <frsh.h>
 
 /*temporrary solution to pass network parameters */
-extern long int udp_budget, udp_period;
+extern long int avformat_frsh_budget, avformat_frsh_period;
 #endif /*CONFIG_STREAMER_WITH_FRSH*/
 
 static const char *sdp_file = "sdp.txt";
@@ -188,8 +188,8 @@ int main(int argc, char *argv[])
   if (ret) PERROR_AND_EXIT(ret, "frsh_init1");
 
   /* fill default network contract params */
-  udp_budget = 50000; 
-  udp_period = 500;
+  avformat_frsh_budget = 50000; 
+  avformat_frsh_period = 500;
 #endif /*CONFIG_FFMPEG_WITH_FRSH*/
 
   avcodec_register_all();