[FFmpeg-cvslog] avformat/dss: set packet duration
Michael Niedermayer
git at videolan.org
Thu Feb 26 01:13:54 CET 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Feb 24 14:51:16 2015 +0100| [5634ca6d378c0255977c83fdcdf0760a2b821ab4] | committer: Michael Niedermayer
avformat/dss: set packet duration
Value taken from the decoder implementation
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5634ca6d378c0255977c83fdcdf0760a2b821ab4
---
libavformat/dss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/dss.c b/libavformat/dss.c
index 2830b90..0992d68 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;
More information about the ffmpeg-cvslog
mailing list