something breaks if video width/height is not multiple of 4
This commit is contained in:
parent
9d7e6ecdac
commit
3c73ffe9e0
2 changed files with 33 additions and 15 deletions
|
|
@ -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__ = (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue