diff options
author | Anssi Hannula <anssi@xbmc.org> | 2013-08-31 15:49:12 +0300 |
---|---|---|
committer | Anssi Hannula <anssi@xbmc.org> | 2013-08-31 16:05:30 +0300 |
commit | bcb4338272b550b45e159b34075d575c845b0ae0 (patch) | |
tree | 9d5017c6585bc0f831cc372e1ec0b7ebd26d74c5 /addons/skin.confluence/720p/VideoFullScreen.xml | |
parent | 22a94e41d4544414fb8c9b9ead6b825eb806ff31 (diff) |
dvdplayer: Fix m_streaminfo updates from passthrough codec
Use the GetEncodedSampleRate() method instead of GetSampleRate() to
populate m_streaminfo, since the latter returns the passthrough frame
rate which is not relevant in the context of m_streaminfo.
Also, do not overwrite channel count and sample rate with zero after
opening a passthrough codec, instead keep the demuxer values. These are
only used internally for codec selection.
This fixes some unnecessary back-and-forth checking between regular
and passthrough codec when opening a stream due to wrongly detected
sample rate changes in certain situations.
Diffstat (limited to 'addons/skin.confluence/720p/VideoFullScreen.xml')
0 files changed, 0 insertions, 0 deletions