* Re: [gentoo-user] DVDStyper build error - bad conversion to enum
@ 2011-08-29 17:10 99% ` Michael Schreckenbauer
0 siblings, 0 replies; 1+ results
From: Michael Schreckenbauer @ 2011-08-29 17:10 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 399 bytes --]
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
[-- Attachment #2: fix_enum_error.patch --]
[-- Type: text/x-patch, Size: 558 bytes --]
--- 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);
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2011-08-29 15:10 [gentoo-user] DVDStyper build error - bad conversion to enum Gregory Woodbury
2011-08-29 17:10 99% ` Michael Schreckenbauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox