xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Ticket #362: no-metadata.patch

File no-metadata.patch, 738 bytes (added by Antoine Martin, 8 years ago)

removes metadata from sound packets

  • src/xpra/sound/src.py

    ### Eclipse Workspace Patch 1.0
    #P Xpra
     
    9595        #            "duration"  : buf.duration,
    9696        #            "offset"    : buf.offset,
    9797        #            "offset_end": buf.offset_end}
    98         metadata = {"timestamp" : buf.timestamp,
    99                     "duration"  : buf.duration}
     98        #metadata = {"timestamp" : buf.timestamp,
     99        #            "duration"  : buf.duration}
     100        metadata = {}
    100101        self.buffer_count += 1
    101102        self.byte_count += len(buf.data)
    102103        self.emit("new-buffer", buf.data, metadata)