From: David Schleef Date: Mon, 7 Apr 2003 20:47:29 +0000 (+0000) Subject: Convert some of the broken fourcc printing to GST_FOURCC_FORMAT X-Git-Tag: 1.19.3~509^2~15986 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bb9387fde2ed651efd313d6ce8fdc2e33f11b6db;p=platform%2Fupstream%2Fgstreamer.git Convert some of the broken fourcc printing to GST_FOURCC_FORMAT Original commit message from CVS: Convert some of the broken fourcc printing to GST_FOURCC_FORMAT --- diff --git a/ext/aalib/gstaasink.c b/ext/aalib/gstaasink.c index 91129a9..83600e3 100644 --- a/ext/aalib/gstaasink.c +++ b/ext/aalib/gstaasink.c @@ -239,7 +239,6 @@ static GstPadLinkReturn gst_aasink_sinkconnect (GstPad *pad, GstCaps *caps) { GstAASink *aasink; - gulong print_format; aasink = GST_AASINK (gst_pad_get_parent (pad)); @@ -249,9 +248,10 @@ gst_aasink_sinkconnect (GstPad *pad, GstCaps *caps) gst_caps_get_int (caps, "width", &aasink->width); gst_caps_get_int (caps, "height", &aasink->height); - print_format = GULONG_FROM_LE (aasink->format); + /* FIXME aasink->format is never set */ - GST_DEBUG (0, "aasink: setting %08lx (%4.4s)", aasink->format, (gchar*)&print_format); + GST_DEBUG (0, "aasink: setting %08lx (" GST_FOURCC_FORMAT ")", + aasink->format, GST_FOURCC_ARGS(aasink->format)); g_signal_emit( G_OBJECT (aasink), gst_aasink_signals[SIGNAL_HAVE_SIZE], 0, aasink->width, aasink->height);