mirror of
https://github.com/amitbet/vncproxy.git
synced 2025-09-22 01:47:46 +00:00
fixed recorder (message init logic broke it)
added some handling for pixel format changes
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user