After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 530719 - gst_video_calculate_display_ratio fails when playing Ogg Theora file
gst_video_calculate_display_ratio fails when playing Ogg Theora file
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.18
Other All
: Normal normal
: 0.10.20
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-04-30 11:49 UTC by Simon Morgan
Modified: 2008-04-30 17:07 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Simon Morgan 2008-04-30 11:49:38 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:
Comment 1 Michael Smith 2008-04-30 17:07:44 UTC
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.