mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-17 22:06:41 +00:00
Parse the format as a fourcc
Original commit message from CVS: Parse the format as a fourcc
This commit is contained in:
parent
82705bdd33
commit
db77f68c5b
2 changed files with 2 additions and 2 deletions
|
@ -191,9 +191,9 @@ gst_videoscale_sinkconnect (GstPad *pad, GstCaps *caps)
|
|||
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, "height", &videoscale->height);
|
||||
gst_caps_get_int (caps, "format", &videoscale->format);
|
||||
|
||||
gst_videoscale_setup(videoscale);
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ struct _GstVideoscale {
|
|||
GstPad *sinkpad,*srcpad;
|
||||
|
||||
/* video state */
|
||||
gint format;
|
||||
guint32 format;
|
||||
gint width;
|
||||
gint height;
|
||||
gint targetwidth;
|
||||
|
|
Loading…
Reference in a new issue