Closed Bug 885234 Opened 11 years ago Closed 11 years ago

[A/V] Video frames doesn't show up while streaming

Categories

(Core :: Audio/Video, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

()

RESOLVED FIXED
1.1 QE3 (26jun)
blocking-b2g leo+
Tracking Status
firefox24 --- unaffected
b2g18 --- fixed
b2g18-v1.0.0 --- wontfix
b2g18-v1.0.1 --- wontfix
b2g-v1.1hd --- fixed

People

(Reporter: leo.bugzilla.gecko, Assigned: sotaro)

Details

Attachments

(1 file, 1 obsolete file)

When I first try to play it, there’s no problem.
But if it finish buffering once (progress bar colored at the end of it) at first play, video frame is not show up even though audio is played well.

STR
1. Try to play the contents here http://people.mozilla.org/~sikeda/.
2. Make sure that buffering progress bar is at the end of it.
3. Back and try again.
4. no video frames….
blocking-b2g: --- → leo?
Priority: -- → P1
Target Milestone: --- → 1.1 QE3 (24jun)
Component: General → Video/Audio
Product: Boot2Gecko → Core
Version: unspecified → Trunk
Is this in the video app or in the browser?
(In reply to Chris Double (:doublec) from comment #1)
> Is this in the video app or in the browser?

I saw it in the browser.
blocking-b2g: leo? → leo+
Chris,

This bug is not related to video app. It is handled by video element of browser. It should be a gecko bug.
Assignee: nobody → sotaro.ikeda.g
The problem happens by change image format from from GRALLOC_PLANAR_YCBCR to PLANAR_YCBCR during playback and ShadowImageLayerOGL can not handle it correctly.
Master gecko already handle this situation. Therefore the problem did not happen in master unagi.
By applying the patch, the problem is fixed on v1.1 unagi.
Attachment #766006 - Flags: review?(roc)
Status: NEW → ASSIGNED
Comment on attachment 766006 [details] [diff] [review]
patch for b2g18 - handle image type change during video playback

Review of attachment 766006 [details] [diff] [review]:
-----------------------------------------------------------------

Great!

::: gfx/layers/opengl/ImageLayerOGL.cpp
@@ +976,5 @@
>          gl()->MakeCurrent();
>          gl()->fActiveTexture(LOCAL_GL_TEXTURE0);
>          gl()->BindExternalBuffer(mExternalBufferTexture.GetTextureID(), graphicBuffer->getNativeBuffer());
>          mImageVersion = imgVersion;
> +    } else if(!img) {

Space before (
Attachment #766006 - Flags: review?(roc) → review+
Apply the comment. Carry "r+=roc".
The patch is only for b2g18.
Attachment #766006 - Attachment is obsolete: true
Attachment #766526 - Flags: review+
master does not have this problem.
Keywords: checkin-needed
https://hg.mozilla.org/releases/mozilla-b2g18/rev/1db2099ffc19
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: