diff --git a/ChangeLog b/ChangeLog index d8b8a8a6d8..1e1a1a2a4c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2006-09-29 Wim Taymans + + * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread): + * libs/gst/net/gstnettimeprovider.c: + (gst_net_time_provider_thread): + Stop reading commands when EOF as well. + + * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init): + * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init): + * plugins/elements/gstidentity.c: (gst_identity_class_init): + Unify description of the dump property. + 2006-09-28 Jan Schmidt * tests/examples/manual/.cvsignore: diff --git a/libs/gst/net/gstnetclientclock.c b/libs/gst/net/gstnetclientclock.c index 9343ca7bd1..b3b3f22dde 100644 --- a/libs/gst/net/gstnetclientclock.c +++ b/libs/gst/net/gstnetclientclock.c @@ -384,7 +384,7 @@ gst_net_client_clock_thread (gpointer data) int res; READ_COMMAND (self, command, res); - if (res < 0) { + if (res <= 0) { GST_LOG_OBJECT (self, "no more commands"); break; } diff --git a/libs/gst/net/gstnettimeprovider.c b/libs/gst/net/gstnettimeprovider.c index ee24df4137..e7ca61ccdc 100644 --- a/libs/gst/net/gstnettimeprovider.c +++ b/libs/gst/net/gstnettimeprovider.c @@ -260,7 +260,7 @@ gst_net_time_provider_thread (gpointer data) int res; READ_COMMAND (self, command, res); - if (res < 0) { + if (res <= 0) { GST_LOG_OBJECT (self, "no more commands"); break; } diff --git a/plugins/elements/gstfakesink.c b/plugins/elements/gstfakesink.c index 3c8dd0a47c..280efd004b 100644 --- a/plugins/elements/gstfakesink.c +++ b/plugins/elements/gstfakesink.c @@ -174,7 +174,7 @@ gst_fake_sink_class_init (GstFakeSinkClass * klass) "Don't produce last_message events", DEFAULT_SILENT, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_DUMP, - g_param_spec_boolean ("dump", "Dump", "Dump received bytes to stdout", + g_param_spec_boolean ("dump", "Dump", "Dump buffer contents to stdout", DEFAULT_DUMP, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_CAN_ACTIVATE_PUSH, diff --git a/plugins/elements/gstfakesrc.c b/plugins/elements/gstfakesrc.c index ea192c4722..ed48f6ab26 100644 --- a/plugins/elements/gstfakesrc.c +++ b/plugins/elements/gstfakesrc.c @@ -310,7 +310,7 @@ gst_fake_src_class_init (GstFakeSrcClass * klass) "Send a signal before pushing the buffer", DEFAULT_SIGNAL_HANDOFFS, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_DUMP, - g_param_spec_boolean ("dump", "Dump", "Dump produced bytes to stdout", + g_param_spec_boolean ("dump", "Dump", "Dump buffer contents to stdout", DEFAULT_DUMP, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_CAN_ACTIVATE_PUSH, diff --git a/plugins/elements/gstidentity.c b/plugins/elements/gstidentity.c index ca5872be44..8960eb9e49 100644 --- a/plugins/elements/gstidentity.c +++ b/plugins/elements/gstidentity.c @@ -200,7 +200,7 @@ gst_identity_class_init (GstIdentityClass * klass) g_param_spec_string ("last-message", "last-message", "last-message", NULL, G_PARAM_READABLE)); g_object_class_install_property (gobject_class, PROP_DUMP, - g_param_spec_boolean ("dump", "Dump", "Dump buffer contents", + g_param_spec_boolean ("dump", "Dump", "Dump buffer contents to stdout", DEFAULT_DUMP, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_SYNC, g_param_spec_boolean ("sync", "Synchronize",