PV ColorConvert codec usage problem

by John Cola » Sat, 14 Mar 2009 14:05:15 GMT


Sponsored Links
 Hi all
I use "ColorConvertBase* colorConverter = ColorConvert16::NewL();" in
CameraHardwareStub.cpp
It can work, but the video playback then result fail with following I/
O exception.
Anyone know the reason?? (It is wear since I think there is no
connection between them but after mark the code and the video comes
back normal....)

W/VideoView(  458): Unable to open content: 
content://media/external/video/media/1
W/VideoView(  458): java.io.IOException: setDataSource failed.:
status=0x80000000
W/VideoView(  458):     at android.media.MediaPlayer.setDataSource(Native
Method)
W/VideoView(  458):     at android.media.MediaPlayer.setDataSource
(MediaPlayer.java:603)
W/VideoView(  458):     at android.widget.VideoView.openVideo
(VideoView.java:191)
W/VideoView(  458):     at android.widget.VideoView.access$1600
(VideoView.java:48)
W/VideoView(  458):     at android.widget.VideoView$6.surfaceCreated
(VideoView.java:406)
W/VideoView(  458):     at android.view.SurfaceView.updateWindow
(SurfaceView.java:353)
W/VideoView(  458):     at android.view.SurfaceView.dispatchDraw
(SurfaceView.java:260)
W/VideoView(  458):     at android.view.ViewGroup.drawChild
(ViewGroup.java:1445)
W/VideoView(  458):     at android.view.ViewGroup.dispatchDraw
(ViewGroup.java:1211)
W/VideoView(  458):     at android.view.ViewGroup.drawChild
(ViewGroup.java:1445)
W/VideoView(  458):     at android.view.ViewGroup.dispatchDraw
(ViewGroup.java:1211)
W/VideoView(  458):     at android.view.ViewGroup.drawChild
(ViewGroup.java:1445)
W/VideoView(  458):     at android.view.ViewGroup.dispatchDraw
(ViewGroup.java:1211)
W/VideoView(  458):     at android.view.View.draw(View.java:5663)
W/VideoView(  458):     at android.widget.FrameLayout.draw
(FrameLayout.java:324)
W/VideoView(  458):     at com.android.internal.policy.impl.PhoneWindow
$DecorView.draw(PhoneWindow.java:1727)
W/VideoView(  458):     at android.view.ViewRoot.draw(ViewRoot.java:1178)
W/VideoView(  458):     at android.view.ViewRoot.performTraversals
(ViewRoot.java:1000)
W/VideoView(  458):     at android.view.ViewRoot.handleMessage
(ViewRoot.java:1436)
W/VideoView(  458):     at android.os.Handler.dispatchMessage
(Handler.java:99)
W/VideoView(  458):     at android.os.Looper.loop(Looper.java:123)
W/VideoView(  458):     at android.app.ActivityThread.main
(ActivityThread.java:3790)
W/VideoView(  458):     at java.lang.reflect.Method.invokeNative(Native
Method)
W/VideoView(  458):     at java.lang.reflect.Method.invoke(Method.java:
521)
W/VideoView(  458):     at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:745)
W/VideoView(  458):     at com.android.internal.os.ZygoteInit.main
(ZygoteInit.java:503)
W/VideoView(  458):     at dalvik.system.NativeStart.main(Native Method)
--~--~---------~--~----~------------~-------~--~----~



PV ColorConvert codec usage problem

by rktb » Sat, 14 Mar 2009 16:08:18 GMT


 Can you enable debug logs in playerdriver, android_surface_output, and
CameraHardwareStub and see which call is failing?

-Ravi



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Does Android support notifications to apps, like iPhone?

Having a centralized server managing notifications can be an advantage
in many cases.
No need to have each application create its own service to manage
notification, with all the resources needed (even if few), and all the
complexity involved (lost connection, sleeping phone, group requests
when polling, ....).

A unique service on the phone could be optimized and easier to
customize also. One only settings UI to set the policy, such as always
online with ASAP notifications, battery savings, list of registered
applications, history of notifications, ......
The server could also even choose whether to use SMS if data
connection is not available and notifications is quite urgent.


This would be an helpful option to have such a service available for developers.
And I think Google would be in good position to offer it !

--~--~---------~--~----~------------~-------~--~----~

2. about "parent mmc0 is sleeping, will not add" error when wakeup

Hi,        If you don't enable CONFIG_MMC_UNSAFE_RESUME, it will corrupt
your MMC card, when it goes to suspend mode. After that, if you try to
reboot, it'll not work. Try to rebuild your kernel image with this option
enabled and reflash your entire root filesystem.

Best regards,

Elvis

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. File System Components

4. How does Android Market fill in a list?

5. Progress bar like in android market

6. How to trace the HTTP requests/responses e.g. by using Wireshark?

7. A online radio on HTC MAGIC