diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-10-29 08:25:54 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-11-02 09:08:23 +0100 |
commit | e14fbcc070c71036eea4bbcc8c56e31ae360efe9 (patch) | |
tree | 255fba384c8d6457d2ae90f1370d141e632710b4 /gst/bayer | |
parent | 10d31a588d87f8783c81ead06fa59a82b9b23158 (diff) | |
download | gstreamer-plugins-bad-e14fbcc070c71036eea4bbcc8c56e31ae360efe9.tar.gz |
caps: update for new API
Diffstat (limited to 'gst/bayer')
-rw-r--r-- | gst/bayer/gstrgb2bayer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/bayer/gstrgb2bayer.c b/gst/bayer/gstrgb2bayer.c index 5cc34a314..69aedb908 100644 --- a/gst/bayer/gstrgb2bayer.c +++ b/gst/bayer/gstrgb2bayer.c @@ -136,9 +136,9 @@ gst_rgb2bayer_transform_caps (GstBaseTransform * trans, structure = gst_caps_get_structure (caps, 0); if (direction == GST_PAD_SRC) { - newcaps = gst_caps_new_simple ("video/x-raw", NULL); + newcaps = gst_caps_new_empty_simple ("video/x-raw"); } else { - newcaps = gst_caps_new_simple ("video/x-raw-bayer", NULL); + newcaps = gst_caps_new_empty_simple ("video/x-raw-bayer"); } new_structure = gst_caps_get_structure (newcaps, 0); |