a few fixes

Original commit message from CVS:
* a few fixes
This commit is contained in:
Thomas Vander Stichele 2002-02-21 13:49:11 +00:00
parent 5500d710be
commit a7f2831dd7
2 changed files with 3 additions and 3 deletions

2
common

@ -1 +1 @@
Subproject commit fd02f1d955e13407fd27314b1568023bd2061df7
Subproject commit 92652b8acbf06e097070bc6055715b9fca405834

View file

@ -380,7 +380,7 @@ gst_osssink_sync_parms (GstOssSink *osssink)
g_object_thaw_notify (object);
osssink->fragment_time = (1000000 * osssink->fragment) / osssink->bps;
GST_INFO (GST_CAT_PLUGIN_INFO, "fragment time %lu %llu\n", osssink->bps, osssink->fragment_time);
GST_INFO (GST_CAT_PLUGIN_INFO, "fragment time %u %llu\n", osssink->bps, osssink->fragment_time);
if (target_format != osssink->format ||
target_channels != osssink->channels ||
@ -454,7 +454,7 @@ gst_osssink_chain (GstPad *pad, GstBuffer *buf)
queued = (ospace.fragstotal * ospace.fragsize) - ospace.bytes;
time = osssink->offset + (optr.bytes) * 1000000LL / osssink->bps;
GST_DEBUG (GST_PLUGIN_INFO, "sync %llu %llu %d\n", buftime, time, queued);
GST_DEBUG (GST_CAT_PLUGIN_INFO, "sync %llu %llu %d\n", buftime, time, queued);
granularity = ospace.fragsize;
/* granularity = size; */