Parse the format as a fourcc

Original commit message from CVS:
Parse the format as a fourcc
This commit is contained in:
Wim Taymans 2002-07-26 20:27:01 +00:00
parent 82705bdd33
commit db77f68c5b
2 changed files with 2 additions and 2 deletions

View file

@ -191,9 +191,9 @@ gst_videoscale_sinkconnect (GstPad *pad, GstCaps *caps)
return GST_PAD_CONNECT_DELAYED; return GST_PAD_CONNECT_DELAYED;
} }
gst_caps_get_fourcc_int (caps, "format", &videoscale->format);
gst_caps_get_int (caps, "width", &videoscale->width); gst_caps_get_int (caps, "width", &videoscale->width);
gst_caps_get_int (caps, "height", &videoscale->height); gst_caps_get_int (caps, "height", &videoscale->height);
gst_caps_get_int (caps, "format", &videoscale->format);
gst_videoscale_setup(videoscale); gst_videoscale_setup(videoscale);

View file

@ -58,7 +58,7 @@ struct _GstVideoscale {
GstPad *sinkpad,*srcpad; GstPad *sinkpad,*srcpad;
/* video state */ /* video state */
gint format; guint32 format;
gint width; gint width;
gint height; gint height;
gint targetwidth; gint targetwidth;