2004-04-20 Thomas Vander Stichele <thomas at apestaart dot org>
+ * gst/elements/gstfakesink.c: (gst_fakesink_state_error_get_type),
+ (gst_fakesink_set_property), (gst_fakesink_chain):
+ * gst/elements/gstfakesrc.c: (gst_fakesrc_set_property):
+ * gst/elements/gstfdsrc.c: (gst_fdsrc_set_property):
+ * gst/elements/gstfilesrc.c: (gst_filesrc_set_property):
+ * gst/elements/gstidentity.c: (gst_identity_chain),
+ (gst_identity_set_property):
+ * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_set_property):
+ * gst/elements/gstpipefilter.c: (gst_pipefilter_set_property):
+ add warnings to _set_property for unknown arguments
+ use GST_TIME_FORMAT/GST_TIME_ARGS for timestamp printing
+
+2004-04-20 Thomas Vander Stichele <thomas at apestaart dot org>
+
* Makefile.am:
* docs/manuals.mak:
add .po file download snippet
sink->signal_handoffs = g_value_get_boolean (value);
break;
default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
fakesink->last_message =
g_strdup_printf ("chain ******* (%s:%s)< (%d bytes, timestamp: %"
- G_GINT64_FORMAT ", duration: %" G_GINT64_FORMAT ", offset: %"
+ GST_TIME_FORMAT ", duration: %" GST_TIME_FORMAT ", offset: %"
G_GINT64_FORMAT ", flags: %d) %p", GST_DEBUG_PAD_NAME (pad),
- GST_BUFFER_SIZE (buf), GST_BUFFER_TIMESTAMP (buf),
- GST_BUFFER_DURATION (buf), GST_BUFFER_OFFSET (buf),
+ GST_BUFFER_SIZE (buf), GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buf)),
+ GST_TIME_ARGS (GST_BUFFER_DURATION (buf)), GST_BUFFER_OFFSET (buf),
GST_BUFFER_FLAGS (buf), buf);
g_object_notify (G_OBJECT (fakesink), "last_message");
src->dump = g_value_get_boolean (value);
break;
default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
src->timeout = g_value_get_uint64 (value);
break;
default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
g_object_notify (G_OBJECT (src), "touch");
break;
default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
g_free (identity->last_message);
identity->last_message =
g_strdup_printf ("chain ******* (%s:%s)i (%d bytes, %"
- G_GINT64_FORMAT ")", GST_DEBUG_PAD_NAME (identity->sinkpad),
- GST_BUFFER_SIZE (buf), GST_BUFFER_TIMESTAMP (buf));
+ GST_TIME_FORMAT ")", GST_DEBUG_PAD_NAME (identity->sinkpad),
+ GST_BUFFER_SIZE (buf), GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buf)));
g_object_notify (G_OBJECT (identity), "last-message");
}
identity->drop_probability = g_value_get_float (value);
break;
default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
}
break;
default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
pipefilter->command = g_strsplit (g_value_get_string (value), " ", 0);
break;
default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
sink->signal_handoffs = g_value_get_boolean (value);
break;
default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
fakesink->last_message =
g_strdup_printf ("chain ******* (%s:%s)< (%d bytes, timestamp: %"
- G_GINT64_FORMAT ", duration: %" G_GINT64_FORMAT ", offset: %"
+ GST_TIME_FORMAT ", duration: %" GST_TIME_FORMAT ", offset: %"
G_GINT64_FORMAT ", flags: %d) %p", GST_DEBUG_PAD_NAME (pad),
- GST_BUFFER_SIZE (buf), GST_BUFFER_TIMESTAMP (buf),
- GST_BUFFER_DURATION (buf), GST_BUFFER_OFFSET (buf),
+ GST_BUFFER_SIZE (buf), GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buf)),
+ GST_TIME_ARGS (GST_BUFFER_DURATION (buf)), GST_BUFFER_OFFSET (buf),
GST_BUFFER_FLAGS (buf), buf);
g_object_notify (G_OBJECT (fakesink), "last_message");
src->dump = g_value_get_boolean (value);
break;
default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
src->timeout = g_value_get_uint64 (value);
break;
default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
g_object_notify (G_OBJECT (src), "touch");
break;
default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
g_free (identity->last_message);
identity->last_message =
g_strdup_printf ("chain ******* (%s:%s)i (%d bytes, %"
- G_GINT64_FORMAT ")", GST_DEBUG_PAD_NAME (identity->sinkpad),
- GST_BUFFER_SIZE (buf), GST_BUFFER_TIMESTAMP (buf));
+ GST_TIME_FORMAT ")", GST_DEBUG_PAD_NAME (identity->sinkpad),
+ GST_BUFFER_SIZE (buf), GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buf)));
g_object_notify (G_OBJECT (identity), "last-message");
}
identity->drop_probability = g_value_get_float (value);
break;
default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
}
break;
default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
pipefilter->command = g_strsplit (g_value_get_string (value), " ", 0);
break;
default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}