[Samsung Galaxy Nexus] cgutman:
The YouTube playback is failing on the 11/9 Lollipop build because Ducati, OMAP 4's VPU, is throwing an error that bubbles up in the MediaCodec API as an IllegalStateException. I see this a lot from devices with broken OMX codecs.

The storeMetaDataInBuffers and prepareForAdaptivePlayback errors are typical. I think the real problem is the "setting nBufferCountActual" errors, although I believe I've never seen these PROXY errors before.

I/OMXClient( 2015): Using client-side OMX mux.
D/DOMX ( 137): device/samsung/tuna/domx/domx/omx_proxy_common/src/omx_proxy_common.c:1967	PROXY_GetExtensionIndex()
D/DOMX ( 137): ERROR: failed check:(eError == OMX_ErrorNone) || (eError == OMX_ErrorNoMore) - returning error: 0x8000101a - Error returned from OMX API in ducati
D/DOMX ( 137): device/samsung/tuna/domx/omx_proxy_component/omx_video_dec/src/omx_proxy_videodec.c:316	PROXY_VIDDEC_GetExtensionIndex()
D/DOMX ( 137): ERROR: failed check:eError == OMX_ErrorNone - returning error: 0x8000101a - Error in PROXY_GetExtensionIndex
E/OMXNodeInstance( 137): OMX_GetExtensionIndex OMX.google.android.index.storeMetaDataInBuffers failed
E/ACodec ( 2015): [OMX.TI.DUCATI1.VIDEO.DECODER] storeMetaDataInBuffers failed w/ err -2147483648
D/DOMX ( 137): device/samsung/tuna/domx/domx/omx_proxy_common/src/omx_proxy_common.c:1967	PROXY_GetExtensionIndex()
D/DOMX ( 137): ERROR: failed check:(eError == OMX_ErrorNone) || (eError == OMX_ErrorNoMore) - returning error: 0x8000101a - Error returned from OMX API in ducati
D/DOMX ( 137): device/samsung/tuna/domx/omx_proxy_component/omx_video_dec/src/omx_proxy_videodec.c:316	PROXY_VIDDEC_GetExtensionIndex()
D/DOMX ( 137): ERROR: failed check:eError == OMX_ErrorNone - returning error: 0x8000101a - Error in PROXY_GetExtensionIndex
W/OMXNodeInstance( 137): OMX_GetExtensionIndex OMX.google.android.index.prepareForAdaptivePlayback failed
W/ACodec ( 2015): [OMX.TI.DUCATI1.VIDEO.DECODER] prepareForAdaptivePlayback failed w/ err -2147483648
D/DOMX ( 137): device/samsung/tuna/domx/domx/omx_proxy_common/src/omx_proxy_common.c:1967	PROXY_GetExtensionIndex()
D/DOMX ( 137): ERROR: failed check:(eError == OMX_ErrorNone) || (eError == OMX_ErrorNoMore) - returning error: 0x8000101a - Error returned from OMX API in ducati
D/DOMX ( 137): device/samsung/tuna/domx/omx_proxy_component/omx_video_dec/src/omx_proxy_videodec.c:316	PROXY_VIDDEC_GetExtensionIndex()
D/DOMX ( 137): ERROR: failed check:eError == OMX_ErrorNone - returning error: 0x8000101a - Error in PROXY_GetExtensionIndex
W/ACodec ( 2015): do not know color format 0x7f000100 = 2130706688
I/OMXClient( 2015): Using client-side OMX mux.
D/DOMX ( 137): device/samsung/tuna/domx/domx/omx_proxy_common/src/omx_proxy_common.c:1420	__PROXY_SetParameter()
D/DOMX ( 137): ERROR: failed check:(eError == OMX_ErrorNone) || (eError == OMX_ErrorNoMore) - returning error: 0x80001018 - Error returned from OMX API in ducati
D/DOMX ( 137): device/samsung/tuna/domx/omx_proxy_component/omx_video_dec/src/omx_proxy_videodec.c:463	PROXY_VIDDEC_SetParameter()
D/DOMX ( 137): ERROR: failed check:eError == OMX_ErrorNone - returning error: 0x80001018 - Error in Proxy SetParameter
E/OMXNodeInstance( 137): setParameter(33554433) ERROR: 0x80001018
W/ACodec ( 2015): [OMX.TI.DUCATI1.VIDEO.DECODER] setting nBufferCountActual to 12 failed: -2147483648
D/DOMX ( 137): device/samsung/tuna/domx/domx/omx_proxy_common/src/omx_proxy_common.c:1420	__PROXY_SetParameter()
D/DOMX ( 137): ERROR: failed check:(eError == OMX_ErrorNone) || (eError == OMX_ErrorNoMore) - returning error: 0x80001018 - Error returned from OMX API in ducati
D/DOMX ( 137): device/samsung/tuna/domx/omx_proxy_component/omx_video_dec/src/omx_proxy_videodec.c:463	PROXY_VIDDEC_SetParameter()
D/DOMX ( 137): ERROR: failed check:eError == OMX_ErrorNone - returning error: 0x80001018 - Error in Proxy SetParameter
E/OMXNodeInstance( 137): setParameter(33554433) ERROR: 0x80001018
W/ACodec ( 2015): [OMX.TI.DUCATI1.VIDEO.DECODER] setting nBufferCountActual to 11 failed: -2147483648
D/DOMX ( 137): device/samsung/tuna/domx/domx/omx_proxy_common/src/omx_proxy_common.c:1420	__PROXY_SetParameter()
D/DOMX ( 137): ERROR: failed check:(eError == OMX_ErrorNone) || (eError == OMX_ErrorNoMore) - returning error: 0x80001018 - Error returned from OMX API in ducati
D/DOMX ( 137): device/samsung/tuna/domx/omx_proxy_component/omx_video_dec/src/omx_proxy_videodec.c:463	PROXY_VIDDEC_SetParameter()
D/DOMX ( 137): ERROR: failed check:eError == OMX_ErrorNone - returning error: 0x80001018 - Error in Proxy SetParameter
E/OMXNodeInstance( 137): setParameter(33554433) ERROR: 0x80001018
W/ACodec ( 2015): [OMX.TI.DUCATI1.VIDEO.DECODER] setting nBufferCountActual to 10 failed: -2147483648
D/DOMX ( 137): device/samsung/tuna/domx/domx/omx_proxy_common/src/omx_proxy_common.c:1420	__PROXY_SetParameter()
D/DOMX ( 137): ERROR: failed check:(eError == OMX_ErrorNone) || (eError == OMX_ErrorNoMore) - returning error: 0x80001018 - Error returned from OMX API in ducati
D/DOMX ( 137): device/samsung/tuna/domx/omx_proxy_component/omx_video_dec/src/omx_proxy_videodec.c:463	PROXY_VIDDEC_SetParameter()
D/DOMX ( 137): ERROR: failed check:eError == OMX_ErrorNone - returning error: 0x80001018 - Error in Proxy SetParameter
E/OMXNodeInstance( 137): setParameter(33554433) ERROR: 0x80001018
W/ACodec ( 2015): [OMX.TI.DUCATI1.VIDEO.DECODER] setting nBufferCountActual to 9 failed: -2147483648
E/ACodec ( 2015): Failed to allocate output port buffers after port reconfiguration (error 0x80000000)
E/ACodec ( 2015): signalError(omxError 0x80001001, internalError -2147483648)
E/MediaCodec( 2015): Codec reported err 0x80001001, actionCode 0, while in state 6
E/ExoPlayerImplInternal( 2015): Internal runtime error.
E/ExoPlayerImplInternal( 2015): java.lang.IllegalStateException
E/ExoPlayerImplInternal( 2015):	at android.media.MediaCodec.native_dequeueOutputBuffer(Native Method)
E/ExoPlayerImplInternal( 2015):	at android.media.MediaCodec.dequeueOutputBuffer(MediaCodec.java:1033)
E/ExoPlayerImplInternal( 2015):	at dqi.a(SourceFile:392)
E/ExoPlayerImplInternal( 2015):	at dpw.handleMessage(SourceFile:196)
E/ExoPlayerImplInternal( 2015):	at android.os.Handler.dispatchMessage(Handler.java:98)
E/ExoPlayerImplInternal( 2015):	at android.os.Looper.loop(Looper.java:135)
E/ExoPlayerImplInternal( 2015):	at android.os.HandlerThread.run(HandlerThread.java:61)
E/ExoPlayerImplInternal( 2015):	at dpx.run(SourceFile:97)
W/YouTube ( 2015): (unknown) CsiAction [apw] already ticked gv. Ignored.
I/ActivityManager( 417): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.google.android.googlequicksearchbox/com.google.android.launcher.GEL} from uid 1000 on display 0
E/OMXNodeInstance( 137): component failed to enter Idle state, aborting.
E/ion ( 137): ioctl -1073460991 failed with code -1: Bad file number
E/ion ( 137): ioctl -1073460991 failed with code -1: Bad file number
W/ActivityManager( 417): Activity pause timeout for ActivityRecord{1d52c172 u0 com.google.android.youtube/com.google.android.apps.youtube.app.WatchWhileActivity t41}