Fix album replaygain calculation with gstreamer backend.

Fixes #2636
This commit is contained in:
Heinz Wiesinger 2017-07-28 21:06:25 +02:00
parent e08f28d865
commit bd6645d135
2 changed files with 6 additions and 0 deletions

View file

@ -606,6 +606,10 @@ class GStreamerBackend(Backend):
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):

View file

@ -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: