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 792395 - audiotestsrc: wrong offset when rate is changed at runtime
audiotestsrc: wrong offset when rate is changed at runtime
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-01-10 07:34 UTC by Justin Kim
Modified: 2018-11-03 12:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
audiotestsrc: refuse to change rate at runtime (1.32 KB, patch)
2018-01-10 07:35 UTC, Justin Kim
none Details | Review

Description Justin Kim 2018-01-10 07:34:37 UTC
If rate is changed at runtime, audiotestsrc sends buffers with wrong offset.
It can be fixed by accumulating offset whenever it sends buffers. However, when it comes to seek, it seems not to be easy.
Comment 1 Justin Kim 2018-01-10 07:35:11 UTC
Created attachment 366594 [details] [review]
audiotestsrc: refuse to change rate at runtime

    audiotestsrc: refuse to change rate at runtime

    If 'rate' is changed at runtime, the next buffer has wrong
    offset because the offset is the total time divided by changed
    rate. In addition, when we think of seek with runtime rate
    change, it's difficult to get right offset.
Comment 2 GStreamer system administrator 2018-11-03 12:03:00 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/414.