diff options
author | David Schleef <ds@schleef.org> | 2004-01-12 03:40:18 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2004-01-12 03:40:18 +0000 |
commit | 86a4117f7e2eaefa67c7f826d50b709d50258431 (patch) | |
tree | 0fcb7254e50a66d0febf12adef1cb8698af83eed /gst/videofilter/gstvideofilter.c | |
parent | 87db2b726159def45f5e3a3d617fe2c8c7d17af3 (diff) |
Remove all usage of gst_pad_get_caps(), and replace it with gst_pad_get_allowed_caps() or gst_pad_get_negotiated_cap().
Original commit message from CVS:
Remove all usage of gst_pad_get_caps(), and replace it with
gst_pad_get_allowed_caps() or gst_pad_get_negotiated_cap().
Diffstat (limited to 'gst/videofilter/gstvideofilter.c')
-rw-r--r-- | gst/videofilter/gstvideofilter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/videofilter/gstvideofilter.c b/gst/videofilter/gstvideofilter.c index d26014d9..7ef18e4a 100644 --- a/gst/videofilter/gstvideofilter.c +++ b/gst/videofilter/gstvideofilter.c @@ -411,7 +411,7 @@ void gst_videofilter_set_output_size(GstVideofilter *videofilter, videofilter->to_buf_size = (videofilter->to_width * videofilter->to_height * videofilter->format->bpp)/8; - srccaps = gst_caps_copy(gst_pad_get_caps(videofilter->srcpad)); + srccaps = gst_caps_copy (gst_pad_get_negotiated_caps(videofilter->srcpad)); structure = gst_caps_get_structure (srccaps, 0); gst_structure_set (structure, "width", G_TYPE_INT, width, |