[gst-devel] _get_times() functions and end=-1

ensonic ensonic at hora-obscura.de
Wed Aug 16 09:34:36 CEST 2006


hi,

two things about the _get_times functions in sinks and sources.

#1: if they can't determine the end (e.g. n known duration), shouldn't they
then set *end=-1 in all branches? I have done this locally and could commit.

#2: shouldn't those like ximagesink and xvimagesink use the
gst_util_uint64_scale_int() for calculating end from fps? I could also
commit this from my local checkout.

Stefan





More information about the gstreamer-devel mailing list