Ok, I got it.

I have an issue with the camera view finder and video player.

View finder goes blank when I try to capture the picture or video. When
pressed Capture button, Image capture or the video recording is successful
even though the view finder is blank.

When played Video from the video player, the display goes blank. When
Tapped on the screen, Video appears for a second and again goes off.

When I play youtube in the browser, Video gets played. but the canvas goes
blank. full screen video of youtube plays perfect.

There was a similar bug in 1.1
https://bugzilla.mozilla.org/show_bug.cgi?id=887326

Need your inputs on this

Regards,
Manjunatha


On Thu, Dec 12, 2013 at 3:21 PM, Alexandre Lissy <[email protected]> wrote:

> Le 12/12/2013 09:34, Manjunatha M a écrit :
> > Hi,
> >
> > On my device, with FFX 1.3, I am having issues getting width and height.
> >
> > in GonkDisplayJB.cpp constructor, When getting the values from android
> HAL,
> > I get the width = 720, Height = 1280, xdpi = 160.
> >
> >         mHwc->getDisplayAttributes(mHwc, 0, 0, attrs, values);
> >         mWidth = values[0];
> >         mHeight = values[1];
> >         xdpi = values[2] / 1000.0f;
> >
> > But the real values of the device are width = 720, height = 1280, and
> xdpi
> > = 320.
> >
> > I am getting the dpi value wrong from android layer. However, I am using
> > system property in GetDPI function to hardcode it to 320.
>
> I suspect there might be a bug here, but you worked it around by relying
> on the property, so it should be correct in the end.
>
> >
> > But, here I have one more issue. When I connect to the Firefox debugger,
> I
> > could see it as 360x640 with 320 dpi (reading from the system property,
> > actually the framework returns 160).
> >
> > Width is reduced by half, height is reduced by half. As per
> > GonkDisplayJB.cpp it should have to be 720x1280.
>
> I think you are getting mislead by
> https://bugzilla.mozilla.org/show_bug.cgi?id=933170
>
> 360x640 is the Gecko CSS pixel resolution and seems to be correct.
>
> >
> >  How could that be possible? I need inputs to correct this value should
> in
> > the debugger as it is causing the issues in the camera app.
> >
>
> What kind of issue is it causing ?
> _______________________________________________
> dev-b2g mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-b2g
>



-- 
Regards,
Manjunatha
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to