[MPlayer-users] Re: can't get zoran output to work
Phil Bertram
phil.bertram at clear.net.nz
Wed Aug 30 08:12:25 CEST 2006
Karolina Lindqvist wrote:
> lördag 26 augusti 2006 01:25 skrev Phil Bertram:
>
>> Unfortunately using mjpeg.c from pre7 with svn (today) results in a build
>> error for me.
>
> It requires some other patches to compile. But today I have found a patch
> that hopefully will fix the problem. It is not much tested; I will do more
> testing tomorrow, but if you feel experimental you can try it.
>
> Karolina
I have tested this with most of the files I have. Seems to work.
How has your testing going ?
Are you sending the patch to mplayer-devel ?
Phil
>
>
>
> *** /u/src/mplayer/libvo/jpeg_enc.c 2006-08-26 20:25:17.000000000
> +0200
> --- jpeg_enc.c 2006-08-26 23:55:37.000000000 +0200
> ***************
> *** 351,356 ****
> --- 351,358 ----
>
> /* alloc bogus avctx to keep MPV_common_init from segfaulting */
> j->s->avctx = calloc(sizeof(*j->s->avctx), 1);
> + /* Set up jpeg type */
> + j->s->avctx->codec_id = CODEC_ID_MJPEG;
>
> /* make MPV_common_init allocate important buffers, like s->block
> */ j->s->avctx->thread_count = 1;
More information about the MPlayer-users
mailing list