Commit b2d01eea authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

MKV: MKV_DEBUG is a define to set, not a particular value

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 9286394d
...@@ -207,7 +207,7 @@ virtual_edition_c::virtual_edition_c( chapter_edition_c * p_edit, std::vector<ma ...@@ -207,7 +207,7 @@ virtual_edition_c::virtual_edition_c( chapter_edition_c * p_edit, std::vector<ma
b_ordered = true; b_ordered = true;
} }
#if MKV_DEBUG #ifdef MKV_DEBUG
msg_Dbg( &p_main_segment->sys.demuxer, "-- RECAP-BEGIN --" ); msg_Dbg( &p_main_segment->sys.demuxer, "-- RECAP-BEGIN --" );
print(); print();
msg_Dbg( &p_main_segment->sys.demuxer, "-- RECAP-END --" ); msg_Dbg( &p_main_segment->sys.demuxer, "-- RECAP-END --" );
...@@ -610,7 +610,7 @@ bool virtual_chapter_c::Leave( bool b_do_subs ) ...@@ -610,7 +610,7 @@ bool virtual_chapter_c::Leave( bool b_do_subs )
return false; return false;
} }
#if MKV_DEBUG #ifdef MKV_DEBUG
void virtual_chapter_c::print() void virtual_chapter_c::print()
{ {
msg_Dbg( &p_segment->sys.demuxer, "*** chapter %"PRId64" - %"PRId64" (%u)", msg_Dbg( &p_segment->sys.demuxer, "*** chapter %"PRId64" - %"PRId64" (%u)",
......
...@@ -72,7 +72,7 @@ public: ...@@ -72,7 +72,7 @@ public:
int64_t i_virtual_stop_time; int64_t i_virtual_stop_time;
int i_seekpoint_num; int i_seekpoint_num;
std::vector<virtual_chapter_c *> sub_chapters; std::vector<virtual_chapter_c *> sub_chapters;
#if MKV_DEBUG #ifdef MKV_DEBUG
void print(); void print();
#endif #endif
}; };
...@@ -101,7 +101,7 @@ public: ...@@ -101,7 +101,7 @@ public:
private: private:
void retimeChapters(); void retimeChapters();
void retimeSubChapters( virtual_chapter_c * p_vchap ); 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(); } void print(){ for( size_t i = 0; i<chapters.size(); i++ ) chapters[i]->print(); }
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment