fixed recorder (message init logic broke it)

added some handling for pixel format changes
This commit is contained in:
amit bezalel
2017-07-12 01:06:02 +03:00
parent 18bef62b79
commit fe51682a55
13 changed files with 401 additions and 351 deletions

View File

@@ -6,10 +6,10 @@ type PseudoEncoding struct {
Typ int32
}
func (pe *PseudoEncoding ) Type() int32{
func (pe *PseudoEncoding) Type() int32 {
return pe.Typ
}
func (pe *PseudoEncoding) Read(*common.PixelFormat, *common.Rectangle, *common.RfbReadHelper) (common.Encoding, error){
func (pe *PseudoEncoding) Read(*common.PixelFormat, *common.Rectangle, *common.RfbReadHelper) (common.Encoding, error) {
return pe, nil
}