Fix height/width swap in function prototype. Fixes #125827
authorDavid Schleef <ds@schleef.org>
Thu, 30 Oct 2003 19:24:49 +0000 (19:24 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 30 Oct 2003 19:24:49 +0000 (19:24 +0000)
Original commit message from CVS:
Fix height/width swap in function prototype.  Fixes #125827

gst/videotestsrc/gstvideotestsrc.c

index b0176fd..238522a 100644 (file)
@@ -76,7 +76,7 @@ static GstData *gst_videotestsrc_get (GstPad * pad);
 static GstElementClass *parent_class = NULL;
 
 static GstCaps * gst_videotestsrc_get_capslist (void);
-static GstCaps * gst_videotestsrc_get_capslist_size (int height, int width, float rate);
+static GstCaps * gst_videotestsrc_get_capslist_size (int width, int height, float rate);
 
 
 static GstPadTemplate *
@@ -311,7 +311,7 @@ gst_videotestsrc_get_capslist (void)
 }
 
 static GstCaps *
-gst_videotestsrc_get_capslist_size (int height, int width, float rate)
+gst_videotestsrc_get_capslist_size (int width, int height, float rate)
 {
   GstCaps *capslist;
   GstCaps *caps;