[xiph-commits] r9026 - trunk/py-ogg2/examples
arc at motherfish-iii.xiph.org
arc at motherfish-iii.xiph.org
Thu Mar 3 06:14:22 PST 2005
Author: arc
Date: 2005-03-03 06:14:21 -0800 (Thu, 03 Mar 2005)
New Revision: 9026
Modified:
trunk/py-ogg2/examples/writ_encoder.py
Log:
Oops, need to update this example too.
Modified: trunk/py-ogg2/examples/writ_encoder.py
===================================================================
--- trunk/py-ogg2/examples/writ_encoder.py 2005-03-03 14:05:43 UTC (rev 9025)
+++ trunk/py-ogg2/examples/writ_encoder.py 2005-03-03 14:14:21 UTC (rev 9026)
@@ -60,9 +60,9 @@
self.fd = open('test.writ.ogg','w')
self.pn = 0
- def packetin(self, packet, granulepos=0) :
+ def packetin(self, packet, end_granule=0) :
packet.packetno = self.pn
- packet.granulepos = granulepos
+ packet.end_granule = end_granule
if self.pn == 0 :
packet.bos = 1
else :
More information about the commits
mailing list