summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2011-10-30 17:45:44 +0000
committerdrochner <drochner@pkgsrc.org>2011-10-30 17:45:44 +0000
commit7206cda342fb54d0208bc182e6feda99bd6377c3 (patch)
tree151c85cc9df7196dbabaac775ba40b7777e65652
parentd5ddcf826cd23b037bce301f592989d55166936d (diff)
downloadpkgsrc-7206cda342fb54d0208bc182e6feda99bd6377c3.tar.gz
make this build with current ffmpeg
(or is this a C++ version problem? anyway - it works now)
-rw-r--r--multimedia/dvdstyler/distinfo3
-rw-r--r--multimedia/dvdstyler/patches/patch-aa13
2 files changed, 15 insertions, 1 deletions
diff --git a/multimedia/dvdstyler/distinfo b/multimedia/dvdstyler/distinfo
index d97d83ad94d..6c30c78139b 100644
--- a/multimedia/dvdstyler/distinfo
+++ b/multimedia/dvdstyler/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.8 2011/02/16 20:34:43 gls Exp $
+$NetBSD: distinfo,v 1.9 2011/10/30 17:45:44 drochner Exp $
SHA1 (DVDStyler-1.8.2.1.tar.bz2) = 5d0b1971f3a18e83f27111140dc59c927998e45b
RMD160 (DVDStyler-1.8.2.1.tar.bz2) = 5a98ce47e21e8cf5b6a20af612572ef154cfdbf4
Size (DVDStyler-1.8.2.1.tar.bz2) = 1942753 bytes
+SHA1 (patch-aa) = ad9f2613cbaba903b9fcd1a45c419c9f497e08df
diff --git a/multimedia/dvdstyler/patches/patch-aa b/multimedia/dvdstyler/patches/patch-aa
new file mode 100644
index 00000000000..984b0bde895
--- /dev/null
+++ b/multimedia/dvdstyler/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.5 2011/10/30 17:45:44 drochner Exp $
+
+--- src/mediatrc_ffmpeg.cpp.orig 2010-10-10 15:55:37.000000000 +0000
++++ src/mediatrc_ffmpeg.cpp
+@@ -2551,7 +2551,7 @@ bool wxFfmpegMediaTranscoder::DoVideoOut
+ } else
+ big_picture.quality = (int) ost->st->quality;
+ if (!me_threshold)
+- big_picture.pict_type = 0;
++ big_picture.pict_type = AV_PICTURE_TYPE_NONE;
+ // 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);