The G1 camera drivers currently have very limited control and things like preview size and frame rate are ignored by the driver. You can either drop the extra frames or NULL the callback until you finish processing.
On Jan 6, 11:43 am, Omar <omarta...@gmail.com> wrote: > Hi, > > I'm doing some processing on the preview frames returned from the > camera using: > > onPreviewFrame(byte[] data, Camera camera) > > Before starting the preview I set the preview frame rate like this: > > Camera.Parameters p = c.getParameters(); > p.setPreviewFrameRate(5); > c.setParameters(p); > > This works fine on the Android Emulator, but on the device I'm still > getting approx 15 fps. > > Has anyone else had this problem and how have they solved it? > > Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---