]> git.sesse.net Git - vlc/commit
Do not uselessly disable direct rendering in avcodec.
authorLaurent Aimar <fenrir@videolan.org>
Fri, 17 Jul 2009 17:06:29 +0000 (19:06 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Fri, 17 Jul 2009 17:06:29 +0000 (19:06 +0200)
commit0f79a0a02de9aa8f7aa6f5d0d797df3250fd4d85
tree03db0400f5e51910dd102e89cb6e02c98d1a3136
parent3c84b6ca4ced1aad7549e30261fbe3348c529c15
Do not uselessly disable direct rendering in avcodec.

It allows to use direct rendering if the chroma/size changes.
It also avoid *always* disabling it after a seek...
(It cost about 6% of CPU for video HD on my dual core in memcpy).
modules/codec/avcodec/video.c