[MPlayer-dev-eng] [PATCH] new option: -startpos (was "the seek to position -ss option does not really set a new playback start position")
jehan.marmottard at gmail.com
Thu Apr 8 05:02:54 CEST 2010
On Thu, Apr 8, 2010 at 12:27 AM, Uoti Urpala <uoti.urpala at pp1.inet.fi> wrote:
> On Wed, 2010-04-07 at 23:52 +0900, Jehan Pagès wrote:
>> ok so I have been given some thoughts to this. Instead of modifying
>> -ss, because I think its current way of doing is useful for some
>> people, I made a new option. Anyway -ss is "seek to seconds", so
>> semantically it just means that you seek, not that you change the
>> start position. This is what -startpos will be then. ;)
>> So basically it just does the same as -ss except that it jails the
>> lecture. So you cannot seek backwards. Note that it can be used along
> This could be implemented based on the general timeline functionality I
> added for Matroska ordered chapter support, without adding new cases to
> the playback code.
Where is this feature in the code so I can have a look what you mean?
> Your patch would also first start playback from the
> wrong position and then seek to another.
I don't really understand here. My patch does globally what -ss was
already doing when you were looping a media file for instance (but was
not doing when seeking manually, which my patch do the same way).
And as far as I can see, nothing is done "wrong". Though of course in
the absolute, I can do things wrong ;) but just point me out because
as I said, I didn't understand what you meant.
Thanks for the feedback anyway, I will wait for further explanations then.
More information about the MPlayer-dev-eng