|
| To: | "MPlayer usage questions, feature requests, bug reports" <mplayer-users@xxxxxxxxxxxx> |
| Subject: | [MPlayer-users] Re: can't get zoran output to work |
| From: | Karolina Lindqvist <karolina.lindqvist@xxxxxxxxxx> |
| Date: | Sun, 27 Aug 2006 00:37:56 +0200 |
| Delivered-to: | itdp@localhost |
| Delivered-to: | mplayer-users@mplayerhq.hu |
| In-reply-to: | <200608261125.19358.phil.bertram@clear.net.nz> |
| References: | <200608200721.31075.karolina.lindqvist@kramnet.se><200608260750.13850.phil.bertram@clear.net.nz><200608261125.19358.phil.bertram@clear.net.nz> |
| User-agent: | KMail/1.9.3 |
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
*** /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;
_______________________________________________
MPlayer-users mailing list
MPlayer-users@xxxxxxxxxxxx
http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
| [Prev in Thread] | Current Thread | [Next in Thread] |