mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
libs/gst/net/: Stop reading commands when EOF as well.
Original commit message from CVS: * 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.
This commit is contained in:
parent
fe92364e18
commit
dd3b41efe1
6 changed files with 17 additions and 5 deletions
12
ChangeLog
12
ChangeLog
|
@ -1,3 +1,15 @@
|
|||
2006-09-29 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* 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 <thaytan@mad.scientist.com>
|
||||
|
||||
* tests/examples/manual/.cvsignore:
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue