From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Qy5Nu-0006h8-MC for garchives@archives.gentoo.org; Mon, 29 Aug 2011 17:12:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 987A421C2F7; Mon, 29 Aug 2011 17:12:21 +0000 (UTC) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by pigeon.gentoo.org (Postfix) with SMTP id 5F35C21C2E3 for ; Mon, 29 Aug 2011 17:10:52 +0000 (UTC) Received: (qmail invoked by alias); 29 Aug 2011 17:10:51 -0000 Received: from p5B08326D.dip.t-dialin.net (EHLO pc.localnet) [91.8.50.109] by mail.gmx.net (mp053) with SMTP; 29 Aug 2011 19:10:51 +0200 X-Authenticated: #13997268 X-Provags-ID: V01U2FsdGVkX18L3uM+9nYLqko/hmzeDOhbxJnRlYUoZ152jd1yH4 9GfkSVsvLxh7Ts From: Michael Schreckenbauer To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] DVDStyper build error - bad conversion to enum Date: Mon, 29 Aug 2011 19:10:47 +0200 Message-ID: <4555920.NSLcKfF4gJ@pc> User-Agent: KMail/4.7.0 (Linux/2.6.38-gentoo; KDE/4.7.0; x86_64; ; ) In-Reply-To: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart12067898.Hl4mMYM0fg" Content-Transfer-Encoding: 7Bit X-Y-GMX-Trusted: 0 X-Archives-Salt: X-Archives-Hash: c9366efe29e718e6e24c047b0edd9abd --nextPart12067898.Hl4mMYM0fg Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Hi, Am Montag, 29. August 2011, 11:10:03 schrieb Gregory Woodbury: > Installing dvdstyle results in an error in the mediatrc-ffmpeg.cpp module. > > There is a bad int to enum conversion for AVPictureType > > Ebuild log attached. attached is a (simple) patch, that should fix that problem. Note: I have not tested it, as DVDStyler needs a lot of deps, that are not installed here. Hth, Michael --nextPart12067898.Hl4mMYM0fg Content-Disposition: attachment; filename="fix_enum_error.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="ISO-8859-15"; name="fix_enum_error.patch" --- DVDStyler-1.8.1/src/mediatrc_ffmpeg.cpp 2011-08-29 18:59:54.000000000 +0200 +++ DVDStyler-1.8.1-new/src/mediatrc_ffmpeg.cpp 2011-08-29 19:00:45.000000000 +0200 @@ -2242,7 +2242,7 @@ } else big_picture.quality = (int) ost->st->quality; if (!me_threshold) - big_picture.pict_type = 0; + big_picture.pict_type = (AVPictureType)0; // big_picture.pts = AV_NOPTS_VALUE; big_picture.pts= ost->sync_opts; // big_picture.pts= av_rescale(ost->sync_opts, AV_TIME_BASE*(int64_t)enc->time_base.num, enc->time_base.den); --nextPart12067898.Hl4mMYM0fg--