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

Commit

Permalink
Bug 1014968 - [B2G][Camera][Flame] When watching a video preview in c…
Browse files Browse the repository at this point in the history
…amera, there will be a cropping issue towards the end of the video
  • Loading branch information
justindarc committed Jun 25, 2014
1 parent a9c2903 commit ae9f6fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/js/media/video_player.js
Expand Up @@ -120,8 +120,8 @@ function VideoPlayer(container) {

function hidePoster() {
poster.style.display = 'none';
poster.removeAttribute('src');
if (capturedFrame) {
poster.removeAttribute('src');
URL.revokeObjectURL(capturedFrame);
capturedFrame = null;
}
Expand Down

0 comments on commit ae9f6fe

Please sign in to comment.