[FFmpeg-devel] [PATCH] avformat/dss: set packet duration

Michael Niedermayer michaelni at gmx.at
Tue Feb 24 16:01:22 CET 2015


Value taken from the decoder implementation

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 libavformat/dss.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/dss.c b/libavformat/dss.c
index 85cd26a..12a4034 100644
--- a/libavformat/dss.c
+++ b/libavformat/dss.c
@@ -228,7 +228,7 @@ static int dss_sp_read_packet(AVFormatContext *s, AVPacket *pkt)
     if (ret < 0)
         return ret;
 
-    pkt->duration     = 0;
+    pkt->duration     = 264;
     pkt->pos = pos;
     pkt->stream_index = 0;
 
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list