[FFmpeg-devel] [PATCH] support for ordered chapters/segment linking in Matroska
Anton Khirnov
wyskas
Fri Nov 21 23:13:30 CET 2008
On Fri, Nov 21, 2008 at 9:03 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
>
> [...]
>> +#define AV_LINK_FILENAME 0x0001 ///< exact paths to external streams are known
>> +#define AV_LINK_SAMEDIR 0x0002 ///< search for linked files in the same directory
>> +
>> +typedef struct AVLinkContext {
>> + int search_flags; /**< Where should we look for external streams. */
>
> is the reader supposed to guess what values this field has or if it
> maybe takes AV_LINK flags?
>
fixed =p
>
> [...]
>> diff --git a/libavformat/avio.h b/libavformat/avio.h
>> index 687333e..261fb32 100644
>> --- a/libavformat/avio.h
>> +++ b/libavformat/avio.h
>> @@ -135,6 +135,9 @@ typedef struct URLProtocol {
>> int (*url_read_pause)(URLContext *h, int pause);
>> int64_t (*url_read_seek)(URLContext *h,
>> int stream_index, int64_t timestamp, int flags);
>> + int (*url_opendir)(URLContext **h, const char *path, int flags);
>> + int (*url_readdir)( URLContext *h, char *filename, int max_size);
>> + void (*url_closedir)(URLContext *h);
>> } URLProtocol;
>
> This stuff belongs in a seperate patch
>
done
Anton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01_dir_func.diff
Type: text/x-diff
Size: 2178 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081121/80b884af/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 02_external_files.diff
Type: text/x-diff
Size: 7728 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081121/80b884af/attachment-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 03_matroska_ordered_chapters.diff
Type: text/x-diff
Size: 20053 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081121/80b884af/attachment-0002.diff>
More information about the ffmpeg-devel
mailing list