summaryrefslogtreecommitdiffstats
path: root/gst/y4m
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2002-03-30 17:06:26 +0000
committerWim Taymans <wim.taymans@gmail.com>2002-03-30 17:06:26 +0000
commit444336ab9055ff036ae8ba5ba25591174d3b87de (patch)
tree3b70ea62c77db652f7545c1c2f85852c2005bd14 /gst/y4m
parent2641c8c05fc04a14c82a4f9a91927e4002342ddb (diff)
downloadgst-plugins-bad-444336ab9055ff036ae8ba5ba25591174d3b87de.tar.gz
gst-plugins-bad-444336ab9055ff036ae8ba5ba25591174d3b87de.tar.bz2
gst-plugins-bad-444336ab9055ff036ae8ba5ba25591174d3b87de.zip
Changed to the new props API
Original commit message from CVS: Changed to the new props API Other small tuff.
Diffstat (limited to 'gst/y4m')
-rw-r--r--gst/y4m/gsty4mencode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/y4m/gsty4mencode.c b/gst/y4m/gsty4mencode.c
index 900888f9..9e99dc5e 100644
--- a/gst/y4m/gsty4mencode.c
+++ b/gst/y4m/gsty4mencode.c
@@ -125,8 +125,8 @@ gst_lavencode_sinkconnect (GstPad *pad, GstCaps *caps)
if (!GST_CAPS_IS_FIXED (caps))
return GST_PAD_CONNECT_DELAYED;
- filter->width = gst_caps_get_int (caps, "width");
- filter->height = gst_caps_get_int (caps, "height");
+ gst_caps_get_int (caps, "width", &filter->width);
+ gst_caps_get_int (caps, "height", &filter->height);
return GST_PAD_CONNECT_OK;
}