Hi, gstreamer-devel:<br><br> gst_util_uint64_scale_int has 3 parameters: val, num, denom and this function perform val*num/denom and return the result. The last parameter denom can't be negative, that's why you got these warning messages.<br>
<br> So your mission is to find out where these messages come from. After that, you can tell why these messages occur. I also got these warnings several times and finally I find out the denom which I passed to gst_util_uint64_scale_int will be -1 when the playing is reaching EOS. So I add a "if" logic in the code and solved this problem.<br>
<br>Eric Zhang<br><br><div class="gmail_quote">2008/12/10 Noe Nieto <span dir="ltr"><<a href="mailto:tzicatl@gmail.com">tzicatl@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am working with this pipeline:<br>gnomevfssrc name="camsrc" do-timestamp=true location="%s" ! multipartdemux ! jpegdec ! \<br>
timeoverlay valign="bottom" text="Frame Time" shaded-background=true ! \<br>
clockoverlay text="clock time:" shaded-background=true ! ffmpegcolorspace ! \<br>
ximagesink force-aspect-ratio="true"<br><br>When I run it there is a lot of messages printed in the console and they look like this:<br><br>GStreamer-CRITICAL **: gst_util_uint64_scale_int: assertion `denom > 0' failed<br>
<br>This happens when I run the pipeline either with gst-launch or a specifically designed python app. The question is: Why do I keep getting this messages on the console?<br><br><br>I hope someone can give some advice.<br>
<font color="#888888">
Noe.<br>
</font><br>------------------------------------------------------------------------------<br>
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.<br>
The future of the web can't happen without you. Join us at MIX09 to help<br>
pave the way to the Next Web now. Learn more and register at<br>
<a href="http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/" target="_blank">http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/</a><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br>