vlc | branch: master | Steve Lhomme <[email protected]> | Mon Mar 2 08:15:57 2015 +0000| [b2d01eea6d5d22353bfa5c147801201cca0750eb] | committer: Jean-Baptiste Kempf
MKV: MKV_DEBUG is a define to set, not a particular value Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b2d01eea6d5d22353bfa5c147801201cca0750eb --- modules/demux/mkv/virtual_segment.cpp | 4 ++-- modules/demux/mkv/virtual_segment.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/demux/mkv/virtual_segment.cpp b/modules/demux/mkv/virtual_segment.cpp index a41abb8..d9d0dc0 100644 --- a/modules/demux/mkv/virtual_segment.cpp +++ b/modules/demux/mkv/virtual_segment.cpp @@ -207,7 +207,7 @@ virtual_edition_c::virtual_edition_c( chapter_edition_c * p_edit, std::vector<ma b_ordered = true; } -#if MKV_DEBUG +#ifdef MKV_DEBUG msg_Dbg( &p_main_segment->sys.demuxer, "-- RECAP-BEGIN --" ); print(); msg_Dbg( &p_main_segment->sys.demuxer, "-- RECAP-END --" ); @@ -610,7 +610,7 @@ bool virtual_chapter_c::Leave( bool b_do_subs ) return false; } -#if MKV_DEBUG +#ifdef MKV_DEBUG void virtual_chapter_c::print() { msg_Dbg( &p_segment->sys.demuxer, "*** chapter %"PRId64" - %"PRId64" (%u)", diff --git a/modules/demux/mkv/virtual_segment.hpp b/modules/demux/mkv/virtual_segment.hpp index ed40e59..46e9df2 100644 --- a/modules/demux/mkv/virtual_segment.hpp +++ b/modules/demux/mkv/virtual_segment.hpp @@ -72,7 +72,7 @@ public: int64_t i_virtual_stop_time; int i_seekpoint_num; std::vector<virtual_chapter_c *> sub_chapters; -#if MKV_DEBUG +#ifdef MKV_DEBUG void print(); #endif }; @@ -101,7 +101,7 @@ public: private: void retimeChapters(); void retimeSubChapters( virtual_chapter_c * p_vchap ); -#if MKV_DEBUG +#ifdef MKV_DEBUG void print(){ for( size_t i = 0; i<chapters.size(); i++ ) chapters[i]->print(); } #endif _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
