[vlc-commits] mux: ts: add pid and codec on dts continuity debug

Francois Cartegnie git at videolan.org
Fri Nov 11 14:18:56 CET 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Nov 11 10:26:12 2016 +0100| [46471ff05ef939c326a4dd00808367c98067a6ec] | committer: Francois Cartegnie

mux: ts: add pid and codec on dts continuity debug

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

 modules/mux/mpeg/ts.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/mux/mpeg/ts.c b/modules/mux/mpeg/ts.c
index 90268f4..16291ed 100644
--- a/modules/mux/mpeg/ts.c
+++ b/modules/mux/mpeg/ts.c
@@ -1337,8 +1337,9 @@ static bool MuxStreams(sout_mux_t *p_mux )
               p_data->i_dts - 10 * CLOCK_FREQ > p_stream->state.i_pes_dts +
               p_stream->state.i_pes_length ) )
         {
-            msg_Warn( p_mux, "packet with too strange dts "
+            msg_Warn( p_mux, "packet with too strange dts on pid %d (%4.4s)"
                       "(dts=%"PRId64",old=%"PRId64",pcr=%"PRId64")",
+                      p_stream->ts.i_pid, (char *) &p_stream->pes.i_codec,
                       p_data->i_dts, p_stream->state.i_pes_dts,
                       p_pcr_stream->state.i_pes_dts );
             block_Release( p_data );



More information about the vlc-commits mailing list