[gstreamer-bugs] [Bug 361584] [mpeg2dec] framerate=0/0 on caps leads to crash

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Nov 9 03:18:12 PST 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=361584

  GStreamer | gst-plugins-ugly | Ver: HEAD CVS


Jan Arne Petersen changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jpetersen at jpetersen.org




------- Comment #4 from Jan Arne Petersen  2006-11-09 11:17 UTC -------
The relevant part from the debug output of a gst-launch run with a mpeg file
with 12 fps:

0:00:01.546620000 25221 0x8123d88 DEBUG             mpeg2dec
gstmpeg2dec.c:645:handle_sequence:<mpeg2dec0> sequence flags: 165, frame
period: 2250000 (0.0833333), frame rate: 0/0

The frame_period 2250000 is not contained in the list of predefined
frame_periods and so the find-the-framerate code in handle_sequence:

/* find framerate */
for (i = 0; i < 9; i++) {
  if (info->sequence->frame_period == frame_periods[i]) {
    mpeg2dec->fps_n = fpss[i][0];
    mpeg2dec->fps_d = fpss[i][1];
  }
}

doesn't find any framerate.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list