[vlc-devel] [vlc-commits] VAAPI: provide more logs to understand what is happenning
Rafaël Carré
funman at videolan.org
Mon Jun 11 21:12:28 CEST 2012
Le 2012-06-11 13:37, Jean-Baptiste Kempf a écrit :
> vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jun 11 19:16:10 2012 +0200| [c914ccda17fa65ae304faf41c11ba72656354fe4] | committer: Jean-Baptiste Kempf
>
> VAAPI: provide more logs to understand what is happenning
>
>> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c914ccda17fa65ae304faf41c11ba72656354fe4
> ---
>
> modules/codec/avcodec/vaapi.c | 19 +++++++++++++++++--
> 1 file changed, 17 insertions(+), 2 deletions(-)
>
> diff --git a/modules/codec/avcodec/vaapi.c b/modules/codec/avcodec/vaapi.c
> index 2ab53de..6070260 100644
> --- a/modules/codec/avcodec/vaapi.c
> +++ b/modules/codec/avcodec/vaapi.c
> @@ -60,6 +60,8 @@ typedef struct
> {
> vlc_va_t va;
>
> + vlc_object_t *log;
> +
> /* */
> Display *p_display_x11;
> VADisplay p_display;
> @@ -129,7 +131,6 @@ static int Open( vlc_va_vaapi_t *p_va, int i_codec_id )
> }
>
> /* */
> - memset( p_va, 0, sizeof(*p_va) );
Unrelated? This isn't part of the commit log.
> p_va->i_config_id = VA_INVALID_ID;
> p_va->i_context_id = VA_INVALID_ID;
> p_va->image.image_id = VA_INVALID_ID;
More information about the vlc-devel
mailing list