Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Bug 946183 - [fugu]There is some black area in video-recording preview w... #14798

Closed
wants to merge 1 commit into from

Conversation

mpizza
Copy link
Contributor

@mpizza mpizza commented Dec 18, 2013

...hen it back from video player.

-- scine confirm() will break camera graphic performance so submit this patch for workaround in gaia.

@@ -134,7 +134,7 @@ var Filmstrip = (function() {
}

function hidePreview() {
Camera.viewfinder.play(); // Restart the viewfinder
Camera.startPreview();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need to call Camera.startPreview() here because we use Camera.viewfinder.pause() at show function. If we need to use startPreview, we should also use stopPreview there.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

…w when it back from video player.

    -- scine confirm() will break camera graphic performance so submit this patch for workaround in gaia.
@mpizza mpizza closed this May 19, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants