Skip to content
  • Tim-Philipp Müller's avatar
    baseparse: fix taglist update spam · 39e21bb6
    Tim-Philipp Müller authored
    We would constantly re-post the taglist because
    posted_avg_rate only gets set to avg_bitrate if
    parse->priv->post_avg_bitrate is true, so if it's
    false the posted rate will always differ from the
    current average rate and we'd queue an update,
    which leads to us spamming downstream and the
    application with taglist updates.
    
    Fix this by only queuing an update if the average
    rate will actually be posted.
    
    These taglists updates could cause expensive
    operations on the application side, e.g. in Totem.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=786561
    39e21bb6