[vlc-commits] PS: display the length in seconds

Jean-Baptiste Kempf git at videolan.org
Sat Jul 26 01:30:24 CEST 2014


vlc/vlc-2.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jul 20 21:34:49 2014 +0200| [d3eb378a48cf2144b31ed900f024fec4e83c1abe] | committer: Jean-Baptiste Kempf

PS: display the length in seconds

(cherry picked from commit b243e3b69d219258e5a5a316b170ad0f3d6dcfc7)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/demux/ps.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/ps.c b/modules/demux/ps.c
index 89ed268..361d529 100644
--- a/modules/demux/ps.c
+++ b/modules/demux/ps.c
@@ -274,7 +274,7 @@ static void FindLength( demux_t *p_demux )
             {
                 p_sys->i_length = i_length;
                 p_sys->i_time_track = i;
-                msg_Dbg( p_demux, "we found a length of: %"PRId64, p_sys->i_length );
+                msg_Dbg( p_demux, "we found a length of: %"PRId64 "s", p_sys->i_length / CLOCK_FREQ );
             }
         }
     }



More information about the vlc-commits mailing list