tests: camerabin2: imagecapturebin2: fix warnings

Warnings passed me by on the last commits to camerabin2 tests,
fixing them.
This commit is contained in:
Thiago Santos 2011-01-24 11:55:41 -03:00
parent 7944a27ee3
commit 162383e6b2
2 changed files with 4 additions and 2 deletions

View file

@ -674,7 +674,8 @@ camerabin_suite (void)
tcase_add_test (tc_basic, test_single_image_capture);
tcase_add_test (tc_basic, test_single_video_recording);
tcase_add_test (tc_basic, test_image_video_cycle);
if (gst_plugin_feature_check_version (jpegenc_factory, 0, 10, 27))
if (gst_plugin_feature_check_version ((GstPluginFeature *) jpegenc_factory,
0, 10, 27))
tcase_add_test (tc_basic, test_multiple_image_captures);
else
GST_WARNING ("Skipping image capture test because -good 0.10.27 is "

View file

@ -393,7 +393,8 @@ imagecapturebin_suite (void)
/* only adds this test if jpegenc contains the fix for its getcaps
* The fix on good: dcbba0932dc579abd6aab4460fa1a416374eda1b */
if (gst_plugin_feature_check_version (jpegenc_factory, 0, 10, 27))
if (gst_plugin_feature_check_version ((GstPluginFeature *) jpegenc_factory,
0, 10, 27))
tcase_add_test (tc_chain, test_multiple_captures_different_caps);
else
GST_WARNING ("Skipped test that needs gst-plugins-good 0.10.27");