[vlc-commits] commit: transcode: use same pts with and without threads on duplicating ( Ilkka Ollakka )

git at videolan.org git at videolan.org
Tue May 25 19:03:16 CEST 2010


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Tue May 25 17:20:01 2010 +0300| [75a524c518a587d088b10a8b89e68d52e0b3bae3] | committer: Ilkka Ollakka 

transcode: use same pts with and without threads on duplicating

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=75a524c518a587d088b10a8b89e68d52e0b3bae3
---

 modules/stream_out/transcode/video.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/stream_out/transcode/video.c b/modules/stream_out/transcode/video.c
index 9b16ae6..8afe2c2 100644
--- a/modules/stream_out/transcode/video.c
+++ b/modules/stream_out/transcode/video.c
@@ -758,7 +758,7 @@ int transcode_video_process( sout_stream_t *p_stream, sout_stream_id_t *id,
                    if( p_pic2 != NULL )
                    {
                        picture_Copy( p_pic2, p_pic );
-                       p_pic2->date = i_pts + 1;
+                       p_pic2->date = i_pts;
                    }
                }
                else



More information about the vlc-commits mailing list