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 600469 - gdpdepay: Clear adapter on flush and state change
gdpdepay: Clear adapter on flush and state change
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
unspecified
Other All
: Normal normal
: 0.10.26
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-11-02 19:33 UTC by Olivier Crête
Modified: 2009-11-05 14:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gdpdepay: Clear adapter on flush and state change (1.14 KB, patch)
2009-11-02 19:33 UTC, Olivier Crête
none Details | Review

Description Olivier Crête 2009-11-02 19:33:54 UTC
The depayloader currently fails to properly clear its adapter on flushes and on state changes.
Comment 1 Olivier Crête 2009-11-02 19:33:56 UTC
Created attachment 146775 [details] [review]
gdpdepay: Clear adapter on flush and state change
Comment 2 Wim Taymans 2009-11-05 14:43:58 UTC
Commited with a small fix. You can't clear the adapter in flush-start because then it could be racy with the streaming thread. flush-stop is the only event synchronized with the streaming thread where the adapter can be safely cleared.


commit b5620e12413c85d1881b1a0d8ce8c09c3d6fd869
Author: Olivier Crête <olivier.crete@collabora.co.uk>
Date:   Thu Nov 5 15:42:09 2009 +0100

    gdpdepay: Clear adapter on flush and state change
    
    Fixes #600469