Skip to content

Commit

Permalink
Fix album replaygain calculation with gstreamer backend.
Browse files Browse the repository at this point in the history
  • Loading branch information
pprkut committed Oct 4, 2017
1 parent e08f28d commit bd6645d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions beetsplug/replaygain.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,10 @@ def _set_file(self):
self._decbin.sync_state_with_parent()
self._decbin.get_state(self.Gst.CLOCK_TIME_NONE)

self._decbin.link(self._conv)
self._pipe.set_state(self.Gst.State.READY)
self._pipe.set_state(self.Gst.State.PLAYING)

return True

def _set_next_file(self):
Expand Down
2 changes: 2 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ Fixes:
analysis tool produced non-ASCII metadata. :bug:`2673`
* :doc:`/plugins/duplicates`: Fix the `--key` command line option, which was
ignored.
* :doc:`/plugins/replaygain`: Fix album replaygain calculation with the
gstreamer backend. :bug:`2636`

For developers:

Expand Down

0 comments on commit bd6645d

Please sign in to comment.