Remove the discont-when-clipping hack now that basesink provides us with
correctly clipped samples when stepping.
samples -= diff;
data += diff * bps;
time = ctime;
- /* don't align if we clipped */
- if (bsink->segment.rate >= 0.0)
- sink->next_sample = -1;
}
diff = stop - cstop;
if (diff > 0) {
G_GUINT64_FORMAT " samples", GST_TIME_ARGS (cstop), diff);
samples -= diff;
stop = cstop;
- /* don't align if we clipped */
- if (bsink->segment.rate <= 0.0)
- sink->next_sample = -1;
}
/* figure out how to sync */