Re: [FFmpeg-devel] [PATCH v2 1/2] lavf: Add general API for IO buffer synchronization.

2018-12-06 Thread Andrey Semashev
On 12/6/18 10:34 PM, Nicolas George wrote: Andrey Semashev (2018-12-06): Could you provide an example where ENOTSUP (i.e. the error code) would make more sense for a sync operation, as opposed to AVIO_SYNC_NOT_SUPPORTED (i.e. the success code)? It is not a matter making more sense, both are se

Re: [FFmpeg-devel] [PATCH v2 1/2] lavf: Add general API for IO buffer synchronization.

2018-12-06 Thread Nicolas George
Andrey Semashev (2018-12-06): > Could you provide an example where ENOTSUP (i.e. the error code) would make > more sense for a sync operation, as opposed to AVIO_SYNC_NOT_SUPPORTED (i.e. > the success code)? It is not a matter making more sense, both are semantically equivalent. It is a matter of

Re: [FFmpeg-devel] [PATCH v2 1/2] lavf: Add general API for IO buffer synchronization.

2018-12-06 Thread Andrey Semashev
On 12/6/18 9:29 PM, Nicolas George wrote: Andrey Semashev (2018-12-04): This commit adds a new set of functions to avio and url subsystems, which allow users to invoke IO buffer synchronization with the underlying media. The most obvious target for this extension if the filesystem streams. Invok

Re: [FFmpeg-devel] [PATCH v2 1/2] lavf: Add general API for IO buffer synchronization.

2018-12-06 Thread Nicolas George
Andrey Semashev (2018-12-04): > This commit adds a new set of functions to avio and url subsystems, which > allow users to invoke IO buffer synchronization with the underlying media. > The most obvious target for this extension if the filesystem streams. Invoking > IO synchronization allows user ap

[FFmpeg-devel] [PATCH v2 1/2] lavf: Add general API for IO buffer synchronization.

2018-12-04 Thread Andrey Semashev
This commit adds a new set of functions to avio and url subsystems, which allow users to invoke IO buffer synchronization with the underlying media. The most obvious target for this extension if the filesystem streams. Invoking IO synchronization allows user applications to ensure that all written