[SCM] libav/experimental: Use AVFMT_FLAG_GENPTS for the input file (the RTP output format needs all the PTSs to be set)

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:07:14 UTC 2013


The following commit has been merged in the experimental branch:
commit 9dc0bc3dadbc01b350b84c0079de391cb6015094
Author: Luca Abeni <lucabe72 at email.it>
Date:   Mon Sep 17 07:50:04 2007 +0000

    Use AVFMT_FLAG_GENPTS for the input file (the RTP output format needs all the
    PTSs to be set)
    
    Originally committed as revision 10514 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/ffserver.c b/ffserver.c
index 0b21cc4..6d9af54 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -1917,6 +1917,7 @@ static int open_input_stream(HTTPContext *c, const char *info)
         http_log("%s not found", input_filename);
         return -1;
     }
+    s->flags |= AVFMT_FLAG_GENPTS;
     c->fmt_in = s;
     av_find_stream_info(c->fmt_in);
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list