If you are not using Android, you are better off just removing that line. In Android, we give the OMX component threads a higher priority because decoding needs to happen ASAP. FWIW, this value is "-16" in Android [http://android.git.kernel.org/?p=platform/frameworks/ base.git;a=blob;f=include/utils/ threads.h;h=0fc533f9551ce8d925bb75ae8048196ed725f8d0;hb=392fc3573553b71dc5c2712aca16e262efd33ce9#l70].
-Ravi On Apr 26, 11:18 am, iod <[email protected]> wrote: > Hi Ravi, > This seems to work fine for test 1 1. Thank you > However I had arbitrarily defined variable ANDROID_PRIORITY_AUDIO > which is called by setpriority(PRIO_PROCESS, 0, > ANDROID_PRIORITY_AUDIO); > in file: > codecs_v2/omx/omx_proxy/src/pv_omx_interface_proxy.cpp > > This variable is defined nowhere. > I was wondering what's the safe value to give to > ANDROID_PRIORITY_AUDIO ? > > Thank you > -- > iod > > On Apr 26, 1:17 am, RaviY <[email protected]> wrote: > > > > > The assert should be: > > OSCL_ASSERT((iStride >= iParamPort.format.video.nFrameWidth) && > > (iSliceHeight >= iParamPort.format.video.nFrameHeight)); > > instead of > > OSCL_ASSERT((iStride < iParamPort.format.video.nFrameWidth) || > > (iSliceHeight < iParamPort.format.video.nFrameHeight)); > > > -Ravi > > > On Apr 23, 5:15 pm,iod<[email protected]> wrote: > > > > Hi Community, > > > For backward compatibility reasons I have to work with the version of > > > opencore that is in Eclair; downloadable using the commands: > > > > repo init -u git://android.git.kernel.org/platform/manifest.git -b > > > eclair > > > repo sync > > > > But when I try to compile opencore's regression test > > > pvplayer_engine_test, I get several minor compiler errors. Most of > > > them are LOG related, so they seem unharmful to quick-fix. So I have > > > fixed them very un-intrusively. But when I ran the first test > > > make run_pe_test TEST_ARGS="-test 1 1" > > > I got teh following assertion triggered: > > > > Assertion failure for: (iStride < iParamPort.format.video.nFrameWidth) > > > || (iSliceHeight < iParamPort.format.video.nFrameHeight), at /proj/ > > > android/orig/GOOGLE_ECLAIR_OPENCORE/nodes/pvomxvideodecnode/src/ > > > pvmf_omx_videodec_node.cpp:777 > > > PVLOG:TID(0xf79108e0):Time=62:Assertion failure for: (iStride < > > > iParamPort.format.video.nFrameWidth) || (iSliceHeight < > > > iParamPort.format.video.nFrameHeight), at /proj/android/orig/ > > > GOOGLE_ECLAIR_OPENCORE/nodes/pvomxvideodecnode/src/ > > > pvmf_omx_videodec_node.cpp:777 > > > run11: line 13: 6567 Segmentation fault ${DEBUGGER} ${BASE_DIR}/ > > > build_config/opencore_dynamic/build/bin/linux/pvplayer_engine_test - > > > test 1 1 -logall > > > > 1. Is this a known problem? > > > 2. Is there a specific version of eclair where this problem is fixed? > > > > Thank you for any hint > > > -- > > >iod > > > > -- > > > unsubscribe: [email protected] > > > website:http://groups.google.com/group/android-porting > > > -- > > unsubscribe: [email protected] > > website:http://groups.google.com/group/android-porting > > -- > unsubscribe: [email protected] > website:http://groups.google.com/group/android-porting -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
