[Bug 781008] New: scaletempo: Fix GAP events handle issue when set rate

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Apr 7 07:15:29 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=781008

            Bug ID: 781008
           Summary: scaletempo: Fix GAP events handle issue when set rate
    Classification: Platform
           Product: GStreamer
           Version: 1.11.1
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: lyon.wang at nxp.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

This issue was found when I tried with gstplayer API in our application when I
set rate to 2 with clips contain both audio and vdieo tracks, after the clip is
finished, it will still not eos until time "duration x rate"  (eg. a 12s clips,
when set rate to 2.0, it won't quit until 24s)

After checking in streamsychnoizer the GST_EVENT_EOS is converted to
GST_EVENT_GAP, in scaletempo, it didn't modify the gap event ts and duration
accrodingly with the rate.  (as in scaletempo segment.rate will be set 1.0 to
keep the audio sample rate unchanged.)

Could you please have review with attached patch?

Thanks
Lyon

-- 
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