Have you tried several 2.2 roms (including cm based)? I'm not the dev of this rom, I just delete it some things and port a theme... maybe you need to ask to devs of original rom:
tvall
Maximo360
Ldrifta
or to these recognized devs:
Ezterry
AndDiSa
hrk
They have more knowledge than me...
I don't use my phone to watch very long videos so I don't know that problem but a have problems with videos too... when recording a video seems laggy (little pauses) and when I play this video looks very pixelated and at the end says: "Sorry, this video cannot be played."
Thanks for some that..
I've tried several 2.2 ROMs also 2.3 one. Also I compiled myself 2.2.3 from actual google's branch and I figured something, it will be somewhere in that HW renderer, as long if I didn't copied it there, it was OK (but video had about 1 frame per minute due SW decoding)...
so it will be somewhere in libstagefrighthw.so, libOmxH264Dec.so, libmm-adsp.so or libOmxCore.so, but I didn't found source codes for them...
I not using phone for long movies too, but I have few live concerts and some songs are after that time...
Anyway thanks for reply.