[vlc-devel] [PATCH] Add HLS output option to write index revisions as different files

Ilkka Ollakka ileoo at videolan.org
Sun Mar 18 10:25:30 CET 2012

On Sat, Mar 17, 2012 at 02:17:29PM -0700, Chris Smowton wrote:
> Hi,


> As opposed to the existing (and still default) behaviour of
> overwriting a single file.

> I made this change for my own use when writing HLS streams under
> Win32. This is because of two weaknesses of Win32's filesystem
> semantics:

> 1. vlc_rename is not atomic under Win32. Atomic replacement of a
> file is possible under Windows Vista and 7 using MoveFileTransacted,
> but not under earlier versions and possibly not under later versions
> (Microsoft are deprecating transactional NTFS for being too
> difficult to maintain). This non-atomic replacement of the m3u8

I think this patch tries to fix that vlc_rename in win32, but does it in
wrong place. Better aproach would be trying to patch vlc_rename to work
better in win32. For support in windows we seem to support from XP SP2,
Vista and 7.

Ilkka Ollakka
You've been leading a dog's life.  Stay off the furniture.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120318/48ef2fad/attachment.sig>

More information about the vlc-devel mailing list