<div dir="ltr">Thanks All! That helps tremendously... especially the links to the tutorials.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 16, 2013 at 1:16 PM, Remco Treffkorn <span dir="ltr"><<a href="mailto:remco@rvt.com" target="_blank">remco@rvt.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Does this help:<br>
<br>
<a href="http://stackoverflow.com/questions/3298934/how-do-i-view-gstreamer-debug-output" target="_blank">http://stackoverflow.com/questions/3298934/how-do-i-view-gstreamer-debug-output</a><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Wednesday, October 16, 2013 11:40:12 Bob Barker wrote:<br>
> We’re new to GStreamer and are writing our own elements.<br>
> After downloading all the GStreamer source code and searching it, we cannot<br>
> figure out how to turn on the debug output. For example, in this source<br>
> excerpt how to do you get line 1049 to output at runtime?<br>
> From gstreamer-1.0.10/libs/gst/base/gstbasesink.c" line 1027 of 4902<br>
> 1026 gboolean<br>
> 1027 gst_base_sink_query_latency (GstBaseSink * sink, gboolean * live,<br>
> 1028 gboolean * upstream_live, GstClockTime * min_latency,<br>
> 1029 GstClockTime * max_latency)<br>
> 1030 {<br>
> 1031 gboolean l, us_live, res, have_latency;<br>
> 1032 GstClockTime min, max, render_delay;<br>
> 1033 GstQuery *query;<br>
> 1034 GstClockTime us_min, us_max;<br>
> 1035<br>
> 1036 /* we are live when we sync to the clock */<br>
> 1037 GST_OBJECT_LOCK (sink);<br>
> 1038 l = sink->sync;<br>
> 1039 have_latency = sink->priv->have_latency;<br>
> 1040 render_delay = sink->priv->render_delay;<br>
> 1041 GST_OBJECT_UNLOCK (sink);<br>
> 1042<br>
> 1043 /* assume no latency */<br>
> 1044 min = 0;<br>
> 1045 max = -1;<br>
> 1046 us_live = FALSE;<br>
> 1047<br>
> 1048 if (have_latency) {<br>
> 1049 GST_DEBUG_OBJECT (sink, "we are ready for LATENCY query");<br>
> 1050 /* we are ready for a latency query this is when we preroll or when we<br>
> are<br>
> 1051 * not async. */<br>
><br>
> We tried searching for main() to see if debug output is turned on at<br>
> runtime from command line arguments but there's 309 main() functions in the<br>
> total source base.<br>
> TIA<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Remco Treffkorn (RT445)<br>
HAM DC2XT<br>
<a href="mailto:remco@rvt.com">remco@rvt.com</a> <a href="tel:%28831%29%20685-1201" value="+18316851201">(831) 685-1201</a><br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<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>
</div></div></blockquote></div><br></div>