[vlc-devel] commit: Put back workaround for PTS ( Marian Ďurkovič )

git version control git at videolan.org
Thu Oct 15 10:22:52 CEST 2009


vlc | branch: 1.0-bugfix | Marian Ďurkovič <md at bts.sk> | Thu Oct 15 10:19:21 2009 +0200| [9e84d20b33a173f0616c8e776190d8ee3b6ba571] | committer: Marian Ďurkovič 

Put back workaround for PTS

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

 modules/access/rtp/session.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/rtp/session.c b/modules/access/rtp/session.c
index b267015..27189ad 100644
--- a/modules/access/rtp/session.c
+++ b/modules/access/rtp/session.c
@@ -413,7 +413,7 @@ rtp_decode (demux_t *demux, const rtp_session_t *session, rtp_source_t *src)
     /* TODO: inter-medias/sessions sync (using RTCP-SR) */
     const uint32_t timestamp = rtp_timestamp (block);
     src->ref_ts = 0;
-    block->i_pts = CLOCK_FREQ * timestamp / pt->frequency;
+    block->i_pts = UINT64_C(1) * CLOCK_FREQ * timestamp / pt->frequency;
 
     /* CSRC count */
     size_t skip = 12u + (block->p_buffer[0] & 0x0F) * 4;




More information about the vlc-devel mailing list