There is a GST_DEBUG environment variable that accepts that same format.  See here for other variables:<div><br></div><div><a href="http://developer.gnome.org/gstreamer/unstable/gst-running.html">http://developer.gnome.org/gstreamer/unstable/gst-running.html</a><br>
<br><div class="gmail_quote">On Thu, Aug 2, 2012 at 9:46 AM, Aaron <span dir="ltr"><<a href="mailto:yanglm488@hotmail.com" target="_blank">yanglm488@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,all<br>
<br>
   I have use  the command  "gst-launch filesrc<br>
location=/mnt/sdcard/test.264 ! h264parse ! omx_h264dec ! ffmpegcolorspace !<br>
filesink location=/mnt/sdcard/ttt  --gst-debug=omx:5",this command is right.<br>
Now  i  write the code  and  the program  can not run . I want to debug  the<br>
program  and  want  to use  the parameter about  "--gst-debug=omx:5". But  i<br>
donot know  how to  put the "--gst-debug ..."  into program. So what  should<br>
i do?<br>
<br>
   Thank you very much!<br>
<br>
Aaron<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/How-to-add-parameter-gst-debug-in-program-tp4655792.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/How-to-add-parameter-gst-debug-in-program-tp4655792.html</a><br>

Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div>