[MPlayer-dev-eng] [PATCH] Enhanced Video Renderer (EVR)

Georgi Petrov gogothebee at gmail.com
Wed Feb 2 14:08:00 CET 2011


On Wed, Feb 2, 2011 at 2:50 PM, Diego Biurrun <diego at biurrun.de> wrote:
> On Fri, Jan 28, 2011 at 11:44:09PM +0200, Georgi Petrov wrote:
>>
>> I'm trying with the first patch, as simple as possible. Please take a
>> look when you have time and point the things that may require changes.
>>
>> --- libvo/vo_evr.c    (revision 0)
>> +++ libvo/vo_evr.c    (revision 0)
>> @@ -0,0 +1,147 @@
>> +
>> +#include <windows.h>
>> +#include <errno.h>
>> +#include <stdio.h>
>> +#include "config.h"
>> +#include "video_out.h"
>> +#include "video_out_internal.h"
>> +#include "fastmemcpy.h"
>> +#include "mp_msg.h"
>> +#include "aspect.h"
>> +#include "w32_common.h"
>> +#include "libavutil/common.h"
>> +#include "sub/font_load.h"
>> +#include "sub/sub.h"
>
> You are missing stdint.h, most of the other headers are unused and
> should be removed.


Okay. I'm missing evr.h as well. I will include it in the next iteration.

> Extra good karma for leaving an empty line between system and local
> headers.

Done.
>> --- configure (revision 32826)
>> +++ configure (working copy)
>> @@ -5202,6 +5206,20 @@
>>
>> +echocheck "EVR"
>> +if test "$_evr" = auto ; then
>> +  _evr=no
>> +  header_check evr.h && _evr=yes
>
> What is the situation regarding the evr.h header?  Is it stable or are
> you still making changes to it?  If it is stable this check is enough.
> If there are incompatible changes you depend on you might wish to make
> a more specific check for a required part of the header.

I'm just beginning to make changes. It is nowhere near stable, as it
is completely untested. I was using a heavily modified Microsoft's
header until lately. I would like to to check a version of the header
for the future, but the current one doesn't define any. I'm sure that
soon I it will, but I have to coordinate with mingw-w64 how to do it
exactly. May be something like #define EVR_VERSION 1000, which is
bumped each time I make changes?


More information about the MPlayer-dev-eng mailing list