Skip to content

Commit

Permalink
ignore empty tag messages we get with gstreamer 1.x
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@10252 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Aug 11, 2015
1 parent 8951396 commit 7b35975
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/xpra/sound/sound_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,9 @@ def parse_message1(self, message):
taglist = message.parse_tag()
tags = [taglist.nth_tag_name(x) for x in range(taglist.n_tags())]
log("bus message with tags=%s", tags)
if not tags:
#ignore it
return
if "bitrate" in tags:
new_bitrate = taglist.get_uint("bitrate")
if new_bitrate[0] is True:
Expand Down

0 comments on commit 7b35975

Please sign in to comment.