mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 16:08:51 +00:00
Printf fixes.
Original commit message from CVS: * gst/gstpad.c: (pre_activate): * gst/gstregistry.c: (gst_registry_scan_path_level): * gst/gstregistryxml.c: (load_plugin): * libs/gst/controller/gstcontroller.c: (gst_controlled_property_set_interpolation_mode): * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event_1_0): * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_observe_times): * plugins/elements/gstfdsrc.c: (gst_fd_src_create): Printf fixes.
This commit is contained in:
parent
376f6c34da
commit
f468db236d
8 changed files with 24 additions and 11 deletions
14
ChangeLog
14
ChangeLog
|
@ -1,3 +1,17 @@
|
||||||
|
2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* gst/gstpad.c: (pre_activate):
|
||||||
|
* gst/gstregistry.c: (gst_registry_scan_path_level):
|
||||||
|
* gst/gstregistryxml.c: (load_plugin):
|
||||||
|
* libs/gst/controller/gstcontroller.c:
|
||||||
|
(gst_controlled_property_set_interpolation_mode):
|
||||||
|
* libs/gst/dataprotocol/dataprotocol.c:
|
||||||
|
(gst_dp_packet_from_event_1_0):
|
||||||
|
* libs/gst/net/gstnetclientclock.c:
|
||||||
|
(gst_net_client_clock_observe_times):
|
||||||
|
* plugins/elements/gstfdsrc.c: (gst_fd_src_create):
|
||||||
|
Printf fixes.
|
||||||
|
|
||||||
2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
|
2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* configure.ac:
|
* configure.ac:
|
||||||
|
|
|
@ -575,8 +575,7 @@ pre_activate (GstPad * pad, GstActivateMode new_mode)
|
||||||
break;
|
break;
|
||||||
case GST_ACTIVATE_NONE:
|
case GST_ACTIVATE_NONE:
|
||||||
GST_OBJECT_LOCK (pad);
|
GST_OBJECT_LOCK (pad);
|
||||||
GST_DEBUG_OBJECT (pad, "setting ACTIVATE_MODE NONE, set flushing",
|
GST_DEBUG_OBJECT (pad, "setting ACTIVATE_MODE NONE, set flushing");
|
||||||
new_mode);
|
|
||||||
GST_PAD_SET_FLUSHING (pad);
|
GST_PAD_SET_FLUSHING (pad);
|
||||||
/* unlock blocked pads so element can resume and stop */
|
/* unlock blocked pads so element can resume and stop */
|
||||||
GST_PAD_BLOCK_SIGNAL (pad);
|
GST_PAD_BLOCK_SIGNAL (pad);
|
||||||
|
|
|
@ -857,9 +857,9 @@ gst_registry_scan_path_level (GstRegistry * registry, const gchar * path,
|
||||||
} else {
|
} else {
|
||||||
GST_INFO_OBJECT (registry, "cached info for %s is stale", filename);
|
GST_INFO_OBJECT (registry, "cached info for %s is stale", filename);
|
||||||
GST_DEBUG_OBJECT (registry, "mtime %ld != %ld or size %"
|
GST_DEBUG_OBJECT (registry, "mtime %ld != %ld or size %"
|
||||||
G_GSIZE_FORMAT " != %"
|
G_GINT64_FORMAT " != %"
|
||||||
G_GSIZE_FORMAT, plugin->file_mtime, file_status.st_mtime,
|
G_GINT64_FORMAT, plugin->file_mtime, file_status.st_mtime,
|
||||||
plugin->file_size, file_status.st_size);
|
(gint64) plugin->file_size, (gint64) file_status.st_size);
|
||||||
gst_registry_remove_plugin (gst_registry_get_default (), plugin);
|
gst_registry_remove_plugin (gst_registry_get_default (), plugin);
|
||||||
newplugin = gst_plugin_load_file (filename, NULL);
|
newplugin = gst_plugin_load_file (filename, NULL);
|
||||||
if (newplugin) {
|
if (newplugin) {
|
||||||
|
|
|
@ -452,7 +452,7 @@ load_plugin (xmlTextReaderPtr reader, GList ** feature_list)
|
||||||
|
|
||||||
if (read_uint (reader, &x)) {
|
if (read_uint (reader, &x)) {
|
||||||
plugin->file_size = x;
|
plugin->file_size = x;
|
||||||
GST_DEBUG ("file_size %d", plugin->file_size);
|
GST_DEBUG ("file_size %" G_GINT64_FORMAT, (gint64) plugin->file_size);
|
||||||
} else {
|
} else {
|
||||||
GST_DEBUG ("failed to read size");
|
GST_DEBUG ("failed to read size");
|
||||||
}
|
}
|
||||||
|
|
|
@ -234,7 +234,7 @@ gst_controlled_property_set_interpolation_mode (GstControlledProperty * self,
|
||||||
self->get_value_array = NULL;
|
self->get_value_array = NULL;
|
||||||
}
|
}
|
||||||
if (!self->get) { /* || !self->get_value_array) */
|
if (!self->get) { /* || !self->get_value_array) */
|
||||||
GST_WARNING ("incomplete implementation for type %d/%d:'%s'/'%s'",
|
GST_WARNING ("incomplete implementation for type %lu/%lu:'%s'/'%s'",
|
||||||
self->type, self->base,
|
self->type, self->base,
|
||||||
g_type_name (self->type), g_type_name (self->base));
|
g_type_name (self->type), g_type_name (self->base));
|
||||||
res = FALSE;
|
res = FALSE;
|
||||||
|
|
|
@ -545,7 +545,7 @@ gst_dp_packet_from_event_1_0 (const GstEvent * event, GstDPHeaderFlag flags,
|
||||||
GST_LOG ("event %p has structure, string %s", event, string);
|
GST_LOG ("event %p has structure, string %s", event, string);
|
||||||
pl_length = strlen ((gchar *) string) + 1; /* include trailing 0 */
|
pl_length = strlen ((gchar *) string) + 1; /* include trailing 0 */
|
||||||
} else {
|
} else {
|
||||||
GST_LOG ("event %p has no structure");
|
GST_LOG ("event %p has no structure", event);
|
||||||
pl_length = 0;
|
pl_length = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -292,8 +292,8 @@ gst_net_client_clock_observe_times (GstNetClientClock * self,
|
||||||
|
|
||||||
bogus_observation:
|
bogus_observation:
|
||||||
{
|
{
|
||||||
GST_WARNING_OBJECT (self, "time packet receive time < send time (%",
|
GST_WARNING_OBJECT (self, "time packet receive time < send time (%"
|
||||||
GST_TIME_FORMAT, " < %" GST_TIME_FORMAT ")", GST_TIME_ARGS (local_1),
|
GST_TIME_FORMAT " < %" GST_TIME_FORMAT ")", GST_TIME_ARGS (local_1),
|
||||||
GST_TIME_ARGS (local_2));
|
GST_TIME_ARGS (local_2));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -372,7 +372,7 @@ gst_fd_src_create (GstPushSrc * psrc, GstBuffer ** outbuf)
|
||||||
GST_BUFFER_TIMESTAMP (buf) = GST_CLOCK_TIME_NONE;
|
GST_BUFFER_TIMESTAMP (buf) = GST_CLOCK_TIME_NONE;
|
||||||
src->curoffset += readbytes;
|
src->curoffset += readbytes;
|
||||||
|
|
||||||
GST_LOG_OBJECT (psrc, "Read buffer of size %u.", readbytes);
|
GST_LOG_OBJECT (psrc, "Read buffer of size %ld", readbytes);
|
||||||
|
|
||||||
/* we're done, return the buffer */
|
/* we're done, return the buffer */
|
||||||
*outbuf = buf;
|
*outbuf = buf;
|
||||||
|
|
Loading…
Reference in a new issue