[Bug 723651] New: gst-plugins-good/gst/avi/gstavidemux.c - VBR audio timestamps

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Feb 4 23:53:45 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=723651
  GStreamer | gst-plugins-good | 1.2.4

           Summary: gst-plugins-good/gst/avi/gstavidemux.c - VBR audio
                    timestamps
    Classification: Platform
           Product: GStreamer
           Version: 1.2.4
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: sangkyu.choi at lge.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


In get_buffer_info function, something is wrong.
Second param is entry->total, but i wonder that it is entry_n.
could you check it?

thank you.


/* given @entry_n in @stream, calculate info such as timestamps and
 * offsets for the entry. */
static void
gst_avi_demux_get_buffer_info (GstAviDemux * avi, GstAviStream * stream,
    guint entry_n, GstClockTime * timestamp, GstClockTime * ts_end,
    guint64 * offset, guint64 * offset_end)
{
  GstAviIndexEntry *entry;

  entry = &stream->index[entry_n];

  if (stream->is_vbr) {
    /* VBR stream next timestamp */
    if (stream->strh->type == GST_RIFF_FCC_auds) {
      if (timestamp)
        *timestamp =
            avi_stream_convert_frames_to_time_unchecked (stream, entry->total);

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list