something breaks if video width/height is not multiple of 4

This commit is contained in:
j 2010-08-25 17:38:08 +02:00
commit 3c73ffe9e0
2 changed files with 33 additions and 15 deletions

View file

@ -10,11 +10,13 @@ import gst
import Image
class ImageSink(gst.BaseSink):
#def log(self, msg):
# print msg
__gsignals__ = {
"frame" : (gobject.SIGNAL_RUN_LAST,
gobject.TYPE_NONE,
( gobject.TYPE_PYOBJECT, gobject.TYPE_UINT64 ))
gobject.TYPE_NONE,
( gobject.TYPE_PYOBJECT, gobject.TYPE_UINT64 ))
}
__gsttemplates__ = (