GNOME Bugzilla – Bug 640286
elements/imagecapturebin check fails
Last modified: 2011-01-24 14:38:52 UTC
This is with gst-plugins-bad 0.10.21 and gstreamer 0.10.32 on Mandriva Cooker: elements/imagecapturebin.c:226:F:general:test_multiple_captures_different_caps: 0: Assertion 'gst_pad_push (pad, buf) == GST_FLOW_OK' failed FAIL: elements/imagecapturebin
Could you attach a full debug log? $ cd gst-plugins-bad-0.10.21/tests/check $ GST_CHECKS=test_multiple_captures_different_caps GST_DEBUG=*:5 make elements/imagecapturebin.check 2>dbg.log Thanks!
Created attachment 179055 [details] debug log
This only happens in the --enable-experimental build.
Have you upgraded your -good package to the latest release before running these tests? Still need to look deeper at the code, but it seems that you're missing a fix on jpegenc which is used on camerabin2.
The unit test should probably check the jpegenc version then and either warn or skip the test (since the configure check doesn't check for a specific -good version).
You are right, with the latest gst-plugins-good, the test does not fail.
Created attachment 179159 [details] [review] tests: imagecapturebin: Only run a test if -good is 0.10.27 or newer One test on imagecapturebin requires dcbba0932dc579abd6aab4460fa1a416374eda1b on good that was released on 0.10.27.
commit 5dbee0c39c96f89d4af28ddc9a8622b861e41de0 Author: Thiago Santos <thiago.sousa.santos@collabora.co.uk> Date: Mon Jan 24 10:08:17 2011 -0300 tests: imagecapturebin: Only run a test if -good is 0.10.27 or newer One test on imagecapturebin requires dcbba0932dc579abd6aab4460fa1a416374eda1b on good that was released on 0.10.27. https://bugzilla.gnome.org/show_bug.cgi?id=640286