[gstreamer-bugs] [Bug 324064] New: First vorbis buffer is dropped in some situations

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Dec 14 06:11:04 PST 2005


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=324064
 GStreamer | gst-plugins-base | Ver: HEAD CVS

           Summary: First vorbis buffer is dropped in some situations
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: michal.benes at xeris.cz
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: all-bugs at bugzilla.gnome.org


Duration for a vorbis buffer is comuped as  
GST_BUFFER_DURATION (outbuf) =
      GST_BUFFER_TIMESTAMP (outbuf) - vorbisenc->prev_ts;
what results in 0 for the first buffer.

This is a problem since gst_segment_clip returs FALSE when clipping to the
segment [0,-1)
Note that there is a condition
  if (stop != -1 && stop <= segment->start)
    return FALSE;
in the gst_segment_clip method.

I do not know if this is vorbisenc problem or if the gst_segment_clip condition
should be changed to
  if (stop != -1 && start != stop && stop <= segment->start)
    return FALSE;

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list