Mercurial > libavformat.hg
annotate metadata.h @ 6479:3e7384f85f1d libavformat
tcp: Check both wfds and efds when waiting for the result from connect
On windows, a connection failure doesn't trigger wfds as it does on unix.
This fixes issue 2237, based on code by yeyingxian.
| author | mstorsjo |
|---|---|
| date | Tue, 21 Sep 2010 20:17:34 +0000 |
| parents | 4974b3d4992b |
| children |
| rev | line source |
|---|---|
| 4150 | 1 /* |
| 2 * copyright (c) 2009 Michael Niedermayer | |
| 3 * | |
| 4 * This file is part of FFmpeg. | |
| 5 * | |
| 6 * FFmpeg is free software; you can redistribute it and/or | |
| 7 * modify it under the terms of the GNU Lesser General Public | |
| 8 * License as published by the Free Software Foundation; either | |
| 9 * version 2.1 of the License, or (at your option) any later version. | |
| 10 * | |
| 11 * FFmpeg is distributed in the hope that it will be useful, | |
| 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 14 * Lesser General Public License for more details. | |
| 15 * | |
| 16 * You should have received a copy of the GNU Lesser General Public | |
| 17 * License along with FFmpeg; if not, write to the Free Software | |
| 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
| 19 */ | |
| 20 | |
| 21 #ifndef AVFORMAT_METADATA_H | |
| 22 #define AVFORMAT_METADATA_H | |
| 23 | |
| 24 /** | |
|
5969
178de7695c6c
Remove explicit filename from Doxygen @file commands.
diego
parents:
5661
diff
changeset
|
25 * @file |
| 4150 | 26 * internal metadata API header |
| 27 * see avformat.h or the public API! | |
| 28 */ | |
| 29 | |
| 30 | |
| 31 #include "avformat.h" | |
| 32 | |
|
4154
bd4d3fee45d0
rename AVMetaData to AVMetadata and meta_data to metadata
aurel
parents:
4150
diff
changeset
|
33 struct AVMetadata{ |
| 4150 | 34 int count; |
|
4154
bd4d3fee45d0
rename AVMetaData to AVMetadata and meta_data to metadata
aurel
parents:
4150
diff
changeset
|
35 AVMetadataTag *elems; |
| 4150 | 36 }; |
| 37 | |
| 4617 | 38 struct AVMetadataConv{ |
| 39 const char *native; | |
| 40 const char *generic; | |
| 41 }; | |
| 42 | |
|
6387
4974b3d4992b
rename LAVF_API_* defines to FF_API_* to clarify that it is not public API
aurel
parents:
6384
diff
changeset
|
43 #if FF_API_OLD_METADATA |
|
4179
c32a783ff374
Add a second metadata compatibility layer, so that metadata that gets
aurel
parents:
4158
diff
changeset
|
44 void ff_metadata_demux_compat(AVFormatContext *s); |
|
4181
17a8a3696ee1
rename ff_metadata_sync_compat to ff_metadata_mux_compat
aurel
parents:
4179
diff
changeset
|
45 void ff_metadata_mux_compat(AVFormatContext *s); |
|
4158
ea1e24175669
Add a metadata compatibility layer, so that when a user application set
aurel
parents:
4154
diff
changeset
|
46 #endif |
|
ea1e24175669
Add a metadata compatibility layer, so that when a user application set
aurel
parents:
4154
diff
changeset
|
47 |
|
5661
6d530eb42996
Set lavf identification string globally in av_write_header(), rather
rbultje
parents:
4617
diff
changeset
|
48 void metadata_conv(AVMetadata **pm, const AVMetadataConv *d_conv, |
|
6d530eb42996
Set lavf identification string globally in av_write_header(), rather
rbultje
parents:
4617
diff
changeset
|
49 const AVMetadataConv *s_conv); |
|
6d530eb42996
Set lavf identification string globally in av_write_header(), rather
rbultje
parents:
4617
diff
changeset
|
50 |
| 4150 | 51 #endif /* AVFORMAT_METADATA_H */ |
