segment: add a FIXME-2.0 for the format parameters

Capture the somewhat not ordinary use of the extra format parameter in a
comment.
See https://bugzilla.gnome.org/show_bug.cgi?id=788979
This commit is contained in:
Stefan Sauer 2017-12-26 11:29:39 +01:00
parent 252ce5a093
commit c96901d4d9

View file

@ -81,6 +81,12 @@
* info to stream time (which is always between 0 and the duration of the stream).
*/
/* FIXME 2.0: remove unused format parameter.
* Most of the methods in gstsegment.c take and extra GstFormat format, just to
* verify segment->format == format.
* See https://bugzilla.gnome.org/show_bug.cgi?id=788979
*/
/**
* gst_segment_copy:
* @segment: (transfer none): a #GstSegment