[farsight2/master] Wait until the component is ready before using it to avoid losing buffers
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:26:50 PST 2008
---
tests/check/transmitter/nice.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tests/check/transmitter/nice.c b/tests/check/transmitter/nice.c
index 9a088ee..3931ea6 100644
--- a/tests/check/transmitter/nice.c
+++ b/tests/check/transmitter/nice.c
@@ -283,7 +283,7 @@ _stream_state_changed (FsStreamTransmitter *st, guint component,
g_object_set_data (G_OBJECT (st), prop, GINT_TO_POINTER (state));
- if (state < FS_STREAM_STATE_CONNECTED)
+ if (state < FS_STREAM_STATE_READY)
return;
if (component == 1)
--
1.5.6.5
More information about the farsight-commits
mailing list