GST_BUFFER_SIZE (buf), render_start);
/* we don't have a start so we don't know stop either */
stop = -1;
- goto no_sync;
+ goto no_align;
}
/* let's calc stop based on the number of samples in the buffer instead
render_stop = render_start + samples;
GST_DEBUG_OBJECT (sink,
"no sync needed. Using render_start=%" G_GUINT64_FORMAT, render_start);
- goto no_sync;
+ goto no_align;
}
/* bring buffer start and stop times to running time */
/* number of target samples is difference between start and stop */
out_samples = render_stop - render_start;
-no_sync:
/* we render the first or last sample first, depending on the rate */
if (bsink->segment.rate >= 0.0)
sample_offset = render_start;