[vlc-commits] Ogg: display debug about Annodex info

Jean-Baptiste Kempf git at videolan.org
Mon Jan 14 12:12:48 CET 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jan 14 12:12:09 2013 +0100| [51071756a6ef22ba34a76256344af97d788661b2] | committer: Jean-Baptiste Kempf

Ogg: display debug about Annodex info

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

 modules/demux/ogg.c |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/modules/demux/ogg.c b/modules/demux/ogg.c
index 3ce567f..aedcf00 100644
--- a/modules/demux/ogg.c
+++ b/modules/demux/ogg.c
@@ -2173,6 +2173,11 @@ static void Ogg_ReadAnnodexHeader( demux_t *p_demux,
         minor_version = oggpack_read( &opb, 2*8 ); /* minor version */
         timebase_numerator = GetQWLE( &p_oggpacket->packet[16] );
         timebase_denominator = GetQWLE( &p_oggpacket->packet[24] );
+
+        msg_Dbg( p_demux, "Annodex info: version %"PRIu16".%"PRIu16" "
+                          "Timebase  %"PRId64" / %"PRId64,
+                          major_version, minor_version,
+                          timebase_numerator, timebase_denominator );
     }
     else if( p_oggpacket->bytes >= 42 &&
              !memcmp( p_oggpacket->packet, "AnxData", 7 ) )



More information about the vlc-commits mailing list