[vlc-commits] transcode: set pts on module open
Ilkka Ollakka
git at videolan.org
Wed Jan 8 12:26:12 CET 2014
vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Tue Dec 17 16:42:00 2013 +0200| [3baf8ce144bdb26c0c12e53c6537dd3571549cb4] | committer: Ilkka Ollakka
transcode: set pts on module open
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3baf8ce144bdb26c0c12e53c6537dd3571549cb4
---
modules/stream_out/transcode/video.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/stream_out/transcode/video.c b/modules/stream_out/transcode/video.c
index d7fdcc0..148d600 100644
--- a/modules/stream_out/transcode/video.c
+++ b/modules/stream_out/transcode/video.c
@@ -891,6 +891,8 @@ int transcode_video_process( sout_stream_t *p_stream, sout_stream_id_t *id,
id->b_transcode = false;
return VLC_EGENERIC;
}
+ date_Set( &id->interpolated_pts, p_pic->date );
+ date_Set( &id->next_output_pts, p_pic->date );
}
/*Input lipsync and drop check */
More information about the vlc-commits
mailing list