GNOME Bugzilla – Bug 530719
gst_video_calculate_display_ratio fails when playing Ogg Theora file
Last modified: 2008-04-30 17:07:44 UTC
Please describe the problem: When trying to play http://ia341212.us.archive.org/2/items/TheStumpWMExperience/TheStumpWMExperience.ogg I get: ~$ gst-launch-0.10 playbin uri=file:///home/simon/TheStumpWMExperience.ogg Setting pipeline to PAUSED ... Pipeline is PREROLLING ... (gst-launch-0.10:18945): GStreamer-CRITICAL **: gst_value_set_fraction: assertion `denominator != 0' failed (gst-launch-0.10:18945): GStreamer-CRITICAL **: gst_value_set_fraction: assertion `denominator != 0' failed (gst-launch-0.10:18945): GStreamer-CRITICAL **: gst_value_set_fraction: assertion `denominator != 0' failed ** (gst-launch-0.10:18945): CRITICAL **: gst_video_calculate_display_ratio: assertion `num > 0' failed ERROR: from element /playbin0/vbin/videosink/videosink-actual-sink-xvimage: Internal GStreamer error: negotiation problem. Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer. Additional debug info: xvimagesink.c(2010): gst_xvimagesink_setcaps (): /playbin0/vbin/videosink/videosink-actual-sink-xvimage: Error calculating the output display ratio of the video. ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... FREEING pipeline ... Steps to reproduce: Actual results: Expected results: Does this happen every time? Yes. Other information:
Thanks for the report. Fixed with: 2008-04-30 Michael Smith <msmith@songbirdnest.com> * ext/theora/theoradec.c: Cool kids don't divide by zero. Treat PAR of x:0 as 1:1. Fixes #530719.