Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPlayer: properly sync playspeed with application #10103

Merged
merged 4 commits into from
Jul 13, 2016

Conversation

FernetMenta
Copy link
Contributor

see title. There has been several workarounds in the past due to not properly synchronised playspeed. Having a variable in CApplicationPlayer assuming players do always have exactly the speed from the last command does not work.
Further player wants to change its speed according to events like failed seek i.e. when hitting the end of the stream on ff.

Removed CApplication::CheckPlayingProgress
I could not see this method doing anything useful. During testing this method caused the system hang in an endless while loop if speed == 0

@popcornmix I also removed bApplicationMuted from SetPlaySpeed. It turned out that omx_player was the only client of this. Such kind of specialisations should not be visible at the application layer. Please move appropriate action to player.

@FernetMenta FernetMenta added Type: Fix non-breaking change which fixes an issue Type: Improvement non-breaking change which improves existing functionality v17 Krypton labels Jul 12, 2016
@FernetMenta FernetMenta added this to the Krypton 17.0-alpha3 milestone Jul 12, 2016
@popcornmix
Copy link
Member

@FernetMenta I've tested omxplayer and this PR. Seems to build fine and I couldn't spot an obvious regression. Mute still works, and audio is muted during trickplay.

@FernetMenta
Copy link
Contributor Author

thanks for testing. seems it was some obsolete code.

@FernetMenta
Copy link
Contributor Author

jenkins build this please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Fix non-breaking change which fixes an issue Type: Improvement non-breaking change which improves existing functionality v17 Krypton
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants