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 667444 - baseparse: clear adapter in reset so no old data is read when re-using elements
baseparse: clear adapter in reset so no old data is read when re-using elements
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.10.35
Other All
: Normal normal
: 0.10.36
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-01-06 21:44 UTC by Antoine Tremblay
Modified: 2012-01-12 19:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to clear the adapter on reset (832 bytes, patch)
2012-01-06 21:45 UTC, Antoine Tremblay
committed Details | Review

Description Antoine Tremblay 2012-01-06 21:44:09 UTC
gstbaseparse_reset was not clearing it's adapter on reset causing problems when a pipeline went for example from PLAYING to NULL and then back to PLAYING, the data from the last stream would be used in the parser.

Attached is the patch to fix the issue
Comment 1 Antoine Tremblay 2012-01-06 21:45:01 UTC
Created attachment 204784 [details] [review]
patch to clear the adapter on reset
Comment 2 Tim-Philipp Müller 2012-01-12 19:58:26 UTC
commit df6de8fe0c4f7179281def3fed282573b5a3e546
Author: Antoine Tremblay <hexa00@gmail.com>
Date:   Thu Jan 12 19:53:11 2012 +0000

    baseparse: clear adapter in reset so baseparse is reusable
    
    GstBaseParse was not clearing its adapter on reset causing
    problems when a pipeline went for example from PLAYING to NULL
    state and then back to PLAYING again. The data from the last
    stream would be used in the parser.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=667444