[Bug 754457] segment: Rewording of struct field descriptions

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Sep 2 07:03:58 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=754457

--- Comment #2 from Vivia Nikolaidou <vivia at ahiru.eu> ---
(In reply to Tim-Philipp Müller from comment #1)
> Comment on attachment 310499 [details] [review]
> Patch file
> 
> Some nitpicking
> 
> >- * @rate: the rate of the segment
> >+ * @rate: the desired playback rate of the segment
> 
> It is the rate, not the "desired" rate. The desired rate is what you pass to
> gst_event_new_seek().
> 
> >- * @applied_rate: the already applied rate to the segment
> >+ * @applied_rate: the already applied rate to the stream
> 
> Why? It's not constant for the entire stream, but might change, no?

I actually copied these two from gstreamer/docs/design/part-synchronisation.txt
. The two files should become consistent, in that case.

> >- * @start: the start of the segment
> >+ * @start: the start buffer timestamp of the segment
> >- * @stop: the stop of the segment
> >+ * @stop: the stop buffer timestamp of the segment
> 
> I think these might add more confusion actually, people might interpret it
> as the timestamp of the first buffer, but the timestamp of the first buffer
> may be before the start.

Pasting your suggestion from our private discussion:
perhaps "the start of the segment in buffer timestamp time (pts)"

Sounds good to me, I like it :)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list