[vlc-devel] [PATCH] Added a new play-and-pause option.

Pierre d'Herbemont pdherbemont at free.fr
Wed Aug 19 13:33:30 CEST 2009

On Wed, Aug 5, 2009 at 2:57 PM, Elliot Murphy<elliot.murphy at gmail.com> wrote:
> On Tue, Aug 4, 2009 at 9:04 PM, Laurent Aimar<fenrir at via.ecp.fr> wrote:
>> On Tue, Aug 04, 2009, Rémi Denis-Courmont wrote:
>>> If I understand right, this tries to pause the current item when EOS occurs.
>>> This will fail if the access/access_demux plugin is incapable of pausing. I am
>>> also worried that not all access and access_demux plugins handle
>>> SET_PAUSE_STATE properly *after* they returned EOF/EOS (I might be too
>>> pessimistic).
>>  It's not a problem because in this case, the timeshift done by es_out should
>> kick in (if the access/demux fails) and do the pause (even there won't be any
>> real timeshift involved as we're at eof).
> Great, thanks for explaining this.
>>> Is there any reason why you do this at the end of the input loop, rather than
>>> between items within playlist?
>> (play-and-stop is probably what you are suggesting I think)
>>  I think the main reasons are:
>>  - it will allow keeping the last displayed frame (otherwise the vout is flushed
>>  before terminating the input, even if reused).
> Yes, this is exactly the reason that play-and-stop was not enough for
> me. For my use case I'm trying to keep displaying the last frame, so
> that the big projector screens that the audience just see a smooth
> pause at the end of a clip and the live video mixer operator can then
> smoothly dissolve back to them main camera.
> Thanks for the feedback! I will address the issues you brought up in
> the other mails.

Do you have any updated patch? This is something that I'd like to see in VLC.


More information about the vlc-devel mailing list