Skip to content

Commit

Permalink
only discard sound packet by sequence if one was actually provided
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@8962 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Apr 8, 2015
1 parent cf00f4c commit 1fd46bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/client/ui_client_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1724,7 +1724,7 @@ def _process_sound_data(self, packet):
soundlog("speaker is now disabled - dropping packet")
return
seq = metadata.intget("sequence", -1)
if self.min_sound_sequence>0 and seq<self.min_sound_sequence:
if self.min_sound_sequence>0 and seq>=0 and seq<self.min_sound_sequence:
soundlog("ignoring sound data with old sequence number %s", seq)
return
if metadata.boolget("end-of-stream"):
Expand Down

0 comments on commit 1fd46bf

Please sign in to comment.