From 84371e406617232740583972260b7f348ba90e81 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 4 Aug 2011 15:25:20 +0200 Subject: [PATCH] goom: port to new caps --- configure.ac | 2 +- gst/goom/gstgoom.c | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 859ee3a..b6c47e3 100644 --- a/configure.ac +++ b/configure.ac @@ -312,7 +312,7 @@ dnl *** plug-ins to include *** dnl Non ported plugins (non-dependant, then dependant) dnl Make sure you have a space before and after all plugins -GST_PLUGINS_NONPORTED=" deinterlace flx goom goom2k1 icydemux id3demux \ +GST_PLUGINS_NONPORTED=" deinterlace flx goom2k1 icydemux id3demux \ imagefreeze interleave isomp4 law matroska monoscope shapewipe smpte \ videobox videocrop videomixer \ annodex apetag cairo cairo_gobject dv1394 flac gdk_pixbuf jpeg libdv libpng \ diff --git a/gst/goom/gstgoom.c b/gst/goom/gstgoom.c index c8ec9c3..28cec4e 100644 --- a/gst/goom/gstgoom.c +++ b/gst/goom/gstgoom.c @@ -72,7 +72,11 @@ enum static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS, - GST_STATIC_CAPS (GST_VIDEO_CAPS_xRGB_HOST_ENDIAN) +#if G_BYTE_ORDER == G_BIG_ENDIAN + GST_STATIC_CAPS (GST_VIDEO_CAPS_MAKE ("xRGB")) +#else + GST_STATIC_CAPS (GST_VIDEO_CAPS_MAKE ("BGRx")) +#endif ); static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink", /* the name of the pads */ -- 2.7.4