[vlc-commits] demux: avi: add position on resync debug message

Francois Cartegnie git at videolan.org
Mon Jan 11 21:17:28 CET 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Jan 11 14:30:36 2016 +0100| [1491773b3f3f20c79c66db38e23a438ce0c2d35c] | committer: Francois Cartegnie

demux: avi: add position on resync debug message

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

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

diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c
index 88765a3..9368e9d 100644
--- a/modules/demux/avi/avi.c
+++ b/modules/demux/avi/avi.c
@@ -1374,7 +1374,7 @@ static int Demux_UnSeekable( demux_t *p_demux )
                     return( 0 );    /* eof */
                 default:
                     msg_Warn( p_demux,
-                              "seems to have lost position, resync" );
+                              "seems to have lost position @%ld, resync", stream_Tell(p_demux->s) );
                     if( AVI_PacketSearch( p_demux ) )
                     {
                         msg_Err( p_demux, "resync failed" );



More information about the vlc-commits mailing list