Jump to content

LibMISB/Examples/Library basic usage: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 113: Line 113:
</syntaxhighlight>
</syntaxhighlight>


== Troubleshooting ==
== Logging ==


For this example is possible to enable the debug mode by adding this line in the code of '''libmisb/misb-converter.cpp.'''
You can enable the debugging using '''SetDebuggerLever''' in your application with the LibMISB. For example:


<pre>
<pre>
  /* Initialize MISB object*/
   libmisb::LibMisb libmisb;
   libmisb::LibMisb libmisb;
+ libmisb.SetDebuggerLever(LIBMISB_DEBUG);
  libmisb.SetDebuggerLever(LIBMISB_DEBUG);
</pre>
</pre>


<noinclude>{{LibMISB/Foot|Examples|Examples/Add_data_to_MPEG_Transport_Stream}}</noinclude>
<noinclude>{{LibMISB/Foot|Examples|Examples/Add_data_to_MPEG_Transport_Stream}}</noinclude>
457

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.