openbsd-ports/x11/gnome/byzanz/patches/patch-src_byzanzencodergstreamer_c
ajacoutot 6ae60f4e9b Fix build on bid endian.
spotted by landry@
2010-06-11 10:35:49 +00:00

13 lines
618 B
Plaintext

$OpenBSD: patch-src_byzanzencodergstreamer_c,v 1.1 2010/06/11 10:35:49 ajacoutot Exp $
--- src/byzanzencodergstreamer.c.orig Mon Feb 8 18:17:40 2010
+++ src/byzanzencodergstreamer.c Fri Jun 11 12:01:00 2010
@@ -138,7 +138,7 @@ byzanz_encoder_gstreamer_run (ByzanzEncoder * encoder,
#if G_BYTE_ORDER == G_LITTLE_ENDIAN
gstreamer->caps = gst_caps_from_string (GST_VIDEO_CAPS_BGRx);
#elif G_BYTE_ORDER == G_BIG_ENDIAN
- gstreamer->caps = gst_caps_new_from_string (GST_VIDEO_CAPS_xRGB);
+ gstreamer->caps = gst_caps_from_string (GST_VIDEO_CAPS_xRGB);
#else
#error "Please add the Cairo caps format here"
#endif