After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 640286 - elements/imagecapturebin check fails
elements/imagecapturebin check fails
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.21
Other Linux
: Normal normal
: 0.10.22
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-01-22 19:02 UTC by Götz Waschk
Modified: 2011-01-24 14:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
debug log (262.82 KB, application/x-xz)
2011-01-22 19:38 UTC, Götz Waschk
  Details
tests: imagecapturebin: Only run a test if -good is 0.10.27 or newer (1.93 KB, patch)
2011-01-24 13:11 UTC, Thiago Sousa Santos
committed Details | Review

Description Götz Waschk 2011-01-22 19:02:38 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
Comment 1 Tim-Philipp Müller 2011-01-22 19:08:48 UTC
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!
Comment 2 Götz Waschk 2011-01-22 19:38:01 UTC
Created attachment 179055 [details]
debug log
Comment 3 Götz Waschk 2011-01-22 20:12:14 UTC
This only happens in the --enable-experimental build.
Comment 4 Thiago Sousa Santos 2011-01-24 11:31:44 UTC
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.
Comment 5 Tim-Philipp Müller 2011-01-24 11:35:32 UTC
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).
Comment 6 Götz Waschk 2011-01-24 11:52:14 UTC
You are right, with the latest gst-plugins-good, the test does not fail.
Comment 7 Thiago Sousa Santos 2011-01-24 13:11:43 UTC
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.
Comment 8 Thiago Sousa Santos 2011-01-24 14:38:40 UTC
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