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 487901 - [mpegtsparse] stale PAT info when switching from PLAYING to READY and then to PLAYING
[mpegtsparse] stale PAT info when switching from PLAYING to READY and then to...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 0.10.6
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-10-18 13:33 UTC by Wai-Ming Ho
Modified: 2008-02-06 12:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Correctly resets the version_number when the stream is cleared (1.19 KB, patch)
2007-10-18 13:38 UTC, Wai-Ming Ho
none Details | Review

Description Wai-Ming Ho 2007-10-18 13:33:15 UTC
When switching from PLAYING to READY and then back to PLAYING, mpegtsparse does not ensure that the old PAT info is up to date because the version number in the old PAT section may coincide with the new PAT version number even if the PAT contents are different. The result is mpegtsparse not updating its pat-info because the PAT was considered to be unchanged.
Comment 1 Wai-Ming Ho 2007-10-18 13:38:30 UTC
Created attachment 97418 [details] [review]
Correctly resets the version_number when the stream is cleared

The patch also proposes to completely remove all streams when mpegts_packetizer_clear() is called. This eliminates all traces of old PSI and the next PLAYING state can start without historical side effects.
Comment 2 Zaheer Abbas Merali 2008-02-06 12:36:52 UTC
This is fixed in CVS