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

Improve preview handling #6

Merged
merged 11 commits into from Aug 25, 2022
Merged

Improve preview handling #6

merged 11 commits into from Aug 25, 2022

Conversation

up-87
Copy link
Contributor

@up-87 up-87 commented Aug 24, 2022

Prerequisites checklist

What is the purpose of this pull request? (put an "x" next to an item)

  • Documentation update
  • Bug fix
  • New feature
  • Other, please explain:
    What started as a bugfix ended up as an improvement / rework. The change from preview to countdown failed for me at times without reason. I reworked it to use the same preview. As you can only define one preview source there's no reason to restart the preview and display the video on another element. This removes some flicker on the countdown press and is more reliable.

Also fixed that the countdown to stop the video was off by 1 and I only stop the video if a killcmd was defined.

What changes did you make? (Give an overview)

video--view and video--preview became one. I have to shift the z-index and change some background transparency to show / hide other elements.

Is there anything you'd like reviewers to focus on?

Because of my given setup I was only able to test the new preview setup with gphoto2 / cameracontrol.py preview - with and without background preview. This should be verified on distinct setups.

@andi34 andi34 merged commit 0a1a3bb into dev Aug 25, 2022
@andi34 andi34 deleted the feature/countdown-issues branch August 25, 2022 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants