Merge pull request #1735 from kingosticks/fix/change-track-sample-rates
audio: removed unused fakesink. (Fixes #1528)
This commit is contained in:
commit
6f615d30f3
@ -5,6 +5,14 @@ Changelog
|
|||||||
This changelog is used to track all major changes to Mopidy.
|
This changelog is used to track all major changes to Mopidy.
|
||||||
|
|
||||||
|
|
||||||
|
v2.2.3 (UNRELEASED)
|
||||||
|
===================
|
||||||
|
|
||||||
|
Bug fix release.
|
||||||
|
|
||||||
|
- Audio: Fix switching between tracks with different sample rates. (Fixes:
|
||||||
|
:issue:`1528`, PR: :issue:`1735`)
|
||||||
|
|
||||||
v2.2.2 (2018-12-29)
|
v2.2.2 (2018-12-29)
|
||||||
===================
|
===================
|
||||||
|
|
||||||
|
|||||||
@ -114,12 +114,6 @@ class _Outputs(Gst.Bin):
|
|||||||
ghost_pad = Gst.GhostPad.new('sink', self._tee.get_static_pad('sink'))
|
ghost_pad = Gst.GhostPad.new('sink', self._tee.get_static_pad('sink'))
|
||||||
self.add_pad(ghost_pad)
|
self.add_pad(ghost_pad)
|
||||||
|
|
||||||
# Add an always connected fakesink which respects the clock so the tee
|
|
||||||
# doesn't fail even if we don't have any outputs.
|
|
||||||
fakesink = Gst.ElementFactory.make('fakesink')
|
|
||||||
fakesink.set_property('sync', True)
|
|
||||||
self._add(fakesink)
|
|
||||||
|
|
||||||
def add_output(self, description):
|
def add_output(self, description):
|
||||||
# XXX This only works for pipelines not in use until #790 gets done.
|
# XXX This only works for pipelines not in use until #790 gets done.
|
||||||
try:
|
try:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user