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