[SCM] libav/experimental: * Add a sleep when doing the post to ffserver. Yes, this is the wrong solution.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:31:40 UTC 2013


The following commit has been merged in the experimental branch:
commit ddceb31d93a27ff43682de3898149dae585de16c
Author: Philip Gladstone <philipjsg at users.sourceforge.net>
Date:   Thu May 9 01:19:15 2002 +0000

    * Add a sleep when doing the post to ffserver. Yes, this is the wrong
      solution.
    
    Originally committed as revision 464 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libav/http.c b/libav/http.c
index b7a363e..d3cf883 100644
--- a/libav/http.c
+++ b/libav/http.c
@@ -217,8 +217,10 @@ static int http_connect(URLContext *h, const char *path)
     s->buf_end = s->buffer;
     s->line_count = 0;
     s->location[0] = '\0';
-    if (post)
+    if (post) {
+        sleep(1);
         return 0;
+    }
     
     /* wait for header */
     q = line;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list