diff options
author | Stefan Kost <ensonic@users.sf.net> | 2009-02-27 12:35:14 +0200 |
---|---|---|
committer | Stefan Kost <ensonic@users.sf.net> | 2009-02-27 12:35:14 +0200 |
commit | fab9dfa5d093a27dd6a0bfb16d020f3753523964 (patch) | |
tree | 851f01e630fcfbbef2e627dd3b2a76ec0af9ca36 /tests/check/elements | |
parent | 5f2d5aa5a547427e5f564ab4b309cfc8f26fba18 (diff) | |
download | gst-plugins-bad-fab9dfa5d093a27dd6a0bfb16d020f3753523964.tar.gz gst-plugins-bad-fab9dfa5d093a27dd6a0bfb16d020f3753523964.tar.bz2 gst-plugins-bad-fab9dfa5d093a27dd6a0bfb16d020f3753523964.zip |
camerabin: rework signaling and tests
Revert the GString change. There are no marshallers for it. A better change is
now described in http://bugzilla.gnome.org/show_bug.cgi?id=573370.
Test should work again.
Diffstat (limited to 'tests/check/elements')
-rw-r--r-- | tests/check/elements/camerabin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/check/elements/camerabin.c b/tests/check/elements/camerabin.c index 82b218b9..53e0e5fa 100644 --- a/tests/check/elements/camerabin.c +++ b/tests/check/elements/camerabin.c @@ -82,6 +82,7 @@ capture_done (GstElement * elem, GString * filename, gpointer user_data) if (captured_images >= MAX_BURST_IMAGES) { /* release the shutter button */ + GST_DEBUG ("signal for img-done"); g_mutex_lock (cam_mutex); g_cond_signal (cam_cond); g_mutex_unlock (cam_mutex); @@ -334,6 +335,7 @@ GST_START_TEST (test_burst_image_capture) g_mutex_lock (cam_mutex); g_cond_wait (cam_cond, cam_mutex); g_mutex_unlock (cam_mutex); + GST_DEBUG ("received img-done"); g_signal_emit_by_name (camera, "user-stop", 0); } |