Advertisement
Guest User

Untitled

a guest
Apr 16th, 2012
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. diff --git a/mythtv/libs/libmythtv/mythplayer.cpp b/mythtv/libs/libmythtv/mythplayer.cpp
  2. index 1261340..ef25abc 100644
  3. --- a/mythtv/libs/libmythtv/mythplayer.cpp
  4. +++ b/mythtv/libs/libmythtv/mythplayer.cpp
  5. @@ -3476,9 +3476,12 @@ void MythPlayer::ChangeSpeed(void)
  6. m_double_process = videoOutput->IsExtraProcessingRequired();
  7. }
  8.  
  9. - if (normal_speed && audio.HasAudioOut())
  10. + if (normal_speed)
  11. {
  12. - audio.SetStretchFactor(play_speed);
  13. + if (audio.HasAudioOut())
  14. + {
  15. + audio.SetStretchFactor(play_speed);
  16. + }
  17. if (decoder)
  18. {
  19. bool disable = (play_speed < 0.99f) || (play_speed > 1.01f);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement