ffmpeg | branch: master | Nicolas George <geo...@nsup.org> | Sat Nov  1 
14:38:02 2014 +0100| [90cdec5e2698973fdb6643c1d66c7254478929f3] | committer: 
Michael Niedermayer

ffmpeg: init sub2video.last_pts.

Get the heartbeat working when the video has negative timestamps.

Fix trac ticket #4062.

Signed-off-by: Nicolas George <geo...@nsup.org>
Signed-off-by: Michael Niedermayer <michae...@gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=90cdec5e2698973fdb6643c1d66c7254478929f3
---

 ffmpeg_filter.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/ffmpeg_filter.c b/ffmpeg_filter.c
index 2ba2d9b..0555cf6 100644
--- a/ffmpeg_filter.c
+++ b/ffmpeg_filter.c
@@ -619,6 +619,7 @@ static int sub2video_prepare(InputStream *ist)
     ist->sub2video.frame = av_frame_alloc();
     if (!ist->sub2video.frame)
         return AVERROR(ENOMEM);
+    ist->sub2video.last_pts = INT64_MIN;
     return 0;
 }
 

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to