[mythtv-commits] Ticket #11098: Rework table section accounting to remove code duplication
MythTV
noreply at mythtv.org
Tue Sep 18 23:23:22 UTC 2012
#11098: Rework table section accounting to remove code duplication
-------------------------------------+-------------------------------------
Reporter: Rune Petersen | Owner: danielk
<rune@…> | Status: new
Type: Patch - Feature | Milestone: unknown
Priority: minor | Version: Master Head
Component: MythTV - DVB | Keywords: janitor rework mpeg
Severity: medium | tables
Ticket locked: 0 |
-------------------------------------+-------------------------------------
I felt like doing some (late) spring cleaning in the *StreamData code and
the table section accounting code seemed like an easy place to start.
The intent is to make the *StreamData classes (especially MPEGStreamData)
simpler/cleaner.
And as a bonus it uses a little less memory =)
The patch creates two classes TableStatus & TableStatusMap for keeping
account of a single table or map of tables, and then changes
ATSCStreamData, MPEGStreamData, and DVBStreamData to make use of
TableStatus(Map) and removing the old functions.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11098>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list