aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/sabbu
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2010-07-25 00:38:20 +0800
committermm <mm@FreeBSD.org>2010-07-25 00:38:20 +0800
commit729d247024d71c0b2a480942576a36ce25b41779 (patch)
treef92783c4eaf831791e0cc11db07fc66247cc6df4 /multimedia/sabbu
parentf40280f19becf0224de3b235ba0627a4b618f878 (diff)
downloadfreebsd-ports-gnome-729d247024d71c0b2a480942576a36ce25b41779.tar.gz
freebsd-ports-gnome-729d247024d71c0b2a480942576a36ce25b41779.tar.zst
freebsd-ports-gnome-729d247024d71c0b2a480942576a36ce25b41779.zip
- Update ffmpeg to 0.6
Diffstat (limited to 'multimedia/sabbu')
-rw-r--r--multimedia/sabbu/Makefile2
-rw-r--r--multimedia/sabbu/files/patch-video.cpp2
-rw-r--r--multimedia/sabbu/files/patch-video_ffmpeg.h11
3 files changed, 13 insertions, 2 deletions
diff --git a/multimedia/sabbu/Makefile b/multimedia/sabbu/Makefile
index 52592ff72921..1a6dfa32a56d 100644
--- a/multimedia/sabbu/Makefile
+++ b/multimedia/sabbu/Makefile
@@ -7,7 +7,7 @@
PORTNAME= sabbu
PORTVERSION= 0.3.0
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= multimedia
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Sabbu%20${PORTVERSION}
diff --git a/multimedia/sabbu/files/patch-video.cpp b/multimedia/sabbu/files/patch-video.cpp
index 25f818bd7ee8..8eea1f07114d 100644
--- a/multimedia/sabbu/files/patch-video.cpp
+++ b/multimedia/sabbu/files/patch-video.cpp
@@ -50,7 +50,7 @@
+#if 0
int dst_pix_fmt = PIX_FMT_RGBA32;
+#else
-+ PixelFormat dst_pix_fmt = PIX_FMT_RGBA32;
++ PixelFormat dst_pix_fmt = PIX_FMT_RGB32;
+#endif
int got_picture;
int len;
diff --git a/multimedia/sabbu/files/patch-video_ffmpeg.h b/multimedia/sabbu/files/patch-video_ffmpeg.h
new file mode 100644
index 000000000000..3e637edef292
--- /dev/null
+++ b/multimedia/sabbu/files/patch-video_ffmpeg.h
@@ -0,0 +1,11 @@
+--- Source/video_ffmpeg.h.orig 2010-07-11 10:16:57.816240554 +0200
++++ Source/video_ffmpeg.h 2010-07-11 10:17:06.976420069 +0200
+@@ -24,7 +24,7 @@
+ PIX_FMT_BGR24, ///< Packed pixel, 3 bytes per pixel, BGRBGR...
+ PIX_FMT_YUV422P, ///< Planar YUV 4:2:2 (1 Cr & Cb sample per 2x1 Y samples)
+ PIX_FMT_YUV444P, ///< Planar YUV 4:4:4 (1 Cr & Cb sample per 1x1 Y samples)
+- PIX_FMT_RGBA32, ///< Packed pixel, 4 bytes per pixel, BGRABGRA..., stored in cpu endianness
++ PIX_FMT_RGB32, ///< Packed pixel, 4 bytes per pixel, BGRABGRA..., stored in cpu endianness
+ PIX_FMT_YUV410P, ///< Planar YUV 4:1:0 (1 Cr & Cb sample per 4x4 Y samples)
+ PIX_FMT_YUV411P, ///< Planar YUV 4:1:1 (1 Cr & Cb sample per 4x1 Y samples)
+ PIX_FMT_RGB565, ///< always stored in cpu endianness