Vitor Sessak a écrit : > On 08/07/2010 09:42 PM, Sebastian Vater wrote: > > >> + /** Forced duration of the module, in AV_TIME_BASE fractional >> + seconds. This is the total sum of all sub-song durations >> + this module contains or zero if the duration is unknown and >> + also cannot be automatically determined. The composer then can >> + set manually a duration after which the player can skip over to >> + the next module if it is playing back in once mode. */ >> + uint64_t forced_duration; > > This looks like a mix between what we discussed and what it was > before. For me (and you seemed to agree), if the song finishes after > the last note, this field should be set to zero, no matter if the > duration can be automatically determined or not. If the duration _can_ > be determined automatically, one should set the corresponding field of > _AVCodecContext_ (obviously, when forced_duration != 0, we can always > determine the song duration and it is equal to forced_duration).
Based on your description, we actually mean the same, maybe my documentation is misleading on this, do you have an idea to better write it? -- Best regards, :-) Basty/CDGS (-: _______________________________________________ FFmpeg-soc mailing list FFmpeg-soc@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc