This file is indexed.

/usr/share/gir-1.0/Gst-1.0.gir is in libgstreamer1.0-dev 1.14.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40
   41
   42
   43
   44
   45
   46
   47
   48
   49
   50
   51
   52
   53
   54
   55
   56
   57
   58
   59
   60
   61
   62
   63
   64
   65
   66
   67
   68
   69
   70
   71
   72
   73
   74
   75
   76
   77
   78
   79
   80
   81
   82
   83
   84
   85
   86
   87
   88
   89
   90
   91
   92
   93
   94
   95
   96
   97
   98
   99
  100
  101
  102
  103
  104
  105
  106
  107
  108
  109
  110
  111
  112
  113
  114
  115
  116
  117
  118
  119
  120
  121
  122
  123
  124
  125
  126
  127
  128
  129
  130
  131
  132
  133
  134
  135
  136
  137
  138
  139
  140
  141
  142
  143
  144
  145
  146
  147
  148
  149
  150
  151
  152
  153
  154
  155
  156
  157
  158
  159
  160
  161
  162
  163
  164
  165
  166
  167
  168
  169
  170
  171
  172
  173
  174
  175
  176
  177
  178
  179
  180
  181
  182
  183
  184
  185
  186
  187
  188
  189
  190
  191
  192
  193
  194
  195
  196
  197
  198
  199
  200
  201
  202
  203
  204
  205
  206
  207
  208
  209
  210
  211
  212
  213
  214
  215
  216
  217
  218
  219
  220
  221
  222
  223
  224
  225
  226
  227
  228
  229
  230
  231
  232
  233
  234
  235
  236
  237
  238
  239
  240
  241
  242
  243
  244
  245
  246
  247
  248
  249
  250
  251
  252
  253
  254
  255
  256
  257
  258
  259
  260
  261
  262
  263
  264
  265
  266
  267
  268
  269
  270
  271
  272
  273
  274
  275
  276
  277
  278
  279
  280
  281
  282
  283
  284
  285
  286
  287
  288
  289
  290
  291
  292
  293
  294
  295
  296
  297
  298
  299
  300
  301
  302
  303
  304
  305
  306
  307
  308
  309
  310
  311
  312
  313
  314
  315
  316
  317
  318
  319
  320
  321
  322
  323
  324
  325
  326
  327
  328
  329
  330
  331
  332
  333
  334
  335
  336
  337
  338
  339
  340
  341
  342
  343
  344
  345
  346
  347
  348
  349
  350
  351
  352
  353
  354
  355
  356
  357
  358
  359
  360
  361
  362
  363
  364
  365
  366
  367
  368
  369
  370
  371
  372
  373
  374
  375
  376
  377
  378
  379
  380
  381
  382
  383
  384
  385
  386
  387
  388
  389
  390
  391
  392
  393
  394
  395
  396
  397
  398
  399
  400
  401
  402
  403
  404
  405
  406
  407
  408
  409
  410
  411
  412
  413
  414
  415
  416
  417
  418
  419
  420
  421
  422
  423
  424
  425
  426
  427
  428
  429
  430
  431
  432
  433
  434
  435
  436
  437
  438
  439
  440
  441
  442
  443
  444
  445
  446
  447
  448
  449
  450
  451
  452
  453
  454
  455
  456
  457
  458
  459
  460
  461
  462
  463
  464
  465
  466
  467
  468
  469
  470
  471
  472
  473
  474
  475
  476
  477
  478
  479
  480
  481
  482
  483
  484
  485
  486
  487
  488
  489
  490
  491
  492
  493
  494
  495
  496
  497
  498
  499
  500
  501
  502
  503
  504
  505
  506
  507
  508
  509
  510
  511
  512
  513
  514
  515
  516
  517
  518
  519
  520
  521
  522
  523
  524
  525
  526
  527
  528
  529
  530
  531
  532
  533
  534
  535
  536
  537
  538
  539
  540
  541
  542
  543
  544
  545
  546
  547
  548
  549
  550
  551
  552
  553
  554
  555
  556
  557
  558
  559
  560
  561
  562
  563
  564
  565
  566
  567
  568
  569
  570
  571
  572
  573
  574
  575
  576
  577
  578
  579
  580
  581
  582
  583
  584
  585
  586
  587
  588
  589
  590
  591
  592
  593
  594
  595
  596
  597
  598
  599
  600
  601
  602
  603
  604
  605
  606
  607
  608
  609
  610
  611
  612
  613
  614
  615
  616
  617
  618
  619
  620
  621
  622
  623
  624
  625
  626
  627
  628
  629
  630
  631
  632
  633
  634
  635
  636
  637
  638
  639
  640
  641
  642
  643
  644
  645
  646
  647
  648
  649
  650
  651
  652
  653
  654
  655
  656
  657
  658
  659
  660
  661
  662
  663
  664
  665
  666
  667
  668
  669
  670
  671
  672
  673
  674
  675
  676
  677
  678
  679
  680
  681
  682
  683
  684
  685
  686
  687
  688
  689
  690
  691
  692
  693
  694
  695
  696
  697
  698
  699
  700
  701
  702
  703
  704
  705
  706
  707
  708
  709
  710
  711
  712
  713
  714
  715
  716
  717
  718
  719
  720
  721
  722
  723
  724
  725
  726
  727
  728
  729
  730
  731
  732
  733
  734
  735
  736
  737
  738
  739
  740
  741
  742
  743
  744
  745
  746
  747
  748
  749
  750
  751
  752
  753
  754
  755
  756
  757
  758
  759
  760
  761
  762
  763
  764
  765
  766
  767
  768
  769
  770
  771
  772
  773
  774
  775
  776
  777
  778
  779
  780
  781
  782
  783
  784
  785
  786
  787
  788
  789
  790
  791
  792
  793
  794
  795
  796
  797
  798
  799
  800
  801
  802
  803
  804
  805
  806
  807
  808
  809
  810
  811
  812
  813
  814
  815
  816
  817
  818
  819
  820
  821
  822
  823
  824
  825
  826
  827
  828
  829
  830
  831
  832
  833
  834
  835
  836
  837
  838
  839
  840
  841
  842
  843
  844
  845
  846
  847
  848
  849
  850
  851
  852
  853
  854
  855
  856
  857
  858
  859
  860
  861
  862
  863
  864
  865
  866
  867
  868
  869
  870
  871
  872
  873
  874
  875
  876
  877
  878
  879
  880
  881
  882
  883
  884
  885
  886
  887
  888
  889
  890
  891
  892
  893
  894
  895
  896
  897
  898
  899
  900
  901
  902
  903
  904
  905
  906
  907
  908
  909
  910
  911
  912
  913
  914
  915
  916
  917
  918
  919
  920
  921
  922
  923
  924
  925
  926
  927
  928
  929
  930
  931
  932
  933
  934
  935
  936
  937
  938
  939
  940
  941
  942
  943
  944
  945
  946
  947
  948
  949
  950
  951
  952
  953
  954
  955
  956
  957
  958
  959
  960
  961
  962
  963
  964
  965
  966
  967
  968
  969
  970
  971
  972
  973
  974
  975
  976
  977
  978
  979
  980
  981
  982
  983
  984
  985
  986
  987
  988
  989
  990
  991
  992
  993
  994
  995
  996
  997
  998
  999
 1000
 1001
 1002
 1003
 1004
 1005
 1006
 1007
 1008
 1009
 1010
 1011
 1012
 1013
 1014
 1015
 1016
 1017
 1018
 1019
 1020
 1021
 1022
 1023
 1024
 1025
 1026
 1027
 1028
 1029
 1030
 1031
 1032
 1033
 1034
 1035
 1036
 1037
 1038
 1039
 1040
 1041
 1042
 1043
 1044
 1045
 1046
 1047
 1048
 1049
 1050
 1051
 1052
 1053
 1054
 1055
 1056
 1057
 1058
 1059
 1060
 1061
 1062
 1063
 1064
 1065
 1066
 1067
 1068
 1069
 1070
 1071
 1072
 1073
 1074
 1075
 1076
 1077
 1078
 1079
 1080
 1081
 1082
 1083
 1084
 1085
 1086
 1087
 1088
 1089
 1090
 1091
 1092
 1093
 1094
 1095
 1096
 1097
 1098
 1099
 1100
 1101
 1102
 1103
 1104
 1105
 1106
 1107
 1108
 1109
 1110
 1111
 1112
 1113
 1114
 1115
 1116
 1117
 1118
 1119
 1120
 1121
 1122
 1123
 1124
 1125
 1126
 1127
 1128
 1129
 1130
 1131
 1132
 1133
 1134
 1135
 1136
 1137
 1138
 1139
 1140
 1141
 1142
 1143
 1144
 1145
 1146
 1147
 1148
 1149
 1150
 1151
 1152
 1153
 1154
 1155
 1156
 1157
 1158
 1159
 1160
 1161
 1162
 1163
 1164
 1165
 1166
 1167
 1168
 1169
 1170
 1171
 1172
 1173
 1174
 1175
 1176
 1177
 1178
 1179
 1180
 1181
 1182
 1183
 1184
 1185
 1186
 1187
 1188
 1189
 1190
 1191
 1192
 1193
 1194
 1195
 1196
 1197
 1198
 1199
 1200
 1201
 1202
 1203
 1204
 1205
 1206
 1207
 1208
 1209
 1210
 1211
 1212
 1213
 1214
 1215
 1216
 1217
 1218
 1219
 1220
 1221
 1222
 1223
 1224
 1225
 1226
 1227
 1228
 1229
 1230
 1231
 1232
 1233
 1234
 1235
 1236
 1237
 1238
 1239
 1240
 1241
 1242
 1243
 1244
 1245
 1246
 1247
 1248
 1249
 1250
 1251
 1252
 1253
 1254
 1255
 1256
 1257
 1258
 1259
 1260
 1261
 1262
 1263
 1264
 1265
 1266
 1267
 1268
 1269
 1270
 1271
 1272
 1273
 1274
 1275
 1276
 1277
 1278
 1279
 1280
 1281
 1282
 1283
 1284
 1285
 1286
 1287
 1288
 1289
 1290
 1291
 1292
 1293
 1294
 1295
 1296
 1297
 1298
 1299
 1300
 1301
 1302
 1303
 1304
 1305
 1306
 1307
 1308
 1309
 1310
 1311
 1312
 1313
 1314
 1315
 1316
 1317
 1318
 1319
 1320
 1321
 1322
 1323
 1324
 1325
 1326
 1327
 1328
 1329
 1330
 1331
 1332
 1333
 1334
 1335
 1336
 1337
 1338
 1339
 1340
 1341
 1342
 1343
 1344
 1345
 1346
 1347
 1348
 1349
 1350
 1351
 1352
 1353
 1354
 1355
 1356
 1357
 1358
 1359
 1360
 1361
 1362
 1363
 1364
 1365
 1366
 1367
 1368
 1369
 1370
 1371
 1372
 1373
 1374
 1375
 1376
 1377
 1378
 1379
 1380
 1381
 1382
 1383
 1384
 1385
 1386
 1387
 1388
 1389
 1390
 1391
 1392
 1393
 1394
 1395
 1396
 1397
 1398
 1399
 1400
 1401
 1402
 1403
 1404
 1405
 1406
 1407
 1408
 1409
 1410
 1411
 1412
 1413
 1414
 1415
 1416
 1417
 1418
 1419
 1420
 1421
 1422
 1423
 1424
 1425
 1426
 1427
 1428
 1429
 1430
 1431
 1432
 1433
 1434
 1435
 1436
 1437
 1438
 1439
 1440
 1441
 1442
 1443
 1444
 1445
 1446
 1447
 1448
 1449
 1450
 1451
 1452
 1453
 1454
 1455
 1456
 1457
 1458
 1459
 1460
 1461
 1462
 1463
 1464
 1465
 1466
 1467
 1468
 1469
 1470
 1471
 1472
 1473
 1474
 1475
 1476
 1477
 1478
 1479
 1480
 1481
 1482
 1483
 1484
 1485
 1486
 1487
 1488
 1489
 1490
 1491
 1492
 1493
 1494
 1495
 1496
 1497
 1498
 1499
 1500
 1501
 1502
 1503
 1504
 1505
 1506
 1507
 1508
 1509
 1510
 1511
 1512
 1513
 1514
 1515
 1516
 1517
 1518
 1519
 1520
 1521
 1522
 1523
 1524
 1525
 1526
 1527
 1528
 1529
 1530
 1531
 1532
 1533
 1534
 1535
 1536
 1537
 1538
 1539
 1540
 1541
 1542
 1543
 1544
 1545
 1546
 1547
 1548
 1549
 1550
 1551
 1552
 1553
 1554
 1555
 1556
 1557
 1558
 1559
 1560
 1561
 1562
 1563
 1564
 1565
 1566
 1567
 1568
 1569
 1570
 1571
 1572
 1573
 1574
 1575
 1576
 1577
 1578
 1579
 1580
 1581
 1582
 1583
 1584
 1585
 1586
 1587
 1588
 1589
 1590
 1591
 1592
 1593
 1594
 1595
 1596
 1597
 1598
 1599
 1600
 1601
 1602
 1603
 1604
 1605
 1606
 1607
 1608
 1609
 1610
 1611
 1612
 1613
 1614
 1615
 1616
 1617
 1618
 1619
 1620
 1621
 1622
 1623
 1624
 1625
 1626
 1627
 1628
 1629
 1630
 1631
 1632
 1633
 1634
 1635
 1636
 1637
 1638
 1639
 1640
 1641
 1642
 1643
 1644
 1645
 1646
 1647
 1648
 1649
 1650
 1651
 1652
 1653
 1654
 1655
 1656
 1657
 1658
 1659
 1660
 1661
 1662
 1663
 1664
 1665
 1666
 1667
 1668
 1669
 1670
 1671
 1672
 1673
 1674
 1675
 1676
 1677
 1678
 1679
 1680
 1681
 1682
 1683
 1684
 1685
 1686
 1687
 1688
 1689
 1690
 1691
 1692
 1693
 1694
 1695
 1696
 1697
 1698
 1699
 1700
 1701
 1702
 1703
 1704
 1705
 1706
 1707
 1708
 1709
 1710
 1711
 1712
 1713
 1714
 1715
 1716
 1717
 1718
 1719
 1720
 1721
 1722
 1723
 1724
 1725
 1726
 1727
 1728
 1729
 1730
 1731
 1732
 1733
 1734
 1735
 1736
 1737
 1738
 1739
 1740
 1741
 1742
 1743
 1744
 1745
 1746
 1747
 1748
 1749
 1750
 1751
 1752
 1753
 1754
 1755
 1756
 1757
 1758
 1759
 1760
 1761
 1762
 1763
 1764
 1765
 1766
 1767
 1768
 1769
 1770
 1771
 1772
 1773
 1774
 1775
 1776
 1777
 1778
 1779
 1780
 1781
 1782
 1783
 1784
 1785
 1786
 1787
 1788
 1789
 1790
 1791
 1792
 1793
 1794
 1795
 1796
 1797
 1798
 1799
 1800
 1801
 1802
 1803
 1804
 1805
 1806
 1807
 1808
 1809
 1810
 1811
 1812
 1813
 1814
 1815
 1816
 1817
 1818
 1819
 1820
 1821
 1822
 1823
 1824
 1825
 1826
 1827
 1828
 1829
 1830
 1831
 1832
 1833
 1834
 1835
 1836
 1837
 1838
 1839
 1840
 1841
 1842
 1843
 1844
 1845
 1846
 1847
 1848
 1849
 1850
 1851
 1852
 1853
 1854
 1855
 1856
 1857
 1858
 1859
 1860
 1861
 1862
 1863
 1864
 1865
 1866
 1867
 1868
 1869
 1870
 1871
 1872
 1873
 1874
 1875
 1876
 1877
 1878
 1879
 1880
 1881
 1882
 1883
 1884
 1885
 1886
 1887
 1888
 1889
 1890
 1891
 1892
 1893
 1894
 1895
 1896
 1897
 1898
 1899
 1900
 1901
 1902
 1903
 1904
 1905
 1906
 1907
 1908
 1909
 1910
 1911
 1912
 1913
 1914
 1915
 1916
 1917
 1918
 1919
 1920
 1921
 1922
 1923
 1924
 1925
 1926
 1927
 1928
 1929
 1930
 1931
 1932
 1933
 1934
 1935
 1936
 1937
 1938
 1939
 1940
 1941
 1942
 1943
 1944
 1945
 1946
 1947
 1948
 1949
 1950
 1951
 1952
 1953
 1954
 1955
 1956
 1957
 1958
 1959
 1960
 1961
 1962
 1963
 1964
 1965
 1966
 1967
 1968
 1969
 1970
 1971
 1972
 1973
 1974
 1975
 1976
 1977
 1978
 1979
 1980
 1981
 1982
 1983
 1984
 1985
 1986
 1987
 1988
 1989
 1990
 1991
 1992
 1993
 1994
 1995
 1996
 1997
 1998
 1999
 2000
 2001
 2002
 2003
 2004
 2005
 2006
 2007
 2008
 2009
 2010
 2011
 2012
 2013
 2014
 2015
 2016
 2017
 2018
 2019
 2020
 2021
 2022
 2023
 2024
 2025
 2026
 2027
 2028
 2029
 2030
 2031
 2032
 2033
 2034
 2035
 2036
 2037
 2038
 2039
 2040
 2041
 2042
 2043
 2044
 2045
 2046
 2047
 2048
 2049
 2050
 2051
 2052
 2053
 2054
 2055
 2056
 2057
 2058
 2059
 2060
 2061
 2062
 2063
 2064
 2065
 2066
 2067
 2068
 2069
 2070
 2071
 2072
 2073
 2074
 2075
 2076
 2077
 2078
 2079
 2080
 2081
 2082
 2083
 2084
 2085
 2086
 2087
 2088
 2089
 2090
 2091
 2092
 2093
 2094
 2095
 2096
 2097
 2098
 2099
 2100
 2101
 2102
 2103
 2104
 2105
 2106
 2107
 2108
 2109
 2110
 2111
 2112
 2113
 2114
 2115
 2116
 2117
 2118
 2119
 2120
 2121
 2122
 2123
 2124
 2125
 2126
 2127
 2128
 2129
 2130
 2131
 2132
 2133
 2134
 2135
 2136
 2137
 2138
 2139
 2140
 2141
 2142
 2143
 2144
 2145
 2146
 2147
 2148
 2149
 2150
 2151
 2152
 2153
 2154
 2155
 2156
 2157
 2158
 2159
 2160
 2161
 2162
 2163
 2164
 2165
 2166
 2167
 2168
 2169
 2170
 2171
 2172
 2173
 2174
 2175
 2176
 2177
 2178
 2179
 2180
 2181
 2182
 2183
 2184
 2185
 2186
 2187
 2188
 2189
 2190
 2191
 2192
 2193
 2194
 2195
 2196
 2197
 2198
 2199
 2200
 2201
 2202
 2203
 2204
 2205
 2206
 2207
 2208
 2209
 2210
 2211
 2212
 2213
 2214
 2215
 2216
 2217
 2218
 2219
 2220
 2221
 2222
 2223
 2224
 2225
 2226
 2227
 2228
 2229
 2230
 2231
 2232
 2233
 2234
 2235
 2236
 2237
 2238
 2239
 2240
 2241
 2242
 2243
 2244
 2245
 2246
 2247
 2248
 2249
 2250
 2251
 2252
 2253
 2254
 2255
 2256
 2257
 2258
 2259
 2260
 2261
 2262
 2263
 2264
 2265
 2266
 2267
 2268
 2269
 2270
 2271
 2272
 2273
 2274
 2275
 2276
 2277
 2278
 2279
 2280
 2281
 2282
 2283
 2284
 2285
 2286
 2287
 2288
 2289
 2290
 2291
 2292
 2293
 2294
 2295
 2296
 2297
 2298
 2299
 2300
 2301
 2302
 2303
 2304
 2305
 2306
 2307
 2308
 2309
 2310
 2311
 2312
 2313
 2314
 2315
 2316
 2317
 2318
 2319
 2320
 2321
 2322
 2323
 2324
 2325
 2326
 2327
 2328
 2329
 2330
 2331
 2332
 2333
 2334
 2335
 2336
 2337
 2338
 2339
 2340
 2341
 2342
 2343
 2344
 2345
 2346
 2347
 2348
 2349
 2350
 2351
 2352
 2353
 2354
 2355
 2356
 2357
 2358
 2359
 2360
 2361
 2362
 2363
 2364
 2365
 2366
 2367
 2368
 2369
 2370
 2371
 2372
 2373
 2374
 2375
 2376
 2377
 2378
 2379
 2380
 2381
 2382
 2383
 2384
 2385
 2386
 2387
 2388
 2389
 2390
 2391
 2392
 2393
 2394
 2395
 2396
 2397
 2398
 2399
 2400
 2401
 2402
 2403
 2404
 2405
 2406
 2407
 2408
 2409
 2410
 2411
 2412
 2413
 2414
 2415
 2416
 2417
 2418
 2419
 2420
 2421
 2422
 2423
 2424
 2425
 2426
 2427
 2428
 2429
 2430
 2431
 2432
 2433
 2434
 2435
 2436
 2437
 2438
 2439
 2440
 2441
 2442
 2443
 2444
 2445
 2446
 2447
 2448
 2449
 2450
 2451
 2452
 2453
 2454
 2455
 2456
 2457
 2458
 2459
 2460
 2461
 2462
 2463
 2464
 2465
 2466
 2467
 2468
 2469
 2470
 2471
 2472
 2473
 2474
 2475
 2476
 2477
 2478
 2479
 2480
 2481
 2482
 2483
 2484
 2485
 2486
 2487
 2488
 2489
 2490
 2491
 2492
 2493
 2494
 2495
 2496
 2497
 2498
 2499
 2500
 2501
 2502
 2503
 2504
 2505
 2506
 2507
 2508
 2509
 2510
 2511
 2512
 2513
 2514
 2515
 2516
 2517
 2518
 2519
 2520
 2521
 2522
 2523
 2524
 2525
 2526
 2527
 2528
 2529
 2530
 2531
 2532
 2533
 2534
 2535
 2536
 2537
 2538
 2539
 2540
 2541
 2542
 2543
 2544
 2545
 2546
 2547
 2548
 2549
 2550
 2551
 2552
 2553
 2554
 2555
 2556
 2557
 2558
 2559
 2560
 2561
 2562
 2563
 2564
 2565
 2566
 2567
 2568
 2569
 2570
 2571
 2572
 2573
 2574
 2575
 2576
 2577
 2578
 2579
 2580
 2581
 2582
 2583
 2584
 2585
 2586
 2587
 2588
 2589
 2590
 2591
 2592
 2593
 2594
 2595
 2596
 2597
 2598
 2599
 2600
 2601
 2602
 2603
 2604
 2605
 2606
 2607
 2608
 2609
 2610
 2611
 2612
 2613
 2614
 2615
 2616
 2617
 2618
 2619
 2620
 2621
 2622
 2623
 2624
 2625
 2626
 2627
 2628
 2629
 2630
 2631
 2632
 2633
 2634
 2635
 2636
 2637
 2638
 2639
 2640
 2641
 2642
 2643
 2644
 2645
 2646
 2647
 2648
 2649
 2650
 2651
 2652
 2653
 2654
 2655
 2656
 2657
 2658
 2659
 2660
 2661
 2662
 2663
 2664
 2665
 2666
 2667
 2668
 2669
 2670
 2671
 2672
 2673
 2674
 2675
 2676
 2677
 2678
 2679
 2680
 2681
 2682
 2683
 2684
 2685
 2686
 2687
 2688
 2689
 2690
 2691
 2692
 2693
 2694
 2695
 2696
 2697
 2698
 2699
 2700
 2701
 2702
 2703
 2704
 2705
 2706
 2707
 2708
 2709
 2710
 2711
 2712
 2713
 2714
 2715
 2716
 2717
 2718
 2719
 2720
 2721
 2722
 2723
 2724
 2725
 2726
 2727
 2728
 2729
 2730
 2731
 2732
 2733
 2734
 2735
 2736
 2737
 2738
 2739
 2740
 2741
 2742
 2743
 2744
 2745
 2746
 2747
 2748
 2749
 2750
 2751
 2752
 2753
 2754
 2755
 2756
 2757
 2758
 2759
 2760
 2761
 2762
 2763
 2764
 2765
 2766
 2767
 2768
 2769
 2770
 2771
 2772
 2773
 2774
 2775
 2776
 2777
 2778
 2779
 2780
 2781
 2782
 2783
 2784
 2785
 2786
 2787
 2788
 2789
 2790
 2791
 2792
 2793
 2794
 2795
 2796
 2797
 2798
 2799
 2800
 2801
 2802
 2803
 2804
 2805
 2806
 2807
 2808
 2809
 2810
 2811
 2812
 2813
 2814
 2815
 2816
 2817
 2818
 2819
 2820
 2821
 2822
 2823
 2824
 2825
 2826
 2827
 2828
 2829
 2830
 2831
 2832
 2833
 2834
 2835
 2836
 2837
 2838
 2839
 2840
 2841
 2842
 2843
 2844
 2845
 2846
 2847
 2848
 2849
 2850
 2851
 2852
 2853
 2854
 2855
 2856
 2857
 2858
 2859
 2860
 2861
 2862
 2863
 2864
 2865
 2866
 2867
 2868
 2869
 2870
 2871
 2872
 2873
 2874
 2875
 2876
 2877
 2878
 2879
 2880
 2881
 2882
 2883
 2884
 2885
 2886
 2887
 2888
 2889
 2890
 2891
 2892
 2893
 2894
 2895
 2896
 2897
 2898
 2899
 2900
 2901
 2902
 2903
 2904
 2905
 2906
 2907
 2908
 2909
 2910
 2911
 2912
 2913
 2914
 2915
 2916
 2917
 2918
 2919
 2920
 2921
 2922
 2923
 2924
 2925
 2926
 2927
 2928
 2929
 2930
 2931
 2932
 2933
 2934
 2935
 2936
 2937
 2938
 2939
 2940
 2941
 2942
 2943
 2944
 2945
 2946
 2947
 2948
 2949
 2950
 2951
 2952
 2953
 2954
 2955
 2956
 2957
 2958
 2959
 2960
 2961
 2962
 2963
 2964
 2965
 2966
 2967
 2968
 2969
 2970
 2971
 2972
 2973
 2974
 2975
 2976
 2977
 2978
 2979
 2980
 2981
 2982
 2983
 2984
 2985
 2986
 2987
 2988
 2989
 2990
 2991
 2992
 2993
 2994
 2995
 2996
 2997
 2998
 2999
 3000
 3001
 3002
 3003
 3004
 3005
 3006
 3007
 3008
 3009
 3010
 3011
 3012
 3013
 3014
 3015
 3016
 3017
 3018
 3019
 3020
 3021
 3022
 3023
 3024
 3025
 3026
 3027
 3028
 3029
 3030
 3031
 3032
 3033
 3034
 3035
 3036
 3037
 3038
 3039
 3040
 3041
 3042
 3043
 3044
 3045
 3046
 3047
 3048
 3049
 3050
 3051
 3052
 3053
 3054
 3055
 3056
 3057
 3058
 3059
 3060
 3061
 3062
 3063
 3064
 3065
 3066
 3067
 3068
 3069
 3070
 3071
 3072
 3073
 3074
 3075
 3076
 3077
 3078
 3079
 3080
 3081
 3082
 3083
 3084
 3085
 3086
 3087
 3088
 3089
 3090
 3091
 3092
 3093
 3094
 3095
 3096
 3097
 3098
 3099
 3100
 3101
 3102
 3103
 3104
 3105
 3106
 3107
 3108
 3109
 3110
 3111
 3112
 3113
 3114
 3115
 3116
 3117
 3118
 3119
 3120
 3121
 3122
 3123
 3124
 3125
 3126
 3127
 3128
 3129
 3130
 3131
 3132
 3133
 3134
 3135
 3136
 3137
 3138
 3139
 3140
 3141
 3142
 3143
 3144
 3145
 3146
 3147
 3148
 3149
 3150
 3151
 3152
 3153
 3154
 3155
 3156
 3157
 3158
 3159
 3160
 3161
 3162
 3163
 3164
 3165
 3166
 3167
 3168
 3169
 3170
 3171
 3172
 3173
 3174
 3175
 3176
 3177
 3178
 3179
 3180
 3181
 3182
 3183
 3184
 3185
 3186
 3187
 3188
 3189
 3190
 3191
 3192
 3193
 3194
 3195
 3196
 3197
 3198
 3199
 3200
 3201
 3202
 3203
 3204
 3205
 3206
 3207
 3208
 3209
 3210
 3211
 3212
 3213
 3214
 3215
 3216
 3217
 3218
 3219
 3220
 3221
 3222
 3223
 3224
 3225
 3226
 3227
 3228
 3229
 3230
 3231
 3232
 3233
 3234
 3235
 3236
 3237
 3238
 3239
 3240
 3241
 3242
 3243
 3244
 3245
 3246
 3247
 3248
 3249
 3250
 3251
 3252
 3253
 3254
 3255
 3256
 3257
 3258
 3259
 3260
 3261
 3262
 3263
 3264
 3265
 3266
 3267
 3268
 3269
 3270
 3271
 3272
 3273
 3274
 3275
 3276
 3277
 3278
 3279
 3280
 3281
 3282
 3283
 3284
 3285
 3286
 3287
 3288
 3289
 3290
 3291
 3292
 3293
 3294
 3295
 3296
 3297
 3298
 3299
 3300
 3301
 3302
 3303
 3304
 3305
 3306
 3307
 3308
 3309
 3310
 3311
 3312
 3313
 3314
 3315
 3316
 3317
 3318
 3319
 3320
 3321
 3322
 3323
 3324
 3325
 3326
 3327
 3328
 3329
 3330
 3331
 3332
 3333
 3334
 3335
 3336
 3337
 3338
 3339
 3340
 3341
 3342
 3343
 3344
 3345
 3346
 3347
 3348
 3349
 3350
 3351
 3352
 3353
 3354
 3355
 3356
 3357
 3358
 3359
 3360
 3361
 3362
 3363
 3364
 3365
 3366
 3367
 3368
 3369
 3370
 3371
 3372
 3373
 3374
 3375
 3376
 3377
 3378
 3379
 3380
 3381
 3382
 3383
 3384
 3385
 3386
 3387
 3388
 3389
 3390
 3391
 3392
 3393
 3394
 3395
 3396
 3397
 3398
 3399
 3400
 3401
 3402
 3403
 3404
 3405
 3406
 3407
 3408
 3409
 3410
 3411
 3412
 3413
 3414
 3415
 3416
 3417
 3418
 3419
 3420
 3421
 3422
 3423
 3424
 3425
 3426
 3427
 3428
 3429
 3430
 3431
 3432
 3433
 3434
 3435
 3436
 3437
 3438
 3439
 3440
 3441
 3442
 3443
 3444
 3445
 3446
 3447
 3448
 3449
 3450
 3451
 3452
 3453
 3454
 3455
 3456
 3457
 3458
 3459
 3460
 3461
 3462
 3463
 3464
 3465
 3466
 3467
 3468
 3469
 3470
 3471
 3472
 3473
 3474
 3475
 3476
 3477
 3478
 3479
 3480
 3481
 3482
 3483
 3484
 3485
 3486
 3487
 3488
 3489
 3490
 3491
 3492
 3493
 3494
 3495
 3496
 3497
 3498
 3499
 3500
 3501
 3502
 3503
 3504
 3505
 3506
 3507
 3508
 3509
 3510
 3511
 3512
 3513
 3514
 3515
 3516
 3517
 3518
 3519
 3520
 3521
 3522
 3523
 3524
 3525
 3526
 3527
 3528
 3529
 3530
 3531
 3532
 3533
 3534
 3535
 3536
 3537
 3538
 3539
 3540
 3541
 3542
 3543
 3544
 3545
 3546
 3547
 3548
 3549
 3550
 3551
 3552
 3553
 3554
 3555
 3556
 3557
 3558
 3559
 3560
 3561
 3562
 3563
 3564
 3565
 3566
 3567
 3568
 3569
 3570
 3571
 3572
 3573
 3574
 3575
 3576
 3577
 3578
 3579
 3580
 3581
 3582
 3583
 3584
 3585
 3586
 3587
 3588
 3589
 3590
 3591
 3592
 3593
 3594
 3595
 3596
 3597
 3598
 3599
 3600
 3601
 3602
 3603
 3604
 3605
 3606
 3607
 3608
 3609
 3610
 3611
 3612
 3613
 3614
 3615
 3616
 3617
 3618
 3619
 3620
 3621
 3622
 3623
 3624
 3625
 3626
 3627
 3628
 3629
 3630
 3631
 3632
 3633
 3634
 3635
 3636
 3637
 3638
 3639
 3640
 3641
 3642
 3643
 3644
 3645
 3646
 3647
 3648
 3649
 3650
 3651
 3652
 3653
 3654
 3655
 3656
 3657
 3658
 3659
 3660
 3661
 3662
 3663
 3664
 3665
 3666
 3667
 3668
 3669
 3670
 3671
 3672
 3673
 3674
 3675
 3676
 3677
 3678
 3679
 3680
 3681
 3682
 3683
 3684
 3685
 3686
 3687
 3688
 3689
 3690
 3691
 3692
 3693
 3694
 3695
 3696
 3697
 3698
 3699
 3700
 3701
 3702
 3703
 3704
 3705
 3706
 3707
 3708
 3709
 3710
 3711
 3712
 3713
 3714
 3715
 3716
 3717
 3718
 3719
 3720
 3721
 3722
 3723
 3724
 3725
 3726
 3727
 3728
 3729
 3730
 3731
 3732
 3733
 3734
 3735
 3736
 3737
 3738
 3739
 3740
 3741
 3742
 3743
 3744
 3745
 3746
 3747
 3748
 3749
 3750
 3751
 3752
 3753
 3754
 3755
 3756
 3757
 3758
 3759
 3760
 3761
 3762
 3763
 3764
 3765
 3766
 3767
 3768
 3769
 3770
 3771
 3772
 3773
 3774
 3775
 3776
 3777
 3778
 3779
 3780
 3781
 3782
 3783
 3784
 3785
 3786
 3787
 3788
 3789
 3790
 3791
 3792
 3793
 3794
 3795
 3796
 3797
 3798
 3799
 3800
 3801
 3802
 3803
 3804
 3805
 3806
 3807
 3808
 3809
 3810
 3811
 3812
 3813
 3814
 3815
 3816
 3817
 3818
 3819
 3820
 3821
 3822
 3823
 3824
 3825
 3826
 3827
 3828
 3829
 3830
 3831
 3832
 3833
 3834
 3835
 3836
 3837
 3838
 3839
 3840
 3841
 3842
 3843
 3844
 3845
 3846
 3847
 3848
 3849
 3850
 3851
 3852
 3853
 3854
 3855
 3856
 3857
 3858
 3859
 3860
 3861
 3862
 3863
 3864
 3865
 3866
 3867
 3868
 3869
 3870
 3871
 3872
 3873
 3874
 3875
 3876
 3877
 3878
 3879
 3880
 3881
 3882
 3883
 3884
 3885
 3886
 3887
 3888
 3889
 3890
 3891
 3892
 3893
 3894
 3895
 3896
 3897
 3898
 3899
 3900
 3901
 3902
 3903
 3904
 3905
 3906
 3907
 3908
 3909
 3910
 3911
 3912
 3913
 3914
 3915
 3916
 3917
 3918
 3919
 3920
 3921
 3922
 3923
 3924
 3925
 3926
 3927
 3928
 3929
 3930
 3931
 3932
 3933
 3934
 3935
 3936
 3937
 3938
 3939
 3940
 3941
 3942
 3943
 3944
 3945
 3946
 3947
 3948
 3949
 3950
 3951
 3952
 3953
 3954
 3955
 3956
 3957
 3958
 3959
 3960
 3961
 3962
 3963
 3964
 3965
 3966
 3967
 3968
 3969
 3970
 3971
 3972
 3973
 3974
 3975
 3976
 3977
 3978
 3979
 3980
 3981
 3982
 3983
 3984
 3985
 3986
 3987
 3988
 3989
 3990
 3991
 3992
 3993
 3994
 3995
 3996
 3997
 3998
 3999
 4000
 4001
 4002
 4003
 4004
 4005
 4006
 4007
 4008
 4009
 4010
 4011
 4012
 4013
 4014
 4015
 4016
 4017
 4018
 4019
 4020
 4021
 4022
 4023
 4024
 4025
 4026
 4027
 4028
 4029
 4030
 4031
 4032
 4033
 4034
 4035
 4036
 4037
 4038
 4039
 4040
 4041
 4042
 4043
 4044
 4045
 4046
 4047
 4048
 4049
 4050
 4051
 4052
 4053
 4054
 4055
 4056
 4057
 4058
 4059
 4060
 4061
 4062
 4063
 4064
 4065
 4066
 4067
 4068
 4069
 4070
 4071
 4072
 4073
 4074
 4075
 4076
 4077
 4078
 4079
 4080
 4081
 4082
 4083
 4084
 4085
 4086
 4087
 4088
 4089
 4090
 4091
 4092
 4093
 4094
 4095
 4096
 4097
 4098
 4099
 4100
 4101
 4102
 4103
 4104
 4105
 4106
 4107
 4108
 4109
 4110
 4111
 4112
 4113
 4114
 4115
 4116
 4117
 4118
 4119
 4120
 4121
 4122
 4123
 4124
 4125
 4126
 4127
 4128
 4129
 4130
 4131
 4132
 4133
 4134
 4135
 4136
 4137
 4138
 4139
 4140
 4141
 4142
 4143
 4144
 4145
 4146
 4147
 4148
 4149
 4150
 4151
 4152
 4153
 4154
 4155
 4156
 4157
 4158
 4159
 4160
 4161
 4162
 4163
 4164
 4165
 4166
 4167
 4168
 4169
 4170
 4171
 4172
 4173
 4174
 4175
 4176
 4177
 4178
 4179
 4180
 4181
 4182
 4183
 4184
 4185
 4186
 4187
 4188
 4189
 4190
 4191
 4192
 4193
 4194
 4195
 4196
 4197
 4198
 4199
 4200
 4201
 4202
 4203
 4204
 4205
 4206
 4207
 4208
 4209
 4210
 4211
 4212
 4213
 4214
 4215
 4216
 4217
 4218
 4219
 4220
 4221
 4222
 4223
 4224
 4225
 4226
 4227
 4228
 4229
 4230
 4231
 4232
 4233
 4234
 4235
 4236
 4237
 4238
 4239
 4240
 4241
 4242
 4243
 4244
 4245
 4246
 4247
 4248
 4249
 4250
 4251
 4252
 4253
 4254
 4255
 4256
 4257
 4258
 4259
 4260
 4261
 4262
 4263
 4264
 4265
 4266
 4267
 4268
 4269
 4270
 4271
 4272
 4273
 4274
 4275
 4276
 4277
 4278
 4279
 4280
 4281
 4282
 4283
 4284
 4285
 4286
 4287
 4288
 4289
 4290
 4291
 4292
 4293
 4294
 4295
 4296
 4297
 4298
 4299
 4300
 4301
 4302
 4303
 4304
 4305
 4306
 4307
 4308
 4309
 4310
 4311
 4312
 4313
 4314
 4315
 4316
 4317
 4318
 4319
 4320
 4321
 4322
 4323
 4324
 4325
 4326
 4327
 4328
 4329
 4330
 4331
 4332
 4333
 4334
 4335
 4336
 4337
 4338
 4339
 4340
 4341
 4342
 4343
 4344
 4345
 4346
 4347
 4348
 4349
 4350
 4351
 4352
 4353
 4354
 4355
 4356
 4357
 4358
 4359
 4360
 4361
 4362
 4363
 4364
 4365
 4366
 4367
 4368
 4369
 4370
 4371
 4372
 4373
 4374
 4375
 4376
 4377
 4378
 4379
 4380
 4381
 4382
 4383
 4384
 4385
 4386
 4387
 4388
 4389
 4390
 4391
 4392
 4393
 4394
 4395
 4396
 4397
 4398
 4399
 4400
 4401
 4402
 4403
 4404
 4405
 4406
 4407
 4408
 4409
 4410
 4411
 4412
 4413
 4414
 4415
 4416
 4417
 4418
 4419
 4420
 4421
 4422
 4423
 4424
 4425
 4426
 4427
 4428
 4429
 4430
 4431
 4432
 4433
 4434
 4435
 4436
 4437
 4438
 4439
 4440
 4441
 4442
 4443
 4444
 4445
 4446
 4447
 4448
 4449
 4450
 4451
 4452
 4453
 4454
 4455
 4456
 4457
 4458
 4459
 4460
 4461
 4462
 4463
 4464
 4465
 4466
 4467
 4468
 4469
 4470
 4471
 4472
 4473
 4474
 4475
 4476
 4477
 4478
 4479
 4480
 4481
 4482
 4483
 4484
 4485
 4486
 4487
 4488
 4489
 4490
 4491
 4492
 4493
 4494
 4495
 4496
 4497
 4498
 4499
 4500
 4501
 4502
 4503
 4504
 4505
 4506
 4507
 4508
 4509
 4510
 4511
 4512
 4513
 4514
 4515
 4516
 4517
 4518
 4519
 4520
 4521
 4522
 4523
 4524
 4525
 4526
 4527
 4528
 4529
 4530
 4531
 4532
 4533
 4534
 4535
 4536
 4537
 4538
 4539
 4540
 4541
 4542
 4543
 4544
 4545
 4546
 4547
 4548
 4549
 4550
 4551
 4552
 4553
 4554
 4555
 4556
 4557
 4558
 4559
 4560
 4561
 4562
 4563
 4564
 4565
 4566
 4567
 4568
 4569
 4570
 4571
 4572
 4573
 4574
 4575
 4576
 4577
 4578
 4579
 4580
 4581
 4582
 4583
 4584
 4585
 4586
 4587
 4588
 4589
 4590
 4591
 4592
 4593
 4594
 4595
 4596
 4597
 4598
 4599
 4600
 4601
 4602
 4603
 4604
 4605
 4606
 4607
 4608
 4609
 4610
 4611
 4612
 4613
 4614
 4615
 4616
 4617
 4618
 4619
 4620
 4621
 4622
 4623
 4624
 4625
 4626
 4627
 4628
 4629
 4630
 4631
 4632
 4633
 4634
 4635
 4636
 4637
 4638
 4639
 4640
 4641
 4642
 4643
 4644
 4645
 4646
 4647
 4648
 4649
 4650
 4651
 4652
 4653
 4654
 4655
 4656
 4657
 4658
 4659
 4660
 4661
 4662
 4663
 4664
 4665
 4666
 4667
 4668
 4669
 4670
 4671
 4672
 4673
 4674
 4675
 4676
 4677
 4678
 4679
 4680
 4681
 4682
 4683
 4684
 4685
 4686
 4687
 4688
 4689
 4690
 4691
 4692
 4693
 4694
 4695
 4696
 4697
 4698
 4699
 4700
 4701
 4702
 4703
 4704
 4705
 4706
 4707
 4708
 4709
 4710
 4711
 4712
 4713
 4714
 4715
 4716
 4717
 4718
 4719
 4720
 4721
 4722
 4723
 4724
 4725
 4726
 4727
 4728
 4729
 4730
 4731
 4732
 4733
 4734
 4735
 4736
 4737
 4738
 4739
 4740
 4741
 4742
 4743
 4744
 4745
 4746
 4747
 4748
 4749
 4750
 4751
 4752
 4753
 4754
 4755
 4756
 4757
 4758
 4759
 4760
 4761
 4762
 4763
 4764
 4765
 4766
 4767
 4768
 4769
 4770
 4771
 4772
 4773
 4774
 4775
 4776
 4777
 4778
 4779
 4780
 4781
 4782
 4783
 4784
 4785
 4786
 4787
 4788
 4789
 4790
 4791
 4792
 4793
 4794
 4795
 4796
 4797
 4798
 4799
 4800
 4801
 4802
 4803
 4804
 4805
 4806
 4807
 4808
 4809
 4810
 4811
 4812
 4813
 4814
 4815
 4816
 4817
 4818
 4819
 4820
 4821
 4822
 4823
 4824
 4825
 4826
 4827
 4828
 4829
 4830
 4831
 4832
 4833
 4834
 4835
 4836
 4837
 4838
 4839
 4840
 4841
 4842
 4843
 4844
 4845
 4846
 4847
 4848
 4849
 4850
 4851
 4852
 4853
 4854
 4855
 4856
 4857
 4858
 4859
 4860
 4861
 4862
 4863
 4864
 4865
 4866
 4867
 4868
 4869
 4870
 4871
 4872
 4873
 4874
 4875
 4876
 4877
 4878
 4879
 4880
 4881
 4882
 4883
 4884
 4885
 4886
 4887
 4888
 4889
 4890
 4891
 4892
 4893
 4894
 4895
 4896
 4897
 4898
 4899
 4900
 4901
 4902
 4903
 4904
 4905
 4906
 4907
 4908
 4909
 4910
 4911
 4912
 4913
 4914
 4915
 4916
 4917
 4918
 4919
 4920
 4921
 4922
 4923
 4924
 4925
 4926
 4927
 4928
 4929
 4930
 4931
 4932
 4933
 4934
 4935
 4936
 4937
 4938
 4939
 4940
 4941
 4942
 4943
 4944
 4945
 4946
 4947
 4948
 4949
 4950
 4951
 4952
 4953
 4954
 4955
 4956
 4957
 4958
 4959
 4960
 4961
 4962
 4963
 4964
 4965
 4966
 4967
 4968
 4969
 4970
 4971
 4972
 4973
 4974
 4975
 4976
 4977
 4978
 4979
 4980
 4981
 4982
 4983
 4984
 4985
 4986
 4987
 4988
 4989
 4990
 4991
 4992
 4993
 4994
 4995
 4996
 4997
 4998
 4999
 5000
 5001
 5002
 5003
 5004
 5005
 5006
 5007
 5008
 5009
 5010
 5011
 5012
 5013
 5014
 5015
 5016
 5017
 5018
 5019
 5020
 5021
 5022
 5023
 5024
 5025
 5026
 5027
 5028
 5029
 5030
 5031
 5032
 5033
 5034
 5035
 5036
 5037
 5038
 5039
 5040
 5041
 5042
 5043
 5044
 5045
 5046
 5047
 5048
 5049
 5050
 5051
 5052
 5053
 5054
 5055
 5056
 5057
 5058
 5059
 5060
 5061
 5062
 5063
 5064
 5065
 5066
 5067
 5068
 5069
 5070
 5071
 5072
 5073
 5074
 5075
 5076
 5077
 5078
 5079
 5080
 5081
 5082
 5083
 5084
 5085
 5086
 5087
 5088
 5089
 5090
 5091
 5092
 5093
 5094
 5095
 5096
 5097
 5098
 5099
 5100
 5101
 5102
 5103
 5104
 5105
 5106
 5107
 5108
 5109
 5110
 5111
 5112
 5113
 5114
 5115
 5116
 5117
 5118
 5119
 5120
 5121
 5122
 5123
 5124
 5125
 5126
 5127
 5128
 5129
 5130
 5131
 5132
 5133
 5134
 5135
 5136
 5137
 5138
 5139
 5140
 5141
 5142
 5143
 5144
 5145
 5146
 5147
 5148
 5149
 5150
 5151
 5152
 5153
 5154
 5155
 5156
 5157
 5158
 5159
 5160
 5161
 5162
 5163
 5164
 5165
 5166
 5167
 5168
 5169
 5170
 5171
 5172
 5173
 5174
 5175
 5176
 5177
 5178
 5179
 5180
 5181
 5182
 5183
 5184
 5185
 5186
 5187
 5188
 5189
 5190
 5191
 5192
 5193
 5194
 5195
 5196
 5197
 5198
 5199
 5200
 5201
 5202
 5203
 5204
 5205
 5206
 5207
 5208
 5209
 5210
 5211
 5212
 5213
 5214
 5215
 5216
 5217
 5218
 5219
 5220
 5221
 5222
 5223
 5224
 5225
 5226
 5227
 5228
 5229
 5230
 5231
 5232
 5233
 5234
 5235
 5236
 5237
 5238
 5239
 5240
 5241
 5242
 5243
 5244
 5245
 5246
 5247
 5248
 5249
 5250
 5251
 5252
 5253
 5254
 5255
 5256
 5257
 5258
 5259
 5260
 5261
 5262
 5263
 5264
 5265
 5266
 5267
 5268
 5269
 5270
 5271
 5272
 5273
 5274
 5275
 5276
 5277
 5278
 5279
 5280
 5281
 5282
 5283
 5284
 5285
 5286
 5287
 5288
 5289
 5290
 5291
 5292
 5293
 5294
 5295
 5296
 5297
 5298
 5299
 5300
 5301
 5302
 5303
 5304
 5305
 5306
 5307
 5308
 5309
 5310
 5311
 5312
 5313
 5314
 5315
 5316
 5317
 5318
 5319
 5320
 5321
 5322
 5323
 5324
 5325
 5326
 5327
 5328
 5329
 5330
 5331
 5332
 5333
 5334
 5335
 5336
 5337
 5338
 5339
 5340
 5341
 5342
 5343
 5344
 5345
 5346
 5347
 5348
 5349
 5350
 5351
 5352
 5353
 5354
 5355
 5356
 5357
 5358
 5359
 5360
 5361
 5362
 5363
 5364
 5365
 5366
 5367
 5368
 5369
 5370
 5371
 5372
 5373
 5374
 5375
 5376
 5377
 5378
 5379
 5380
 5381
 5382
 5383
 5384
 5385
 5386
 5387
 5388
 5389
 5390
 5391
 5392
 5393
 5394
 5395
 5396
 5397
 5398
 5399
 5400
 5401
 5402
 5403
 5404
 5405
 5406
 5407
 5408
 5409
 5410
 5411
 5412
 5413
 5414
 5415
 5416
 5417
 5418
 5419
 5420
 5421
 5422
 5423
 5424
 5425
 5426
 5427
 5428
 5429
 5430
 5431
 5432
 5433
 5434
 5435
 5436
 5437
 5438
 5439
 5440
 5441
 5442
 5443
 5444
 5445
 5446
 5447
 5448
 5449
 5450
 5451
 5452
 5453
 5454
 5455
 5456
 5457
 5458
 5459
 5460
 5461
 5462
 5463
 5464
 5465
 5466
 5467
 5468
 5469
 5470
 5471
 5472
 5473
 5474
 5475
 5476
 5477
 5478
 5479
 5480
 5481
 5482
 5483
 5484
 5485
 5486
 5487
 5488
 5489
 5490
 5491
 5492
 5493
 5494
 5495
 5496
 5497
 5498
 5499
 5500
 5501
 5502
 5503
 5504
 5505
 5506
 5507
 5508
 5509
 5510
 5511
 5512
 5513
 5514
 5515
 5516
 5517
 5518
 5519
 5520
 5521
 5522
 5523
 5524
 5525
 5526
 5527
 5528
 5529
 5530
 5531
 5532
 5533
 5534
 5535
 5536
 5537
 5538
 5539
 5540
 5541
 5542
 5543
 5544
 5545
 5546
 5547
 5548
 5549
 5550
 5551
 5552
 5553
 5554
 5555
 5556
 5557
 5558
 5559
 5560
 5561
 5562
 5563
 5564
 5565
 5566
 5567
 5568
 5569
 5570
 5571
 5572
 5573
 5574
 5575
 5576
 5577
 5578
 5579
 5580
 5581
 5582
 5583
 5584
 5585
 5586
 5587
 5588
 5589
 5590
 5591
 5592
 5593
 5594
 5595
 5596
 5597
 5598
 5599
 5600
 5601
 5602
 5603
 5604
 5605
 5606
 5607
 5608
 5609
 5610
 5611
 5612
 5613
 5614
 5615
 5616
 5617
 5618
 5619
 5620
 5621
 5622
 5623
 5624
 5625
 5626
 5627
 5628
 5629
 5630
 5631
 5632
 5633
 5634
 5635
 5636
 5637
 5638
 5639
 5640
 5641
 5642
 5643
 5644
 5645
 5646
 5647
 5648
 5649
 5650
 5651
 5652
 5653
 5654
 5655
 5656
 5657
 5658
 5659
 5660
 5661
 5662
 5663
 5664
 5665
 5666
 5667
 5668
 5669
 5670
 5671
 5672
 5673
 5674
 5675
 5676
 5677
 5678
 5679
 5680
 5681
 5682
 5683
 5684
 5685
 5686
 5687
 5688
 5689
 5690
 5691
 5692
 5693
 5694
 5695
 5696
 5697
 5698
 5699
 5700
 5701
 5702
 5703
 5704
 5705
 5706
 5707
 5708
 5709
 5710
 5711
 5712
 5713
 5714
 5715
 5716
 5717
 5718
 5719
 5720
 5721
 5722
 5723
 5724
 5725
 5726
 5727
 5728
 5729
 5730
 5731
 5732
 5733
 5734
 5735
 5736
 5737
 5738
 5739
 5740
 5741
 5742
 5743
 5744
 5745
 5746
 5747
 5748
 5749
 5750
 5751
 5752
 5753
 5754
 5755
 5756
 5757
 5758
 5759
 5760
 5761
 5762
 5763
 5764
 5765
 5766
 5767
 5768
 5769
 5770
 5771
 5772
 5773
 5774
 5775
 5776
 5777
 5778
 5779
 5780
 5781
 5782
 5783
 5784
 5785
 5786
 5787
 5788
 5789
 5790
 5791
 5792
 5793
 5794
 5795
 5796
 5797
 5798
 5799
 5800
 5801
 5802
 5803
 5804
 5805
 5806
 5807
 5808
 5809
 5810
 5811
 5812
 5813
 5814
 5815
 5816
 5817
 5818
 5819
 5820
 5821
 5822
 5823
 5824
 5825
 5826
 5827
 5828
 5829
 5830
 5831
 5832
 5833
 5834
 5835
 5836
 5837
 5838
 5839
 5840
 5841
 5842
 5843
 5844
 5845
 5846
 5847
 5848
 5849
 5850
 5851
 5852
 5853
 5854
 5855
 5856
 5857
 5858
 5859
 5860
 5861
 5862
 5863
 5864
 5865
 5866
 5867
 5868
 5869
 5870
 5871
 5872
 5873
 5874
 5875
 5876
 5877
 5878
 5879
 5880
 5881
 5882
 5883
 5884
 5885
 5886
 5887
 5888
 5889
 5890
 5891
 5892
 5893
 5894
 5895
 5896
 5897
 5898
 5899
 5900
 5901
 5902
 5903
 5904
 5905
 5906
 5907
 5908
 5909
 5910
 5911
 5912
 5913
 5914
 5915
 5916
 5917
 5918
 5919
 5920
 5921
 5922
 5923
 5924
 5925
 5926
 5927
 5928
 5929
 5930
 5931
 5932
 5933
 5934
 5935
 5936
 5937
 5938
 5939
 5940
 5941
 5942
 5943
 5944
 5945
 5946
 5947
 5948
 5949
 5950
 5951
 5952
 5953
 5954
 5955
 5956
 5957
 5958
 5959
 5960
 5961
 5962
 5963
 5964
 5965
 5966
 5967
 5968
 5969
 5970
 5971
 5972
 5973
 5974
 5975
 5976
 5977
 5978
 5979
 5980
 5981
 5982
 5983
 5984
 5985
 5986
 5987
 5988
 5989
 5990
 5991
 5992
 5993
 5994
 5995
 5996
 5997
 5998
 5999
 6000
 6001
 6002
 6003
 6004
 6005
 6006
 6007
 6008
 6009
 6010
 6011
 6012
 6013
 6014
 6015
 6016
 6017
 6018
 6019
 6020
 6021
 6022
 6023
 6024
 6025
 6026
 6027
 6028
 6029
 6030
 6031
 6032
 6033
 6034
 6035
 6036
 6037
 6038
 6039
 6040
 6041
 6042
 6043
 6044
 6045
 6046
 6047
 6048
 6049
 6050
 6051
 6052
 6053
 6054
 6055
 6056
 6057
 6058
 6059
 6060
 6061
 6062
 6063
 6064
 6065
 6066
 6067
 6068
 6069
 6070
 6071
 6072
 6073
 6074
 6075
 6076
 6077
 6078
 6079
 6080
 6081
 6082
 6083
 6084
 6085
 6086
 6087
 6088
 6089
 6090
 6091
 6092
 6093
 6094
 6095
 6096
 6097
 6098
 6099
 6100
 6101
 6102
 6103
 6104
 6105
 6106
 6107
 6108
 6109
 6110
 6111
 6112
 6113
 6114
 6115
 6116
 6117
 6118
 6119
 6120
 6121
 6122
 6123
 6124
 6125
 6126
 6127
 6128
 6129
 6130
 6131
 6132
 6133
 6134
 6135
 6136
 6137
 6138
 6139
 6140
 6141
 6142
 6143
 6144
 6145
 6146
 6147
 6148
 6149
 6150
 6151
 6152
 6153
 6154
 6155
 6156
 6157
 6158
 6159
 6160
 6161
 6162
 6163
 6164
 6165
 6166
 6167
 6168
 6169
 6170
 6171
 6172
 6173
 6174
 6175
 6176
 6177
 6178
 6179
 6180
 6181
 6182
 6183
 6184
 6185
 6186
 6187
 6188
 6189
 6190
 6191
 6192
 6193
 6194
 6195
 6196
 6197
 6198
 6199
 6200
 6201
 6202
 6203
 6204
 6205
 6206
 6207
 6208
 6209
 6210
 6211
 6212
 6213
 6214
 6215
 6216
 6217
 6218
 6219
 6220
 6221
 6222
 6223
 6224
 6225
 6226
 6227
 6228
 6229
 6230
 6231
 6232
 6233
 6234
 6235
 6236
 6237
 6238
 6239
 6240
 6241
 6242
 6243
 6244
 6245
 6246
 6247
 6248
 6249
 6250
 6251
 6252
 6253
 6254
 6255
 6256
 6257
 6258
 6259
 6260
 6261
 6262
 6263
 6264
 6265
 6266
 6267
 6268
 6269
 6270
 6271
 6272
 6273
 6274
 6275
 6276
 6277
 6278
 6279
 6280
 6281
 6282
 6283
 6284
 6285
 6286
 6287
 6288
 6289
 6290
 6291
 6292
 6293
 6294
 6295
 6296
 6297
 6298
 6299
 6300
 6301
 6302
 6303
 6304
 6305
 6306
 6307
 6308
 6309
 6310
 6311
 6312
 6313
 6314
 6315
 6316
 6317
 6318
 6319
 6320
 6321
 6322
 6323
 6324
 6325
 6326
 6327
 6328
 6329
 6330
 6331
 6332
 6333
 6334
 6335
 6336
 6337
 6338
 6339
 6340
 6341
 6342
 6343
 6344
 6345
 6346
 6347
 6348
 6349
 6350
 6351
 6352
 6353
 6354
 6355
 6356
 6357
 6358
 6359
 6360
 6361
 6362
 6363
 6364
 6365
 6366
 6367
 6368
 6369
 6370
 6371
 6372
 6373
 6374
 6375
 6376
 6377
 6378
 6379
 6380
 6381
 6382
 6383
 6384
 6385
 6386
 6387
 6388
 6389
 6390
 6391
 6392
 6393
 6394
 6395
 6396
 6397
 6398
 6399
 6400
 6401
 6402
 6403
 6404
 6405
 6406
 6407
 6408
 6409
 6410
 6411
 6412
 6413
 6414
 6415
 6416
 6417
 6418
 6419
 6420
 6421
 6422
 6423
 6424
 6425
 6426
 6427
 6428
 6429
 6430
 6431
 6432
 6433
 6434
 6435
 6436
 6437
 6438
 6439
 6440
 6441
 6442
 6443
 6444
 6445
 6446
 6447
 6448
 6449
 6450
 6451
 6452
 6453
 6454
 6455
 6456
 6457
 6458
 6459
 6460
 6461
 6462
 6463
 6464
 6465
 6466
 6467
 6468
 6469
 6470
 6471
 6472
 6473
 6474
 6475
 6476
 6477
 6478
 6479
 6480
 6481
 6482
 6483
 6484
 6485
 6486
 6487
 6488
 6489
 6490
 6491
 6492
 6493
 6494
 6495
 6496
 6497
 6498
 6499
 6500
 6501
 6502
 6503
 6504
 6505
 6506
 6507
 6508
 6509
 6510
 6511
 6512
 6513
 6514
 6515
 6516
 6517
 6518
 6519
 6520
 6521
 6522
 6523
 6524
 6525
 6526
 6527
 6528
 6529
 6530
 6531
 6532
 6533
 6534
 6535
 6536
 6537
 6538
 6539
 6540
 6541
 6542
 6543
 6544
 6545
 6546
 6547
 6548
 6549
 6550
 6551
 6552
 6553
 6554
 6555
 6556
 6557
 6558
 6559
 6560
 6561
 6562
 6563
 6564
 6565
 6566
 6567
 6568
 6569
 6570
 6571
 6572
 6573
 6574
 6575
 6576
 6577
 6578
 6579
 6580
 6581
 6582
 6583
 6584
 6585
 6586
 6587
 6588
 6589
 6590
 6591
 6592
 6593
 6594
 6595
 6596
 6597
 6598
 6599
 6600
 6601
 6602
 6603
 6604
 6605
 6606
 6607
 6608
 6609
 6610
 6611
 6612
 6613
 6614
 6615
 6616
 6617
 6618
 6619
 6620
 6621
 6622
 6623
 6624
 6625
 6626
 6627
 6628
 6629
 6630
 6631
 6632
 6633
 6634
 6635
 6636
 6637
 6638
 6639
 6640
 6641
 6642
 6643
 6644
 6645
 6646
 6647
 6648
 6649
 6650
 6651
 6652
 6653
 6654
 6655
 6656
 6657
 6658
 6659
 6660
 6661
 6662
 6663
 6664
 6665
 6666
 6667
 6668
 6669
 6670
 6671
 6672
 6673
 6674
 6675
 6676
 6677
 6678
 6679
 6680
 6681
 6682
 6683
 6684
 6685
 6686
 6687
 6688
 6689
 6690
 6691
 6692
 6693
 6694
 6695
 6696
 6697
 6698
 6699
 6700
 6701
 6702
 6703
 6704
 6705
 6706
 6707
 6708
 6709
 6710
 6711
 6712
 6713
 6714
 6715
 6716
 6717
 6718
 6719
 6720
 6721
 6722
 6723
 6724
 6725
 6726
 6727
 6728
 6729
 6730
 6731
 6732
 6733
 6734
 6735
 6736
 6737
 6738
 6739
 6740
 6741
 6742
 6743
 6744
 6745
 6746
 6747
 6748
 6749
 6750
 6751
 6752
 6753
 6754
 6755
 6756
 6757
 6758
 6759
 6760
 6761
 6762
 6763
 6764
 6765
 6766
 6767
 6768
 6769
 6770
 6771
 6772
 6773
 6774
 6775
 6776
 6777
 6778
 6779
 6780
 6781
 6782
 6783
 6784
 6785
 6786
 6787
 6788
 6789
 6790
 6791
 6792
 6793
 6794
 6795
 6796
 6797
 6798
 6799
 6800
 6801
 6802
 6803
 6804
 6805
 6806
 6807
 6808
 6809
 6810
 6811
 6812
 6813
 6814
 6815
 6816
 6817
 6818
 6819
 6820
 6821
 6822
 6823
 6824
 6825
 6826
 6827
 6828
 6829
 6830
 6831
 6832
 6833
 6834
 6835
 6836
 6837
 6838
 6839
 6840
 6841
 6842
 6843
 6844
 6845
 6846
 6847
 6848
 6849
 6850
 6851
 6852
 6853
 6854
 6855
 6856
 6857
 6858
 6859
 6860
 6861
 6862
 6863
 6864
 6865
 6866
 6867
 6868
 6869
 6870
 6871
 6872
 6873
 6874
 6875
 6876
 6877
 6878
 6879
 6880
 6881
 6882
 6883
 6884
 6885
 6886
 6887
 6888
 6889
 6890
 6891
 6892
 6893
 6894
 6895
 6896
 6897
 6898
 6899
 6900
 6901
 6902
 6903
 6904
 6905
 6906
 6907
 6908
 6909
 6910
 6911
 6912
 6913
 6914
 6915
 6916
 6917
 6918
 6919
 6920
 6921
 6922
 6923
 6924
 6925
 6926
 6927
 6928
 6929
 6930
 6931
 6932
 6933
 6934
 6935
 6936
 6937
 6938
 6939
 6940
 6941
 6942
 6943
 6944
 6945
 6946
 6947
 6948
 6949
 6950
 6951
 6952
 6953
 6954
 6955
 6956
 6957
 6958
 6959
 6960
 6961
 6962
 6963
 6964
 6965
 6966
 6967
 6968
 6969
 6970
 6971
 6972
 6973
 6974
 6975
 6976
 6977
 6978
 6979
 6980
 6981
 6982
 6983
 6984
 6985
 6986
 6987
 6988
 6989
 6990
 6991
 6992
 6993
 6994
 6995
 6996
 6997
 6998
 6999
 7000
 7001
 7002
 7003
 7004
 7005
 7006
 7007
 7008
 7009
 7010
 7011
 7012
 7013
 7014
 7015
 7016
 7017
 7018
 7019
 7020
 7021
 7022
 7023
 7024
 7025
 7026
 7027
 7028
 7029
 7030
 7031
 7032
 7033
 7034
 7035
 7036
 7037
 7038
 7039
 7040
 7041
 7042
 7043
 7044
 7045
 7046
 7047
 7048
 7049
 7050
 7051
 7052
 7053
 7054
 7055
 7056
 7057
 7058
 7059
 7060
 7061
 7062
 7063
 7064
 7065
 7066
 7067
 7068
 7069
 7070
 7071
 7072
 7073
 7074
 7075
 7076
 7077
 7078
 7079
 7080
 7081
 7082
 7083
 7084
 7085
 7086
 7087
 7088
 7089
 7090
 7091
 7092
 7093
 7094
 7095
 7096
 7097
 7098
 7099
 7100
 7101
 7102
 7103
 7104
 7105
 7106
 7107
 7108
 7109
 7110
 7111
 7112
 7113
 7114
 7115
 7116
 7117
 7118
 7119
 7120
 7121
 7122
 7123
 7124
 7125
 7126
 7127
 7128
 7129
 7130
 7131
 7132
 7133
 7134
 7135
 7136
 7137
 7138
 7139
 7140
 7141
 7142
 7143
 7144
 7145
 7146
 7147
 7148
 7149
 7150
 7151
 7152
 7153
 7154
 7155
 7156
 7157
 7158
 7159
 7160
 7161
 7162
 7163
 7164
 7165
 7166
 7167
 7168
 7169
 7170
 7171
 7172
 7173
 7174
 7175
 7176
 7177
 7178
 7179
 7180
 7181
 7182
 7183
 7184
 7185
 7186
 7187
 7188
 7189
 7190
 7191
 7192
 7193
 7194
 7195
 7196
 7197
 7198
 7199
 7200
 7201
 7202
 7203
 7204
 7205
 7206
 7207
 7208
 7209
 7210
 7211
 7212
 7213
 7214
 7215
 7216
 7217
 7218
 7219
 7220
 7221
 7222
 7223
 7224
 7225
 7226
 7227
 7228
 7229
 7230
 7231
 7232
 7233
 7234
 7235
 7236
 7237
 7238
 7239
 7240
 7241
 7242
 7243
 7244
 7245
 7246
 7247
 7248
 7249
 7250
 7251
 7252
 7253
 7254
 7255
 7256
 7257
 7258
 7259
 7260
 7261
 7262
 7263
 7264
 7265
 7266
 7267
 7268
 7269
 7270
 7271
 7272
 7273
 7274
 7275
 7276
 7277
 7278
 7279
 7280
 7281
 7282
 7283
 7284
 7285
 7286
 7287
 7288
 7289
 7290
 7291
 7292
 7293
 7294
 7295
 7296
 7297
 7298
 7299
 7300
 7301
 7302
 7303
 7304
 7305
 7306
 7307
 7308
 7309
 7310
 7311
 7312
 7313
 7314
 7315
 7316
 7317
 7318
 7319
 7320
 7321
 7322
 7323
 7324
 7325
 7326
 7327
 7328
 7329
 7330
 7331
 7332
 7333
 7334
 7335
 7336
 7337
 7338
 7339
 7340
 7341
 7342
 7343
 7344
 7345
 7346
 7347
 7348
 7349
 7350
 7351
 7352
 7353
 7354
 7355
 7356
 7357
 7358
 7359
 7360
 7361
 7362
 7363
 7364
 7365
 7366
 7367
 7368
 7369
 7370
 7371
 7372
 7373
 7374
 7375
 7376
 7377
 7378
 7379
 7380
 7381
 7382
 7383
 7384
 7385
 7386
 7387
 7388
 7389
 7390
 7391
 7392
 7393
 7394
 7395
 7396
 7397
 7398
 7399
 7400
 7401
 7402
 7403
 7404
 7405
 7406
 7407
 7408
 7409
 7410
 7411
 7412
 7413
 7414
 7415
 7416
 7417
 7418
 7419
 7420
 7421
 7422
 7423
 7424
 7425
 7426
 7427
 7428
 7429
 7430
 7431
 7432
 7433
 7434
 7435
 7436
 7437
 7438
 7439
 7440
 7441
 7442
 7443
 7444
 7445
 7446
 7447
 7448
 7449
 7450
 7451
 7452
 7453
 7454
 7455
 7456
 7457
 7458
 7459
 7460
 7461
 7462
 7463
 7464
 7465
 7466
 7467
 7468
 7469
 7470
 7471
 7472
 7473
 7474
 7475
 7476
 7477
 7478
 7479
 7480
 7481
 7482
 7483
 7484
 7485
 7486
 7487
 7488
 7489
 7490
 7491
 7492
 7493
 7494
 7495
 7496
 7497
 7498
 7499
 7500
 7501
 7502
 7503
 7504
 7505
 7506
 7507
 7508
 7509
 7510
 7511
 7512
 7513
 7514
 7515
 7516
 7517
 7518
 7519
 7520
 7521
 7522
 7523
 7524
 7525
 7526
 7527
 7528
 7529
 7530
 7531
 7532
 7533
 7534
 7535
 7536
 7537
 7538
 7539
 7540
 7541
 7542
 7543
 7544
 7545
 7546
 7547
 7548
 7549
 7550
 7551
 7552
 7553
 7554
 7555
 7556
 7557
 7558
 7559
 7560
 7561
 7562
 7563
 7564
 7565
 7566
 7567
 7568
 7569
 7570
 7571
 7572
 7573
 7574
 7575
 7576
 7577
 7578
 7579
 7580
 7581
 7582
 7583
 7584
 7585
 7586
 7587
 7588
 7589
 7590
 7591
 7592
 7593
 7594
 7595
 7596
 7597
 7598
 7599
 7600
 7601
 7602
 7603
 7604
 7605
 7606
 7607
 7608
 7609
 7610
 7611
 7612
 7613
 7614
 7615
 7616
 7617
 7618
 7619
 7620
 7621
 7622
 7623
 7624
 7625
 7626
 7627
 7628
 7629
 7630
 7631
 7632
 7633
 7634
 7635
 7636
 7637
 7638
 7639
 7640
 7641
 7642
 7643
 7644
 7645
 7646
 7647
 7648
 7649
 7650
 7651
 7652
 7653
 7654
 7655
 7656
 7657
 7658
 7659
 7660
 7661
 7662
 7663
 7664
 7665
 7666
 7667
 7668
 7669
 7670
 7671
 7672
 7673
 7674
 7675
 7676
 7677
 7678
 7679
 7680
 7681
 7682
 7683
 7684
 7685
 7686
 7687
 7688
 7689
 7690
 7691
 7692
 7693
 7694
 7695
 7696
 7697
 7698
 7699
 7700
 7701
 7702
 7703
 7704
 7705
 7706
 7707
 7708
 7709
 7710
 7711
 7712
 7713
 7714
 7715
 7716
 7717
 7718
 7719
 7720
 7721
 7722
 7723
 7724
 7725
 7726
 7727
 7728
 7729
 7730
 7731
 7732
 7733
 7734
 7735
 7736
 7737
 7738
 7739
 7740
 7741
 7742
 7743
 7744
 7745
 7746
 7747
 7748
 7749
 7750
 7751
 7752
 7753
 7754
 7755
 7756
 7757
 7758
 7759
 7760
 7761
 7762
 7763
 7764
 7765
 7766
 7767
 7768
 7769
 7770
 7771
 7772
 7773
 7774
 7775
 7776
 7777
 7778
 7779
 7780
 7781
 7782
 7783
 7784
 7785
 7786
 7787
 7788
 7789
 7790
 7791
 7792
 7793
 7794
 7795
 7796
 7797
 7798
 7799
 7800
 7801
 7802
 7803
 7804
 7805
 7806
 7807
 7808
 7809
 7810
 7811
 7812
 7813
 7814
 7815
 7816
 7817
 7818
 7819
 7820
 7821
 7822
 7823
 7824
 7825
 7826
 7827
 7828
 7829
 7830
 7831
 7832
 7833
 7834
 7835
 7836
 7837
 7838
 7839
 7840
 7841
 7842
 7843
 7844
 7845
 7846
 7847
 7848
 7849
 7850
 7851
 7852
 7853
 7854
 7855
 7856
 7857
 7858
 7859
 7860
 7861
 7862
 7863
 7864
 7865
 7866
 7867
 7868
 7869
 7870
 7871
 7872
 7873
 7874
 7875
 7876
 7877
 7878
 7879
 7880
 7881
 7882
 7883
 7884
 7885
 7886
 7887
 7888
 7889
 7890
 7891
 7892
 7893
 7894
 7895
 7896
 7897
 7898
 7899
 7900
 7901
 7902
 7903
 7904
 7905
 7906
 7907
 7908
 7909
 7910
 7911
 7912
 7913
 7914
 7915
 7916
 7917
 7918
 7919
 7920
 7921
 7922
 7923
 7924
 7925
 7926
 7927
 7928
 7929
 7930
 7931
 7932
 7933
 7934
 7935
 7936
 7937
 7938
 7939
 7940
 7941
 7942
 7943
 7944
 7945
 7946
 7947
 7948
 7949
 7950
 7951
 7952
 7953
 7954
 7955
 7956
 7957
 7958
 7959
 7960
 7961
 7962
 7963
 7964
 7965
 7966
 7967
 7968
 7969
 7970
 7971
 7972
 7973
 7974
 7975
 7976
 7977
 7978
 7979
 7980
 7981
 7982
 7983
 7984
 7985
 7986
 7987
 7988
 7989
 7990
 7991
 7992
 7993
 7994
 7995
 7996
 7997
 7998
 7999
 8000
 8001
 8002
 8003
 8004
 8005
 8006
 8007
 8008
 8009
 8010
 8011
 8012
 8013
 8014
 8015
 8016
 8017
 8018
 8019
 8020
 8021
 8022
 8023
 8024
 8025
 8026
 8027
 8028
 8029
 8030
 8031
 8032
 8033
 8034
 8035
 8036
 8037
 8038
 8039
 8040
 8041
 8042
 8043
 8044
 8045
 8046
 8047
 8048
 8049
 8050
 8051
 8052
 8053
 8054
 8055
 8056
 8057
 8058
 8059
 8060
 8061
 8062
 8063
 8064
 8065
 8066
 8067
 8068
 8069
 8070
 8071
 8072
 8073
 8074
 8075
 8076
 8077
 8078
 8079
 8080
 8081
 8082
 8083
 8084
 8085
 8086
 8087
 8088
 8089
 8090
 8091
 8092
 8093
 8094
 8095
 8096
 8097
 8098
 8099
 8100
 8101
 8102
 8103
 8104
 8105
 8106
 8107
 8108
 8109
 8110
 8111
 8112
 8113
 8114
 8115
 8116
 8117
 8118
 8119
 8120
 8121
 8122
 8123
 8124
 8125
 8126
 8127
 8128
 8129
 8130
 8131
 8132
 8133
 8134
 8135
 8136
 8137
 8138
 8139
 8140
 8141
 8142
 8143
 8144
 8145
 8146
 8147
 8148
 8149
 8150
 8151
 8152
 8153
 8154
 8155
 8156
 8157
 8158
 8159
 8160
 8161
 8162
 8163
 8164
 8165
 8166
 8167
 8168
 8169
 8170
 8171
 8172
 8173
 8174
 8175
 8176
 8177
 8178
 8179
 8180
 8181
 8182
 8183
 8184
 8185
 8186
 8187
 8188
 8189
 8190
 8191
 8192
 8193
 8194
 8195
 8196
 8197
 8198
 8199
 8200
 8201
 8202
 8203
 8204
 8205
 8206
 8207
 8208
 8209
 8210
 8211
 8212
 8213
 8214
 8215
 8216
 8217
 8218
 8219
 8220
 8221
 8222
 8223
 8224
 8225
 8226
 8227
 8228
 8229
 8230
 8231
 8232
 8233
 8234
 8235
 8236
 8237
 8238
 8239
 8240
 8241
 8242
 8243
 8244
 8245
 8246
 8247
 8248
 8249
 8250
 8251
 8252
 8253
 8254
 8255
 8256
 8257
 8258
 8259
 8260
 8261
 8262
 8263
 8264
 8265
 8266
 8267
 8268
 8269
 8270
 8271
 8272
 8273
 8274
 8275
 8276
 8277
 8278
 8279
 8280
 8281
 8282
 8283
 8284
 8285
 8286
 8287
 8288
 8289
 8290
 8291
 8292
 8293
 8294
 8295
 8296
 8297
 8298
 8299
 8300
 8301
 8302
 8303
 8304
 8305
 8306
 8307
 8308
 8309
 8310
 8311
 8312
 8313
 8314
 8315
 8316
 8317
 8318
 8319
 8320
 8321
 8322
 8323
 8324
 8325
 8326
 8327
 8328
 8329
 8330
 8331
 8332
 8333
 8334
 8335
 8336
 8337
 8338
 8339
 8340
 8341
 8342
 8343
 8344
 8345
 8346
 8347
 8348
 8349
 8350
 8351
 8352
 8353
 8354
 8355
 8356
 8357
 8358
 8359
 8360
 8361
 8362
 8363
 8364
 8365
 8366
 8367
 8368
 8369
 8370
 8371
 8372
 8373
 8374
 8375
 8376
 8377
 8378
 8379
 8380
 8381
 8382
 8383
 8384
 8385
 8386
 8387
 8388
 8389
 8390
 8391
 8392
 8393
 8394
 8395
 8396
 8397
 8398
 8399
 8400
 8401
 8402
 8403
 8404
 8405
 8406
 8407
 8408
 8409
 8410
 8411
 8412
 8413
 8414
 8415
 8416
 8417
 8418
 8419
 8420
 8421
 8422
 8423
 8424
 8425
 8426
 8427
 8428
 8429
 8430
 8431
 8432
 8433
 8434
 8435
 8436
 8437
 8438
 8439
 8440
 8441
 8442
 8443
 8444
 8445
 8446
 8447
 8448
 8449
 8450
 8451
 8452
 8453
 8454
 8455
 8456
 8457
 8458
 8459
 8460
 8461
 8462
 8463
 8464
 8465
 8466
 8467
 8468
 8469
 8470
 8471
 8472
 8473
 8474
 8475
 8476
 8477
 8478
 8479
 8480
 8481
 8482
 8483
 8484
 8485
 8486
 8487
 8488
 8489
 8490
 8491
 8492
 8493
 8494
 8495
 8496
 8497
 8498
 8499
 8500
 8501
 8502
 8503
 8504
 8505
 8506
 8507
 8508
 8509
 8510
 8511
 8512
 8513
 8514
 8515
 8516
 8517
 8518
 8519
 8520
 8521
 8522
 8523
 8524
 8525
 8526
 8527
 8528
 8529
 8530
 8531
 8532
 8533
 8534
 8535
 8536
 8537
 8538
 8539
 8540
 8541
 8542
 8543
 8544
 8545
 8546
 8547
 8548
 8549
 8550
 8551
 8552
 8553
 8554
 8555
 8556
 8557
 8558
 8559
 8560
 8561
 8562
 8563
 8564
 8565
 8566
 8567
 8568
 8569
 8570
 8571
 8572
 8573
 8574
 8575
 8576
 8577
 8578
 8579
 8580
 8581
 8582
 8583
 8584
 8585
 8586
 8587
 8588
 8589
 8590
 8591
 8592
 8593
 8594
 8595
 8596
 8597
 8598
 8599
 8600
 8601
 8602
 8603
 8604
 8605
 8606
 8607
 8608
 8609
 8610
 8611
 8612
 8613
 8614
 8615
 8616
 8617
 8618
 8619
 8620
 8621
 8622
 8623
 8624
 8625
 8626
 8627
 8628
 8629
 8630
 8631
 8632
 8633
 8634
 8635
 8636
 8637
 8638
 8639
 8640
 8641
 8642
 8643
 8644
 8645
 8646
 8647
 8648
 8649
 8650
 8651
 8652
 8653
 8654
 8655
 8656
 8657
 8658
 8659
 8660
 8661
 8662
 8663
 8664
 8665
 8666
 8667
 8668
 8669
 8670
 8671
 8672
 8673
 8674
 8675
 8676
 8677
 8678
 8679
 8680
 8681
 8682
 8683
 8684
 8685
 8686
 8687
 8688
 8689
 8690
 8691
 8692
 8693
 8694
 8695
 8696
 8697
 8698
 8699
 8700
 8701
 8702
 8703
 8704
 8705
 8706
 8707
 8708
 8709
 8710
 8711
 8712
 8713
 8714
 8715
 8716
 8717
 8718
 8719
 8720
 8721
 8722
 8723
 8724
 8725
 8726
 8727
 8728
 8729
 8730
 8731
 8732
 8733
 8734
 8735
 8736
 8737
 8738
 8739
 8740
 8741
 8742
 8743
 8744
 8745
 8746
 8747
 8748
 8749
 8750
 8751
 8752
 8753
 8754
 8755
 8756
 8757
 8758
 8759
 8760
 8761
 8762
 8763
 8764
 8765
 8766
 8767
 8768
 8769
 8770
 8771
 8772
 8773
 8774
 8775
 8776
 8777
 8778
 8779
 8780
 8781
 8782
 8783
 8784
 8785
 8786
 8787
 8788
 8789
 8790
 8791
 8792
 8793
 8794
 8795
 8796
 8797
 8798
 8799
 8800
 8801
 8802
 8803
 8804
 8805
 8806
 8807
 8808
 8809
 8810
 8811
 8812
 8813
 8814
 8815
 8816
 8817
 8818
 8819
 8820
 8821
 8822
 8823
 8824
 8825
 8826
 8827
 8828
 8829
 8830
 8831
 8832
 8833
 8834
 8835
 8836
 8837
 8838
 8839
 8840
 8841
 8842
 8843
 8844
 8845
 8846
 8847
 8848
 8849
 8850
 8851
 8852
 8853
 8854
 8855
 8856
 8857
 8858
 8859
 8860
 8861
 8862
 8863
 8864
 8865
 8866
 8867
 8868
 8869
 8870
 8871
 8872
 8873
 8874
 8875
 8876
 8877
 8878
 8879
 8880
 8881
 8882
 8883
 8884
 8885
 8886
 8887
 8888
 8889
 8890
 8891
 8892
 8893
 8894
 8895
 8896
 8897
 8898
 8899
 8900
 8901
 8902
 8903
 8904
 8905
 8906
 8907
 8908
 8909
 8910
 8911
 8912
 8913
 8914
 8915
 8916
 8917
 8918
 8919
 8920
 8921
 8922
 8923
 8924
 8925
 8926
 8927
 8928
 8929
 8930
 8931
 8932
 8933
 8934
 8935
 8936
 8937
 8938
 8939
 8940
 8941
 8942
 8943
 8944
 8945
 8946
 8947
 8948
 8949
 8950
 8951
 8952
 8953
 8954
 8955
 8956
 8957
 8958
 8959
 8960
 8961
 8962
 8963
 8964
 8965
 8966
 8967
 8968
 8969
 8970
 8971
 8972
 8973
 8974
 8975
 8976
 8977
 8978
 8979
 8980
 8981
 8982
 8983
 8984
 8985
 8986
 8987
 8988
 8989
 8990
 8991
 8992
 8993
 8994
 8995
 8996
 8997
 8998
 8999
 9000
 9001
 9002
 9003
 9004
 9005
 9006
 9007
 9008
 9009
 9010
 9011
 9012
 9013
 9014
 9015
 9016
 9017
 9018
 9019
 9020
 9021
 9022
 9023
 9024
 9025
 9026
 9027
 9028
 9029
 9030
 9031
 9032
 9033
 9034
 9035
 9036
 9037
 9038
 9039
 9040
 9041
 9042
 9043
 9044
 9045
 9046
 9047
 9048
 9049
 9050
 9051
 9052
 9053
 9054
 9055
 9056
 9057
 9058
 9059
 9060
 9061
 9062
 9063
 9064
 9065
 9066
 9067
 9068
 9069
 9070
 9071
 9072
 9073
 9074
 9075
 9076
 9077
 9078
 9079
 9080
 9081
 9082
 9083
 9084
 9085
 9086
 9087
 9088
 9089
 9090
 9091
 9092
 9093
 9094
 9095
 9096
 9097
 9098
 9099
 9100
 9101
 9102
 9103
 9104
 9105
 9106
 9107
 9108
 9109
 9110
 9111
 9112
 9113
 9114
 9115
 9116
 9117
 9118
 9119
 9120
 9121
 9122
 9123
 9124
 9125
 9126
 9127
 9128
 9129
 9130
 9131
 9132
 9133
 9134
 9135
 9136
 9137
 9138
 9139
 9140
 9141
 9142
 9143
 9144
 9145
 9146
 9147
 9148
 9149
 9150
 9151
 9152
 9153
 9154
 9155
 9156
 9157
 9158
 9159
 9160
 9161
 9162
 9163
 9164
 9165
 9166
 9167
 9168
 9169
 9170
 9171
 9172
 9173
 9174
 9175
 9176
 9177
 9178
 9179
 9180
 9181
 9182
 9183
 9184
 9185
 9186
 9187
 9188
 9189
 9190
 9191
 9192
 9193
 9194
 9195
 9196
 9197
 9198
 9199
 9200
 9201
 9202
 9203
 9204
 9205
 9206
 9207
 9208
 9209
 9210
 9211
 9212
 9213
 9214
 9215
 9216
 9217
 9218
 9219
 9220
 9221
 9222
 9223
 9224
 9225
 9226
 9227
 9228
 9229
 9230
 9231
 9232
 9233
 9234
 9235
 9236
 9237
 9238
 9239
 9240
 9241
 9242
 9243
 9244
 9245
 9246
 9247
 9248
 9249
 9250
 9251
 9252
 9253
 9254
 9255
 9256
 9257
 9258
 9259
 9260
 9261
 9262
 9263
 9264
 9265
 9266
 9267
 9268
 9269
 9270
 9271
 9272
 9273
 9274
 9275
 9276
 9277
 9278
 9279
 9280
 9281
 9282
 9283
 9284
 9285
 9286
 9287
 9288
 9289
 9290
 9291
 9292
 9293
 9294
 9295
 9296
 9297
 9298
 9299
 9300
 9301
 9302
 9303
 9304
 9305
 9306
 9307
 9308
 9309
 9310
 9311
 9312
 9313
 9314
 9315
 9316
 9317
 9318
 9319
 9320
 9321
 9322
 9323
 9324
 9325
 9326
 9327
 9328
 9329
 9330
 9331
 9332
 9333
 9334
 9335
 9336
 9337
 9338
 9339
 9340
 9341
 9342
 9343
 9344
 9345
 9346
 9347
 9348
 9349
 9350
 9351
 9352
 9353
 9354
 9355
 9356
 9357
 9358
 9359
 9360
 9361
 9362
 9363
 9364
 9365
 9366
 9367
 9368
 9369
 9370
 9371
 9372
 9373
 9374
 9375
 9376
 9377
 9378
 9379
 9380
 9381
 9382
 9383
 9384
 9385
 9386
 9387
 9388
 9389
 9390
 9391
 9392
 9393
 9394
 9395
 9396
 9397
 9398
 9399
 9400
 9401
 9402
 9403
 9404
 9405
 9406
 9407
 9408
 9409
 9410
 9411
 9412
 9413
 9414
 9415
 9416
 9417
 9418
 9419
 9420
 9421
 9422
 9423
 9424
 9425
 9426
 9427
 9428
 9429
 9430
 9431
 9432
 9433
 9434
 9435
 9436
 9437
 9438
 9439
 9440
 9441
 9442
 9443
 9444
 9445
 9446
 9447
 9448
 9449
 9450
 9451
 9452
 9453
 9454
 9455
 9456
 9457
 9458
 9459
 9460
 9461
 9462
 9463
 9464
 9465
 9466
 9467
 9468
 9469
 9470
 9471
 9472
 9473
 9474
 9475
 9476
 9477
 9478
 9479
 9480
 9481
 9482
 9483
 9484
 9485
 9486
 9487
 9488
 9489
 9490
 9491
 9492
 9493
 9494
 9495
 9496
 9497
 9498
 9499
 9500
 9501
 9502
 9503
 9504
 9505
 9506
 9507
 9508
 9509
 9510
 9511
 9512
 9513
 9514
 9515
 9516
 9517
 9518
 9519
 9520
 9521
 9522
 9523
 9524
 9525
 9526
 9527
 9528
 9529
 9530
 9531
 9532
 9533
 9534
 9535
 9536
 9537
 9538
 9539
 9540
 9541
 9542
 9543
 9544
 9545
 9546
 9547
 9548
 9549
 9550
 9551
 9552
 9553
 9554
 9555
 9556
 9557
 9558
 9559
 9560
 9561
 9562
 9563
 9564
 9565
 9566
 9567
 9568
 9569
 9570
 9571
 9572
 9573
 9574
 9575
 9576
 9577
 9578
 9579
 9580
 9581
 9582
 9583
 9584
 9585
 9586
 9587
 9588
 9589
 9590
 9591
 9592
 9593
 9594
 9595
 9596
 9597
 9598
 9599
 9600
 9601
 9602
 9603
 9604
 9605
 9606
 9607
 9608
 9609
 9610
 9611
 9612
 9613
 9614
 9615
 9616
 9617
 9618
 9619
 9620
 9621
 9622
 9623
 9624
 9625
 9626
 9627
 9628
 9629
 9630
 9631
 9632
 9633
 9634
 9635
 9636
 9637
 9638
 9639
 9640
 9641
 9642
 9643
 9644
 9645
 9646
 9647
 9648
 9649
 9650
 9651
 9652
 9653
 9654
 9655
 9656
 9657
 9658
 9659
 9660
 9661
 9662
 9663
 9664
 9665
 9666
 9667
 9668
 9669
 9670
 9671
 9672
 9673
 9674
 9675
 9676
 9677
 9678
 9679
 9680
 9681
 9682
 9683
 9684
 9685
 9686
 9687
 9688
 9689
 9690
 9691
 9692
 9693
 9694
 9695
 9696
 9697
 9698
 9699
 9700
 9701
 9702
 9703
 9704
 9705
 9706
 9707
 9708
 9709
 9710
 9711
 9712
 9713
 9714
 9715
 9716
 9717
 9718
 9719
 9720
 9721
 9722
 9723
 9724
 9725
 9726
 9727
 9728
 9729
 9730
 9731
 9732
 9733
 9734
 9735
 9736
 9737
 9738
 9739
 9740
 9741
 9742
 9743
 9744
 9745
 9746
 9747
 9748
 9749
 9750
 9751
 9752
 9753
 9754
 9755
 9756
 9757
 9758
 9759
 9760
 9761
 9762
 9763
 9764
 9765
 9766
 9767
 9768
 9769
 9770
 9771
 9772
 9773
 9774
 9775
 9776
 9777
 9778
 9779
 9780
 9781
 9782
 9783
 9784
 9785
 9786
 9787
 9788
 9789
 9790
 9791
 9792
 9793
 9794
 9795
 9796
 9797
 9798
 9799
 9800
 9801
 9802
 9803
 9804
 9805
 9806
 9807
 9808
 9809
 9810
 9811
 9812
 9813
 9814
 9815
 9816
 9817
 9818
 9819
 9820
 9821
 9822
 9823
 9824
 9825
 9826
 9827
 9828
 9829
 9830
 9831
 9832
 9833
 9834
 9835
 9836
 9837
 9838
 9839
 9840
 9841
 9842
 9843
 9844
 9845
 9846
 9847
 9848
 9849
 9850
 9851
 9852
 9853
 9854
 9855
 9856
 9857
 9858
 9859
 9860
 9861
 9862
 9863
 9864
 9865
 9866
 9867
 9868
 9869
 9870
 9871
 9872
 9873
 9874
 9875
 9876
 9877
 9878
 9879
 9880
 9881
 9882
 9883
 9884
 9885
 9886
 9887
 9888
 9889
 9890
 9891
 9892
 9893
 9894
 9895
 9896
 9897
 9898
 9899
 9900
 9901
 9902
 9903
 9904
 9905
 9906
 9907
 9908
 9909
 9910
 9911
 9912
 9913
 9914
 9915
 9916
 9917
 9918
 9919
 9920
 9921
 9922
 9923
 9924
 9925
 9926
 9927
 9928
 9929
 9930
 9931
 9932
 9933
 9934
 9935
 9936
 9937
 9938
 9939
 9940
 9941
 9942
 9943
 9944
 9945
 9946
 9947
 9948
 9949
 9950
 9951
 9952
 9953
 9954
 9955
 9956
 9957
 9958
 9959
 9960
 9961
 9962
 9963
 9964
 9965
 9966
 9967
 9968
 9969
 9970
 9971
 9972
 9973
 9974
 9975
 9976
 9977
 9978
 9979
 9980
 9981
 9982
 9983
 9984
 9985
 9986
 9987
 9988
 9989
 9990
 9991
 9992
 9993
 9994
 9995
 9996
 9997
 9998
 9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429
17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
17539
17540
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
17564
17565
17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
17594
17595
17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
17618
17619
17620
17621
17622
17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756
17757
17758
17759
17760
17761
17762
17763
17764
17765
17766
17767
17768
17769
17770
17771
17772
17773
17774
17775
17776
17777
17778
17779
17780
17781
17782
17783
17784
17785
17786
17787
17788
17789
17790
17791
17792
17793
17794
17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
17805
17806
17807
17808
17809
17810
17811
17812
17813
17814
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824
17825
17826
17827
17828
17829
17830
17831
17832
17833
17834
17835
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
17914
17915
17916
17917
17918
17919
17920
17921
17922
17923
17924
17925
17926
17927
17928
17929
17930
17931
17932
17933
17934
17935
17936
17937
17938
17939
17940
17941
17942
17943
17944
17945
17946
17947
17948
17949
17950
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
17979
17980
17981
17982
17983
17984
17985
17986
17987
17988
17989
17990
17991
17992
17993
17994
17995
17996
17997
17998
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
18011
18012
18013
18014
18015
18016
18017
18018
18019
18020
18021
18022
18023
18024
18025
18026
18027
18028
18029
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
18042
18043
18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092
18093
18094
18095
18096
18097
18098
18099
18100
18101
18102
18103
18104
18105
18106
18107
18108
18109
18110
18111
18112
18113
18114
18115
18116
18117
18118
18119
18120
18121
18122
18123
18124
18125
18126
18127
18128
18129
18130
18131
18132
18133
18134
18135
18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168
18169
18170
18171
18172
18173
18174
18175
18176
18177
18178
18179
18180
18181
18182
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
18222
18223
18224
18225
18226
18227
18228
18229
18230
18231
18232
18233
18234
18235
18236
18237
18238
18239
18240
18241
18242
18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
18256
18257
18258
18259
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271
18272
18273
18274
18275
18276
18277
18278
18279
18280
18281
18282
18283
18284
18285
18286
18287
18288
18289
18290
18291
18292
18293
18294
18295
18296
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308
18309
18310
18311
18312
18313
18314
18315
18316
18317
18318
18319
18320
18321
18322
18323
18324
18325
18326
18327
18328
18329
18330
18331
18332
18333
18334
18335
18336
18337
18338
18339
18340
18341
18342
18343
18344
18345
18346
18347
18348
18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
18360
18361
18362
18363
18364
18365
18366
18367
18368
18369
18370
18371
18372
18373
18374
18375
18376
18377
18378
18379
18380
18381
18382
18383
18384
18385
18386
18387
18388
18389
18390
18391
18392
18393
18394
18395
18396
18397
18398
18399
18400
18401
18402
18403
18404
18405
18406
18407
18408
18409
18410
18411
18412
18413
18414
18415
18416
18417
18418
18419
18420
18421
18422
18423
18424
18425
18426
18427
18428
18429
18430
18431
18432
18433
18434
18435
18436
18437
18438
18439
18440
18441
18442
18443
18444
18445
18446
18447
18448
18449
18450
18451
18452
18453
18454
18455
18456
18457
18458
18459
18460
18461
18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490
18491
18492
18493
18494
18495
18496
18497
18498
18499
18500
18501
18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
18515
18516
18517
18518
18519
18520
18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552
18553
18554
18555
18556
18557
18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
18573
18574
18575
18576
18577
18578
18579
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
18605
18606
18607
18608
18609
18610
18611
18612
18613
18614
18615
18616
18617
18618
18619
18620
18621
18622
18623
18624
18625
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
18646
18647
18648
18649
18650
18651
18652
18653
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663
18664
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703
18704
18705
18706
18707
18708
18709
18710
18711
18712
18713
18714
18715
18716
18717
18718
18719
18720
18721
18722
18723
18724
18725
18726
18727
18728
18729
18730
18731
18732
18733
18734
18735
18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
18758
18759
18760
18761
18762
18763
18764
18765
18766
18767
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
18778
18779
18780
18781
18782
18783
18784
18785
18786
18787
18788
18789
18790
18791
18792
18793
18794
18795
18796
18797
18798
18799
18800
18801
18802
18803
18804
18805
18806
18807
18808
18809
18810
18811
18812
18813
18814
18815
18816
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
18837
18838
18839
18840
18841
18842
18843
18844
18845
18846
18847
18848
18849
18850
18851
18852
18853
18854
18855
18856
18857
18858
18859
18860
18861
18862
18863
18864
18865
18866
18867
18868
18869
18870
18871
18872
18873
18874
18875
18876
18877
18878
18879
18880
18881
18882
18883
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
18909
18910
18911
18912
18913
18914
18915
18916
18917
18918
18919
18920
18921
18922
18923
18924
18925
18926
18927
18928
18929
18930
18931
18932
18933
18934
18935
18936
18937
18938
18939
18940
18941
18942
18943
18944
18945
18946
18947
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957
18958
18959
18960
18961
18962
18963
18964
18965
18966
18967
18968
18969
18970
18971
18972
18973
18974
18975
18976
18977
18978
18979
18980
18981
18982
18983
18984
18985
18986
18987
18988
18989
18990
18991
18992
18993
18994
18995
18996
18997
18998
18999
19000
19001
19002
19003
19004
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015
19016
19017
19018
19019
19020
19021
19022
19023
19024
19025
19026
19027
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
19043
19044
19045
19046
19047
19048
19049
19050
19051
19052
19053
19054
19055
19056
19057
19058
19059
19060
19061
19062
19063
19064
19065
19066
19067
19068
19069
19070
19071
19072
19073
19074
19075
19076
19077
19078
19079
19080
19081
19082
19083
19084
19085
19086
19087
19088
19089
19090
19091
19092
19093
19094
19095
19096
19097
19098
19099
19100
19101
19102
19103
19104
19105
19106
19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
19120
19121
19122
19123
19124
19125
19126
19127
19128
19129
19130
19131
19132
19133
19134
19135
19136
19137
19138
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148
19149
19150
19151
19152
19153
19154
19155
19156
19157
19158
19159
19160
19161
19162
19163
19164
19165
19166
19167
19168
19169
19170
19171
19172
19173
19174
19175
19176
19177
19178
19179
19180
19181
19182
19183
19184
19185
19186
19187
19188
19189
19190
19191
19192
19193
19194
19195
19196
19197
19198
19199
19200
19201
19202
19203
19204
19205
19206
19207
19208
19209
19210
19211
19212
19213
19214
19215
19216
19217
19218
19219
19220
19221
19222
19223
19224
19225
19226
19227
19228
19229
19230
19231
19232
19233
19234
19235
19236
19237
19238
19239
19240
19241
19242
19243
19244
19245
19246
19247
19248
19249
19250
19251
19252
19253
19254
19255
19256
19257
19258
19259
19260
19261
19262
19263
19264
19265
19266
19267
19268
19269
19270
19271
19272
19273
19274
19275
19276
19277
19278
19279
19280
19281
19282
19283
19284
19285
19286
19287
19288
19289
19290
19291
19292
19293
19294
19295
19296
19297
19298
19299
19300
19301
19302
19303
19304
19305
19306
19307
19308
19309
19310
19311
19312
19313
19314
19315
19316
19317
19318
19319
19320
19321
19322
19323
19324
19325
19326
19327
19328
19329
19330
19331
19332
19333
19334
19335
19336
19337
19338
19339
19340
19341
19342
19343
19344
19345
19346
19347
19348
19349
19350
19351
19352
19353
19354
19355
19356
19357
19358
19359
19360
19361
19362
19363
19364
19365
19366
19367
19368
19369
19370
19371
19372
19373
19374
19375
19376
19377
19378
19379
19380
19381
19382
19383
19384
19385
19386
19387
19388
19389
19390
19391
19392
19393
19394
19395
19396
19397
19398
19399
19400
19401
19402
19403
19404
19405
19406
19407
19408
19409
19410
19411
19412
19413
19414
19415
19416
19417
19418
19419
19420
19421
19422
19423
19424
19425
19426
19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
19440
19441
19442
19443
19444
19445
19446
19447
19448
19449
19450
19451
19452
19453
19454
19455
19456
19457
19458
19459
19460
19461
19462
19463
19464
19465
19466
19467
19468
19469
19470
19471
19472
19473
19474
19475
19476
19477
19478
19479
19480
19481
19482
19483
19484
19485
19486
19487
19488
19489
19490
19491
19492
19493
19494
19495
19496
19497
19498
19499
19500
19501
19502
19503
19504
19505
19506
19507
19508
19509
19510
19511
19512
19513
19514
19515
19516
19517
19518
19519
19520
19521
19522
19523
19524
19525
19526
19527
19528
19529
19530
19531
19532
19533
19534
19535
19536
19537
19538
19539
19540
19541
19542
19543
19544
19545
19546
19547
19548
19549
19550
19551
19552
19553
19554
19555
19556
19557
19558
19559
19560
19561
19562
19563
19564
19565
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609
19610
19611
19612
19613
19614
19615
19616
19617
19618
19619
19620
19621
19622
19623
19624
19625
19626
19627
19628
19629
19630
19631
19632
19633
19634
19635
19636
19637
19638
19639
19640
19641
19642
19643
19644
19645
19646
19647
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
19662
19663
19664
19665
19666
19667
19668
19669
19670
19671
19672
19673
19674
19675
19676
19677
19678
19679
19680
19681
19682
19683
19684
19685
19686
19687
19688
19689
19690
19691
19692
19693
19694
19695
19696
19697
19698
19699
19700
19701
19702
19703
19704
19705
19706
19707
19708
19709
19710
19711
19712
19713
19714
19715
19716
19717
19718
19719
19720
19721
19722
19723
19724
19725
19726
19727
19728
19729
19730
19731
19732
19733
19734
19735
19736
19737
19738
19739
19740
19741
19742
19743
19744
19745
19746
19747
19748
19749
19750
19751
19752
19753
19754
19755
19756
19757
19758
19759
19760
19761
19762
19763
19764
19765
19766
19767
19768
19769
19770
19771
19772
19773
19774
19775
19776
19777
19778
19779
19780
19781
19782
19783
19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
19794
19795
19796
19797
19798
19799
19800
19801
19802
19803
19804
19805
19806
19807
19808
19809
19810
19811
19812
19813
19814
19815
19816
19817
19818
19819
19820
19821
19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
19862
19863
19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878
19879
19880
19881
19882
19883
19884
19885
19886
19887
19888
19889
19890
19891
19892
19893
19894
19895
19896
19897
19898
19899
19900
19901
19902
19903
19904
19905
19906
19907
19908
19909
19910
19911
19912
19913
19914
19915
19916
19917
19918
19919
19920
19921
19922
19923
19924
19925
19926
19927
19928
19929
19930
19931
19932
19933
19934
19935
19936
19937
19938
19939
19940
19941
19942
19943
19944
19945
19946
19947
19948
19949
19950
19951
19952
19953
19954
19955
19956
19957
19958
19959
19960
19961
19962
19963
19964
19965
19966
19967
19968
19969
19970
19971
19972
19973
19974
19975
19976
19977
19978
19979
19980
19981
19982
19983
19984
19985
19986
19987
19988
19989
19990
19991
19992
19993
19994
19995
19996
19997
19998
19999
20000
20001
20002
20003
20004
20005
20006
20007
20008
20009
20010
20011
20012
20013
20014
20015
20016
20017
20018
20019
20020
20021
20022
20023
20024
20025
20026
20027
20028
20029
20030
20031
20032
20033
20034
20035
20036
20037
20038
20039
20040
20041
20042
20043
20044
20045
20046
20047
20048
20049
20050
20051
20052
20053
20054
20055
20056
20057
20058
20059
20060
20061
20062
20063
20064
20065
20066
20067
20068
20069
20070
20071
20072
20073
20074
20075
20076
20077
20078
20079
20080
20081
20082
20083
20084
20085
20086
20087
20088
20089
20090
20091
20092
20093
20094
20095
20096
20097
20098
20099
20100
20101
20102
20103
20104
20105
20106
20107
20108
20109
20110
20111
20112
20113
20114
20115
20116
20117
20118
20119
20120
20121
20122
20123
20124
20125
20126
20127
20128
20129
20130
20131
20132
20133
20134
20135
20136
20137
20138
20139
20140
20141
20142
20143
20144
20145
20146
20147
20148
20149
20150
20151
20152
20153
20154
20155
20156
20157
20158
20159
20160
20161
20162
20163
20164
20165
20166
20167
20168
20169
20170
20171
20172
20173
20174
20175
20176
20177
20178
20179
20180
20181
20182
20183
20184
20185
20186
20187
20188
20189
20190
20191
20192
20193
20194
20195
20196
20197
20198
20199
20200
20201
20202
20203
20204
20205
20206
20207
20208
20209
20210
20211
20212
20213
20214
20215
20216
20217
20218
20219
20220
20221
20222
20223
20224
20225
20226
20227
20228
20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
20240
20241
20242
20243
20244
20245
20246
20247
20248
20249
20250
20251
20252
20253
20254
20255
20256
20257
20258
20259
20260
20261
20262
20263
20264
20265
20266
20267
20268
20269
20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
20288
20289
20290
20291
20292
20293
20294
20295
20296
20297
20298
20299
20300
20301
20302
20303
20304
20305
20306
20307
20308
20309
20310
20311
20312
20313
20314
20315
20316
20317
20318
20319
20320
20321
20322
20323
20324
20325
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
20336
20337
20338
20339
20340
20341
20342
20343
20344
20345
20346
20347
20348
20349
20350
20351
20352
20353
20354
20355
20356
20357
20358
20359
20360
20361
20362
20363
20364
20365
20366
20367
20368
20369
20370
20371
20372
20373
20374
20375
20376
20377
20378
20379
20380
20381
20382
20383
20384
20385
20386
20387
20388
20389
20390
20391
20392
20393
20394
20395
20396
20397
20398
20399
20400
20401
20402
20403
20404
20405
20406
20407
20408
20409
20410
20411
20412
20413
20414
20415
20416
20417
20418
20419
20420
20421
20422
20423
20424
20425
20426
20427
20428
20429
20430
20431
20432
20433
20434
20435
20436
20437
20438
20439
20440
20441
20442
20443
20444
20445
20446
20447
20448
20449
20450
20451
20452
20453
20454
20455
20456
20457
20458
20459
20460
20461
20462
20463
20464
20465
20466
20467
20468
20469
20470
20471
20472
20473
20474
20475
20476
20477
20478
20479
20480
20481
20482
20483
20484
20485
20486
20487
20488
20489
20490
20491
20492
20493
20494
20495
20496
20497
20498
20499
20500
20501
20502
20503
20504
20505
20506
20507
20508
20509
20510
20511
20512
20513
20514
20515
20516
20517
20518
20519
20520
20521
20522
20523
20524
20525
20526
20527
20528
20529
20530
20531
20532
20533
20534
20535
20536
20537
20538
20539
20540
20541
20542
20543
20544
20545
20546
20547
20548
20549
20550
20551
20552
20553
20554
20555
20556
20557
20558
20559
20560
20561
20562
20563
20564
20565
20566
20567
20568
20569
20570
20571
20572
20573
20574
20575
20576
20577
20578
20579
20580
20581
20582
20583
20584
20585
20586
20587
20588
20589
20590
20591
20592
20593
20594
20595
20596
20597
20598
20599
20600
20601
20602
20603
20604
20605
20606
20607
20608
20609
20610
20611
20612
20613
20614
20615
20616
20617
20618
20619
20620
20621
20622
20623
20624
20625
20626
20627
20628
20629
20630
20631
20632
20633
20634
20635
20636
20637
20638
20639
20640
20641
20642
20643
20644
20645
20646
20647
20648
20649
20650
20651
20652
20653
20654
20655
20656
20657
20658
20659
20660
20661
20662
20663
20664
20665
20666
20667
20668
20669
20670
20671
20672
20673
20674
20675
20676
20677
20678
20679
20680
20681
20682
20683
20684
20685
20686
20687
20688
20689
20690
20691
20692
20693
20694
20695
20696
20697
20698
20699
20700
20701
20702
20703
20704
20705
20706
20707
20708
20709
20710
20711
20712
20713
20714
20715
20716
20717
20718
20719
20720
20721
20722
20723
20724
20725
20726
20727
20728
20729
20730
20731
20732
20733
20734
20735
20736
20737
20738
20739
20740
20741
20742
20743
20744
20745
20746
20747
20748
20749
20750
20751
20752
20753
20754
20755
20756
20757
20758
20759
20760
20761
20762
20763
20764
20765
20766
20767
20768
20769
20770
20771
20772
20773
20774
20775
20776
20777
20778
20779
20780
20781
20782
20783
20784
20785
20786
20787
20788
20789
20790
20791
20792
20793
20794
20795
20796
20797
20798
20799
20800
20801
20802
20803
20804
20805
20806
20807
20808
20809
20810
20811
20812
20813
20814
20815
20816
20817
20818
20819
20820
20821
20822
20823
20824
20825
20826
20827
20828
20829
20830
20831
20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
20850
20851
20852
20853
20854
20855
20856
20857
20858
20859
20860
20861
20862
20863
20864
20865
20866
20867
20868
20869
20870
20871
20872
20873
20874
20875
20876
20877
20878
20879
20880
20881
20882
20883
20884
20885
20886
20887
20888
20889
20890
20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
20904
20905
20906
20907
20908
20909
20910
20911
20912
20913
20914
20915
20916
20917
20918
20919
20920
20921
20922
20923
20924
20925
20926
20927
20928
20929
20930
20931
20932
20933
20934
20935
20936
20937
20938
20939
20940
20941
20942
20943
20944
20945
20946
20947
20948
20949
20950
20951
20952
20953
20954
20955
20956
20957
20958
20959
20960
20961
20962
20963
20964
20965
20966
20967
20968
20969
20970
20971
20972
20973
20974
20975
20976
20977
20978
20979
20980
20981
20982
20983
20984
20985
20986
20987
20988
20989
20990
20991
20992
20993
20994
20995
20996
20997
20998
20999
21000
21001
21002
21003
21004
21005
21006
21007
21008
21009
21010
21011
21012
21013
21014
21015
21016
21017
21018
21019
21020
21021
21022
21023
21024
21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
21040
21041
21042
21043
21044
21045
21046
21047
21048
21049
21050
21051
21052
21053
21054
21055
21056
21057
21058
21059
21060
21061
21062
21063
21064
21065
21066
21067
21068
21069
21070
21071
21072
21073
21074
21075
21076
21077
21078
21079
21080
21081
21082
21083
21084
21085
21086
21087
21088
21089
21090
21091
21092
21093
21094
21095
21096
21097
21098
21099
21100
21101
21102
21103
21104
21105
21106
21107
21108
21109
21110
21111
21112
21113
21114
21115
21116
21117
21118
21119
21120
21121
21122
21123
21124
21125
21126
21127
21128
21129
21130
21131
21132
21133
21134
21135
21136
21137
21138
21139
21140
21141
21142
21143
21144
21145
21146
21147
21148
21149
21150
21151
21152
21153
21154
21155
21156
21157
21158
21159
21160
21161
21162
21163
21164
21165
21166
21167
21168
21169
21170
21171
21172
21173
21174
21175
21176
21177
21178
21179
21180
21181
21182
21183
21184
21185
21186
21187
21188
21189
21190
21191
21192
21193
21194
21195
21196
21197
21198
21199
21200
21201
21202
21203
21204
21205
21206
21207
21208
21209
21210
21211
21212
21213
21214
21215
21216
21217
21218
21219
21220
21221
21222
21223
21224
21225
21226
21227
21228
21229
21230
21231
21232
21233
21234
21235
21236
21237
21238
21239
21240
21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
21264
21265
21266
21267
21268
21269
21270
21271
21272
21273
21274
21275
21276
21277
21278
21279
21280
21281
21282
21283
21284
21285
21286
21287
21288
21289
21290
21291
21292
21293
21294
21295
21296
21297
21298
21299
21300
21301
21302
21303
21304
21305
21306
21307
21308
21309
21310
21311
21312
21313
21314
21315
21316
21317
21318
21319
21320
21321
21322
21323
21324
21325
21326
21327
21328
21329
21330
21331
21332
21333
21334
21335
21336
21337
21338
21339
21340
21341
21342
21343
21344
21345
21346
21347
21348
21349
21350
21351
21352
21353
21354
21355
21356
21357
21358
21359
21360
21361
21362
21363
21364
21365
21366
21367
21368
21369
21370
21371
21372
21373
21374
21375
21376
21377
21378
21379
21380
21381
21382
21383
21384
21385
21386
21387
21388
21389
21390
21391
21392
21393
21394
21395
21396
21397
21398
21399
21400
21401
21402
21403
21404
21405
21406
21407
21408
21409
21410
21411
21412
21413
21414
21415
21416
21417
21418
21419
21420
21421
21422
21423
21424
21425
21426
21427
21428
21429
21430
21431
21432
21433
21434
21435
21436
21437
21438
21439
21440
21441
21442
21443
21444
21445
21446
21447
21448
21449
21450
21451
21452
21453
21454
21455
21456
21457
21458
21459
21460
21461
21462
21463
21464
21465
21466
21467
21468
21469
21470
21471
21472
21473
21474
21475
21476
21477
21478
21479
21480
21481
21482
21483
21484
21485
21486
21487
21488
21489
21490
21491
21492
21493
21494
21495
21496
21497
21498
21499
21500
21501
21502
21503
21504
21505
21506
21507
21508
21509
21510
21511
21512
21513
21514
21515
21516
21517
21518
21519
21520
21521
21522
21523
21524
21525
21526
21527
21528
21529
21530
21531
21532
21533
21534
21535
21536
21537
21538
21539
21540
21541
21542
21543
21544
21545
21546
21547
21548
21549
21550
21551
21552
21553
21554
21555
21556
21557
21558
21559
21560
21561
21562
21563
21564
21565
21566
21567
21568
21569
21570
21571
21572
21573
21574
21575
21576
21577
21578
21579
21580
21581
21582
21583
21584
21585
21586
21587
21588
21589
21590
21591
21592
21593
21594
21595
21596
21597
21598
21599
21600
21601
21602
21603
21604
21605
21606
21607
21608
21609
21610
21611
21612
21613
21614
21615
21616
21617
21618
21619
21620
21621
21622
21623
21624
21625
21626
21627
21628
21629
21630
21631
21632
21633
21634
21635
21636
21637
21638
21639
21640
21641
21642
21643
21644
21645
21646
21647
21648
21649
21650
21651
21652
21653
21654
21655
21656
21657
21658
21659
21660
21661
21662
21663
21664
21665
21666
21667
21668
21669
21670
21671
21672
21673
21674
21675
21676
21677
21678
21679
21680
21681
21682
21683
21684
21685
21686
21687
21688
21689
21690
21691
21692
21693
21694
21695
21696
21697
21698
21699
21700
21701
21702
21703
21704
21705
21706
21707
21708
21709
21710
21711
21712
21713
21714
21715
21716
21717
21718
21719
21720
21721
21722
21723
21724
21725
21726
21727
21728
21729
21730
21731
21732
21733
21734
21735
21736
21737
21738
21739
21740
21741
21742
21743
21744
21745
21746
21747
21748
21749
21750
21751
21752
21753
21754
21755
21756
21757
21758
21759
21760
21761
21762
21763
21764
21765
21766
21767
21768
21769
21770
21771
21772
21773
21774
21775
21776
21777
21778
21779
21780
21781
21782
21783
21784
21785
21786
21787
21788
21789
21790
21791
21792
21793
21794
21795
21796
21797
21798
21799
21800
21801
21802
21803
21804
21805
21806
21807
21808
21809
21810
21811
21812
21813
21814
21815
21816
21817
21818
21819
21820
21821
21822
21823
21824
21825
21826
21827
21828
21829
21830
21831
21832
21833
21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
22091
22092
22093
22094
22095
22096
22097
22098
22099
22100
22101
22102
22103
22104
22105
22106
22107
22108
22109
22110
22111
22112
22113
22114
22115
22116
22117
22118
22119
22120
22121
22122
22123
22124
22125
22126
22127
22128
22129
22130
22131
22132
22133
22134
22135
22136
22137
22138
22139
22140
22141
22142
22143
22144
22145
22146
22147
22148
22149
22150
22151
22152
22153
22154
22155
22156
22157
22158
22159
22160
22161
22162
22163
22164
22165
22166
22167
22168
22169
22170
22171
22172
22173
22174
22175
22176
22177
22178
22179
22180
22181
22182
22183
22184
22185
22186
22187
22188
22189
22190
22191
22192
22193
22194
22195
22196
22197
22198
22199
22200
22201
22202
22203
22204
22205
22206
22207
22208
22209
22210
22211
22212
22213
22214
22215
22216
22217
22218
22219
22220
22221
22222
22223
22224
22225
22226
22227
22228
22229
22230
22231
22232
22233
22234
22235
22236
22237
22238
22239
22240
22241
22242
22243
22244
22245
22246
22247
22248
22249
22250
22251
22252
22253
22254
22255
22256
22257
22258
22259
22260
22261
22262
22263
22264
22265
22266
22267
22268
22269
22270
22271
22272
22273
22274
22275
22276
22277
22278
22279
22280
22281
22282
22283
22284
22285
22286
22287
22288
22289
22290
22291
22292
22293
22294
22295
22296
22297
22298
22299
22300
22301
22302
22303
22304
22305
22306
22307
22308
22309
22310
22311
22312
22313
22314
22315
22316
22317
22318
22319
22320
22321
22322
22323
22324
22325
22326
22327
22328
22329
22330
22331
22332
22333
22334
22335
22336
22337
22338
22339
22340
22341
22342
22343
22344
22345
22346
22347
22348
22349
22350
22351
22352
22353
22354
22355
22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
22404
22405
22406
22407
22408
22409
22410
22411
22412
22413
22414
22415
22416
22417
22418
22419
22420
22421
22422
22423
22424
22425
22426
22427
22428
22429
22430
22431
22432
22433
22434
22435
22436
22437
22438
22439
22440
22441
22442
22443
22444
22445
22446
22447
22448
22449
22450
22451
22452
22453
22454
22455
22456
22457
22458
22459
22460
22461
22462
22463
22464
22465
22466
22467
22468
22469
22470
22471
22472
22473
22474
22475
22476
22477
22478
22479
22480
22481
22482
22483
22484
22485
22486
22487
22488
22489
22490
22491
22492
22493
22494
22495
22496
22497
22498
22499
22500
22501
22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
22841
22842
22843
22844
22845
22846
22847
22848
22849
22850
22851
22852
22853
22854
22855
22856
22857
22858
22859
22860
22861
22862
22863
22864
22865
22866
22867
22868
22869
22870
22871
22872
22873
22874
22875
22876
22877
22878
22879
22880
22881
22882
22883
22884
22885
22886
22887
22888
22889
22890
22891
22892
22893
22894
22895
22896
22897
22898
22899
22900
22901
22902
22903
22904
22905
22906
22907
22908
22909
22910
22911
22912
22913
22914
22915
22916
22917
22918
22919
22920
22921
22922
22923
22924
22925
22926
22927
22928
22929
22930
22931
22932
22933
22934
22935
22936
22937
22938
22939
22940
22941
22942
22943
22944
22945
22946
22947
22948
22949
22950
22951
22952
22953
22954
22955
22956
22957
22958
22959
22960
22961
22962
22963
22964
22965
22966
22967
22968
22969
22970
22971
22972
22973
22974
22975
22976
22977
22978
22979
22980
22981
22982
22983
22984
22985
22986
22987
22988
22989
22990
22991
22992
22993
22994
22995
22996
22997
22998
22999
23000
23001
23002
23003
23004
23005
23006
23007
23008
23009
23010
23011
23012
23013
23014
23015
23016
23017
23018
23019
23020
23021
23022
23023
23024
23025
23026
23027
23028
23029
23030
23031
23032
23033
23034
23035
23036
23037
23038
23039
23040
23041
23042
23043
23044
23045
23046
23047
23048
23049
23050
23051
23052
23053
23054
23055
23056
23057
23058
23059
23060
23061
23062
23063
23064
23065
23066
23067
23068
23069
23070
23071
23072
23073
23074
23075
23076
23077
23078
23079
23080
23081
23082
23083
23084
23085
23086
23087
23088
23089
23090
23091
23092
23093
23094
23095
23096
23097
23098
23099
23100
23101
23102
23103
23104
23105
23106
23107
23108
23109
23110
23111
23112
23113
23114
23115
23116
23117
23118
23119
23120
23121
23122
23123
23124
23125
23126
23127
23128
23129
23130
23131
23132
23133
23134
23135
23136
23137
23138
23139
23140
23141
23142
23143
23144
23145
23146
23147
23148
23149
23150
23151
23152
23153
23154
23155
23156
23157
23158
23159
23160
23161
23162
23163
23164
23165
23166
23167
23168
23169
23170
23171
23172
23173
23174
23175
23176
23177
23178
23179
23180
23181
23182
23183
23184
23185
23186
23187
23188
23189
23190
23191
23192
23193
23194
23195
23196
23197
23198
23199
23200
23201
23202
23203
23204
23205
23206
23207
23208
23209
23210
23211
23212
23213
23214
23215
23216
23217
23218
23219
23220
23221
23222
23223
23224
23225
23226
23227
23228
23229
23230
23231
23232
23233
23234
23235
23236
23237
23238
23239
23240
23241
23242
23243
23244
23245
23246
23247
23248
23249
23250
23251
23252
23253
23254
23255
23256
23257
23258
23259
23260
23261
23262
23263
23264
23265
23266
23267
23268
23269
23270
23271
23272
23273
23274
23275
23276
23277
23278
23279
23280
23281
23282
23283
23284
23285
23286
23287
23288
23289
23290
23291
23292
23293
23294
23295
23296
23297
23298
23299
23300
23301
23302
23303
23304
23305
23306
23307
23308
23309
23310
23311
23312
23313
23314
23315
23316
23317
23318
23319
23320
23321
23322
23323
23324
23325
23326
23327
23328
23329
23330
23331
23332
23333
23334
23335
23336
23337
23338
23339
23340
23341
23342
23343
23344
23345
23346
23347
23348
23349
23350
23351
23352
23353
23354
23355
23356
23357
23358
23359
23360
23361
23362
23363
23364
23365
23366
23367
23368
23369
23370
23371
23372
23373
23374
23375
23376
23377
23378
23379
23380
23381
23382
23383
23384
23385
23386
23387
23388
23389
23390
23391
23392
23393
23394
23395
23396
23397
23398
23399
23400
23401
23402
23403
23404
23405
23406
23407
23408
23409
23410
23411
23412
23413
23414
23415
23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
23427
23428
23429
23430
23431
23432
23433
23434
23435
23436
23437
23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
23453
23454
23455
23456
23457
23458
23459
23460
23461
23462
23463
23464
23465
23466
23467
23468
23469
23470
23471
23472
23473
23474
23475
23476
23477
23478
23479
23480
23481
23482
23483
23484
23485
23486
23487
23488
23489
23490
23491
23492
23493
23494
23495
23496
23497
23498
23499
23500
23501
23502
23503
23504
23505
23506
23507
23508
23509
23510
23511
23512
23513
23514
23515
23516
23517
23518
23519
23520
23521
23522
23523
23524
23525
23526
23527
23528
23529
23530
23531
23532
23533
23534
23535
23536
23537
23538
23539
23540
23541
23542
23543
23544
23545
23546
23547
23548
23549
23550
23551
23552
23553
23554
23555
23556
23557
23558
23559
23560
23561
23562
23563
23564
23565
23566
23567
23568
23569
23570
23571
23572
23573
23574
23575
23576
23577
23578
23579
23580
23581
23582
23583
23584
23585
23586
23587
23588
23589
23590
23591
23592
23593
23594
23595
23596
23597
23598
23599
23600
23601
23602
23603
23604
23605
23606
23607
23608
23609
23610
23611
23612
23613
23614
23615
23616
23617
23618
23619
23620
23621
23622
23623
23624
23625
23626
23627
23628
23629
23630
23631
23632
23633
23634
23635
23636
23637
23638
23639
23640
23641
23642
23643
23644
23645
23646
23647
23648
23649
23650
23651
23652
23653
23654
23655
23656
23657
23658
23659
23660
23661
23662
23663
23664
23665
23666
23667
23668
23669
23670
23671
23672
23673
23674
23675
23676
23677
23678
23679
23680
23681
23682
23683
23684
23685
23686
23687
23688
23689
23690
23691
23692
23693
23694
23695
23696
23697
23698
23699
23700
23701
23702
23703
23704
23705
23706
23707
23708
23709
23710
23711
23712
23713
23714
23715
23716
23717
23718
23719
23720
23721
23722
23723
23724
23725
23726
23727
23728
23729
23730
23731
23732
23733
23734
23735
23736
23737
23738
23739
23740
23741
23742
23743
23744
23745
23746
23747
23748
23749
23750
23751
23752
23753
23754
23755
23756
23757
23758
23759
23760
23761
23762
23763
23764
23765
23766
23767
23768
23769
23770
23771
23772
23773
23774
23775
23776
23777
23778
23779
23780
23781
23782
23783
23784
23785
23786
23787
23788
23789
23790
23791
23792
23793
23794
23795
23796
23797
23798
23799
23800
23801
23802
23803
23804
23805
23806
23807
23808
23809
23810
23811
23812
23813
23814
23815
23816
23817
23818
23819
23820
23821
23822
23823
23824
23825
23826
23827
23828
23829
23830
23831
23832
23833
23834
23835
23836
23837
23838
23839
23840
23841
23842
23843
23844
23845
23846
23847
23848
23849
23850
23851
23852
23853
23854
23855
23856
23857
23858
23859
23860
23861
23862
23863
23864
23865
23866
23867
23868
23869
23870
23871
23872
23873
23874
23875
23876
23877
23878
23879
23880
23881
23882
23883
23884
23885
23886
23887
23888
23889
23890
23891
23892
23893
23894
23895
23896
23897
23898
23899
23900
23901
23902
23903
23904
23905
23906
23907
23908
23909
23910
23911
23912
23913
23914
23915
23916
23917
23918
23919
23920
23921
23922
23923
23924
23925
23926
23927
23928
23929
23930
23931
23932
23933
23934
23935
23936
23937
23938
23939
23940
23941
23942
23943
23944
23945
23946
23947
23948
23949
23950
23951
23952
23953
23954
23955
23956
23957
23958
23959
23960
23961
23962
23963
23964
23965
23966
23967
23968
23969
23970
23971
23972
23973
23974
23975
23976
23977
23978
23979
23980
23981
23982
23983
23984
23985
23986
23987
23988
23989
23990
23991
23992
23993
23994
23995
23996
23997
23998
23999
24000
24001
24002
24003
24004
24005
24006
24007
24008
24009
24010
24011
24012
24013
24014
24015
24016
24017
24018
24019
24020
24021
24022
24023
24024
24025
24026
24027
24028
24029
24030
24031
24032
24033
24034
24035
24036
24037
24038
24039
24040
24041
24042
24043
24044
24045
24046
24047
24048
24049
24050
24051
24052
24053
24054
24055
24056
24057
24058
24059
24060
24061
24062
24063
24064
24065
24066
24067
24068
24069
24070
24071
24072
24073
24074
24075
24076
24077
24078
24079
24080
24081
24082
24083
24084
24085
24086
24087
24088
24089
24090
24091
24092
24093
24094
24095
24096
24097
24098
24099
24100
24101
24102
24103
24104
24105
24106
24107
24108
24109
24110
24111
24112
24113
24114
24115
24116
24117
24118
24119
24120
24121
24122
24123
24124
24125
24126
24127
24128
24129
24130
24131
24132
24133
24134
24135
24136
24137
24138
24139
24140
24141
24142
24143
24144
24145
24146
24147
24148
24149
24150
24151
24152
24153
24154
24155
24156
24157
24158
24159
24160
24161
24162
24163
24164
24165
24166
24167
24168
24169
24170
24171
24172
24173
24174
24175
24176
24177
24178
24179
24180
24181
24182
24183
24184
24185
24186
24187
24188
24189
24190
24191
24192
24193
24194
24195
24196
24197
24198
24199
24200
24201
24202
24203
24204
24205
24206
24207
24208
24209
24210
24211
24212
24213
24214
24215
24216
24217
24218
24219
24220
24221
24222
24223
24224
24225
24226
24227
24228
24229
24230
24231
24232
24233
24234
24235
24236
24237
24238
24239
24240
24241
24242
24243
24244
24245
24246
24247
24248
24249
24250
24251
24252
24253
24254
24255
24256
24257
24258
24259
24260
24261
24262
24263
24264
24265
24266
24267
24268
24269
24270
24271
24272
24273
24274
24275
24276
24277
24278
24279
24280
24281
24282
24283
24284
24285
24286
24287
24288
24289
24290
24291
24292
24293
24294
24295
24296
24297
24298
24299
24300
24301
24302
24303
24304
24305
24306
24307
24308
24309
24310
24311
24312
24313
24314
24315
24316
24317
24318
24319
24320
24321
24322
24323
24324
24325
24326
24327
24328
24329
24330
24331
24332
24333
24334
24335
24336
24337
24338
24339
24340
24341
24342
24343
24344
24345
24346
24347
24348
24349
24350
24351
24352
24353
24354
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364
24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
24383
24384
24385
24386
24387
24388
24389
24390
24391
24392
24393
24394
24395
24396
24397
24398
24399
24400
24401
24402
24403
24404
24405
24406
24407
24408
24409
24410
24411
24412
24413
24414
24415
24416
24417
24418
24419
24420
24421
24422
24423
24424
24425
24426
24427
24428
24429
24430
24431
24432
24433
24434
24435
24436
24437
24438
24439
24440
24441
24442
24443
24444
24445
24446
24447
24448
24449
24450
24451
24452
24453
24454
24455
24456
24457
24458
24459
24460
24461
24462
24463
24464
24465
24466
24467
24468
24469
24470
24471
24472
24473
24474
24475
24476
24477
24478
24479
24480
24481
24482
24483
24484
24485
24486
24487
24488
24489
24490
24491
24492
24493
24494
24495
24496
24497
24498
24499
24500
24501
24502
24503
24504
24505
24506
24507
24508
24509
24510
24511
24512
24513
24514
24515
24516
24517
24518
24519
24520
24521
24522
24523
24524
24525
24526
24527
24528
24529
24530
24531
24532
24533
24534
24535
24536
24537
24538
24539
24540
24541
24542
24543
24544
24545
24546
24547
24548
24549
24550
24551
24552
24553
24554
24555
24556
24557
24558
24559
24560
24561
24562
24563
24564
24565
24566
24567
24568
24569
24570
24571
24572
24573
24574
24575
24576
24577
24578
24579
24580
24581
24582
24583
24584
24585
24586
24587
24588
24589
24590
24591
24592
24593
24594
24595
24596
24597
24598
24599
24600
24601
24602
24603
24604
24605
24606
24607
24608
24609
24610
24611
24612
24613
24614
24615
24616
24617
24618
24619
24620
24621
24622
24623
24624
24625
24626
24627
24628
24629
24630
24631
24632
24633
24634
24635
24636
24637
24638
24639
24640
24641
24642
24643
24644
24645
24646
24647
24648
24649
24650
24651
24652
24653
24654
24655
24656
24657
24658
24659
24660
24661
24662
24663
24664
24665
24666
24667
24668
24669
24670
24671
24672
24673
24674
24675
24676
24677
24678
24679
24680
24681
24682
24683
24684
24685
24686
24687
24688
24689
24690
24691
24692
24693
24694
24695
24696
24697
24698
24699
24700
24701
24702
24703
24704
24705
24706
24707
24708
24709
24710
24711
24712
24713
24714
24715
24716
24717
24718
24719
24720
24721
24722
24723
24724
24725
24726
24727
24728
24729
24730
24731
24732
24733
24734
24735
24736
24737
24738
24739
24740
24741
24742
24743
24744
24745
24746
24747
24748
24749
24750
24751
24752
24753
24754
24755
24756
24757
24758
24759
24760
24761
24762
24763
24764
24765
24766
24767
24768
24769
24770
24771
24772
24773
24774
24775
24776
24777
24778
24779
24780
24781
24782
24783
24784
24785
24786
24787
24788
24789
24790
24791
24792
24793
24794
24795
24796
24797
24798
24799
24800
24801
24802
24803
24804
24805
24806
24807
24808
24809
24810
24811
24812
24813
24814
24815
24816
24817
24818
24819
24820
24821
24822
24823
24824
24825
24826
24827
24828
24829
24830
24831
24832
24833
24834
24835
24836
24837
24838
24839
24840
24841
24842
24843
24844
24845
24846
24847
24848
24849
24850
24851
24852
24853
24854
24855
24856
24857
24858
24859
24860
24861
24862
24863
24864
24865
24866
24867
24868
24869
24870
24871
24872
24873
24874
24875
24876
24877
24878
24879
24880
24881
24882
24883
24884
24885
24886
24887
24888
24889
24890
24891
24892
24893
24894
24895
24896
24897
24898
24899
24900
24901
24902
24903
24904
24905
24906
24907
24908
24909
24910
24911
24912
24913
24914
24915
24916
24917
24918
24919
24920
24921
24922
24923
24924
24925
24926
24927
24928
24929
24930
24931
24932
24933
24934
24935
24936
24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
24960
24961
24962
24963
24964
24965
24966
24967
24968
24969
24970
24971
24972
24973
24974
24975
24976
24977
24978
24979
24980
24981
24982
24983
24984
24985
24986
24987
24988
24989
24990
24991
24992
24993
24994
24995
24996
24997
24998
24999
25000
25001
25002
25003
25004
25005
25006
25007
25008
25009
25010
25011
25012
25013
25014
25015
25016
25017
25018
25019
25020
25021
25022
25023
25024
25025
25026
25027
25028
25029
25030
25031
25032
25033
25034
25035
25036
25037
25038
25039
25040
25041
25042
25043
25044
25045
25046
25047
25048
25049
25050
25051
25052
25053
25054
25055
25056
25057
25058
25059
25060
25061
25062
25063
25064
25065
25066
25067
25068
25069
25070
25071
25072
25073
25074
25075
25076
25077
25078
25079
25080
25081
25082
25083
25084
25085
25086
25087
25088
25089
25090
25091
25092
25093
25094
25095
25096
25097
25098
25099
25100
25101
25102
25103
25104
25105
25106
25107
25108
25109
25110
25111
25112
25113
25114
25115
25116
25117
25118
25119
25120
25121
25122
25123
25124
25125
25126
25127
25128
25129
25130
25131
25132
25133
25134
25135
25136
25137
25138
25139
25140
25141
25142
25143
25144
25145
25146
25147
25148
25149
25150
25151
25152
25153
25154
25155
25156
25157
25158
25159
25160
25161
25162
25163
25164
25165
25166
25167
25168
25169
25170
25171
25172
25173
25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
25226
25227
25228
25229
25230
25231
25232
25233
25234
25235
25236
25237
25238
25239
25240
25241
25242
25243
25244
25245
25246
25247
25248
25249
25250
25251
25252
25253
25254
25255
25256
25257
25258
25259
25260
25261
25262
25263
25264
25265
25266
25267
25268
25269
25270
25271
25272
25273
25274
25275
25276
25277
25278
25279
25280
25281
25282
25283
25284
25285
25286
25287
25288
25289
25290
25291
25292
25293
25294
25295
25296
25297
25298
25299
25300
25301
25302
25303
25304
25305
25306
25307
25308
25309
25310
25311
25312
25313
25314
25315
25316
25317
25318
25319
25320
25321
25322
25323
25324
25325
25326
25327
25328
25329
25330
25331
25332
25333
25334
25335
25336
25337
25338
25339
25340
25341
25342
25343
25344
25345
25346
25347
25348
25349
25350
25351
25352
25353
25354
25355
25356
25357
25358
25359
25360
25361
25362
25363
25364
25365
25366
25367
25368
25369
25370
25371
25372
25373
25374
25375
25376
25377
25378
25379
25380
25381
25382
25383
25384
25385
25386
25387
25388
25389
25390
25391
25392
25393
25394
25395
25396
25397
25398
25399
25400
25401
25402
25403
25404
25405
25406
25407
25408
25409
25410
25411
25412
25413
25414
25415
25416
25417
25418
25419
25420
25421
25422
25423
25424
25425
25426
25427
25428
25429
25430
25431
25432
25433
25434
25435
25436
25437
25438
25439
25440
25441
25442
25443
25444
25445
25446
25447
25448
25449
25450
25451
25452
25453
25454
25455
25456
25457
25458
25459
25460
25461
25462
25463
25464
25465
25466
25467
25468
25469
25470
25471
25472
25473
25474
25475
25476
25477
25478
25479
25480
25481
25482
25483
25484
25485
25486
25487
25488
25489
25490
25491
25492
25493
25494
25495
25496
25497
25498
25499
25500
25501
25502
25503
25504
25505
25506
25507
25508
25509
25510
25511
25512
25513
25514
25515
25516
25517
25518
25519
25520
25521
25522
25523
25524
25525
25526
25527
25528
25529
25530
25531
25532
25533
25534
25535
25536
25537
25538
25539
25540
25541
25542
25543
25544
25545
25546
25547
25548
25549
25550
25551
25552
25553
25554
25555
25556
25557
25558
25559
25560
25561
25562
25563
25564
25565
25566
25567
25568
25569
25570
25571
25572
25573
25574
25575
25576
25577
25578
25579
25580
25581
25582
25583
25584
25585
25586
25587
25588
25589
25590
25591
25592
25593
25594
25595
25596
25597
25598
25599
25600
25601
25602
25603
25604
25605
25606
25607
25608
25609
25610
25611
25612
25613
25614
25615
25616
25617
25618
25619
25620
25621
25622
25623
25624
25625
25626
25627
25628
25629
25630
25631
25632
25633
25634
25635
25636
25637
25638
25639
25640
25641
25642
25643
25644
25645
25646
25647
25648
25649
25650
25651
25652
25653
25654
25655
25656
25657
25658
25659
25660
25661
25662
25663
25664
25665
25666
25667
25668
25669
25670
25671
25672
25673
25674
25675
25676
25677
25678
25679
25680
25681
25682
25683
25684
25685
25686
25687
25688
25689
25690
25691
25692
25693
25694
25695
25696
25697
25698
25699
25700
25701
25702
25703
25704
25705
25706
25707
25708
25709
25710
25711
25712
25713
25714
25715
25716
25717
25718
25719
25720
25721
25722
25723
25724
25725
25726
25727
25728
25729
25730
25731
25732
25733
25734
25735
25736
25737
25738
25739
25740
25741
25742
25743
25744
25745
25746
25747
25748
25749
25750
25751
25752
25753
25754
25755
25756
25757
25758
25759
25760
25761
25762
25763
25764
25765
25766
25767
25768
25769
25770
25771
25772
25773
25774
25775
25776
25777
25778
25779
25780
25781
25782
25783
25784
25785
25786
25787
25788
25789
25790
25791
25792
25793
25794
25795
25796
25797
25798
25799
25800
25801
25802
25803
25804
25805
25806
25807
25808
25809
25810
25811
25812
25813
25814
25815
25816
25817
25818
25819
25820
25821
25822
25823
25824
25825
25826
25827
25828
25829
25830
25831
25832
25833
25834
25835
25836
25837
25838
25839
25840
25841
25842
25843
25844
25845
25846
25847
25848
25849
25850
25851
25852
25853
25854
25855
25856
25857
25858
25859
25860
25861
25862
25863
25864
25865
25866
25867
25868
25869
25870
25871
25872
25873
25874
25875
25876
25877
25878
25879
25880
25881
25882
25883
25884
25885
25886
25887
25888
25889
25890
25891
25892
25893
25894
25895
25896
25897
25898
25899
25900
25901
25902
25903
25904
25905
25906
25907
25908
25909
25910
25911
25912
25913
25914
25915
25916
25917
25918
25919
25920
25921
25922
25923
25924
25925
25926
25927
25928
25929
25930
25931
25932
25933
25934
25935
25936
25937
25938
25939
25940
25941
25942
25943
25944
25945
25946
25947
25948
25949
25950
25951
25952
25953
25954
25955
25956
25957
25958
25959
25960
25961
25962
25963
25964
25965
25966
25967
25968
25969
25970
25971
25972
25973
25974
25975
25976
25977
25978
25979
25980
25981
25982
25983
25984
25985
25986
25987
25988
25989
25990
25991
25992
25993
25994
25995
25996
25997
25998
25999
26000
26001
26002
26003
26004
26005
26006
26007
26008
26009
26010
26011
26012
26013
26014
26015
26016
26017
26018
26019
26020
26021
26022
26023
26024
26025
26026
26027
26028
26029
26030
26031
26032
26033
26034
26035
26036
26037
26038
26039
26040
26041
26042
26043
26044
26045
26046
26047
26048
26049
26050
26051
26052
26053
26054
26055
26056
26057
26058
26059
26060
26061
26062
26063
26064
26065
26066
26067
26068
26069
26070
26071
26072
26073
26074
26075
26076
26077
26078
26079
26080
26081
26082
26083
26084
26085
26086
26087
26088
26089
26090
26091
26092
26093
26094
26095
26096
26097
26098
26099
26100
26101
26102
26103
26104
26105
26106
26107
26108
26109
26110
26111
26112
26113
26114
26115
26116
26117
26118
26119
26120
26121
26122
26123
26124
26125
26126
26127
26128
26129
26130
26131
26132
26133
26134
26135
26136
26137
26138
26139
26140
26141
26142
26143
26144
26145
26146
26147
26148
26149
26150
26151
26152
26153
26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
26185
26186
26187
26188
26189
26190
26191
26192
26193
26194
26195
26196
26197
26198
26199
26200
26201
26202
26203
26204
26205
26206
26207
26208
26209
26210
26211
26212
26213
26214
26215
26216
26217
26218
26219
26220
26221
26222
26223
26224
26225
26226
26227
26228
26229
26230
26231
26232
26233
26234
26235
26236
26237
26238
26239
26240
26241
26242
26243
26244
26245
26246
26247
26248
26249
26250
26251
26252
26253
26254
26255
26256
26257
26258
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
26274
26275
26276
26277
26278
26279
26280
26281
26282
26283
26284
26285
26286
26287
26288
26289
26290
26291
26292
26293
26294
26295
26296
26297
26298
26299
26300
26301
26302
26303
26304
26305
26306
26307
26308
26309
26310
26311
26312
26313
26314
26315
26316
26317
26318
26319
26320
26321
26322
26323
26324
26325
26326
26327
26328
26329
26330
26331
26332
26333
26334
26335
26336
26337
26338
26339
26340
26341
26342
26343
26344
26345
26346
26347
26348
26349
26350
26351
26352
26353
26354
26355
26356
26357
26358
26359
26360
26361
26362
26363
26364
26365
26366
26367
26368
26369
26370
26371
26372
26373
26374
26375
26376
26377
26378
26379
26380
26381
26382
26383
26384
26385
26386
26387
26388
26389
26390
26391
26392
26393
26394
26395
26396
26397
26398
26399
26400
26401
26402
26403
26404
26405
26406
26407
26408
26409
26410
26411
26412
26413
26414
26415
26416
26417
26418
26419
26420
26421
26422
26423
26424
26425
26426
26427
26428
26429
26430
26431
26432
26433
26434
26435
26436
26437
26438
26439
26440
26441
26442
26443
26444
26445
26446
26447
26448
26449
26450
26451
26452
26453
26454
26455
26456
26457
26458
26459
26460
26461
26462
26463
26464
26465
26466
26467
26468
26469
26470
26471
26472
26473
26474
26475
26476
26477
26478
26479
26480
26481
26482
26483
26484
26485
26486
26487
26488
26489
26490
26491
26492
26493
26494
26495
26496
26497
26498
26499
26500
26501
26502
26503
26504
26505
26506
26507
26508
26509
26510
26511
26512
26513
26514
26515
26516
26517
26518
26519
26520
26521
26522
26523
26524
26525
26526
26527
26528
26529
26530
26531
26532
26533
26534
26535
26536
26537
26538
26539
26540
26541
26542
26543
26544
26545
26546
26547
26548
26549
26550
26551
26552
26553
26554
26555
26556
26557
26558
26559
26560
26561
26562
26563
26564
26565
26566
26567
26568
26569
26570
26571
26572
26573
26574
26575
26576
26577
26578
26579
26580
26581
26582
26583
26584
26585
26586
26587
26588
26589
26590
26591
26592
26593
26594
26595
26596
26597
26598
26599
26600
26601
26602
26603
26604
26605
26606
26607
26608
26609
26610
26611
26612
26613
26614
26615
26616
26617
26618
26619
26620
26621
26622
26623
26624
26625
26626
26627
26628
26629
26630
26631
26632
26633
26634
26635
26636
26637
26638
26639
26640
26641
26642
26643
26644
26645
26646
26647
26648
26649
26650
26651
26652
26653
26654
26655
26656
26657
26658
26659
26660
26661
26662
26663
26664
26665
26666
26667
26668
26669
26670
26671
26672
26673
26674
26675
26676
26677
26678
26679
26680
26681
26682
26683
26684
26685
26686
26687
26688
26689
26690
26691
26692
26693
26694
26695
26696
26697
26698
26699
26700
26701
26702
26703
26704
26705
26706
26707
26708
26709
26710
26711
26712
26713
26714
26715
26716
26717
26718
26719
26720
26721
26722
26723
26724
26725
26726
26727
26728
26729
26730
26731
26732
26733
26734
26735
26736
26737
26738
26739
26740
26741
26742
26743
26744
26745
26746
26747
26748
26749
26750
26751
26752
26753
26754
26755
26756
26757
26758
26759
26760
26761
26762
26763
26764
26765
26766
26767
26768
26769
26770
26771
26772
26773
26774
26775
26776
26777
26778
26779
26780
26781
26782
26783
26784
26785
26786
26787
26788
26789
26790
26791
26792
26793
26794
26795
26796
26797
26798
26799
26800
26801
26802
26803
26804
26805
26806
26807
26808
26809
26810
26811
26812
26813
26814
26815
26816
26817
26818
26819
26820
26821
26822
26823
26824
26825
26826
26827
26828
26829
26830
26831
26832
26833
26834
26835
26836
26837
26838
26839
26840
26841
26842
26843
26844
26845
26846
26847
26848
26849
26850
26851
26852
26853
26854
26855
26856
26857
26858
26859
26860
26861
26862
26863
26864
26865
26866
26867
26868
26869
26870
26871
26872
26873
26874
26875
26876
26877
26878
26879
26880
26881
26882
26883
26884
26885
26886
26887
26888
26889
26890
26891
26892
26893
26894
26895
26896
26897
26898
26899
26900
26901
26902
26903
26904
26905
26906
26907
26908
26909
26910
26911
26912
26913
26914
26915
26916
26917
26918
26919
26920
26921
26922
26923
26924
26925
26926
26927
26928
26929
26930
26931
26932
26933
26934
26935
26936
26937
26938
26939
26940
26941
26942
26943
26944
26945
26946
26947
26948
26949
26950
26951
26952
26953
26954
26955
26956
26957
26958
26959
26960
26961
26962
26963
26964
26965
26966
26967
26968
26969
26970
26971
26972
26973
26974
26975
26976
26977
26978
26979
26980
26981
26982
26983
26984
26985
26986
26987
26988
26989
26990
26991
26992
26993
26994
26995
26996
26997
26998
26999
27000
27001
27002
27003
27004
27005
27006
27007
27008
27009
27010
27011
27012
27013
27014
27015
27016
27017
27018
27019
27020
27021
27022
27023
27024
27025
27026
27027
27028
27029
27030
27031
27032
27033
27034
27035
27036
27037
27038
27039
27040
27041
27042
27043
27044
27045
27046
27047
27048
27049
27050
27051
27052
27053
27054
27055
27056
27057
27058
27059
27060
27061
27062
27063
27064
27065
27066
27067
27068
27069
27070
27071
27072
27073
27074
27075
27076
27077
27078
27079
27080
27081
27082
27083
27084
27085
27086
27087
27088
27089
27090
27091
27092
27093
27094
27095
27096
27097
27098
27099
27100
27101
27102
27103
27104
27105
27106
27107
27108
27109
27110
27111
27112
27113
27114
27115
27116
27117
27118
27119
27120
27121
27122
27123
27124
27125
27126
27127
27128
27129
27130
27131
27132
27133
27134
27135
27136
27137
27138
27139
27140
27141
27142
27143
27144
27145
27146
27147
27148
27149
27150
27151
27152
27153
27154
27155
27156
27157
27158
27159
27160
27161
27162
27163
27164
27165
27166
27167
27168
27169
27170
27171
27172
27173
27174
27175
27176
27177
27178
27179
27180
27181
27182
27183
27184
27185
27186
27187
27188
27189
27190
27191
27192
27193
27194
27195
27196
27197
27198
27199
27200
27201
27202
27203
27204
27205
27206
27207
27208
27209
27210
27211
27212
27213
27214
27215
27216
27217
27218
27219
27220
27221
27222
27223
27224
27225
27226
27227
27228
27229
27230
27231
27232
27233
27234
27235
27236
27237
27238
27239
27240
27241
27242
27243
27244
27245
27246
27247
27248
27249
27250
27251
27252
27253
27254
27255
27256
27257
27258
27259
27260
27261
27262
27263
27264
27265
27266
27267
27268
27269
27270
27271
27272
27273
27274
27275
27276
27277
27278
27279
27280
27281
27282
27283
27284
27285
27286
27287
27288
27289
27290
27291
27292
27293
27294
27295
27296
27297
27298
27299
27300
27301
27302
27303
27304
27305
27306
27307
27308
27309
27310
27311
27312
27313
27314
27315
27316
27317
27318
27319
27320
27321
27322
27323
27324
27325
27326
27327
27328
27329
27330
27331
27332
27333
27334
27335
27336
27337
27338
27339
27340
27341
27342
27343
27344
27345
27346
27347
27348
27349
27350
27351
27352
27353
27354
27355
27356
27357
27358
27359
27360
27361
27362
27363
27364
27365
27366
27367
27368
27369
27370
27371
27372
27373
27374
27375
27376
27377
27378
27379
27380
27381
27382
27383
27384
27385
27386
27387
27388
27389
27390
27391
27392
27393
27394
27395
27396
27397
27398
27399
27400
27401
27402
27403
27404
27405
27406
27407
27408
27409
27410
27411
27412
27413
27414
27415
27416
27417
27418
27419
27420
27421
27422
27423
27424
27425
27426
27427
27428
27429
27430
27431
27432
27433
27434
27435
27436
27437
27438
27439
27440
27441
27442
27443
27444
27445
27446
27447
27448
27449
27450
27451
27452
27453
27454
27455
27456
27457
27458
27459
27460
27461
27462
27463
27464
27465
27466
27467
27468
27469
27470
27471
27472
27473
27474
27475
27476
27477
27478
27479
27480
27481
27482
27483
27484
27485
27486
27487
27488
27489
27490
27491
27492
27493
27494
27495
27496
27497
27498
27499
27500
27501
27502
27503
27504
27505
27506
27507
27508
27509
27510
27511
27512
27513
27514
27515
27516
27517
27518
27519
27520
27521
27522
27523
27524
27525
27526
27527
27528
27529
27530
27531
27532
27533
27534
27535
27536
27537
27538
27539
27540
27541
27542
27543
27544
27545
27546
27547
27548
27549
27550
27551
27552
27553
27554
27555
27556
27557
27558
27559
27560
27561
27562
27563
27564
27565
27566
27567
27568
27569
27570
27571
27572
27573
27574
27575
27576
27577
27578
27579
27580
27581
27582
27583
27584
27585
27586
27587
27588
27589
27590
27591
27592
27593
27594
27595
27596
27597
27598
27599
27600
27601
27602
27603
27604
27605
27606
27607
27608
27609
27610
27611
27612
27613
27614
27615
27616
27617
27618
27619
27620
27621
27622
27623
27624
27625
27626
27627
27628
27629
27630
27631
27632
27633
27634
27635
27636
27637
27638
27639
27640
27641
27642
27643
27644
27645
27646
27647
27648
27649
27650
27651
27652
27653
27654
27655
27656
27657
27658
27659
27660
27661
27662
27663
27664
27665
27666
27667
27668
27669
27670
27671
27672
27673
27674
27675
27676
27677
27678
27679
27680
27681
27682
27683
27684
27685
27686
27687
27688
27689
27690
27691
27692
27693
27694
27695
27696
27697
27698
27699
27700
27701
27702
27703
27704
27705
27706
27707
27708
27709
27710
27711
27712
27713
27714
27715
27716
27717
27718
27719
27720
27721
27722
27723
27724
27725
27726
27727
27728
27729
27730
27731
27732
27733
27734
27735
27736
27737
27738
27739
27740
27741
27742
27743
27744
27745
27746
27747
27748
27749
27750
27751
27752
27753
27754
27755
27756
27757
27758
27759
27760
27761
27762
27763
27764
27765
27766
27767
27768
27769
27770
27771
27772
27773
27774
27775
27776
27777
27778
27779
27780
27781
27782
27783
27784
27785
27786
27787
27788
27789
27790
27791
27792
27793
27794
27795
27796
27797
27798
27799
27800
27801
27802
27803
27804
27805
27806
27807
27808
27809
27810
27811
27812
27813
27814
27815
27816
27817
27818
27819
27820
27821
27822
27823
27824
27825
27826
27827
27828
27829
27830
27831
27832
27833
27834
27835
27836
27837
27838
27839
27840
27841
27842
27843
27844
27845
27846
27847
27848
27849
27850
27851
27852
27853
27854
27855
27856
27857
27858
27859
27860
27861
27862
27863
27864
27865
27866
27867
27868
27869
27870
27871
27872
27873
27874
27875
27876
27877
27878
27879
27880
27881
27882
27883
27884
27885
27886
27887
27888
27889
27890
27891
27892
27893
27894
27895
27896
27897
27898
27899
27900
27901
27902
27903
27904
27905
27906
27907
27908
27909
27910
27911
27912
27913
27914
27915
27916
27917
27918
27919
27920
27921
27922
27923
27924
27925
27926
27927
27928
27929
27930
27931
27932
27933
27934
27935
27936
27937
27938
27939
27940
27941
27942
27943
27944
27945
27946
27947
27948
27949
27950
27951
27952
27953
27954
27955
27956
27957
27958
27959
27960
27961
27962
27963
27964
27965
27966
27967
27968
27969
27970
27971
27972
27973
27974
27975
27976
27977
27978
27979
27980
27981
27982
27983
27984
27985
27986
27987
27988
27989
27990
27991
27992
27993
27994
27995
27996
27997
27998
27999
28000
28001
28002
28003
28004
28005
28006
28007
28008
28009
28010
28011
28012
28013
28014
28015
28016
28017
28018
28019
28020
28021
28022
28023
28024
28025
28026
28027
28028
28029
28030
28031
28032
28033
28034
28035
28036
28037
28038
28039
28040
28041
28042
28043
28044
28045
28046
28047
28048
28049
28050
28051
28052
28053
28054
28055
28056
28057
28058
28059
28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
28083
28084
28085
28086
28087
28088
28089
28090
28091
28092
28093
28094
28095
28096
28097
28098
28099
28100
28101
28102
28103
28104
28105
28106
28107
28108
28109
28110
28111
28112
28113
28114
28115
28116
28117
28118
28119
28120
28121
28122
28123
28124
28125
28126
28127
28128
28129
28130
28131
28132
28133
28134
28135
28136
28137
28138
28139
28140
28141
28142
28143
28144
28145
28146
28147
28148
28149
28150
28151
28152
28153
28154
28155
28156
28157
28158
28159
28160
28161
28162
28163
28164
28165
28166
28167
28168
28169
28170
28171
28172
28173
28174
28175
28176
28177
28178
28179
28180
28181
28182
28183
28184
28185
28186
28187
28188
28189
28190
28191
28192
28193
28194
28195
28196
28197
28198
28199
28200
28201
28202
28203
28204
28205
28206
28207
28208
28209
28210
28211
28212
28213
28214
28215
28216
28217
28218
28219
28220
28221
28222
28223
28224
28225
28226
28227
28228
28229
28230
28231
28232
28233
28234
28235
28236
28237
28238
28239
28240
28241
28242
28243
28244
28245
28246
28247
28248
28249
28250
28251
28252
28253
28254
28255
28256
28257
28258
28259
28260
28261
28262
28263
28264
28265
28266
28267
28268
28269
28270
28271
28272
28273
28274
28275
28276
28277
28278
28279
28280
28281
28282
28283
28284
28285
28286
28287
28288
28289
28290
28291
28292
28293
28294
28295
28296
28297
28298
28299
28300
28301
28302
28303
28304
28305
28306
28307
28308
28309
28310
28311
28312
28313
28314
28315
28316
28317
28318
28319
28320
28321
28322
28323
28324
28325
28326
28327
28328
28329
28330
28331
28332
28333
28334
28335
28336
28337
28338
28339
28340
28341
28342
28343
28344
28345
28346
28347
28348
28349
28350
28351
28352
28353
28354
28355
28356
28357
28358
28359
28360
28361
28362
28363
28364
28365
28366
28367
28368
28369
28370
28371
28372
28373
28374
28375
28376
28377
28378
28379
28380
28381
28382
28383
28384
28385
28386
28387
28388
28389
28390
28391
28392
28393
28394
28395
28396
28397
28398
28399
28400
28401
28402
28403
28404
28405
28406
28407
28408
28409
28410
28411
28412
28413
28414
28415
28416
28417
28418
28419
28420
28421
28422
28423
28424
28425
28426
28427
28428
28429
28430
28431
28432
28433
28434
28435
28436
28437
28438
28439
28440
28441
28442
28443
28444
28445
28446
28447
28448
28449
28450
28451
28452
28453
28454
28455
28456
28457
28458
28459
28460
28461
28462
28463
28464
28465
28466
28467
28468
28469
28470
28471
28472
28473
28474
28475
28476
28477
28478
28479
28480
28481
28482
28483
28484
28485
28486
28487
28488
28489
28490
28491
28492
28493
28494
28495
28496
28497
28498
28499
28500
28501
28502
28503
28504
28505
28506
28507
28508
28509
28510
28511
28512
28513
28514
28515
28516
28517
28518
28519
28520
28521
28522
28523
28524
28525
28526
28527
28528
28529
28530
28531
28532
28533
28534
28535
28536
28537
28538
28539
28540
28541
28542
28543
28544
28545
28546
28547
28548
28549
28550
28551
28552
28553
28554
28555
28556
28557
28558
28559
28560
28561
28562
28563
28564
28565
28566
28567
28568
28569
28570
28571
28572
28573
28574
28575
28576
28577
28578
28579
28580
28581
28582
28583
28584
28585
28586
28587
28588
28589
28590
28591
28592
28593
28594
28595
28596
28597
28598
28599
28600
28601
28602
28603
28604
28605
28606
28607
28608
28609
28610
28611
28612
28613
28614
28615
28616
28617
28618
28619
28620
28621
28622
28623
28624
28625
28626
28627
28628
28629
28630
28631
28632
28633
28634
28635
28636
28637
28638
28639
28640
28641
28642
28643
28644
28645
28646
28647
28648
28649
28650
28651
28652
28653
28654
28655
28656
28657
28658
28659
28660
28661
28662
28663
28664
28665
28666
28667
28668
28669
28670
28671
28672
28673
28674
28675
28676
28677
28678
28679
28680
28681
28682
28683
28684
28685
28686
28687
28688
28689
28690
28691
28692
28693
28694
28695
28696
28697
28698
28699
28700
28701
28702
28703
28704
28705
28706
28707
28708
28709
28710
28711
28712
28713
28714
28715
28716
28717
28718
28719
28720
28721
28722
28723
28724
28725
28726
28727
28728
28729
28730
28731
28732
28733
28734
28735
28736
28737
28738
28739
28740
28741
28742
28743
28744
28745
28746
28747
28748
28749
28750
28751
28752
28753
28754
28755
28756
28757
28758
28759
28760
28761
28762
28763
28764
28765
28766
28767
28768
28769
28770
28771
28772
28773
28774
28775
28776
28777
28778
28779
28780
28781
28782
28783
28784
28785
28786
28787
28788
28789
28790
28791
28792
28793
28794
28795
28796
28797
28798
28799
28800
28801
28802
28803
28804
28805
28806
28807
28808
28809
28810
28811
28812
28813
28814
28815
28816
28817
28818
28819
28820
28821
28822
28823
28824
28825
28826
28827
28828
28829
28830
28831
28832
28833
28834
28835
28836
28837
28838
28839
28840
28841
28842
28843
28844
28845
28846
28847
28848
28849
28850
28851
28852
28853
28854
28855
28856
28857
28858
28859
28860
28861
28862
28863
28864
28865
28866
28867
28868
28869
28870
28871
28872
28873
28874
28875
28876
28877
28878
28879
28880
28881
28882
28883
28884
28885
28886
28887
28888
28889
28890
28891
28892
28893
28894
28895
28896
28897
28898
28899
28900
28901
28902
28903
28904
28905
28906
28907
28908
28909
28910
28911
28912
28913
28914
28915
28916
28917
28918
28919
28920
28921
28922
28923
28924
28925
28926
28927
28928
28929
28930
28931
28932
28933
28934
28935
28936
28937
28938
28939
28940
28941
28942
28943
28944
28945
28946
28947
28948
28949
28950
28951
28952
28953
28954
28955
28956
28957
28958
28959
28960
28961
28962
28963
28964
28965
28966
28967
28968
28969
28970
28971
28972
28973
28974
28975
28976
28977
28978
28979
28980
28981
28982
28983
28984
28985
28986
28987
28988
28989
28990
28991
28992
28993
28994
28995
28996
28997
28998
28999
29000
29001
29002
29003
29004
29005
29006
29007
29008
29009
29010
29011
29012
29013
29014
29015
29016
29017
29018
29019
29020
29021
29022
29023
29024
29025
29026
29027
29028
29029
29030
29031
29032
29033
29034
29035
29036
29037
29038
29039
29040
29041
29042
29043
29044
29045
29046
29047
29048
29049
29050
29051
29052
29053
29054
29055
29056
29057
29058
29059
29060
29061
29062
29063
29064
29065
29066
29067
29068
29069
29070
29071
29072
29073
29074
29075
29076
29077
29078
29079
29080
29081
29082
29083
29084
29085
29086
29087
29088
29089
29090
29091
29092
29093
29094
29095
29096
29097
29098
29099
29100
29101
29102
29103
29104
29105
29106
29107
29108
29109
29110
29111
29112
29113
29114
29115
29116
29117
29118
29119
29120
29121
29122
29123
29124
29125
29126
29127
29128
29129
29130
29131
29132
29133
29134
29135
29136
29137
29138
29139
29140
29141
29142
29143
29144
29145
29146
29147
29148
29149
29150
29151
29152
29153
29154
29155
29156
29157
29158
29159
29160
29161
29162
29163
29164
29165
29166
29167
29168
29169
29170
29171
29172
29173
29174
29175
29176
29177
29178
29179
29180
29181
29182
29183
29184
29185
29186
29187
29188
29189
29190
29191
29192
29193
29194
29195
29196
29197
29198
29199
29200
29201
29202
29203
29204
29205
29206
29207
29208
29209
29210
29211
29212
29213
29214
29215
29216
29217
29218
29219
29220
29221
29222
29223
29224
29225
29226
29227
29228
29229
29230
29231
29232
29233
29234
29235
29236
29237
29238
29239
29240
29241
29242
29243
29244
29245
29246
29247
29248
29249
29250
29251
29252
29253
29254
29255
29256
29257
29258
29259
29260
29261
29262
29263
29264
29265
29266
29267
29268
29269
29270
29271
29272
29273
29274
29275
29276
29277
29278
29279
29280
29281
29282
29283
29284
29285
29286
29287
29288
29289
29290
29291
29292
29293
29294
29295
29296
29297
29298
29299
29300
29301
29302
29303
29304
29305
29306
29307
29308
29309
29310
29311
29312
29313
29314
29315
29316
29317
29318
29319
29320
29321
29322
29323
29324
29325
29326
29327
29328
29329
29330
29331
29332
29333
29334
29335
29336
29337
29338
29339
29340
29341
29342
29343
29344
29345
29346
29347
29348
29349
29350
29351
29352
29353
29354
29355
29356
29357
29358
29359
29360
29361
29362
29363
29364
29365
29366
29367
29368
29369
29370
29371
29372
29373
29374
29375
29376
29377
29378
29379
29380
29381
29382
29383
29384
29385
29386
29387
29388
29389
29390
29391
29392
29393
29394
29395
29396
29397
29398
29399
29400
29401
29402
29403
29404
29405
29406
29407
29408
29409
29410
29411
29412
29413
29414
29415
29416
29417
29418
29419
29420
29421
29422
29423
29424
29425
29426
29427
29428
29429
29430
29431
29432
29433
29434
29435
29436
29437
29438
29439
29440
29441
29442
29443
29444
29445
29446
29447
29448
29449
29450
29451
29452
29453
29454
29455
29456
29457
29458
29459
29460
29461
29462
29463
29464
29465
29466
29467
29468
29469
29470
29471
29472
29473
29474
29475
29476
29477
29478
29479
29480
29481
29482
29483
29484
29485
29486
29487
29488
29489
29490
29491
29492
29493
29494
29495
29496
29497
29498
29499
29500
29501
29502
29503
29504
29505
29506
29507
29508
29509
29510
29511
29512
29513
29514
29515
29516
29517
29518
29519
29520
29521
29522
29523
29524
29525
29526
29527
29528
29529
29530
29531
29532
29533
29534
29535
29536
29537
29538
29539
29540
29541
29542
29543
29544
29545
29546
29547
29548
29549
29550
29551
29552
29553
29554
29555
29556
29557
29558
29559
29560
29561
29562
29563
29564
29565
29566
29567
29568
29569
29570
29571
29572
29573
29574
29575
29576
29577
29578
29579
29580
29581
29582
29583
29584
29585
29586
29587
29588
29589
29590
29591
29592
29593
29594
29595
29596
29597
29598
29599
29600
29601
29602
29603
29604
29605
29606
29607
29608
29609
29610
29611
29612
29613
29614
29615
29616
29617
29618
29619
29620
29621
29622
29623
29624
29625
29626
29627
29628
29629
29630
29631
29632
29633
29634
29635
29636
29637
29638
29639
29640
29641
29642
29643
29644
29645
29646
29647
29648
29649
29650
29651
29652
29653
29654
29655
29656
29657
29658
29659
29660
29661
29662
29663
29664
29665
29666
29667
29668
29669
29670
29671
29672
29673
29674
29675
29676
29677
29678
29679
29680
29681
29682
29683
29684
29685
29686
29687
29688
29689
29690
29691
29692
29693
29694
29695
29696
29697
29698
29699
29700
29701
29702
29703
29704
29705
29706
29707
29708
29709
29710
29711
29712
29713
29714
29715
29716
29717
29718
29719
29720
29721
29722
29723
29724
29725
29726
29727
29728
29729
29730
29731
29732
29733
29734
29735
29736
29737
29738
29739
29740
29741
29742
29743
29744
29745
29746
29747
29748
29749
29750
29751
29752
29753
29754
29755
29756
29757
29758
29759
29760
29761
29762
29763
29764
29765
29766
29767
29768
29769
29770
29771
29772
29773
29774
29775
29776
29777
29778
29779
29780
29781
29782
29783
29784
29785
29786
29787
29788
29789
29790
29791
29792
29793
29794
29795
29796
29797
29798
29799
29800
29801
29802
29803
29804
29805
29806
29807
29808
29809
29810
29811
29812
29813
29814
29815
29816
29817
29818
29819
29820
29821
29822
29823
29824
29825
29826
29827
29828
29829
29830
29831
29832
29833
29834
29835
29836
29837
29838
29839
29840
29841
29842
29843
29844
29845
29846
29847
29848
29849
29850
29851
29852
29853
29854
29855
29856
29857
29858
29859
29860
29861
29862
29863
29864
29865
29866
29867
29868
29869
29870
29871
29872
29873
29874
29875
29876
29877
29878
29879
29880
29881
29882
29883
29884
29885
29886
29887
29888
29889
29890
29891
29892
29893
29894
29895
29896
29897
29898
29899
29900
29901
29902
29903
29904
29905
29906
29907
29908
29909
29910
29911
29912
29913
29914
29915
29916
29917
29918
29919
29920
29921
29922
29923
29924
29925
29926
29927
29928
29929
29930
29931
29932
29933
29934
29935
29936
29937
29938
29939
29940
29941
29942
29943
29944
29945
29946
29947
29948
29949
29950
29951
29952
29953
29954
29955
29956
29957
29958
29959
29960
29961
29962
29963
29964
29965
29966
29967
29968
29969
29970
29971
29972
29973
29974
29975
29976
29977
29978
29979
29980
29981
29982
29983
29984
29985
29986
29987
29988
29989
29990
29991
29992
29993
29994
29995
29996
29997
29998
29999
30000
30001
30002
30003
30004
30005
30006
30007
30008
30009
30010
30011
30012
30013
30014
30015
30016
30017
30018
30019
30020
30021
30022
30023
30024
30025
30026
30027
30028
30029
30030
30031
30032
30033
30034
30035
30036
30037
30038
30039
30040
30041
30042
30043
30044
30045
30046
30047
30048
30049
30050
30051
30052
30053
30054
30055
30056
30057
30058
30059
30060
30061
30062
30063
30064
30065
30066
30067
30068
30069
30070
30071
30072
30073
30074
30075
30076
30077
30078
30079
30080
30081
30082
30083
30084
30085
30086
30087
30088
30089
30090
30091
30092
30093
30094
30095
30096
30097
30098
30099
30100
30101
30102
30103
30104
30105
30106
30107
30108
30109
30110
30111
30112
30113
30114
30115
30116
30117
30118
30119
30120
30121
30122
30123
30124
30125
30126
30127
30128
30129
30130
30131
30132
30133
30134
30135
30136
30137
30138
30139
30140
30141
30142
30143
30144
30145
30146
30147
30148
30149
30150
30151
30152
30153
30154
30155
30156
30157
30158
30159
30160
30161
30162
30163
30164
30165
30166
30167
30168
30169
30170
30171
30172
30173
30174
30175
30176
30177
30178
30179
30180
30181
30182
30183
30184
30185
30186
30187
30188
30189
30190
30191
30192
30193
30194
30195
30196
30197
30198
30199
30200
30201
30202
30203
30204
30205
30206
30207
30208
30209
30210
30211
30212
30213
30214
30215
30216
30217
30218
30219
30220
30221
30222
30223
30224
30225
30226
30227
30228
30229
30230
30231
30232
30233
30234
30235
30236
30237
30238
30239
30240
30241
30242
30243
30244
30245
30246
30247
30248
30249
30250
30251
30252
30253
30254
30255
30256
30257
30258
30259
30260
30261
30262
30263
30264
30265
30266
30267
30268
30269
30270
30271
30272
30273
30274
30275
30276
30277
30278
30279
30280
30281
30282
30283
30284
30285
30286
30287
30288
30289
30290
30291
30292
30293
30294
30295
30296
30297
30298
30299
30300
30301
30302
30303
30304
30305
30306
30307
30308
30309
30310
30311
30312
30313
30314
30315
30316
30317
30318
30319
30320
30321
30322
30323
30324
30325
30326
30327
30328
30329
30330
30331
30332
30333
30334
30335
30336
30337
30338
30339
30340
30341
30342
30343
30344
30345
30346
30347
30348
30349
30350
30351
30352
30353
30354
30355
30356
30357
30358
30359
30360
30361
30362
30363
30364
30365
30366
30367
30368
30369
30370
30371
30372
30373
30374
30375
30376
30377
30378
30379
30380
30381
30382
30383
30384
30385
30386
30387
30388
30389
30390
30391
30392
30393
30394
30395
30396
30397
30398
30399
30400
30401
30402
30403
30404
30405
30406
30407
30408
30409
30410
30411
30412
30413
30414
30415
30416
30417
30418
30419
30420
30421
30422
30423
30424
30425
30426
30427
30428
30429
30430
30431
30432
30433
30434
30435
30436
30437
30438
30439
30440
30441
30442
30443
30444
30445
30446
30447
30448
30449
30450
30451
30452
30453
30454
30455
30456
30457
30458
30459
30460
30461
30462
30463
30464
30465
30466
30467
30468
30469
30470
30471
30472
30473
30474
30475
30476
30477
30478
30479
30480
30481
30482
30483
30484
30485
30486
30487
30488
30489
30490
30491
30492
30493
30494
30495
30496
30497
30498
30499
30500
30501
30502
30503
30504
30505
30506
30507
30508
30509
30510
30511
30512
30513
30514
30515
30516
30517
30518
30519
30520
30521
30522
30523
30524
30525
30526
30527
30528
30529
30530
30531
30532
30533
30534
30535
30536
30537
30538
30539
30540
30541
30542
30543
30544
30545
30546
30547
30548
30549
30550
30551
30552
30553
30554
30555
30556
30557
30558
30559
30560
30561
30562
30563
30564
30565
30566
30567
30568
30569
30570
30571
30572
30573
30574
30575
30576
30577
30578
30579
30580
30581
30582
30583
30584
30585
30586
30587
30588
30589
30590
30591
30592
30593
30594
30595
30596
30597
30598
30599
30600
30601
30602
30603
30604
30605
30606
30607
30608
30609
30610
30611
30612
30613
30614
30615
30616
30617
30618
30619
30620
30621
30622
30623
30624
30625
30626
30627
30628
30629
30630
30631
30632
30633
30634
30635
30636
30637
30638
30639
30640
30641
30642
30643
30644
30645
30646
30647
30648
30649
30650
30651
30652
30653
30654
30655
30656
30657
30658
30659
30660
30661
30662
30663
30664
30665
30666
30667
30668
30669
30670
30671
30672
30673
30674
30675
30676
30677
30678
30679
30680
30681
30682
30683
30684
30685
30686
30687
30688
30689
30690
30691
30692
30693
30694
30695
30696
30697
30698
30699
30700
30701
30702
30703
30704
30705
30706
30707
30708
30709
30710
30711
30712
30713
30714
30715
30716
30717
30718
30719
30720
30721
30722
30723
30724
30725
30726
30727
30728
30729
30730
30731
30732
30733
30734
30735
30736
30737
30738
30739
30740
30741
30742
30743
30744
30745
30746
30747
30748
30749
30750
30751
30752
30753
30754
30755
30756
30757
30758
30759
30760
30761
30762
30763
30764
30765
30766
30767
30768
30769
30770
30771
30772
30773
30774
30775
30776
30777
30778
30779
30780
30781
30782
30783
30784
30785
30786
30787
30788
30789
30790
30791
30792
30793
30794
30795
30796
30797
30798
30799
30800
30801
30802
30803
30804
30805
30806
30807
30808
30809
30810
30811
30812
30813
30814
30815
30816
30817
30818
30819
30820
30821
30822
30823
30824
30825
30826
30827
30828
30829
30830
30831
30832
30833
30834
30835
30836
30837
30838
30839
30840
30841
30842
30843
30844
30845
30846
30847
30848
30849
30850
30851
30852
30853
30854
30855
30856
30857
30858
30859
30860
30861
30862
30863
30864
30865
30866
30867
30868
30869
30870
30871
30872
30873
30874
30875
30876
30877
30878
30879
30880
30881
30882
30883
30884
30885
30886
30887
30888
30889
30890
30891
30892
30893
30894
30895
30896
30897
30898
30899
30900
30901
30902
30903
30904
30905
30906
30907
30908
30909
30910
30911
30912
30913
30914
30915
30916
30917
30918
30919
30920
30921
30922
30923
30924
30925
30926
30927
30928
30929
30930
30931
30932
30933
30934
30935
30936
30937
30938
30939
30940
30941
30942
30943
30944
30945
30946
30947
30948
30949
30950
30951
30952
30953
30954
30955
30956
30957
30958
30959
30960
30961
30962
30963
30964
30965
30966
30967
30968
30969
30970
30971
30972
30973
30974
30975
30976
30977
30978
30979
30980
30981
30982
30983
30984
30985
30986
30987
30988
30989
30990
30991
30992
30993
30994
30995
30996
30997
30998
30999
31000
31001
31002
31003
31004
31005
31006
31007
31008
31009
31010
31011
31012
31013
31014
31015
31016
31017
31018
31019
31020
31021
31022
31023
31024
31025
31026
31027
31028
31029
31030
31031
31032
31033
31034
31035
31036
31037
31038
31039
31040
31041
31042
31043
31044
31045
31046
31047
31048
31049
31050
31051
31052
31053
31054
31055
31056
31057
31058
31059
31060
31061
31062
31063
31064
31065
31066
31067
31068
31069
31070
31071
31072
31073
31074
31075
31076
31077
31078
31079
31080
31081
31082
31083
31084
31085
31086
31087
31088
31089
31090
31091
31092
31093
31094
31095
31096
31097
31098
31099
31100
31101
31102
31103
31104
31105
31106
31107
31108
31109
31110
31111
31112
31113
31114
31115
31116
31117
31118
31119
31120
31121
31122
31123
31124
31125
31126
31127
31128
31129
31130
31131
31132
31133
31134
31135
31136
31137
31138
31139
31140
31141
31142
31143
31144
31145
31146
31147
31148
31149
31150
31151
31152
31153
31154
31155
31156
31157
31158
31159
31160
31161
31162
31163
31164
31165
31166
31167
31168
31169
31170
31171
31172
31173
31174
31175
31176
31177
31178
31179
31180
31181
31182
31183
31184
31185
31186
31187
31188
31189
31190
31191
31192
31193
31194
31195
31196
31197
31198
31199
31200
31201
31202
31203
31204
31205
31206
31207
31208
31209
31210
31211
31212
31213
31214
31215
31216
31217
31218
31219
31220
31221
31222
31223
31224
31225
31226
31227
31228
31229
31230
31231
31232
31233
31234
31235
31236
31237
31238
31239
31240
31241
31242
31243
31244
31245
31246
31247
31248
31249
31250
31251
31252
31253
31254
31255
31256
31257
31258
31259
31260
31261
31262
31263
31264
31265
31266
31267
31268
31269
31270
31271
31272
31273
31274
31275
31276
31277
31278
31279
31280
31281
31282
31283
31284
31285
31286
31287
31288
31289
31290
31291
31292
31293
31294
31295
31296
31297
31298
31299
31300
31301
31302
31303
31304
31305
31306
31307
31308
31309
31310
31311
31312
31313
31314
31315
31316
31317
31318
31319
31320
31321
31322
31323
31324
31325
31326
31327
31328
31329
31330
31331
31332
31333
31334
31335
31336
31337
31338
31339
31340
31341
31342
31343
31344
31345
31346
31347
31348
31349
31350
31351
31352
31353
31354
31355
31356
31357
31358
31359
31360
31361
31362
31363
31364
31365
31366
31367
31368
31369
31370
31371
31372
31373
31374
31375
31376
31377
31378
31379
31380
31381
31382
31383
31384
31385
31386
31387
31388
31389
31390
31391
31392
31393
31394
31395
31396
31397
31398
31399
31400
31401
31402
31403
31404
31405
31406
31407
31408
31409
31410
31411
31412
31413
31414
31415
31416
31417
31418
31419
31420
31421
31422
31423
31424
31425
31426
31427
31428
31429
31430
31431
31432
31433
31434
31435
31436
31437
31438
31439
31440
31441
31442
31443
31444
31445
31446
31447
31448
31449
31450
31451
31452
31453
31454
31455
31456
31457
31458
31459
31460
31461
31462
31463
31464
31465
31466
31467
31468
31469
31470
31471
31472
31473
31474
31475
31476
31477
31478
31479
31480
31481
31482
31483
31484
31485
31486
31487
31488
31489
31490
31491
31492
31493
31494
31495
31496
31497
31498
31499
31500
31501
31502
31503
31504
31505
31506
31507
31508
31509
31510
31511
31512
31513
31514
31515
31516
31517
31518
31519
31520
31521
31522
31523
31524
31525
31526
31527
31528
31529
31530
31531
31532
31533
31534
31535
31536
31537
31538
31539
31540
31541
31542
31543
31544
31545
31546
31547
31548
31549
31550
31551
31552
31553
31554
31555
31556
31557
31558
31559
31560
31561
31562
31563
31564
31565
31566
31567
31568
31569
31570
31571
31572
31573
31574
31575
31576
31577
31578
31579
31580
31581
31582
31583
31584
31585
31586
31587
31588
31589
31590
31591
31592
31593
31594
31595
31596
31597
31598
31599
31600
31601
31602
31603
31604
31605
31606
31607
31608
31609
31610
31611
31612
31613
31614
31615
31616
31617
31618
31619
31620
31621
31622
31623
31624
31625
31626
31627
31628
31629
31630
31631
31632
31633
31634
31635
31636
31637
31638
31639
31640
31641
31642
31643
31644
31645
31646
31647
31648
31649
31650
31651
31652
31653
31654
31655
31656
31657
31658
31659
31660
31661
31662
31663
31664
31665
31666
31667
31668
31669
31670
31671
31672
31673
31674
31675
31676
31677
31678
31679
31680
31681
31682
31683
31684
31685
31686
31687
31688
31689
31690
31691
31692
31693
31694
31695
31696
31697
31698
31699
31700
31701
31702
31703
31704
31705
31706
31707
31708
31709
31710
31711
31712
31713
31714
31715
31716
31717
31718
31719
31720
31721
31722
31723
31724
31725
31726
31727
31728
31729
31730
31731
31732
31733
31734
31735
31736
31737
31738
31739
31740
31741
31742
31743
31744
31745
31746
31747
31748
31749
31750
31751
31752
31753
31754
31755
31756
31757
31758
31759
31760
31761
31762
31763
31764
31765
31766
31767
31768
31769
31770
31771
31772
31773
31774
31775
31776
31777
31778
31779
31780
31781
31782
31783
31784
31785
31786
31787
31788
31789
31790
31791
31792
31793
31794
31795
31796
31797
31798
31799
31800
31801
31802
31803
31804
31805
31806
31807
31808
31809
31810
31811
31812
31813
31814
31815
31816
31817
31818
31819
31820
31821
31822
31823
31824
31825
31826
31827
31828
31829
31830
31831
31832
31833
31834
31835
31836
31837
31838
31839
31840
31841
31842
31843
31844
31845
31846
31847
31848
31849
31850
31851
31852
31853
31854
31855
31856
31857
31858
31859
31860
31861
31862
31863
31864
31865
31866
31867
31868
31869
31870
31871
31872
31873
31874
31875
31876
31877
31878
31879
31880
31881
31882
31883
31884
31885
31886
31887
31888
31889
31890
31891
31892
31893
31894
31895
31896
31897
31898
31899
31900
31901
31902
31903
31904
31905
31906
31907
31908
31909
31910
31911
31912
31913
31914
31915
31916
31917
31918
31919
31920
31921
31922
31923
31924
31925
31926
31927
31928
31929
31930
31931
31932
31933
31934
31935
31936
31937
31938
31939
31940
31941
31942
31943
31944
31945
31946
31947
31948
31949
31950
31951
31952
31953
31954
31955
31956
31957
31958
31959
31960
31961
31962
31963
31964
31965
31966
31967
31968
31969
31970
31971
31972
31973
31974
31975
31976
31977
31978
31979
31980
31981
31982
31983
31984
31985
31986
31987
31988
31989
31990
31991
31992
31993
31994
31995
31996
31997
31998
31999
32000
32001
32002
32003
32004
32005
32006
32007
32008
32009
32010
32011
32012
32013
32014
32015
32016
32017
32018
32019
32020
32021
32022
32023
32024
32025
32026
32027
32028
32029
32030
32031
32032
32033
32034
32035
32036
32037
32038
32039
32040
32041
32042
32043
32044
32045
32046
32047
32048
32049
32050
32051
32052
32053
32054
32055
32056
32057
32058
32059
32060
32061
32062
32063
32064
32065
32066
32067
32068
32069
32070
32071
32072
32073
32074
32075
32076
32077
32078
32079
32080
32081
32082
32083
32084
32085
32086
32087
32088
32089
32090
32091
32092
32093
32094
32095
32096
32097
32098
32099
32100
32101
32102
32103
32104
32105
32106
32107
32108
32109
32110
32111
32112
32113
32114
32115
32116
32117
32118
32119
32120
32121
32122
32123
32124
32125
32126
32127
32128
32129
32130
32131
32132
32133
32134
32135
32136
32137
32138
32139
32140
32141
32142
32143
32144
32145
32146
32147
32148
32149
32150
32151
32152
32153
32154
32155
32156
32157
32158
32159
32160
32161
32162
32163
32164
32165
32166
32167
32168
32169
32170
32171
32172
32173
32174
32175
32176
32177
32178
32179
32180
32181
32182
32183
32184
32185
32186
32187
32188
32189
32190
32191
32192
32193
32194
32195
32196
32197
32198
32199
32200
32201
32202
32203
32204
32205
32206
32207
32208
32209
32210
32211
32212
32213
32214
32215
32216
32217
32218
32219
32220
32221
32222
32223
32224
32225
32226
32227
32228
32229
32230
32231
32232
32233
32234
32235
32236
32237
32238
32239
32240
32241
32242
32243
32244
32245
32246
32247
32248
32249
32250
32251
32252
32253
32254
32255
32256
32257
32258
32259
32260
32261
32262
32263
32264
32265
32266
32267
32268
32269
32270
32271
32272
32273
32274
32275
32276
32277
32278
32279
32280
32281
32282
32283
32284
32285
32286
32287
32288
32289
32290
32291
32292
32293
32294
32295
32296
32297
32298
32299
32300
32301
32302
32303
32304
32305
32306
32307
32308
32309
32310
32311
32312
32313
32314
32315
32316
32317
32318
32319
32320
32321
32322
32323
32324
32325
32326
32327
32328
32329
32330
32331
32332
32333
32334
32335
32336
32337
32338
32339
32340
32341
32342
32343
32344
32345
32346
32347
32348
32349
32350
32351
32352
32353
32354
32355
32356
32357
32358
32359
32360
32361
32362
32363
32364
32365
32366
32367
32368
32369
32370
32371
32372
32373
32374
32375
32376
32377
32378
32379
32380
32381
32382
32383
32384
32385
32386
32387
32388
32389
32390
32391
32392
32393
32394
32395
32396
32397
32398
32399
32400
32401
32402
32403
32404
32405
32406
32407
32408
32409
32410
32411
32412
32413
32414
32415
32416
32417
32418
32419
32420
32421
32422
32423
32424
32425
32426
32427
32428
32429
32430
32431
32432
32433
32434
32435
32436
32437
32438
32439
32440
32441
32442
32443
32444
32445
32446
32447
32448
32449
32450
32451
32452
32453
32454
32455
32456
32457
32458
32459
32460
32461
32462
32463
32464
32465
32466
32467
32468
32469
32470
32471
32472
32473
32474
32475
32476
32477
32478
32479
32480
32481
32482
32483
32484
32485
32486
32487
32488
32489
32490
32491
32492
32493
32494
32495
32496
32497
32498
32499
32500
32501
32502
32503
32504
32505
32506
32507
32508
32509
32510
32511
32512
32513
32514
32515
32516
32517
32518
32519
32520
32521
32522
32523
32524
32525
32526
32527
32528
32529
32530
32531
32532
32533
32534
32535
32536
32537
32538
32539
32540
32541
32542
32543
32544
32545
32546
32547
32548
32549
32550
32551
32552
32553
32554
32555
32556
32557
32558
32559
32560
32561
32562
32563
32564
32565
32566
32567
32568
32569
32570
32571
32572
32573
32574
32575
32576
32577
32578
32579
32580
32581
32582
32583
32584
32585
32586
32587
32588
32589
32590
32591
32592
32593
32594
32595
32596
32597
32598
32599
32600
32601
32602
32603
32604
32605
32606
32607
32608
32609
32610
32611
32612
32613
32614
32615
32616
32617
32618
32619
32620
32621
32622
32623
32624
32625
32626
32627
32628
32629
32630
32631
32632
32633
32634
32635
32636
32637
32638
32639
32640
32641
32642
32643
32644
32645
32646
32647
32648
32649
32650
32651
32652
32653
32654
32655
32656
32657
32658
32659
32660
32661
32662
32663
32664
32665
32666
32667
32668
32669
32670
32671
32672
32673
32674
32675
32676
32677
32678
32679
32680
32681
32682
32683
32684
32685
32686
32687
32688
32689
32690
32691
32692
32693
32694
32695
32696
32697
32698
32699
32700
32701
32702
32703
32704
32705
32706
32707
32708
32709
32710
32711
32712
32713
32714
32715
32716
32717
32718
32719
32720
32721
32722
32723
32724
32725
32726
32727
32728
32729
32730
32731
32732
32733
32734
32735
32736
32737
32738
32739
32740
32741
32742
32743
32744
32745
32746
32747
32748
32749
32750
32751
32752
32753
32754
32755
32756
32757
32758
32759
32760
32761
32762
32763
32764
32765
32766
32767
32768
32769
32770
32771
32772
32773
32774
32775
32776
32777
32778
32779
32780
32781
32782
32783
32784
32785
32786
32787
32788
32789
32790
32791
32792
32793
32794
32795
32796
32797
32798
32799
32800
32801
32802
32803
32804
32805
32806
32807
32808
32809
32810
32811
32812
32813
32814
32815
32816
32817
32818
32819
32820
32821
32822
32823
32824
32825
32826
32827
32828
32829
32830
32831
32832
32833
32834
32835
32836
32837
32838
32839
32840
32841
32842
32843
32844
32845
32846
32847
32848
32849
32850
32851
32852
32853
32854
32855
32856
32857
32858
32859
32860
32861
32862
32863
32864
32865
32866
32867
32868
32869
32870
32871
32872
32873
32874
32875
32876
32877
32878
32879
32880
32881
32882
32883
32884
32885
32886
32887
32888
32889
32890
32891
32892
32893
32894
32895
32896
32897
32898
32899
32900
32901
32902
32903
32904
32905
32906
32907
32908
32909
32910
32911
32912
32913
32914
32915
32916
32917
32918
32919
32920
32921
32922
32923
32924
32925
32926
32927
32928
32929
32930
32931
32932
32933
32934
32935
32936
32937
32938
32939
32940
32941
32942
32943
32944
32945
32946
32947
32948
32949
32950
32951
32952
32953
32954
32955
32956
32957
32958
32959
32960
32961
32962
32963
32964
32965
32966
32967
32968
32969
32970
32971
32972
32973
32974
32975
32976
32977
32978
32979
32980
32981
32982
32983
32984
32985
32986
32987
32988
32989
32990
32991
32992
32993
32994
32995
32996
32997
32998
32999
33000
33001
33002
33003
33004
33005
33006
33007
33008
33009
33010
33011
33012
33013
33014
33015
33016
33017
33018
33019
33020
33021
33022
33023
33024
33025
33026
33027
33028
33029
33030
33031
33032
33033
33034
33035
33036
33037
33038
33039
33040
33041
33042
33043
33044
33045
33046
33047
33048
33049
33050
33051
33052
33053
33054
33055
33056
33057
33058
33059
33060
33061
33062
33063
33064
33065
33066
33067
33068
33069
33070
33071
33072
33073
33074
33075
33076
33077
33078
33079
33080
33081
33082
33083
33084
33085
33086
33087
33088
33089
33090
33091
33092
33093
33094
33095
33096
33097
33098
33099
33100
33101
33102
33103
33104
33105
33106
33107
33108
33109
33110
33111
33112
33113
33114
33115
33116
33117
33118
33119
33120
33121
33122
33123
33124
33125
33126
33127
33128
33129
33130
33131
33132
33133
33134
33135
33136
33137
33138
33139
33140
33141
33142
33143
33144
33145
33146
33147
33148
33149
33150
33151
33152
33153
33154
33155
33156
33157
33158
33159
33160
33161
33162
33163
33164
33165
33166
33167
33168
33169
33170
33171
33172
33173
33174
33175
33176
33177
33178
33179
33180
33181
33182
33183
33184
33185
33186
33187
33188
33189
33190
33191
33192
33193
33194
33195
33196
33197
33198
33199
33200
33201
33202
33203
33204
33205
33206
33207
33208
33209
33210
33211
33212
33213
33214
33215
33216
33217
33218
33219
33220
33221
33222
33223
33224
33225
33226
33227
33228
33229
33230
33231
33232
33233
33234
33235
33236
33237
33238
33239
33240
33241
33242
33243
33244
33245
33246
33247
33248
33249
33250
33251
33252
33253
33254
33255
33256
33257
33258
33259
33260
33261
33262
33263
33264
33265
33266
33267
33268
33269
33270
33271
33272
33273
33274
33275
33276
33277
33278
33279
33280
33281
33282
33283
33284
33285
33286
33287
33288
33289
33290
33291
33292
33293
33294
33295
33296
33297
33298
33299
33300
33301
33302
33303
33304
33305
33306
33307
33308
33309
33310
33311
33312
33313
33314
33315
33316
33317
33318
33319
33320
33321
33322
33323
33324
33325
33326
33327
33328
33329
33330
33331
33332
33333
33334
33335
33336
33337
33338
33339
33340
33341
33342
33343
33344
33345
33346
33347
33348
33349
33350
33351
33352
33353
33354
33355
33356
33357
33358
33359
33360
33361
33362
33363
33364
33365
33366
33367
33368
33369
33370
33371
33372
33373
33374
33375
33376
33377
33378
33379
33380
33381
33382
33383
33384
33385
33386
33387
33388
33389
33390
33391
33392
33393
33394
33395
33396
33397
33398
33399
33400
33401
33402
33403
33404
33405
33406
33407
33408
33409
33410
33411
33412
33413
33414
33415
33416
33417
33418
33419
33420
33421
33422
33423
33424
33425
33426
33427
33428
33429
33430
33431
33432
33433
33434
33435
33436
33437
33438
33439
33440
33441
33442
33443
33444
33445
33446
33447
33448
33449
33450
33451
33452
33453
33454
33455
33456
33457
33458
33459
33460
33461
33462
33463
33464
33465
33466
33467
33468
33469
33470
33471
33472
33473
33474
33475
33476
33477
33478
33479
33480
33481
33482
33483
33484
33485
33486
33487
33488
33489
33490
33491
33492
33493
33494
33495
33496
33497
33498
33499
33500
33501
33502
33503
33504
33505
33506
33507
33508
33509
33510
33511
33512
33513
33514
33515
33516
33517
33518
33519
33520
33521
33522
33523
33524
33525
33526
33527
33528
33529
33530
33531
33532
33533
33534
33535
33536
33537
33538
33539
33540
33541
33542
33543
33544
33545
33546
33547
33548
33549
33550
33551
33552
33553
33554
33555
33556
33557
33558
33559
33560
33561
33562
33563
33564
33565
33566
33567
33568
33569
33570
33571
33572
33573
33574
33575
33576
33577
33578
33579
33580
33581
33582
33583
33584
33585
33586
33587
33588
33589
33590
33591
33592
33593
33594
33595
33596
33597
33598
33599
33600
33601
33602
33603
33604
33605
33606
33607
33608
33609
33610
33611
33612
33613
33614
33615
33616
33617
33618
33619
33620
33621
33622
33623
33624
33625
33626
33627
33628
33629
33630
33631
33632
33633
33634
33635
33636
33637
33638
33639
33640
33641
33642
33643
33644
33645
33646
33647
33648
33649
33650
33651
33652
33653
33654
33655
33656
33657
33658
33659
33660
33661
33662
33663
33664
33665
33666
33667
33668
33669
33670
33671
33672
33673
33674
33675
33676
33677
33678
33679
33680
33681
33682
33683
33684
33685
33686
33687
33688
33689
33690
33691
33692
33693
33694
33695
33696
33697
33698
33699
33700
33701
33702
33703
33704
33705
33706
33707
33708
33709
33710
33711
33712
33713
33714
33715
33716
33717
33718
33719
33720
33721
33722
33723
33724
33725
33726
33727
33728
33729
33730
33731
33732
33733
33734
33735
33736
33737
33738
33739
33740
33741
33742
33743
33744
33745
33746
33747
33748
33749
33750
33751
33752
33753
33754
33755
33756
33757
33758
33759
33760
33761
33762
33763
33764
33765
33766
33767
33768
33769
33770
33771
33772
33773
33774
33775
33776
33777
33778
33779
33780
33781
33782
33783
33784
33785
33786
33787
33788
33789
33790
33791
33792
33793
33794
33795
33796
33797
33798
33799
33800
33801
33802
33803
33804
33805
33806
33807
33808
33809
33810
33811
33812
33813
33814
33815
33816
33817
33818
33819
33820
33821
33822
33823
33824
33825
33826
33827
33828
33829
33830
33831
33832
33833
33834
33835
33836
33837
33838
33839
33840
33841
33842
33843
33844
33845
33846
33847
33848
33849
33850
33851
33852
33853
33854
33855
33856
33857
33858
33859
33860
33861
33862
33863
33864
33865
33866
33867
33868
33869
33870
33871
33872
33873
33874
33875
33876
33877
33878
33879
33880
33881
33882
33883
33884
33885
33886
33887
33888
33889
33890
33891
33892
33893
33894
33895
33896
33897
33898
33899
33900
33901
33902
33903
33904
33905
33906
33907
33908
33909
33910
33911
33912
33913
33914
33915
33916
33917
33918
33919
33920
33921
33922
33923
33924
33925
33926
33927
33928
33929
33930
33931
33932
33933
33934
33935
33936
33937
33938
33939
33940
33941
33942
33943
33944
33945
33946
33947
33948
33949
33950
33951
33952
33953
33954
33955
33956
33957
33958
33959
33960
33961
33962
33963
33964
33965
33966
33967
33968
33969
33970
33971
33972
33973
33974
33975
33976
33977
33978
33979
33980
33981
33982
33983
33984
33985
33986
33987
33988
33989
33990
33991
33992
33993
33994
33995
33996
33997
33998
33999
34000
34001
34002
34003
34004
34005
34006
34007
34008
34009
34010
34011
34012
34013
34014
34015
34016
34017
34018
34019
34020
34021
34022
34023
34024
34025
34026
34027
34028
34029
34030
34031
34032
34033
34034
34035
34036
34037
34038
34039
34040
34041
34042
34043
34044
34045
34046
34047
34048
34049
34050
34051
34052
34053
34054
34055
34056
34057
34058
34059
34060
34061
34062
34063
34064
34065
34066
34067
34068
34069
34070
34071
34072
34073
34074
34075
34076
34077
34078
34079
34080
34081
34082
34083
34084
34085
34086
34087
34088
34089
34090
34091
34092
34093
34094
34095
34096
34097
34098
34099
34100
34101
34102
34103
34104
34105
34106
34107
34108
34109
34110
34111
34112
34113
34114
34115
34116
34117
34118
34119
34120
34121
34122
34123
34124
34125
34126
34127
34128
34129
34130
34131
34132
34133
34134
34135
34136
34137
34138
34139
34140
34141
34142
34143
34144
34145
34146
34147
34148
34149
34150
34151
34152
34153
34154
34155
34156
34157
34158
34159
34160
34161
34162
34163
34164
34165
34166
34167
34168
34169
34170
34171
34172
34173
34174
34175
34176
34177
34178
34179
34180
34181
34182
34183
34184
34185
34186
34187
34188
34189
34190
34191
34192
34193
34194
34195
34196
34197
34198
34199
34200
34201
34202
34203
34204
34205
34206
34207
34208
34209
34210
34211
34212
34213
34214
34215
34216
34217
34218
34219
34220
34221
34222
34223
34224
34225
34226
34227
34228
34229
34230
34231
34232
34233
34234
34235
34236
34237
34238
34239
34240
34241
34242
34243
34244
34245
34246
34247
34248
34249
34250
34251
34252
34253
34254
34255
34256
34257
34258
34259
34260
34261
34262
34263
34264
34265
34266
34267
34268
34269
34270
34271
34272
34273
34274
34275
34276
34277
34278
34279
34280
34281
34282
34283
34284
34285
34286
34287
34288
34289
34290
34291
34292
34293
34294
34295
34296
34297
34298
34299
34300
34301
34302
34303
34304
34305
34306
34307
34308
34309
34310
34311
34312
34313
34314
34315
34316
34317
34318
34319
34320
34321
34322
34323
34324
34325
34326
34327
34328
34329
34330
34331
34332
34333
34334
34335
34336
34337
34338
34339
34340
34341
34342
34343
34344
34345
34346
34347
34348
34349
34350
34351
34352
34353
34354
34355
34356
34357
34358
34359
34360
34361
34362
34363
34364
34365
34366
34367
34368
34369
34370
34371
34372
34373
34374
34375
34376
34377
34378
34379
34380
34381
34382
34383
34384
34385
34386
34387
34388
34389
34390
34391
34392
34393
34394
34395
34396
34397
34398
34399
34400
34401
34402
34403
34404
34405
34406
34407
34408
34409
34410
34411
34412
34413
34414
34415
34416
34417
34418
34419
34420
34421
34422
34423
34424
34425
34426
34427
34428
34429
34430
34431
34432
34433
34434
34435
34436
34437
34438
34439
34440
34441
34442
34443
34444
34445
34446
34447
34448
34449
34450
34451
34452
34453
34454
34455
34456
34457
34458
34459
34460
34461
34462
34463
34464
34465
34466
34467
34468
34469
34470
34471
34472
34473
34474
34475
34476
34477
34478
34479
34480
34481
34482
34483
34484
34485
34486
34487
34488
34489
34490
34491
34492
34493
34494
34495
34496
34497
34498
34499
34500
34501
34502
34503
34504
34505
34506
34507
34508
34509
34510
34511
34512
34513
34514
34515
34516
34517
34518
34519
34520
34521
34522
34523
34524
34525
34526
34527
34528
34529
34530
34531
34532
34533
34534
34535
34536
34537
34538
34539
34540
34541
34542
34543
34544
34545
34546
34547
34548
34549
34550
34551
34552
34553
34554
34555
34556
34557
34558
34559
34560
34561
34562
34563
34564
34565
34566
34567
34568
34569
34570
34571
34572
34573
34574
34575
34576
34577
34578
34579
34580
34581
34582
34583
34584
34585
34586
34587
34588
34589
34590
34591
34592
34593
34594
34595
34596
34597
34598
34599
34600
34601
34602
34603
34604
34605
34606
34607
34608
34609
34610
34611
34612
34613
34614
34615
34616
34617
34618
34619
34620
34621
34622
34623
34624
34625
34626
34627
34628
34629
34630
34631
34632
34633
34634
34635
34636
34637
34638
34639
34640
34641
34642
34643
34644
34645
34646
34647
34648
34649
34650
34651
34652
34653
34654
34655
34656
34657
34658
34659
34660
34661
34662
34663
34664
34665
34666
34667
34668
34669
34670
34671
34672
34673
34674
34675
34676
34677
34678
34679
34680
34681
34682
34683
34684
34685
34686
34687
34688
34689
34690
34691
34692
34693
34694
34695
34696
34697
34698
34699
34700
34701
34702
34703
34704
34705
34706
34707
34708
34709
34710
34711
34712
34713
34714
34715
34716
34717
34718
34719
34720
34721
34722
34723
34724
34725
34726
34727
34728
34729
34730
34731
34732
34733
34734
34735
34736
34737
34738
34739
34740
34741
34742
34743
34744
34745
34746
34747
34748
34749
34750
34751
34752
34753
34754
34755
34756
34757
34758
34759
34760
34761
34762
34763
34764
34765
34766
34767
34768
34769
34770
34771
34772
34773
34774
34775
34776
34777
34778
34779
34780
34781
34782
34783
34784
34785
34786
34787
34788
34789
34790
34791
34792
34793
34794
34795
34796
34797
34798
34799
34800
34801
34802
34803
34804
34805
34806
34807
34808
34809
34810
34811
34812
34813
34814
34815
34816
34817
34818
34819
34820
34821
34822
34823
34824
34825
34826
34827
34828
34829
34830
34831
34832
34833
34834
34835
34836
34837
34838
34839
34840
34841
34842
34843
34844
34845
34846
34847
34848
34849
34850
34851
34852
34853
34854
34855
34856
34857
34858
34859
34860
34861
34862
34863
34864
34865
34866
34867
34868
34869
34870
34871
34872
34873
34874
34875
34876
34877
34878
34879
34880
34881
34882
34883
34884
34885
34886
34887
34888
34889
34890
34891
34892
34893
34894
34895
34896
34897
34898
34899
34900
34901
34902
34903
34904
34905
34906
34907
34908
34909
34910
34911
34912
34913
34914
34915
34916
34917
34918
34919
34920
34921
34922
34923
34924
34925
34926
34927
34928
34929
34930
34931
34932
34933
34934
34935
34936
34937
34938
34939
34940
34941
34942
34943
34944
34945
34946
34947
34948
34949
34950
34951
34952
34953
34954
34955
34956
34957
34958
34959
34960
34961
34962
34963
34964
34965
34966
34967
34968
34969
34970
34971
34972
34973
34974
34975
34976
34977
34978
34979
34980
34981
34982
34983
34984
34985
34986
34987
34988
34989
34990
34991
34992
34993
34994
34995
34996
34997
34998
34999
35000
35001
35002
35003
35004
35005
35006
35007
35008
35009
35010
35011
35012
35013
35014
35015
35016
35017
35018
35019
35020
35021
35022
35023
35024
35025
35026
35027
35028
35029
35030
35031
35032
35033
35034
35035
35036
35037
35038
35039
35040
35041
35042
35043
35044
35045
35046
35047
35048
35049
35050
35051
35052
35053
35054
35055
35056
35057
35058
35059
35060
35061
35062
35063
35064
35065
35066
35067
35068
35069
35070
35071
35072
35073
35074
35075
35076
35077
35078
35079
35080
35081
35082
35083
35084
35085
35086
35087
35088
35089
35090
35091
35092
35093
35094
35095
35096
35097
35098
35099
35100
35101
35102
35103
35104
35105
35106
35107
35108
35109
35110
35111
35112
35113
35114
35115
35116
35117
35118
35119
35120
35121
35122
35123
35124
35125
35126
35127
35128
35129
35130
35131
35132
35133
35134
35135
35136
35137
35138
35139
35140
35141
35142
35143
35144
35145
35146
35147
35148
35149
35150
35151
35152
35153
35154
35155
35156
35157
35158
35159
35160
35161
35162
35163
35164
35165
35166
35167
35168
35169
35170
35171
35172
35173
35174
35175
35176
35177
35178
35179
35180
35181
35182
35183
35184
35185
35186
35187
35188
35189
35190
35191
35192
35193
35194
35195
35196
35197
35198
35199
35200
35201
35202
35203
35204
35205
35206
35207
35208
35209
35210
35211
35212
35213
35214
35215
35216
35217
35218
35219
35220
35221
35222
35223
35224
35225
35226
35227
35228
35229
35230
35231
35232
35233
35234
35235
35236
35237
35238
35239
35240
35241
35242
35243
35244
35245
35246
35247
35248
35249
35250
35251
35252
35253
35254
35255
35256
35257
35258
35259
35260
35261
35262
35263
35264
35265
35266
35267
35268
35269
35270
35271
35272
35273
35274
35275
35276
35277
35278
35279
35280
35281
35282
35283
35284
35285
35286
35287
35288
35289
35290
35291
35292
35293
35294
35295
35296
35297
35298
35299
35300
35301
35302
35303
35304
35305
35306
35307
35308
35309
35310
35311
35312
35313
35314
35315
35316
35317
35318
35319
35320
35321
35322
35323
35324
35325
35326
35327
35328
35329
35330
35331
35332
35333
35334
35335
35336
35337
35338
35339
35340
35341
35342
35343
35344
35345
35346
35347
35348
35349
35350
35351
35352
35353
35354
35355
35356
35357
35358
35359
35360
35361
35362
35363
35364
35365
35366
35367
35368
35369
35370
35371
35372
35373
35374
35375
35376
35377
35378
35379
35380
35381
35382
35383
35384
35385
35386
35387
35388
35389
35390
35391
35392
35393
35394
35395
35396
35397
35398
35399
35400
35401
35402
35403
35404
35405
35406
35407
35408
35409
35410
35411
35412
35413
35414
35415
35416
35417
35418
35419
35420
35421
35422
35423
35424
35425
35426
35427
35428
35429
35430
35431
35432
35433
35434
35435
35436
35437
35438
35439
35440
35441
35442
35443
35444
35445
35446
35447
35448
35449
35450
35451
35452
35453
35454
35455
35456
35457
35458
35459
35460
35461
35462
35463
35464
35465
35466
35467
35468
35469
35470
35471
35472
35473
35474
35475
35476
35477
35478
35479
35480
35481
35482
35483
35484
35485
35486
35487
35488
35489
35490
35491
35492
35493
35494
35495
35496
35497
35498
35499
35500
35501
35502
35503
35504
35505
35506
35507
35508
35509
35510
35511
35512
35513
35514
35515
35516
35517
35518
35519
35520
35521
35522
35523
35524
35525
35526
35527
35528
35529
35530
35531
35532
35533
35534
35535
35536
35537
35538
35539
35540
35541
35542
35543
35544
35545
35546
35547
35548
35549
35550
35551
35552
35553
35554
35555
35556
35557
35558
35559
35560
35561
35562
35563
35564
35565
35566
35567
35568
35569
35570
35571
35572
35573
35574
35575
35576
35577
35578
35579
35580
35581
35582
35583
35584
35585
35586
35587
35588
35589
35590
35591
35592
35593
35594
35595
35596
35597
35598
35599
35600
35601
35602
35603
35604
35605
35606
35607
35608
35609
35610
35611
35612
35613
35614
35615
35616
35617
35618
35619
35620
35621
35622
35623
35624
35625
35626
35627
35628
35629
35630
35631
35632
35633
35634
35635
35636
35637
35638
35639
35640
35641
35642
35643
35644
35645
35646
35647
35648
35649
35650
35651
35652
35653
35654
35655
35656
35657
35658
35659
35660
35661
35662
35663
35664
35665
35666
35667
35668
35669
35670
35671
35672
35673
35674
35675
35676
35677
35678
35679
35680
35681
35682
35683
35684
35685
35686
35687
35688
35689
35690
35691
35692
35693
35694
35695
35696
35697
35698
35699
35700
35701
35702
35703
35704
35705
35706
35707
35708
35709
35710
35711
35712
35713
35714
35715
35716
35717
35718
35719
35720
35721
35722
35723
35724
35725
35726
35727
35728
35729
35730
35731
35732
35733
35734
35735
35736
35737
35738
35739
35740
35741
35742
35743
35744
35745
35746
35747
35748
35749
35750
35751
35752
35753
35754
35755
35756
35757
35758
35759
35760
35761
35762
35763
35764
35765
35766
35767
35768
35769
35770
35771
35772
35773
35774
35775
35776
35777
35778
35779
35780
35781
35782
35783
35784
35785
35786
35787
35788
35789
35790
35791
35792
35793
35794
35795
35796
35797
35798
35799
35800
35801
35802
35803
35804
35805
35806
35807
35808
35809
35810
35811
35812
35813
35814
35815
35816
35817
35818
35819
35820
35821
35822
35823
35824
35825
35826
35827
35828
35829
35830
35831
35832
35833
35834
35835
35836
35837
35838
35839
35840
35841
35842
35843
35844
35845
35846
35847
35848
35849
35850
35851
35852
35853
35854
35855
35856
35857
35858
35859
35860
35861
35862
35863
35864
35865
35866
35867
35868
35869
35870
35871
35872
35873
35874
35875
35876
35877
35878
35879
35880
35881
35882
35883
35884
35885
35886
35887
35888
35889
35890
35891
35892
35893
35894
35895
35896
35897
35898
35899
35900
35901
35902
35903
35904
35905
35906
35907
35908
35909
35910
35911
35912
35913
35914
35915
35916
35917
35918
35919
35920
35921
35922
35923
35924
35925
35926
35927
35928
35929
35930
35931
35932
35933
35934
35935
35936
35937
35938
35939
35940
35941
35942
35943
35944
35945
35946
35947
35948
35949
35950
35951
35952
35953
35954
35955
35956
35957
35958
35959
35960
35961
35962
35963
35964
35965
35966
35967
35968
35969
35970
35971
35972
35973
35974
35975
35976
35977
35978
35979
35980
35981
35982
35983
35984
35985
35986
35987
35988
35989
35990
35991
35992
35993
35994
35995
35996
35997
35998
35999
36000
36001
36002
36003
36004
36005
36006
36007
36008
36009
36010
36011
36012
36013
36014
36015
36016
36017
36018
36019
36020
36021
36022
36023
36024
36025
36026
36027
36028
36029
36030
36031
36032
36033
36034
36035
36036
36037
36038
36039
36040
36041
36042
36043
36044
36045
36046
36047
36048
36049
36050
36051
36052
36053
36054
36055
36056
36057
36058
36059
36060
36061
36062
36063
36064
36065
36066
36067
36068
36069
36070
36071
36072
36073
36074
36075
36076
36077
36078
36079
36080
36081
36082
36083
36084
36085
36086
36087
36088
36089
36090
36091
36092
36093
36094
36095
36096
36097
36098
36099
36100
36101
36102
36103
36104
36105
36106
36107
36108
36109
36110
36111
36112
36113
36114
36115
36116
36117
36118
36119
36120
36121
36122
36123
36124
36125
36126
36127
36128
36129
36130
36131
36132
36133
36134
36135
36136
36137
36138
36139
36140
36141
36142
36143
36144
36145
36146
36147
36148
36149
36150
36151
36152
36153
36154
36155
36156
36157
36158
36159
36160
36161
36162
36163
36164
36165
36166
36167
36168
36169
36170
36171
36172
36173
36174
36175
36176
36177
36178
36179
36180
36181
36182
36183
36184
36185
36186
36187
36188
36189
36190
36191
36192
36193
36194
36195
36196
36197
36198
36199
36200
36201
36202
36203
36204
36205
36206
36207
36208
36209
36210
36211
36212
36213
36214
36215
36216
36217
36218
36219
36220
36221
36222
36223
36224
36225
36226
36227
36228
36229
36230
36231
36232
36233
36234
36235
36236
36237
36238
36239
36240
36241
36242
36243
36244
36245
36246
36247
36248
36249
36250
36251
36252
36253
36254
36255
36256
36257
36258
36259
36260
36261
36262
36263
36264
36265
36266
36267
36268
36269
36270
36271
36272
36273
36274
36275
36276
36277
36278
36279
36280
36281
36282
36283
36284
36285
36286
36287
36288
36289
36290
36291
36292
36293
36294
36295
36296
36297
36298
36299
36300
36301
36302
36303
36304
36305
36306
36307
36308
36309
36310
36311
36312
36313
36314
36315
36316
36317
36318
36319
36320
36321
36322
36323
36324
36325
36326
36327
36328
36329
36330
36331
36332
36333
36334
36335
36336
36337
36338
36339
36340
36341
36342
36343
36344
36345
36346
36347
36348
36349
36350
36351
36352
36353
36354
36355
36356
36357
36358
36359
36360
36361
36362
36363
36364
36365
36366
36367
36368
36369
36370
36371
36372
36373
36374
36375
36376
36377
36378
36379
36380
36381
36382
36383
36384
36385
36386
36387
36388
36389
36390
36391
36392
36393
36394
36395
36396
36397
36398
36399
36400
36401
36402
36403
36404
36405
36406
36407
36408
36409
36410
36411
36412
36413
36414
36415
36416
36417
36418
36419
36420
36421
36422
36423
36424
36425
36426
36427
36428
36429
36430
36431
36432
36433
36434
36435
36436
36437
36438
36439
36440
36441
36442
36443
36444
36445
36446
36447
36448
36449
36450
36451
36452
36453
36454
36455
36456
36457
36458
36459
36460
36461
36462
36463
36464
36465
36466
36467
36468
36469
36470
36471
36472
36473
36474
36475
36476
36477
36478
36479
36480
36481
36482
36483
36484
36485
36486
36487
36488
36489
36490
36491
36492
36493
36494
36495
36496
36497
36498
36499
36500
36501
36502
36503
36504
36505
36506
36507
36508
36509
36510
36511
36512
36513
36514
36515
36516
36517
36518
36519
36520
36521
36522
36523
36524
36525
36526
36527
36528
36529
36530
36531
36532
36533
36534
36535
36536
36537
36538
36539
36540
36541
36542
36543
36544
36545
36546
36547
36548
36549
36550
36551
36552
36553
36554
36555
36556
36557
36558
36559
36560
36561
36562
36563
36564
36565
36566
36567
36568
36569
36570
36571
36572
36573
36574
36575
36576
36577
36578
36579
36580
36581
36582
36583
36584
36585
36586
36587
36588
36589
36590
36591
36592
36593
36594
36595
36596
36597
36598
36599
36600
36601
36602
36603
36604
36605
36606
36607
36608
36609
36610
36611
36612
36613
36614
36615
36616
36617
36618
36619
36620
36621
36622
36623
36624
36625
36626
36627
36628
36629
36630
36631
36632
36633
36634
36635
36636
36637
36638
36639
36640
36641
36642
36643
36644
36645
36646
36647
36648
36649
36650
36651
36652
36653
36654
36655
36656
36657
36658
36659
36660
36661
36662
36663
36664
36665
36666
36667
36668
36669
36670
36671
36672
36673
36674
36675
36676
36677
36678
36679
36680
36681
36682
36683
36684
36685
36686
36687
36688
36689
36690
36691
36692
36693
36694
36695
36696
36697
36698
36699
36700
36701
36702
36703
36704
36705
36706
36707
36708
36709
36710
36711
36712
36713
36714
36715
36716
36717
36718
36719
36720
36721
36722
36723
36724
36725
36726
36727
36728
36729
36730
36731
36732
36733
36734
36735
36736
36737
36738
36739
36740
36741
36742
36743
36744
36745
36746
36747
36748
36749
36750
36751
36752
36753
36754
36755
36756
36757
36758
36759
36760
36761
36762
36763
36764
36765
36766
36767
36768
36769
36770
36771
36772
36773
36774
36775
36776
36777
36778
36779
36780
36781
36782
36783
36784
36785
36786
36787
36788
36789
36790
36791
36792
36793
36794
36795
36796
36797
36798
36799
36800
36801
36802
36803
36804
36805
36806
36807
36808
36809
36810
36811
36812
36813
36814
36815
36816
36817
36818
36819
36820
36821
36822
36823
36824
36825
36826
36827
36828
36829
36830
36831
36832
36833
36834
36835
36836
36837
36838
36839
36840
36841
36842
36843
36844
36845
36846
36847
36848
36849
36850
36851
36852
36853
36854
36855
36856
36857
36858
36859
36860
36861
36862
36863
36864
36865
36866
36867
36868
36869
36870
36871
36872
36873
36874
36875
36876
36877
36878
36879
36880
36881
36882
36883
36884
36885
36886
36887
36888
36889
36890
36891
36892
36893
36894
36895
36896
36897
36898
36899
36900
36901
36902
36903
36904
36905
36906
36907
36908
36909
36910
36911
36912
36913
36914
36915
36916
36917
36918
36919
36920
36921
36922
36923
36924
36925
36926
36927
36928
36929
36930
36931
36932
36933
36934
36935
36936
36937
36938
36939
36940
36941
36942
36943
36944
36945
36946
36947
36948
36949
36950
36951
36952
36953
36954
36955
36956
36957
36958
36959
36960
36961
36962
36963
36964
36965
36966
36967
36968
36969
36970
36971
36972
36973
36974
36975
36976
36977
36978
36979
36980
36981
36982
36983
36984
36985
36986
36987
36988
36989
36990
36991
36992
36993
36994
36995
36996
36997
36998
36999
37000
37001
37002
37003
37004
37005
37006
37007
37008
37009
37010
37011
37012
37013
37014
37015
37016
37017
37018
37019
37020
37021
37022
37023
37024
37025
37026
37027
37028
37029
37030
37031
37032
37033
37034
37035
37036
37037
37038
37039
37040
37041
37042
37043
37044
37045
37046
37047
37048
37049
37050
37051
37052
37053
37054
37055
37056
37057
37058
37059
37060
37061
37062
37063
37064
37065
37066
37067
37068
37069
37070
37071
37072
37073
37074
37075
37076
37077
37078
37079
37080
37081
37082
37083
37084
37085
37086
37087
37088
37089
37090
37091
37092
37093
37094
37095
37096
37097
37098
37099
37100
37101
37102
37103
37104
37105
37106
37107
37108
37109
37110
37111
37112
37113
37114
37115
37116
37117
37118
37119
37120
37121
37122
37123
37124
37125
37126
37127
37128
37129
37130
37131
37132
37133
37134
37135
37136
37137
37138
37139
37140
37141
37142
37143
37144
37145
37146
37147
37148
37149
37150
37151
37152
37153
37154
37155
37156
37157
37158
37159
37160
37161
37162
37163
37164
37165
37166
37167
37168
37169
37170
37171
37172
37173
37174
37175
37176
37177
37178
37179
37180
37181
37182
37183
37184
37185
37186
37187
37188
37189
37190
37191
37192
37193
37194
37195
37196
37197
37198
37199
37200
37201
37202
37203
37204
37205
37206
37207
37208
37209
37210
37211
37212
37213
37214
37215
37216
37217
37218
37219
37220
37221
37222
37223
37224
37225
37226
37227
37228
37229
37230
37231
37232
37233
37234
37235
37236
37237
37238
37239
37240
37241
37242
37243
37244
37245
37246
37247
37248
37249
37250
37251
37252
37253
37254
37255
37256
37257
37258
37259
37260
37261
37262
37263
37264
37265
37266
37267
37268
37269
37270
37271
37272
37273
37274
37275
37276
37277
37278
37279
37280
37281
37282
37283
37284
37285
37286
37287
37288
37289
37290
37291
37292
37293
37294
37295
37296
37297
37298
37299
37300
37301
37302
37303
37304
37305
37306
37307
37308
37309
37310
37311
37312
37313
37314
37315
37316
37317
37318
37319
37320
37321
37322
37323
37324
37325
37326
37327
37328
37329
37330
37331
37332
37333
37334
37335
37336
37337
37338
37339
37340
37341
37342
37343
37344
37345
37346
37347
37348
37349
37350
37351
37352
37353
37354
37355
37356
37357
37358
37359
37360
37361
37362
37363
37364
37365
37366
37367
37368
37369
37370
37371
37372
37373
37374
37375
37376
37377
37378
37379
37380
37381
37382
37383
37384
37385
37386
37387
37388
37389
37390
37391
37392
37393
37394
37395
37396
37397
37398
37399
37400
37401
37402
37403
37404
37405
37406
37407
37408
37409
37410
37411
37412
37413
37414
37415
37416
37417
37418
37419
37420
37421
37422
37423
37424
37425
37426
37427
37428
37429
37430
37431
37432
37433
37434
37435
37436
37437
37438
37439
37440
37441
37442
37443
37444
37445
37446
37447
37448
37449
37450
37451
37452
37453
37454
37455
37456
37457
37458
37459
37460
37461
37462
37463
37464
37465
37466
37467
37468
37469
37470
37471
37472
37473
37474
37475
37476
37477
37478
37479
37480
37481
37482
37483
37484
37485
37486
37487
37488
37489
37490
37491
37492
37493
37494
37495
37496
37497
37498
37499
37500
37501
37502
37503
37504
37505
37506
37507
37508
37509
37510
37511
37512
37513
37514
37515
37516
37517
37518
37519
37520
37521
37522
37523
37524
37525
37526
37527
37528
37529
37530
37531
37532
37533
37534
37535
37536
37537
37538
37539
37540
37541
37542
37543
37544
37545
37546
37547
37548
37549
37550
37551
37552
37553
37554
37555
37556
37557
37558
37559
37560
37561
37562
37563
37564
37565
37566
37567
37568
37569
37570
37571
37572
37573
37574
37575
37576
37577
37578
37579
37580
37581
37582
37583
37584
37585
37586
37587
37588
37589
37590
37591
37592
37593
37594
37595
37596
37597
37598
37599
37600
37601
37602
37603
37604
37605
37606
37607
37608
37609
37610
37611
37612
37613
37614
37615
37616
37617
37618
37619
37620
37621
37622
37623
37624
37625
37626
37627
37628
37629
37630
37631
37632
37633
37634
37635
37636
37637
37638
37639
37640
37641
37642
37643
37644
37645
37646
37647
37648
37649
37650
37651
37652
37653
37654
37655
37656
37657
37658
37659
37660
37661
37662
37663
37664
37665
37666
37667
37668
37669
37670
37671
37672
37673
37674
37675
37676
37677
37678
37679
37680
37681
37682
37683
37684
37685
37686
37687
37688
37689
37690
37691
37692
37693
37694
37695
37696
37697
37698
37699
37700
37701
37702
37703
37704
37705
37706
37707
37708
37709
37710
37711
37712
37713
37714
37715
37716
37717
37718
37719
37720
37721
37722
37723
37724
37725
37726
37727
37728
37729
37730
37731
37732
37733
37734
37735
37736
37737
37738
37739
37740
37741
37742
37743
37744
37745
37746
37747
37748
37749
37750
37751
37752
37753
37754
37755
37756
37757
37758
37759
37760
37761
37762
37763
37764
37765
37766
37767
37768
37769
37770
37771
37772
37773
37774
37775
37776
37777
37778
37779
37780
37781
37782
37783
37784
37785
37786
37787
37788
37789
37790
37791
37792
37793
37794
37795
37796
37797
37798
37799
37800
37801
37802
37803
37804
37805
37806
37807
37808
37809
37810
37811
37812
37813
37814
37815
37816
37817
37818
37819
37820
37821
37822
37823
37824
37825
37826
37827
37828
37829
37830
37831
37832
37833
37834
37835
37836
37837
37838
37839
37840
37841
37842
37843
37844
37845
37846
37847
37848
37849
37850
37851
37852
37853
37854
37855
37856
37857
37858
37859
37860
37861
37862
37863
37864
37865
37866
37867
37868
37869
37870
37871
37872
37873
37874
37875
37876
37877
37878
37879
37880
37881
37882
37883
37884
37885
37886
37887
37888
37889
37890
37891
37892
37893
37894
37895
37896
37897
37898
37899
37900
37901
37902
37903
37904
37905
37906
37907
37908
37909
37910
37911
37912
37913
37914
37915
37916
37917
37918
37919
37920
37921
37922
37923
37924
37925
37926
37927
37928
37929
37930
37931
37932
37933
37934
37935
37936
37937
37938
37939
37940
37941
37942
37943
37944
37945
37946
37947
37948
37949
37950
37951
37952
37953
37954
37955
37956
37957
37958
37959
37960
37961
37962
37963
37964
37965
37966
37967
37968
37969
37970
37971
37972
37973
37974
37975
37976
37977
37978
37979
37980
37981
37982
37983
37984
37985
37986
37987
37988
37989
37990
37991
37992
37993
37994
37995
37996
37997
37998
37999
38000
38001
38002
38003
38004
38005
38006
38007
38008
38009
38010
38011
38012
38013
38014
38015
38016
38017
38018
38019
38020
38021
38022
38023
38024
38025
38026
38027
38028
38029
38030
38031
38032
38033
38034
38035
38036
38037
38038
38039
38040
38041
38042
38043
38044
38045
38046
38047
38048
38049
38050
38051
38052
38053
38054
38055
38056
38057
38058
38059
38060
38061
38062
38063
38064
38065
38066
38067
38068
38069
38070
38071
38072
38073
38074
38075
38076
38077
38078
38079
38080
38081
38082
38083
38084
38085
38086
38087
38088
38089
38090
38091
38092
38093
38094
38095
38096
38097
38098
38099
38100
38101
38102
38103
38104
38105
38106
38107
38108
38109
38110
38111
38112
38113
38114
38115
38116
38117
38118
38119
38120
38121
38122
38123
38124
38125
38126
38127
38128
38129
38130
38131
38132
38133
38134
38135
38136
38137
38138
38139
38140
38141
38142
38143
38144
38145
38146
38147
38148
38149
38150
38151
38152
38153
38154
38155
38156
38157
38158
38159
38160
38161
38162
38163
38164
38165
38166
38167
38168
38169
38170
38171
38172
38173
38174
38175
38176
38177
38178
38179
38180
38181
38182
38183
38184
38185
38186
38187
38188
38189
38190
38191
38192
38193
38194
38195
38196
38197
38198
38199
38200
38201
38202
38203
38204
38205
38206
38207
38208
38209
38210
38211
38212
38213
38214
38215
38216
38217
38218
38219
38220
38221
38222
38223
38224
38225
38226
38227
38228
38229
38230
38231
38232
38233
38234
38235
38236
38237
38238
38239
38240
38241
38242
38243
38244
38245
38246
38247
38248
38249
38250
38251
38252
38253
38254
38255
38256
38257
38258
38259
38260
38261
38262
38263
38264
38265
38266
38267
38268
38269
38270
38271
38272
38273
38274
38275
38276
38277
38278
38279
38280
38281
38282
38283
38284
38285
38286
38287
38288
38289
38290
38291
38292
38293
38294
38295
38296
38297
38298
38299
38300
38301
38302
38303
38304
38305
38306
38307
38308
38309
38310
38311
38312
38313
38314
38315
38316
38317
38318
38319
38320
38321
38322
38323
38324
38325
38326
38327
38328
38329
38330
38331
38332
38333
38334
38335
38336
38337
38338
38339
38340
38341
38342
38343
38344
38345
38346
38347
38348
38349
38350
38351
38352
38353
38354
38355
38356
38357
38358
38359
38360
38361
38362
38363
38364
38365
38366
38367
38368
38369
38370
38371
38372
38373
38374
38375
38376
38377
38378
38379
38380
38381
38382
38383
38384
38385
38386
38387
38388
38389
38390
38391
38392
38393
38394
38395
38396
38397
38398
38399
38400
38401
38402
38403
38404
38405
38406
38407
38408
38409
38410
38411
38412
38413
38414
38415
38416
38417
38418
38419
38420
38421
38422
38423
38424
38425
38426
38427
38428
38429
38430
38431
38432
38433
38434
38435
38436
38437
38438
38439
38440
38441
38442
38443
38444
38445
38446
38447
38448
38449
38450
38451
38452
38453
38454
38455
38456
38457
38458
38459
38460
38461
38462
38463
38464
38465
38466
38467
38468
38469
38470
38471
38472
38473
38474
38475
38476
38477
38478
38479
38480
38481
38482
38483
38484
38485
38486
38487
38488
38489
38490
38491
38492
38493
38494
38495
38496
38497
38498
38499
38500
38501
38502
38503
38504
38505
38506
38507
38508
38509
38510
38511
38512
38513
38514
38515
38516
38517
38518
38519
38520
38521
38522
38523
38524
38525
38526
38527
38528
38529
38530
38531
38532
38533
38534
38535
38536
38537
38538
38539
38540
38541
38542
38543
38544
38545
38546
38547
38548
38549
38550
38551
38552
38553
38554
38555
38556
38557
38558
38559
38560
38561
38562
38563
38564
38565
38566
38567
38568
38569
38570
38571
38572
38573
38574
38575
38576
38577
38578
38579
38580
38581
38582
38583
38584
38585
38586
38587
38588
38589
38590
38591
38592
38593
38594
38595
38596
38597
38598
38599
38600
38601
38602
38603
38604
38605
38606
38607
38608
38609
38610
38611
38612
38613
38614
38615
38616
38617
38618
38619
38620
38621
38622
38623
38624
38625
38626
38627
38628
38629
38630
38631
38632
38633
38634
38635
38636
38637
38638
38639
38640
38641
38642
38643
38644
38645
38646
38647
38648
38649
38650
38651
38652
38653
38654
38655
38656
38657
38658
38659
38660
38661
38662
38663
38664
38665
38666
38667
38668
38669
38670
38671
38672
38673
38674
38675
38676
38677
38678
38679
38680
38681
38682
38683
38684
38685
38686
38687
38688
38689
38690
38691
38692
38693
38694
38695
38696
38697
38698
38699
38700
38701
38702
38703
38704
38705
38706
38707
38708
38709
38710
38711
38712
38713
38714
38715
38716
38717
38718
38719
38720
38721
38722
38723
38724
38725
38726
38727
38728
38729
38730
38731
38732
38733
38734
38735
38736
38737
38738
38739
38740
38741
38742
38743
38744
38745
38746
38747
38748
38749
38750
38751
38752
38753
38754
38755
38756
38757
38758
38759
38760
38761
38762
38763
38764
38765
38766
38767
38768
38769
38770
38771
38772
38773
38774
38775
38776
38777
38778
38779
38780
38781
38782
38783
38784
38785
38786
38787
38788
38789
38790
38791
38792
38793
38794
38795
38796
38797
38798
38799
38800
38801
38802
38803
38804
38805
38806
38807
38808
38809
38810
38811
38812
38813
38814
38815
38816
38817
38818
38819
38820
38821
38822
38823
38824
38825
38826
38827
38828
38829
38830
38831
38832
38833
38834
38835
38836
38837
38838
38839
38840
38841
38842
38843
38844
38845
38846
38847
38848
38849
38850
38851
38852
38853
38854
38855
38856
38857
38858
38859
38860
38861
38862
38863
38864
38865
38866
38867
38868
38869
38870
38871
38872
38873
38874
38875
38876
38877
38878
38879
38880
38881
38882
38883
38884
38885
38886
38887
38888
38889
38890
38891
38892
38893
38894
38895
38896
38897
38898
38899
38900
38901
38902
38903
38904
38905
38906
38907
38908
38909
38910
38911
38912
38913
38914
38915
38916
38917
38918
38919
38920
38921
38922
38923
38924
38925
38926
38927
38928
38929
38930
38931
38932
38933
38934
38935
38936
38937
38938
38939
38940
38941
38942
38943
38944
38945
38946
38947
38948
38949
38950
38951
38952
38953
38954
38955
38956
38957
38958
38959
38960
38961
38962
38963
38964
38965
38966
38967
38968
38969
38970
38971
38972
38973
38974
38975
38976
38977
38978
38979
38980
38981
38982
38983
38984
38985
38986
38987
38988
38989
38990
38991
38992
38993
38994
38995
38996
38997
38998
38999
39000
39001
39002
39003
39004
39005
39006
39007
39008
39009
39010
39011
39012
39013
39014
39015
39016
39017
39018
39019
39020
39021
39022
39023
39024
39025
39026
39027
39028
39029
39030
39031
39032
39033
39034
39035
39036
39037
39038
39039
39040
39041
39042
39043
39044
39045
39046
39047
39048
39049
39050
39051
39052
39053
39054
39055
39056
39057
39058
39059
39060
39061
39062
39063
39064
39065
39066
39067
39068
39069
39070
39071
39072
39073
39074
39075
39076
39077
39078
39079
39080
39081
39082
39083
39084
39085
39086
39087
39088
39089
39090
39091
39092
39093
39094
39095
39096
39097
39098
39099
39100
39101
39102
39103
39104
39105
39106
39107
39108
39109
39110
39111
39112
39113
39114
39115
39116
39117
39118
39119
39120
39121
39122
39123
39124
39125
39126
39127
39128
39129
39130
39131
39132
39133
39134
39135
39136
39137
39138
39139
39140
39141
39142
39143
39144
39145
39146
39147
39148
39149
39150
39151
39152
39153
39154
39155
39156
39157
39158
39159
39160
39161
39162
39163
39164
39165
39166
39167
39168
39169
39170
39171
39172
39173
39174
39175
39176
39177
39178
39179
39180
39181
39182
39183
39184
39185
39186
39187
39188
39189
39190
39191
39192
39193
39194
39195
39196
39197
39198
39199
39200
39201
39202
39203
39204
39205
39206
39207
39208
39209
39210
39211
39212
39213
39214
39215
39216
39217
39218
39219
39220
39221
39222
39223
39224
39225
39226
39227
39228
39229
39230
39231
39232
39233
39234
39235
39236
39237
39238
39239
39240
39241
39242
39243
39244
39245
39246
39247
39248
39249
39250
39251
39252
39253
39254
39255
39256
39257
39258
39259
39260
39261
39262
39263
39264
39265
39266
39267
39268
39269
39270
39271
39272
39273
39274
39275
39276
39277
39278
39279
39280
39281
39282
39283
39284
39285
39286
39287
39288
39289
39290
39291
39292
39293
39294
39295
39296
39297
39298
39299
39300
39301
39302
39303
39304
39305
39306
39307
39308
39309
39310
39311
39312
39313
39314
39315
39316
39317
39318
39319
39320
39321
39322
39323
39324
39325
39326
39327
39328
39329
39330
39331
39332
39333
39334
39335
39336
39337
39338
39339
39340
39341
39342
39343
39344
39345
39346
39347
39348
39349
39350
39351
39352
39353
39354
39355
39356
39357
39358
39359
39360
39361
39362
39363
39364
39365
39366
39367
39368
39369
39370
39371
39372
39373
39374
39375
39376
39377
39378
39379
39380
39381
39382
39383
39384
39385
39386
39387
39388
39389
39390
39391
39392
39393
39394
39395
39396
39397
39398
39399
39400
39401
39402
39403
39404
39405
39406
39407
39408
39409
39410
39411
39412
39413
39414
39415
39416
39417
39418
39419
39420
39421
39422
39423
39424
39425
39426
39427
39428
39429
39430
39431
39432
39433
39434
39435
39436
39437
39438
39439
39440
39441
39442
39443
39444
39445
39446
39447
39448
39449
39450
39451
39452
39453
39454
39455
39456
39457
39458
39459
39460
39461
39462
39463
39464
39465
39466
39467
39468
39469
39470
39471
39472
39473
39474
39475
39476
39477
39478
39479
39480
39481
39482
39483
39484
39485
39486
39487
39488
39489
39490
39491
39492
39493
39494
39495
39496
39497
39498
39499
39500
39501
39502
39503
39504
39505
39506
39507
39508
39509
39510
39511
39512
39513
39514
39515
39516
39517
39518
39519
39520
39521
39522
39523
39524
39525
39526
39527
39528
39529
39530
39531
39532
39533
39534
39535
39536
39537
39538
39539
39540
39541
39542
39543
39544
39545
39546
39547
39548
39549
39550
39551
39552
39553
39554
39555
39556
39557
39558
39559
39560
39561
39562
39563
39564
39565
39566
39567
39568
39569
39570
39571
39572
39573
39574
39575
39576
39577
39578
39579
39580
39581
39582
39583
39584
39585
39586
39587
39588
39589
39590
39591
39592
39593
39594
39595
39596
39597
39598
39599
39600
39601
39602
39603
39604
39605
39606
39607
39608
39609
39610
39611
39612
39613
39614
39615
39616
39617
39618
39619
39620
39621
39622
39623
39624
39625
39626
39627
39628
39629
39630
39631
39632
39633
39634
39635
39636
39637
39638
39639
39640
39641
39642
39643
39644
39645
39646
39647
39648
39649
39650
39651
39652
39653
39654
39655
39656
39657
39658
39659
39660
39661
39662
39663
39664
39665
39666
39667
39668
39669
39670
39671
39672
39673
39674
39675
39676
39677
39678
39679
39680
39681
39682
39683
39684
39685
39686
39687
39688
39689
39690
39691
39692
39693
39694
39695
39696
39697
39698
39699
39700
39701
39702
39703
39704
39705
39706
39707
39708
39709
39710
39711
39712
39713
39714
39715
39716
39717
39718
39719
39720
39721
39722
39723
39724
39725
39726
39727
39728
39729
39730
39731
39732
39733
39734
39735
39736
39737
39738
39739
39740
39741
39742
39743
39744
39745
39746
39747
39748
39749
39750
39751
39752
39753
39754
39755
39756
39757
39758
39759
39760
39761
39762
39763
39764
39765
39766
39767
39768
39769
39770
39771
39772
39773
39774
39775
39776
39777
39778
39779
39780
39781
39782
39783
39784
39785
39786
39787
39788
39789
39790
39791
39792
39793
39794
39795
39796
39797
39798
39799
39800
39801
39802
39803
39804
39805
39806
39807
39808
39809
39810
39811
39812
39813
39814
39815
39816
39817
39818
39819
39820
39821
39822
39823
39824
39825
39826
39827
39828
39829
39830
39831
39832
39833
39834
39835
39836
39837
39838
39839
39840
39841
39842
39843
39844
39845
39846
39847
39848
39849
39850
39851
39852
39853
39854
39855
39856
39857
39858
39859
39860
39861
39862
39863
39864
39865
39866
39867
39868
39869
39870
39871
39872
39873
39874
39875
39876
39877
39878
39879
39880
39881
39882
39883
39884
39885
39886
39887
39888
39889
39890
39891
39892
39893
39894
39895
39896
39897
39898
39899
39900
39901
39902
39903
39904
39905
39906
39907
39908
39909
39910
39911
39912
39913
39914
39915
39916
39917
39918
39919
39920
39921
39922
39923
39924
39925
39926
39927
39928
39929
39930
39931
39932
39933
39934
39935
39936
39937
39938
39939
39940
39941
39942
39943
39944
39945
39946
39947
39948
39949
39950
39951
39952
39953
39954
39955
39956
39957
39958
39959
39960
39961
39962
39963
39964
39965
39966
39967
39968
39969
39970
39971
39972
39973
39974
39975
39976
39977
39978
39979
39980
39981
39982
39983
39984
39985
39986
39987
39988
39989
39990
39991
39992
39993
39994
39995
39996
39997
39998
39999
40000
40001
40002
40003
40004
40005
40006
40007
40008
40009
40010
40011
40012
40013
40014
40015
40016
40017
40018
40019
40020
40021
40022
40023
40024
40025
40026
40027
40028
40029
40030
40031
40032
40033
40034
40035
40036
40037
40038
40039
40040
40041
40042
40043
40044
40045
40046
40047
40048
40049
40050
40051
40052
40053
40054
40055
40056
40057
40058
40059
40060
40061
40062
40063
40064
40065
40066
40067
40068
40069
40070
40071
40072
40073
40074
40075
40076
40077
40078
40079
40080
40081
40082
40083
40084
40085
40086
40087
40088
40089
40090
40091
40092
40093
40094
40095
40096
40097
40098
40099
40100
40101
40102
40103
40104
40105
40106
40107
40108
40109
40110
40111
40112
40113
40114
40115
40116
40117
40118
40119
40120
40121
40122
40123
40124
40125
40126
40127
40128
40129
40130
40131
40132
40133
40134
40135
40136
40137
40138
40139
40140
40141
40142
40143
40144
40145
40146
40147
40148
40149
40150
40151
40152
40153
40154
40155
40156
40157
40158
40159
40160
40161
40162
40163
40164
40165
40166
40167
40168
40169
40170
40171
40172
40173
40174
40175
40176
40177
40178
40179
40180
40181
40182
40183
40184
40185
40186
40187
40188
40189
40190
40191
40192
40193
40194
40195
40196
40197
40198
40199
40200
40201
40202
40203
40204
40205
40206
40207
40208
40209
40210
40211
40212
40213
40214
40215
40216
40217
40218
40219
40220
40221
40222
40223
40224
40225
40226
40227
40228
40229
40230
40231
40232
40233
40234
40235
40236
40237
40238
40239
40240
40241
40242
40243
40244
40245
40246
40247
40248
40249
40250
40251
40252
40253
40254
40255
40256
40257
40258
40259
40260
40261
40262
40263
40264
40265
40266
40267
40268
40269
40270
40271
40272
40273
40274
40275
40276
40277
40278
40279
40280
40281
40282
40283
40284
40285
40286
40287
40288
40289
40290
40291
40292
40293
40294
40295
40296
40297
40298
40299
40300
40301
40302
40303
40304
40305
40306
40307
40308
40309
40310
40311
40312
40313
40314
40315
40316
40317
40318
40319
40320
40321
40322
40323
40324
40325
40326
40327
40328
40329
40330
40331
40332
40333
40334
40335
40336
40337
40338
40339
40340
40341
40342
40343
40344
40345
40346
40347
40348
40349
40350
40351
40352
40353
40354
40355
40356
40357
40358
40359
40360
40361
40362
40363
40364
40365
40366
40367
40368
40369
40370
40371
40372
40373
40374
40375
40376
40377
40378
40379
40380
40381
40382
40383
40384
40385
40386
40387
40388
40389
40390
40391
40392
40393
40394
40395
40396
40397
40398
40399
40400
40401
40402
40403
40404
40405
40406
40407
40408
40409
40410
40411
40412
40413
40414
40415
40416
40417
40418
40419
40420
40421
40422
40423
40424
40425
40426
40427
40428
40429
40430
40431
40432
40433
40434
40435
40436
40437
40438
40439
40440
40441
40442
40443
40444
40445
40446
40447
40448
40449
40450
40451
40452
40453
40454
40455
40456
40457
40458
40459
40460
40461
40462
40463
40464
40465
40466
40467
40468
40469
40470
40471
40472
40473
40474
40475
40476
40477
40478
40479
40480
40481
40482
40483
40484
40485
40486
40487
40488
40489
40490
40491
40492
40493
40494
40495
40496
40497
40498
40499
40500
40501
40502
40503
40504
40505
40506
40507
40508
40509
40510
40511
40512
40513
40514
40515
40516
40517
40518
40519
40520
40521
40522
40523
40524
40525
40526
40527
40528
40529
40530
40531
40532
40533
40534
40535
40536
40537
40538
40539
40540
40541
40542
40543
40544
40545
40546
40547
40548
40549
40550
40551
40552
40553
40554
40555
40556
40557
40558
40559
40560
40561
40562
40563
40564
40565
40566
40567
40568
40569
40570
40571
40572
40573
40574
40575
40576
40577
40578
40579
40580
40581
40582
40583
40584
40585
40586
40587
40588
40589
40590
40591
40592
40593
40594
40595
40596
40597
40598
40599
40600
40601
40602
40603
40604
40605
40606
40607
40608
40609
40610
40611
40612
40613
40614
40615
40616
40617
40618
40619
40620
40621
40622
40623
40624
40625
40626
40627
40628
40629
40630
40631
40632
40633
40634
40635
40636
40637
40638
40639
40640
40641
40642
40643
40644
40645
40646
40647
40648
40649
40650
40651
40652
40653
40654
40655
40656
40657
40658
40659
40660
40661
40662
40663
40664
40665
40666
40667
40668
40669
40670
40671
40672
40673
40674
40675
40676
40677
40678
40679
40680
40681
40682
40683
40684
40685
40686
40687
40688
40689
40690
40691
40692
40693
40694
40695
40696
40697
40698
40699
40700
40701
40702
40703
40704
40705
40706
40707
40708
40709
40710
40711
40712
40713
40714
40715
40716
40717
40718
40719
40720
40721
40722
40723
40724
40725
40726
40727
40728
40729
40730
40731
40732
40733
40734
40735
40736
40737
40738
40739
40740
40741
40742
40743
40744
40745
40746
40747
40748
40749
40750
40751
40752
40753
40754
40755
40756
40757
40758
40759
40760
40761
40762
40763
40764
40765
40766
40767
40768
40769
40770
40771
40772
40773
40774
40775
40776
40777
40778
40779
40780
40781
40782
40783
40784
40785
40786
40787
40788
40789
40790
40791
40792
40793
40794
40795
40796
40797
40798
40799
40800
40801
40802
40803
40804
40805
40806
40807
40808
40809
40810
40811
40812
40813
40814
40815
40816
40817
40818
40819
40820
40821
40822
40823
40824
40825
40826
40827
40828
40829
40830
40831
40832
40833
40834
40835
40836
40837
40838
40839
40840
40841
40842
40843
40844
40845
40846
40847
40848
40849
40850
40851
40852
40853
40854
40855
40856
40857
40858
40859
40860
40861
40862
40863
40864
40865
40866
40867
40868
40869
40870
40871
40872
40873
40874
40875
40876
40877
40878
40879
40880
40881
40882
40883
40884
40885
40886
40887
40888
40889
40890
40891
40892
40893
40894
40895
40896
40897
40898
40899
40900
40901
40902
40903
40904
40905
40906
40907
40908
40909
40910
40911
40912
40913
40914
40915
40916
40917
40918
40919
40920
40921
40922
40923
40924
40925
40926
40927
40928
40929
40930
40931
40932
40933
40934
40935
40936
40937
40938
40939
40940
40941
40942
40943
40944
40945
40946
40947
40948
40949
40950
40951
40952
40953
40954
40955
40956
40957
40958
40959
40960
40961
40962
40963
40964
40965
40966
40967
40968
40969
40970
40971
40972
40973
40974
40975
40976
40977
40978
40979
40980
40981
40982
40983
40984
40985
40986
40987
40988
40989
40990
40991
40992
40993
40994
40995
40996
40997
40998
40999
41000
41001
41002
41003
41004
41005
41006
41007
41008
41009
41010
41011
41012
41013
41014
41015
41016
41017
41018
41019
41020
41021
41022
41023
41024
41025
41026
41027
41028
41029
41030
41031
41032
41033
41034
41035
41036
41037
41038
41039
41040
41041
41042
41043
41044
41045
41046
41047
41048
41049
41050
41051
41052
41053
41054
41055
41056
41057
41058
41059
41060
41061
41062
41063
41064
41065
41066
41067
41068
41069
41070
41071
41072
41073
41074
41075
41076
41077
41078
41079
41080
41081
41082
41083
41084
41085
41086
41087
41088
41089
41090
41091
41092
41093
41094
41095
41096
41097
41098
41099
41100
41101
41102
41103
41104
41105
41106
41107
41108
41109
41110
41111
41112
41113
41114
41115
41116
41117
41118
41119
41120
41121
41122
41123
41124
41125
41126
41127
41128
41129
41130
41131
41132
41133
41134
41135
41136
41137
41138
41139
41140
41141
41142
41143
41144
41145
41146
41147
41148
41149
41150
41151
41152
41153
41154
41155
41156
41157
41158
41159
41160
41161
41162
41163
41164
41165
41166
41167
41168
41169
41170
41171
41172
41173
41174
41175
41176
41177
41178
41179
41180
41181
41182
41183
41184
41185
41186
41187
41188
41189
41190
41191
41192
41193
41194
41195
41196
41197
41198
41199
41200
41201
41202
41203
41204
41205
41206
41207
41208
41209
41210
41211
41212
41213
41214
41215
41216
41217
41218
41219
41220
41221
41222
41223
41224
41225
41226
41227
41228
41229
41230
41231
41232
41233
41234
41235
41236
41237
41238
41239
41240
41241
41242
41243
41244
41245
41246
41247
41248
41249
41250
41251
41252
41253
41254
41255
41256
41257
41258
41259
41260
41261
41262
41263
41264
41265
41266
41267
41268
41269
41270
41271
41272
41273
41274
41275
41276
41277
41278
41279
41280
41281
41282
41283
41284
41285
41286
41287
41288
41289
41290
41291
41292
41293
41294
41295
41296
41297
41298
41299
41300
41301
41302
41303
41304
41305
41306
41307
41308
41309
41310
41311
41312
41313
41314
41315
41316
41317
41318
41319
41320
41321
41322
41323
41324
41325
41326
41327
41328
41329
41330
41331
41332
41333
41334
41335
41336
41337
41338
41339
41340
41341
41342
41343
41344
41345
41346
41347
41348
41349
41350
41351
41352
41353
41354
41355
41356
41357
41358
41359
41360
41361
41362
41363
41364
41365
41366
41367
41368
41369
41370
41371
41372
41373
41374
41375
41376
41377
41378
41379
41380
41381
41382
41383
41384
41385
41386
41387
41388
41389
41390
41391
41392
41393
41394
41395
41396
41397
41398
41399
41400
41401
41402
41403
41404
41405
41406
41407
41408
41409
41410
41411
41412
41413
41414
41415
41416
41417
41418
41419
41420
41421
41422
41423
41424
41425
41426
41427
41428
41429
41430
41431
41432
41433
41434
41435
41436
41437
41438
41439
41440
41441
41442
41443
41444
41445
41446
41447
41448
41449
41450
41451
41452
41453
41454
41455
41456
41457
41458
41459
41460
41461
41462
41463
41464
41465
41466
41467
41468
41469
41470
41471
41472
41473
41474
41475
41476
41477
41478
41479
41480
41481
41482
41483
41484
41485
41486
41487
41488
41489
41490
41491
41492
41493
41494
41495
41496
41497
41498
41499
41500
41501
41502
41503
41504
41505
41506
41507
41508
41509
41510
41511
41512
41513
41514
41515
41516
41517
41518
41519
41520
41521
41522
41523
41524
41525
41526
41527
41528
41529
41530
41531
41532
41533
41534
41535
41536
41537
41538
41539
41540
41541
41542
41543
41544
41545
41546
41547
41548
41549
41550
41551
41552
41553
41554
41555
41556
41557
41558
41559
41560
41561
41562
41563
41564
41565
41566
41567
41568
41569
41570
41571
41572
41573
41574
41575
41576
41577
41578
41579
41580
41581
41582
41583
41584
41585
41586
41587
41588
41589
41590
41591
41592
41593
41594
41595
41596
41597
41598
41599
41600
41601
41602
41603
41604
41605
41606
41607
41608
41609
41610
41611
41612
41613
41614
41615
41616
41617
41618
41619
41620
41621
41622
41623
41624
41625
41626
41627
41628
41629
41630
41631
41632
41633
41634
41635
41636
41637
41638
41639
41640
41641
41642
41643
41644
41645
41646
41647
41648
41649
41650
41651
41652
41653
41654
41655
41656
41657
41658
41659
41660
41661
41662
41663
41664
41665
41666
41667
41668
41669
41670
41671
41672
41673
41674
41675
41676
41677
41678
41679
41680
41681
41682
41683
41684
41685
41686
41687
41688
41689
41690
41691
41692
41693
41694
41695
41696
41697
41698
41699
41700
41701
41702
41703
41704
41705
41706
41707
41708
41709
41710
41711
41712
41713
41714
41715
41716
41717
41718
41719
41720
41721
41722
41723
41724
41725
41726
41727
41728
41729
41730
41731
41732
41733
41734
41735
41736
41737
41738
41739
41740
41741
41742
41743
41744
41745
41746
41747
41748
41749
41750
41751
41752
41753
41754
41755
41756
41757
41758
41759
41760
41761
41762
41763
41764
41765
41766
41767
41768
41769
41770
41771
41772
41773
41774
41775
41776
41777
41778
41779
41780
41781
41782
41783
41784
41785
41786
41787
41788
41789
41790
41791
41792
41793
41794
41795
41796
41797
41798
41799
41800
41801
41802
41803
41804
41805
41806
41807
41808
41809
41810
41811
41812
41813
41814
41815
41816
41817
41818
41819
41820
41821
41822
41823
41824
41825
41826
41827
41828
41829
41830
41831
41832
41833
41834
41835
41836
41837
41838
41839
41840
41841
41842
41843
41844
41845
41846
41847
41848
41849
41850
41851
41852
41853
41854
41855
41856
41857
41858
41859
41860
41861
41862
41863
41864
41865
41866
41867
41868
41869
41870
41871
41872
41873
41874
41875
41876
41877
41878
41879
41880
41881
41882
41883
41884
41885
41886
41887
41888
41889
41890
41891
41892
41893
41894
41895
41896
41897
41898
41899
41900
41901
41902
41903
41904
41905
41906
41907
41908
41909
41910
41911
41912
41913
41914
41915
41916
41917
41918
41919
41920
41921
41922
41923
41924
41925
41926
41927
41928
41929
41930
41931
41932
41933
41934
41935
41936
41937
41938
41939
41940
41941
41942
41943
41944
41945
41946
41947
41948
41949
41950
41951
41952
41953
41954
41955
41956
41957
41958
41959
41960
41961
41962
41963
41964
41965
41966
41967
41968
41969
41970
41971
41972
41973
41974
41975
41976
41977
41978
41979
41980
41981
41982
41983
41984
41985
41986
41987
41988
41989
41990
41991
41992
41993
41994
41995
41996
41997
41998
41999
42000
42001
42002
42003
42004
42005
42006
42007
42008
42009
42010
42011
42012
42013
42014
42015
42016
42017
42018
42019
42020
42021
42022
42023
42024
42025
42026
42027
42028
42029
42030
42031
42032
42033
42034
42035
42036
42037
42038
42039
42040
42041
42042
42043
42044
42045
42046
42047
42048
42049
42050
42051
42052
42053
42054
42055
42056
42057
42058
42059
42060
42061
42062
42063
42064
42065
42066
42067
42068
42069
42070
42071
42072
42073
42074
42075
42076
42077
42078
42079
42080
42081
42082
42083
42084
42085
42086
42087
42088
42089
42090
42091
42092
42093
42094
42095
42096
42097
42098
42099
42100
42101
42102
42103
42104
42105
42106
42107
42108
42109
42110
42111
42112
42113
42114
42115
42116
42117
42118
42119
42120
42121
42122
42123
42124
42125
42126
42127
42128
42129
42130
42131
42132
42133
42134
42135
42136
42137
42138
42139
42140
42141
42142
42143
42144
42145
42146
42147
42148
42149
42150
42151
42152
42153
42154
42155
42156
42157
42158
42159
42160
42161
42162
42163
42164
42165
42166
42167
42168
42169
42170
42171
42172
42173
42174
42175
42176
42177
42178
42179
42180
42181
42182
42183
42184
42185
42186
42187
42188
42189
42190
42191
42192
42193
42194
42195
42196
42197
42198
42199
42200
42201
42202
42203
42204
42205
42206
42207
42208
42209
42210
42211
42212
42213
42214
42215
42216
42217
42218
42219
42220
42221
42222
42223
42224
42225
42226
42227
42228
42229
42230
42231
42232
42233
42234
42235
42236
42237
42238
42239
42240
42241
42242
42243
42244
42245
42246
42247
42248
42249
42250
42251
42252
42253
42254
42255
42256
42257
42258
42259
42260
42261
42262
42263
42264
42265
42266
42267
42268
42269
42270
42271
42272
42273
42274
42275
42276
42277
42278
42279
42280
42281
42282
42283
42284
42285
42286
42287
42288
42289
42290
42291
42292
42293
42294
42295
42296
42297
42298
42299
42300
42301
42302
42303
42304
42305
42306
42307
42308
42309
42310
42311
42312
42313
42314
42315
42316
42317
42318
42319
42320
42321
42322
42323
42324
42325
42326
42327
42328
42329
42330
42331
42332
42333
42334
42335
42336
42337
42338
42339
42340
42341
42342
42343
42344
42345
42346
42347
42348
42349
42350
42351
42352
42353
42354
42355
42356
42357
42358
42359
42360
42361
42362
42363
42364
42365
42366
42367
42368
42369
42370
42371
42372
42373
42374
42375
42376
42377
42378
42379
42380
42381
42382
42383
42384
42385
42386
42387
42388
42389
42390
42391
42392
42393
42394
42395
42396
42397
42398
42399
42400
42401
42402
42403
42404
42405
42406
42407
42408
42409
42410
42411
42412
42413
42414
42415
42416
42417
42418
42419
42420
42421
42422
42423
42424
42425
42426
42427
42428
42429
42430
42431
42432
42433
42434
42435
42436
42437
42438
42439
42440
42441
42442
42443
42444
42445
42446
42447
42448
42449
42450
42451
42452
42453
42454
42455
42456
42457
42458
42459
42460
42461
42462
42463
42464
42465
42466
42467
42468
42469
42470
42471
42472
42473
42474
42475
42476
42477
42478
42479
42480
42481
42482
42483
42484
42485
42486
42487
42488
42489
42490
42491
42492
42493
42494
42495
42496
42497
42498
42499
42500
42501
42502
42503
42504
42505
42506
42507
42508
42509
42510
42511
42512
42513
42514
42515
42516
42517
42518
42519
42520
42521
42522
42523
42524
42525
42526
42527
42528
42529
42530
42531
42532
42533
42534
42535
42536
42537
42538
42539
42540
42541
42542
42543
42544
42545
42546
42547
42548
42549
42550
42551
42552
42553
42554
42555
42556
42557
42558
42559
42560
42561
42562
42563
42564
42565
42566
42567
42568
42569
42570
42571
42572
42573
42574
42575
42576
42577
42578
42579
42580
42581
42582
42583
42584
42585
42586
42587
42588
42589
42590
42591
42592
42593
42594
42595
42596
42597
42598
42599
42600
42601
42602
42603
42604
42605
42606
42607
42608
42609
42610
42611
42612
42613
42614
42615
42616
42617
42618
42619
42620
42621
42622
42623
42624
42625
42626
42627
42628
42629
42630
42631
42632
42633
42634
42635
42636
42637
42638
42639
42640
42641
42642
42643
42644
42645
42646
42647
42648
42649
42650
42651
42652
42653
42654
42655
42656
42657
42658
42659
42660
42661
42662
42663
42664
42665
42666
42667
42668
42669
42670
42671
42672
42673
42674
42675
42676
42677
42678
42679
42680
42681
42682
42683
42684
42685
42686
42687
42688
42689
42690
42691
42692
42693
42694
42695
42696
42697
42698
42699
42700
42701
42702
42703
42704
42705
42706
42707
42708
42709
42710
42711
42712
42713
42714
42715
42716
42717
42718
42719
42720
42721
42722
42723
42724
42725
42726
42727
42728
42729
42730
42731
42732
42733
42734
42735
42736
42737
42738
42739
42740
42741
42742
42743
42744
42745
42746
42747
42748
42749
42750
42751
42752
42753
42754
42755
42756
42757
42758
42759
42760
42761
42762
42763
42764
42765
42766
42767
42768
42769
42770
42771
42772
42773
42774
42775
42776
42777
42778
42779
42780
42781
42782
42783
42784
42785
42786
42787
42788
42789
42790
42791
42792
42793
42794
42795
42796
42797
42798
42799
42800
42801
42802
42803
42804
42805
42806
42807
42808
42809
42810
42811
42812
42813
42814
42815
42816
42817
42818
42819
42820
42821
42822
42823
42824
42825
42826
42827
42828
42829
42830
42831
42832
42833
42834
42835
42836
42837
42838
42839
42840
42841
42842
42843
42844
42845
42846
42847
42848
42849
42850
42851
42852
42853
42854
42855
42856
42857
42858
42859
42860
42861
42862
42863
42864
42865
42866
42867
42868
42869
42870
42871
42872
42873
42874
42875
42876
42877
42878
42879
42880
42881
42882
42883
42884
42885
42886
42887
42888
42889
42890
42891
42892
42893
42894
42895
42896
42897
42898
42899
42900
42901
42902
42903
42904
42905
42906
42907
42908
42909
42910
42911
42912
42913
42914
42915
42916
42917
42918
42919
42920
42921
42922
42923
42924
42925
42926
42927
42928
42929
42930
42931
42932
42933
42934
42935
42936
42937
42938
42939
42940
42941
42942
42943
42944
42945
42946
42947
42948
42949
42950
42951
42952
42953
42954
42955
42956
42957
42958
42959
42960
42961
42962
42963
42964
42965
42966
42967
42968
42969
42970
42971
42972
42973
42974
42975
42976
42977
42978
42979
42980
42981
42982
42983
42984
42985
42986
42987
42988
42989
42990
42991
42992
42993
42994
42995
42996
42997
42998
42999
43000
43001
43002
43003
43004
43005
43006
43007
43008
43009
43010
43011
43012
43013
43014
43015
43016
43017
43018
43019
43020
43021
43022
43023
43024
43025
43026
43027
43028
43029
43030
43031
43032
43033
43034
43035
43036
43037
43038
43039
43040
43041
43042
43043
43044
43045
43046
43047
43048
43049
43050
43051
43052
43053
43054
43055
43056
43057
43058
43059
43060
43061
43062
43063
43064
43065
43066
43067
43068
43069
43070
43071
43072
43073
43074
43075
43076
43077
43078
43079
43080
43081
43082
43083
43084
43085
43086
43087
43088
43089
43090
43091
43092
43093
43094
43095
43096
43097
43098
43099
43100
43101
43102
43103
43104
43105
43106
43107
43108
43109
43110
43111
43112
43113
43114
43115
43116
43117
43118
43119
43120
43121
43122
43123
43124
43125
43126
43127
43128
43129
43130
43131
43132
43133
43134
43135
43136
43137
43138
43139
43140
43141
43142
43143
43144
43145
43146
43147
43148
43149
43150
43151
43152
43153
43154
43155
43156
43157
43158
43159
43160
43161
43162
43163
43164
43165
43166
43167
43168
43169
43170
43171
43172
43173
43174
43175
43176
43177
43178
43179
43180
43181
43182
43183
43184
43185
43186
43187
43188
43189
43190
43191
43192
43193
43194
43195
43196
43197
43198
43199
43200
43201
43202
43203
43204
43205
43206
43207
43208
43209
43210
43211
43212
43213
43214
43215
43216
43217
43218
43219
43220
43221
43222
43223
43224
43225
43226
43227
43228
43229
43230
43231
43232
43233
43234
43235
43236
43237
43238
43239
43240
43241
43242
43243
43244
43245
43246
43247
43248
43249
43250
43251
43252
43253
43254
43255
43256
43257
43258
43259
43260
43261
43262
43263
43264
43265
43266
43267
43268
43269
43270
43271
43272
43273
43274
43275
43276
43277
43278
43279
43280
43281
43282
43283
43284
43285
43286
43287
43288
43289
43290
43291
43292
43293
43294
43295
43296
43297
43298
43299
43300
43301
43302
43303
43304
43305
43306
43307
43308
43309
43310
43311
43312
43313
43314
43315
43316
43317
43318
43319
43320
43321
43322
43323
43324
43325
43326
43327
43328
43329
43330
43331
43332
43333
43334
43335
43336
43337
43338
43339
43340
43341
43342
43343
43344
43345
43346
43347
43348
43349
43350
43351
43352
43353
43354
43355
43356
43357
43358
43359
43360
43361
43362
43363
43364
43365
43366
43367
43368
43369
43370
43371
43372
43373
43374
43375
43376
43377
43378
43379
43380
43381
43382
43383
43384
43385
43386
43387
43388
43389
43390
43391
43392
43393
43394
43395
43396
43397
43398
43399
43400
43401
43402
43403
43404
43405
43406
43407
43408
43409
43410
43411
43412
43413
43414
43415
43416
43417
43418
43419
43420
43421
43422
43423
43424
43425
43426
43427
43428
43429
43430
43431
43432
43433
43434
43435
43436
43437
43438
43439
43440
43441
43442
43443
43444
43445
43446
43447
43448
43449
43450
43451
43452
43453
43454
43455
43456
43457
43458
43459
43460
43461
43462
43463
43464
43465
43466
43467
43468
43469
43470
43471
43472
43473
43474
43475
43476
43477
43478
43479
43480
43481
43482
43483
43484
43485
43486
43487
43488
43489
43490
43491
43492
43493
43494
43495
43496
43497
43498
43499
43500
43501
43502
43503
43504
43505
43506
43507
43508
43509
43510
43511
43512
43513
43514
43515
43516
43517
43518
43519
43520
43521
43522
43523
43524
43525
43526
43527
43528
43529
43530
43531
43532
43533
43534
43535
43536
43537
43538
43539
43540
43541
43542
43543
43544
43545
43546
43547
43548
43549
43550
43551
43552
43553
43554
43555
43556
43557
43558
43559
43560
43561
43562
43563
43564
43565
43566
43567
43568
43569
43570
43571
43572
43573
43574
43575
43576
43577
43578
43579
43580
43581
43582
43583
43584
43585
43586
43587
43588
43589
43590
43591
43592
43593
43594
43595
43596
43597
43598
43599
43600
43601
43602
43603
43604
43605
43606
43607
43608
43609
43610
43611
43612
43613
43614
43615
43616
43617
43618
43619
43620
43621
43622
43623
43624
43625
43626
43627
43628
43629
43630
43631
43632
43633
43634
43635
43636
43637
43638
43639
43640
43641
43642
43643
43644
43645
43646
43647
43648
43649
43650
43651
43652
43653
43654
43655
43656
43657
43658
43659
43660
43661
43662
43663
43664
43665
43666
43667
43668
43669
43670
43671
43672
43673
43674
43675
43676
43677
43678
43679
43680
43681
43682
43683
43684
43685
43686
43687
43688
43689
43690
43691
43692
43693
43694
43695
43696
43697
43698
43699
43700
43701
43702
43703
43704
43705
43706
43707
43708
43709
43710
43711
43712
43713
43714
43715
43716
43717
43718
43719
43720
43721
43722
43723
43724
43725
43726
43727
43728
43729
43730
43731
43732
43733
43734
43735
43736
43737
43738
43739
43740
43741
43742
43743
43744
43745
43746
43747
43748
43749
43750
43751
43752
43753
43754
43755
43756
43757
43758
43759
43760
43761
43762
43763
43764
43765
43766
43767
43768
43769
43770
43771
43772
43773
43774
43775
43776
43777
43778
43779
43780
43781
43782
43783
43784
43785
43786
43787
43788
43789
43790
43791
43792
43793
43794
43795
43796
43797
43798
43799
43800
43801
43802
43803
43804
43805
43806
43807
43808
43809
43810
43811
43812
43813
43814
43815
43816
43817
43818
43819
43820
43821
43822
43823
43824
43825
43826
43827
43828
43829
43830
43831
43832
43833
43834
43835
43836
43837
43838
43839
43840
43841
43842
43843
43844
43845
43846
43847
43848
43849
43850
43851
43852
43853
43854
43855
43856
43857
43858
43859
43860
43861
43862
43863
43864
43865
43866
43867
43868
43869
43870
43871
43872
43873
43874
43875
43876
43877
43878
43879
43880
43881
43882
43883
43884
43885
43886
43887
43888
43889
43890
43891
43892
43893
43894
43895
43896
43897
43898
43899
43900
43901
43902
43903
43904
43905
43906
43907
43908
43909
43910
43911
43912
43913
43914
43915
43916
43917
43918
43919
43920
43921
43922
43923
43924
43925
43926
43927
43928
43929
43930
43931
43932
43933
43934
43935
43936
43937
43938
43939
43940
43941
43942
43943
43944
43945
43946
43947
43948
43949
43950
43951
43952
43953
43954
43955
43956
43957
43958
43959
43960
43961
43962
43963
43964
43965
43966
43967
43968
43969
43970
43971
43972
43973
43974
43975
43976
43977
43978
43979
43980
43981
43982
43983
43984
43985
43986
43987
43988
43989
43990
43991
43992
43993
43994
43995
43996
43997
43998
43999
44000
44001
44002
44003
44004
44005
44006
44007
44008
44009
44010
44011
44012
44013
44014
44015
44016
44017
44018
44019
44020
44021
44022
44023
44024
44025
44026
44027
44028
44029
44030
44031
44032
44033
44034
44035
44036
44037
44038
44039
44040
44041
44042
44043
44044
44045
44046
44047
44048
44049
44050
44051
44052
44053
44054
44055
44056
44057
44058
44059
44060
44061
44062
44063
44064
44065
44066
44067
44068
44069
44070
44071
44072
44073
44074
44075
44076
44077
44078
44079
44080
44081
44082
44083
44084
44085
44086
44087
44088
44089
44090
44091
44092
44093
44094
44095
44096
44097
44098
44099
44100
44101
44102
44103
44104
44105
44106
44107
44108
44109
44110
44111
44112
44113
44114
44115
44116
44117
44118
44119
44120
44121
44122
44123
44124
44125
44126
44127
44128
44129
44130
44131
44132
44133
44134
44135
44136
44137
44138
44139
44140
44141
44142
44143
44144
44145
44146
44147
44148
44149
44150
44151
44152
44153
44154
44155
44156
44157
44158
44159
44160
44161
44162
44163
44164
44165
44166
44167
44168
44169
44170
44171
44172
44173
44174
44175
44176
44177
44178
44179
44180
44181
44182
44183
44184
44185
44186
44187
44188
44189
44190
44191
44192
44193
44194
44195
44196
44197
44198
44199
44200
44201
44202
44203
44204
44205
44206
44207
44208
44209
44210
44211
44212
44213
44214
44215
44216
44217
44218
44219
44220
44221
44222
44223
44224
44225
44226
44227
44228
44229
44230
44231
44232
44233
44234
44235
44236
44237
44238
44239
44240
44241
44242
44243
44244
44245
44246
44247
44248
44249
44250
44251
44252
44253
44254
44255
44256
44257
44258
44259
44260
44261
44262
44263
44264
44265
44266
44267
44268
44269
44270
44271
44272
44273
44274
44275
44276
44277
44278
44279
44280
44281
44282
44283
44284
44285
44286
44287
44288
44289
44290
44291
44292
44293
44294
44295
44296
44297
44298
44299
44300
44301
44302
44303
44304
44305
44306
44307
44308
44309
44310
44311
44312
44313
44314
44315
44316
44317
44318
44319
44320
44321
44322
44323
44324
44325
44326
44327
44328
44329
44330
44331
44332
44333
44334
44335
44336
44337
44338
44339
44340
44341
44342
44343
44344
44345
44346
44347
44348
44349
44350
44351
44352
44353
44354
44355
44356
44357
44358
44359
44360
44361
44362
44363
44364
44365
44366
44367
44368
44369
44370
44371
44372
44373
44374
44375
44376
44377
44378
44379
44380
44381
44382
44383
44384
44385
44386
44387
44388
44389
44390
44391
44392
44393
44394
44395
44396
44397
44398
44399
44400
44401
44402
44403
44404
44405
44406
44407
44408
44409
44410
44411
44412
44413
44414
44415
44416
44417
44418
44419
44420
44421
44422
44423
44424
44425
44426
44427
44428
44429
44430
44431
44432
44433
44434
44435
44436
44437
44438
44439
44440
44441
44442
44443
44444
44445
44446
44447
44448
44449
44450
44451
44452
44453
44454
44455
44456
44457
44458
44459
44460
44461
44462
44463
44464
44465
44466
44467
44468
44469
44470
44471
44472
44473
44474
44475
44476
44477
44478
44479
44480
44481
44482
44483
44484
44485
44486
44487
44488
44489
44490
44491
44492
44493
44494
44495
44496
44497
44498
44499
44500
44501
44502
44503
44504
44505
44506
44507
44508
44509
44510
44511
44512
44513
44514
44515
44516
44517
44518
44519
44520
44521
44522
44523
44524
44525
44526
44527
44528
44529
44530
44531
44532
44533
44534
44535
44536
44537
44538
44539
44540
44541
44542
44543
44544
44545
44546
44547
44548
44549
44550
44551
44552
44553
44554
44555
44556
44557
44558
44559
44560
44561
44562
44563
44564
44565
44566
44567
44568
44569
44570
44571
44572
44573
44574
44575
44576
44577
44578
44579
44580
44581
44582
44583
44584
44585
44586
44587
44588
44589
44590
44591
44592
44593
44594
44595
44596
44597
44598
44599
44600
44601
44602
44603
44604
44605
44606
44607
44608
44609
44610
44611
44612
44613
44614
44615
44616
44617
44618
44619
44620
44621
44622
44623
44624
44625
44626
44627
44628
44629
44630
44631
44632
44633
44634
44635
44636
44637
44638
44639
44640
44641
44642
44643
44644
44645
44646
44647
44648
44649
44650
44651
44652
44653
44654
44655
44656
44657
44658
44659
44660
44661
44662
44663
44664
44665
44666
44667
44668
44669
44670
44671
44672
44673
44674
44675
44676
44677
44678
44679
44680
44681
44682
44683
44684
44685
44686
44687
44688
44689
44690
44691
44692
44693
44694
44695
44696
44697
44698
44699
44700
44701
44702
44703
44704
44705
44706
44707
44708
44709
44710
44711
44712
44713
44714
44715
44716
44717
44718
44719
44720
44721
44722
44723
44724
44725
44726
44727
44728
44729
44730
44731
44732
44733
44734
44735
44736
44737
44738
44739
44740
44741
44742
44743
44744
44745
44746
44747
44748
44749
44750
44751
44752
44753
44754
44755
44756
44757
44758
44759
44760
44761
44762
44763
44764
44765
44766
44767
44768
44769
44770
44771
44772
44773
44774
44775
44776
44777
44778
44779
44780
44781
44782
44783
44784
44785
44786
44787
44788
44789
44790
44791
44792
44793
44794
44795
44796
44797
44798
44799
44800
44801
44802
44803
44804
44805
44806
44807
44808
44809
44810
44811
44812
44813
44814
44815
44816
44817
44818
44819
44820
44821
44822
44823
44824
44825
44826
44827
44828
44829
44830
44831
44832
44833
44834
44835
44836
44837
44838
44839
44840
44841
44842
44843
44844
44845
44846
44847
44848
44849
44850
44851
44852
44853
44854
44855
44856
44857
44858
44859
44860
44861
44862
44863
44864
44865
44866
44867
44868
44869
44870
44871
44872
44873
44874
44875
44876
44877
44878
44879
44880
44881
44882
44883
44884
44885
44886
44887
44888
44889
44890
44891
44892
44893
44894
44895
44896
44897
44898
44899
44900
44901
44902
44903
44904
44905
44906
44907
44908
44909
44910
44911
44912
44913
44914
44915
44916
44917
44918
44919
44920
44921
44922
44923
44924
44925
44926
44927
44928
44929
44930
44931
44932
44933
44934
44935
44936
44937
44938
44939
44940
44941
44942
44943
44944
44945
44946
44947
44948
44949
44950
44951
44952
44953
44954
44955
44956
44957
44958
44959
44960
44961
44962
44963
44964
44965
44966
44967
44968
44969
44970
44971
44972
44973
44974
44975
44976
44977
44978
44979
44980
44981
44982
44983
44984
44985
44986
44987
44988
44989
44990
44991
44992
44993
44994
44995
44996
44997
44998
44999
45000
45001
45002
45003
45004
45005
45006
45007
45008
45009
45010
45011
45012
45013
45014
45015
45016
45017
45018
45019
45020
45021
45022
45023
45024
45025
45026
45027
45028
45029
45030
45031
45032
45033
45034
45035
45036
45037
45038
45039
45040
45041
45042
45043
45044
45045
45046
45047
45048
45049
45050
45051
45052
45053
45054
45055
45056
45057
45058
45059
45060
45061
45062
45063
45064
45065
45066
45067
45068
45069
45070
45071
45072
45073
45074
45075
45076
45077
45078
45079
45080
45081
45082
45083
45084
45085
45086
45087
45088
45089
45090
45091
45092
45093
45094
45095
45096
45097
45098
45099
45100
45101
45102
45103
45104
45105
45106
45107
45108
45109
45110
45111
45112
45113
45114
45115
45116
45117
45118
45119
45120
45121
45122
45123
45124
45125
45126
45127
45128
45129
45130
45131
45132
45133
45134
45135
45136
45137
45138
45139
45140
45141
45142
45143
45144
45145
45146
45147
45148
45149
45150
45151
45152
45153
45154
45155
45156
45157
45158
45159
45160
45161
45162
45163
45164
45165
45166
45167
45168
45169
45170
45171
45172
45173
45174
45175
45176
45177
45178
45179
45180
45181
45182
45183
45184
45185
45186
45187
45188
45189
45190
45191
45192
45193
45194
45195
45196
45197
45198
45199
45200
45201
45202
45203
45204
45205
45206
45207
45208
45209
45210
45211
45212
45213
45214
45215
45216
45217
45218
45219
45220
45221
45222
45223
45224
45225
45226
45227
45228
45229
45230
45231
45232
45233
45234
45235
45236
45237
45238
45239
45240
45241
45242
45243
45244
45245
45246
45247
45248
45249
45250
45251
45252
45253
45254
45255
45256
45257
45258
45259
45260
45261
45262
45263
45264
45265
45266
45267
45268
45269
45270
45271
45272
45273
45274
45275
45276
45277
45278
45279
45280
45281
45282
45283
45284
45285
45286
45287
45288
45289
45290
45291
45292
45293
45294
45295
45296
45297
45298
45299
45300
45301
45302
45303
45304
45305
45306
45307
45308
45309
45310
45311
45312
45313
45314
45315
45316
45317
45318
45319
45320
45321
45322
45323
45324
45325
45326
45327
45328
45329
45330
45331
45332
45333
45334
45335
45336
45337
45338
45339
45340
45341
45342
45343
45344
45345
45346
45347
45348
45349
45350
45351
45352
45353
45354
45355
45356
45357
45358
45359
45360
45361
45362
45363
45364
45365
45366
45367
45368
45369
45370
45371
45372
45373
45374
45375
45376
45377
45378
45379
45380
45381
45382
45383
45384
45385
45386
45387
45388
45389
45390
45391
45392
45393
45394
45395
45396
45397
45398
45399
45400
45401
45402
45403
45404
45405
45406
45407
45408
45409
45410
45411
45412
45413
45414
45415
45416
45417
45418
45419
45420
45421
45422
45423
45424
45425
45426
45427
45428
45429
45430
45431
45432
45433
45434
45435
45436
45437
45438
45439
45440
45441
45442
45443
45444
45445
45446
45447
45448
45449
45450
45451
45452
45453
45454
45455
45456
45457
45458
45459
45460
45461
45462
45463
45464
45465
45466
45467
45468
45469
45470
45471
45472
45473
45474
45475
45476
45477
45478
45479
45480
45481
45482
45483
45484
45485
45486
45487
45488
45489
45490
45491
45492
45493
45494
45495
45496
45497
45498
45499
45500
45501
45502
45503
45504
45505
45506
45507
45508
45509
45510
45511
45512
45513
45514
45515
45516
45517
45518
45519
45520
45521
45522
45523
45524
45525
45526
45527
45528
45529
45530
45531
45532
45533
45534
45535
45536
45537
45538
45539
45540
45541
45542
45543
45544
45545
45546
45547
45548
45549
45550
45551
45552
45553
45554
45555
45556
45557
45558
45559
45560
45561
45562
45563
45564
45565
45566
45567
45568
45569
45570
45571
45572
45573
45574
45575
45576
45577
45578
45579
45580
45581
45582
45583
45584
45585
45586
45587
45588
45589
45590
45591
45592
45593
45594
45595
45596
45597
45598
45599
45600
45601
45602
45603
45604
45605
45606
45607
45608
45609
45610
45611
45612
45613
45614
45615
45616
45617
45618
45619
45620
45621
45622
45623
45624
45625
45626
45627
45628
45629
45630
45631
45632
45633
45634
45635
45636
45637
45638
45639
45640
45641
45642
45643
45644
45645
45646
45647
45648
45649
45650
45651
45652
45653
45654
45655
45656
45657
45658
45659
45660
45661
45662
45663
45664
45665
45666
45667
45668
45669
45670
45671
45672
45673
45674
45675
45676
45677
45678
45679
45680
45681
45682
45683
45684
45685
45686
45687
45688
45689
45690
45691
45692
45693
45694
45695
45696
45697
45698
45699
45700
45701
45702
45703
45704
45705
45706
45707
45708
45709
45710
45711
45712
45713
45714
45715
45716
45717
45718
45719
45720
45721
45722
45723
45724
45725
45726
45727
45728
45729
45730
45731
45732
45733
45734
45735
45736
45737
45738
45739
45740
45741
45742
45743
45744
45745
45746
45747
45748
45749
45750
45751
45752
45753
45754
45755
45756
45757
45758
45759
45760
45761
45762
45763
45764
45765
45766
45767
45768
45769
45770
45771
45772
45773
45774
45775
45776
45777
45778
45779
45780
45781
45782
45783
45784
45785
45786
45787
45788
45789
45790
45791
45792
45793
45794
45795
45796
45797
45798
45799
45800
45801
45802
45803
45804
45805
45806
45807
45808
45809
45810
45811
45812
45813
45814
45815
45816
45817
45818
45819
45820
45821
45822
45823
45824
45825
45826
45827
45828
45829
45830
45831
45832
45833
45834
45835
45836
45837
45838
45839
45840
45841
45842
45843
45844
45845
45846
45847
45848
45849
45850
45851
45852
45853
45854
45855
45856
45857
45858
45859
45860
45861
45862
45863
45864
45865
45866
45867
45868
45869
45870
45871
45872
45873
45874
45875
45876
45877
45878
45879
45880
45881
45882
45883
45884
45885
45886
45887
45888
45889
45890
45891
45892
45893
45894
45895
45896
45897
45898
45899
45900
45901
45902
45903
45904
45905
45906
45907
45908
45909
45910
45911
45912
45913
45914
45915
45916
45917
45918
45919
45920
45921
45922
45923
45924
45925
45926
45927
45928
45929
45930
45931
45932
45933
45934
45935
45936
45937
45938
45939
45940
45941
45942
45943
45944
45945
45946
45947
45948
45949
45950
45951
45952
45953
45954
45955
45956
45957
45958
45959
45960
45961
45962
45963
45964
45965
45966
45967
45968
45969
45970
45971
45972
45973
45974
45975
45976
45977
45978
45979
45980
45981
45982
45983
45984
45985
45986
45987
45988
45989
45990
45991
45992
45993
45994
45995
45996
45997
45998
45999
46000
46001
46002
46003
46004
46005
46006
46007
46008
46009
46010
46011
46012
46013
46014
46015
46016
46017
46018
46019
46020
46021
46022
46023
46024
46025
46026
46027
46028
46029
46030
46031
46032
46033
46034
46035
46036
46037
46038
46039
46040
46041
46042
46043
46044
46045
46046
46047
46048
46049
46050
46051
46052
46053
46054
46055
46056
46057
46058
46059
46060
46061
46062
46063
46064
46065
46066
46067
46068
46069
46070
46071
46072
46073
46074
46075
46076
46077
46078
46079
46080
46081
46082
46083
46084
46085
46086
46087
46088
46089
46090
46091
46092
46093
46094
46095
46096
46097
46098
46099
46100
46101
46102
46103
46104
46105
46106
46107
46108
46109
46110
46111
46112
46113
46114
46115
46116
46117
46118
46119
46120
46121
46122
46123
46124
46125
46126
46127
46128
46129
46130
46131
46132
46133
46134
46135
46136
46137
46138
46139
46140
46141
46142
46143
46144
46145
46146
46147
46148
46149
46150
46151
46152
46153
46154
46155
46156
46157
46158
46159
46160
46161
46162
46163
46164
46165
46166
46167
46168
46169
46170
46171
46172
46173
46174
46175
46176
46177
46178
46179
46180
46181
46182
46183
46184
46185
46186
46187
46188
46189
46190
46191
46192
46193
46194
46195
46196
46197
46198
46199
46200
46201
46202
46203
46204
46205
46206
46207
46208
46209
46210
46211
46212
46213
46214
46215
46216
46217
46218
46219
46220
46221
46222
46223
46224
46225
46226
46227
46228
46229
46230
46231
46232
46233
46234
46235
46236
46237
46238
46239
46240
46241
46242
46243
46244
46245
46246
46247
46248
46249
46250
46251
46252
46253
46254
46255
46256
46257
46258
46259
46260
46261
46262
46263
46264
46265
46266
46267
46268
46269
46270
46271
46272
46273
46274
46275
46276
46277
46278
46279
46280
46281
46282
46283
46284
46285
46286
46287
46288
46289
46290
46291
46292
46293
46294
46295
46296
46297
46298
46299
46300
46301
46302
46303
46304
46305
46306
46307
46308
46309
46310
46311
46312
46313
46314
46315
46316
46317
46318
46319
46320
46321
46322
46323
46324
46325
46326
46327
46328
46329
46330
46331
46332
46333
46334
46335
46336
46337
46338
46339
46340
46341
46342
46343
46344
46345
46346
46347
46348
46349
46350
46351
46352
46353
46354
46355
46356
46357
46358
46359
46360
46361
46362
46363
46364
46365
46366
46367
46368
46369
46370
46371
46372
46373
46374
46375
46376
46377
46378
46379
46380
46381
46382
46383
46384
46385
46386
46387
46388
46389
46390
46391
46392
46393
46394
46395
46396
46397
46398
46399
46400
46401
46402
46403
46404
46405
46406
46407
46408
46409
46410
46411
46412
46413
46414
46415
46416
46417
46418
46419
46420
46421
46422
46423
46424
46425
46426
46427
46428
46429
46430
46431
46432
46433
46434
46435
46436
46437
46438
46439
46440
46441
46442
46443
46444
46445
46446
46447
46448
46449
46450
46451
46452
46453
46454
46455
46456
46457
46458
46459
46460
46461
46462
46463
46464
46465
46466
46467
46468
46469
46470
46471
46472
46473
46474
46475
46476
46477
46478
46479
46480
46481
46482
46483
46484
46485
46486
46487
46488
46489
46490
46491
46492
46493
46494
46495
46496
46497
46498
46499
46500
46501
46502
46503
46504
46505
46506
46507
46508
46509
46510
46511
46512
46513
46514
46515
46516
46517
46518
46519
46520
46521
46522
46523
46524
46525
46526
46527
46528
46529
46530
46531
46532
46533
46534
46535
46536
46537
46538
46539
46540
46541
46542
46543
46544
46545
46546
46547
46548
46549
46550
46551
46552
46553
46554
46555
46556
46557
46558
46559
46560
46561
46562
46563
46564
46565
46566
46567
46568
46569
46570
46571
46572
46573
46574
46575
46576
46577
46578
46579
46580
46581
46582
46583
46584
46585
46586
46587
46588
46589
46590
46591
46592
46593
46594
46595
46596
46597
46598
46599
46600
46601
46602
46603
46604
46605
46606
46607
46608
46609
46610
46611
46612
46613
46614
46615
46616
46617
46618
46619
46620
46621
46622
46623
46624
46625
46626
46627
46628
46629
46630
46631
46632
46633
46634
46635
46636
46637
46638
46639
46640
46641
46642
46643
46644
46645
46646
46647
46648
46649
46650
46651
46652
46653
46654
46655
46656
46657
46658
46659
46660
46661
46662
46663
46664
46665
46666
46667
46668
46669
46670
46671
46672
46673
46674
46675
46676
46677
46678
46679
46680
46681
46682
46683
46684
46685
46686
46687
46688
46689
46690
46691
46692
46693
46694
46695
46696
46697
46698
46699
46700
46701
46702
46703
46704
46705
46706
46707
46708
46709
46710
46711
46712
46713
46714
46715
46716
46717
46718
46719
46720
46721
46722
46723
46724
46725
46726
46727
46728
46729
46730
46731
46732
46733
46734
46735
46736
46737
46738
46739
46740
46741
46742
46743
46744
46745
46746
46747
46748
46749
46750
46751
46752
46753
46754
46755
46756
46757
46758
46759
46760
46761
46762
46763
46764
46765
46766
46767
46768
46769
46770
46771
46772
46773
46774
46775
46776
46777
46778
46779
46780
46781
46782
46783
46784
46785
46786
46787
46788
46789
46790
46791
46792
46793
46794
46795
46796
46797
46798
46799
46800
46801
46802
46803
46804
46805
46806
46807
46808
46809
46810
46811
46812
46813
46814
46815
46816
46817
46818
46819
46820
46821
46822
46823
46824
46825
46826
46827
46828
46829
46830
46831
46832
46833
46834
46835
46836
46837
46838
46839
46840
46841
46842
46843
46844
46845
46846
46847
46848
46849
46850
46851
46852
46853
46854
46855
46856
46857
46858
46859
46860
46861
46862
46863
46864
46865
46866
46867
46868
46869
46870
46871
46872
46873
46874
46875
46876
46877
46878
46879
46880
46881
46882
46883
46884
46885
46886
46887
46888
46889
46890
46891
46892
46893
46894
46895
46896
46897
46898
46899
46900
46901
46902
46903
46904
46905
46906
46907
46908
46909
46910
46911
46912
46913
46914
46915
46916
46917
46918
46919
46920
46921
46922
46923
46924
46925
46926
46927
46928
46929
46930
46931
46932
46933
46934
46935
46936
46937
46938
46939
46940
46941
46942
46943
46944
46945
46946
46947
46948
46949
46950
46951
46952
46953
46954
46955
46956
46957
46958
46959
46960
46961
46962
46963
46964
46965
46966
46967
46968
46969
46970
46971
46972
46973
46974
46975
46976
46977
46978
46979
46980
46981
46982
46983
46984
46985
46986
46987
46988
46989
46990
46991
46992
46993
46994
46995
46996
46997
46998
46999
47000
47001
47002
47003
47004
47005
47006
47007
47008
47009
47010
47011
47012
47013
47014
47015
47016
47017
47018
47019
47020
47021
47022
47023
47024
47025
47026
47027
47028
47029
47030
47031
47032
47033
47034
47035
47036
47037
47038
47039
47040
47041
47042
47043
47044
47045
47046
47047
47048
47049
47050
47051
47052
47053
47054
47055
47056
47057
47058
47059
47060
47061
47062
47063
47064
47065
47066
47067
47068
47069
47070
47071
47072
47073
47074
47075
47076
47077
47078
47079
47080
47081
47082
47083
47084
47085
47086
47087
47088
47089
47090
47091
47092
47093
47094
47095
47096
47097
47098
47099
47100
47101
47102
47103
47104
47105
47106
47107
47108
47109
47110
47111
47112
47113
47114
47115
47116
47117
47118
47119
47120
47121
47122
47123
47124
47125
47126
47127
47128
47129
47130
47131
47132
47133
47134
47135
47136
47137
47138
47139
47140
47141
47142
47143
47144
47145
47146
47147
47148
47149
47150
47151
47152
47153
47154
47155
47156
47157
47158
47159
47160
47161
47162
47163
47164
47165
47166
47167
47168
47169
47170
47171
47172
47173
47174
47175
47176
47177
47178
47179
47180
47181
47182
47183
47184
47185
47186
47187
47188
47189
47190
47191
47192
47193
47194
47195
47196
47197
47198
47199
47200
47201
47202
47203
47204
47205
47206
47207
47208
47209
47210
47211
47212
47213
47214
47215
47216
47217
47218
47219
47220
47221
47222
47223
47224
47225
47226
47227
47228
47229
47230
47231
47232
47233
47234
47235
47236
47237
47238
47239
47240
47241
47242
47243
47244
47245
47246
47247
47248
47249
47250
47251
47252
47253
47254
47255
47256
47257
47258
47259
47260
47261
47262
47263
47264
47265
47266
47267
47268
47269
47270
47271
47272
47273
47274
47275
47276
47277
47278
47279
47280
47281
47282
47283
47284
47285
47286
47287
47288
47289
47290
47291
47292
47293
47294
47295
47296
47297
47298
47299
47300
47301
47302
47303
47304
47305
47306
47307
47308
47309
47310
47311
47312
47313
47314
47315
47316
47317
47318
47319
47320
47321
47322
47323
47324
47325
47326
47327
47328
47329
47330
47331
47332
47333
47334
47335
47336
47337
47338
47339
47340
47341
47342
47343
47344
47345
47346
47347
47348
47349
47350
47351
47352
47353
47354
47355
47356
47357
47358
47359
47360
47361
47362
47363
47364
47365
47366
47367
47368
47369
47370
47371
47372
47373
47374
47375
47376
47377
47378
47379
47380
47381
47382
47383
47384
47385
47386
47387
47388
47389
47390
47391
47392
47393
47394
47395
47396
47397
47398
47399
47400
47401
47402
47403
47404
47405
47406
47407
47408
47409
47410
47411
47412
47413
47414
47415
47416
47417
47418
47419
47420
47421
47422
47423
47424
47425
47426
47427
47428
47429
47430
47431
47432
47433
47434
47435
47436
47437
47438
47439
47440
47441
47442
47443
47444
47445
47446
47447
47448
47449
47450
47451
47452
47453
47454
47455
47456
47457
47458
47459
47460
47461
47462
47463
47464
47465
47466
47467
47468
47469
47470
47471
47472
47473
47474
47475
47476
47477
47478
47479
47480
47481
47482
47483
47484
47485
47486
47487
47488
47489
47490
47491
47492
47493
47494
47495
47496
47497
47498
47499
47500
47501
47502
47503
47504
47505
47506
47507
47508
47509
47510
47511
47512
47513
47514
47515
47516
47517
47518
47519
47520
47521
47522
47523
47524
47525
47526
47527
47528
47529
47530
47531
47532
47533
47534
47535
47536
47537
47538
47539
47540
47541
47542
47543
47544
47545
47546
47547
47548
47549
47550
47551
47552
47553
47554
47555
47556
47557
47558
47559
47560
47561
47562
47563
47564
47565
47566
47567
47568
47569
47570
47571
47572
47573
47574
47575
47576
47577
47578
47579
47580
47581
47582
47583
47584
47585
47586
47587
47588
47589
47590
47591
47592
47593
47594
47595
47596
47597
47598
47599
47600
47601
47602
47603
47604
47605
47606
47607
47608
47609
47610
47611
47612
47613
47614
47615
47616
47617
47618
47619
47620
47621
47622
47623
47624
47625
47626
47627
47628
47629
47630
47631
47632
47633
47634
47635
47636
47637
47638
47639
47640
47641
47642
47643
47644
47645
47646
47647
47648
47649
47650
47651
47652
47653
47654
47655
47656
47657
47658
47659
47660
47661
47662
47663
47664
47665
47666
47667
47668
47669
47670
47671
47672
47673
47674
47675
47676
47677
47678
47679
47680
47681
47682
47683
47684
47685
47686
47687
47688
47689
47690
47691
47692
47693
47694
47695
47696
47697
47698
47699
47700
47701
47702
47703
47704
47705
47706
47707
47708
47709
47710
47711
47712
47713
47714
47715
47716
47717
47718
47719
47720
47721
47722
47723
47724
47725
47726
47727
47728
47729
47730
47731
47732
47733
47734
47735
47736
47737
47738
47739
47740
47741
47742
47743
47744
47745
47746
47747
47748
47749
47750
47751
47752
47753
47754
47755
47756
47757
47758
47759
47760
47761
47762
47763
47764
47765
47766
47767
47768
47769
47770
47771
47772
47773
47774
47775
47776
47777
47778
47779
47780
47781
47782
47783
47784
47785
47786
47787
47788
47789
47790
47791
47792
47793
47794
47795
47796
47797
47798
47799
47800
47801
47802
47803
47804
47805
47806
47807
47808
47809
47810
47811
47812
47813
47814
47815
47816
47817
47818
47819
47820
47821
47822
47823
47824
47825
47826
47827
47828
47829
47830
47831
47832
47833
47834
47835
47836
47837
47838
47839
47840
47841
47842
47843
47844
47845
47846
47847
47848
47849
47850
47851
47852
47853
47854
47855
47856
47857
47858
47859
47860
47861
47862
47863
47864
47865
47866
47867
47868
47869
47870
47871
47872
47873
47874
47875
47876
47877
47878
47879
47880
47881
47882
47883
47884
47885
47886
47887
47888
47889
47890
47891
47892
47893
47894
47895
47896
47897
47898
47899
47900
47901
47902
47903
47904
47905
47906
47907
47908
47909
47910
47911
47912
47913
47914
47915
47916
47917
47918
47919
47920
47921
47922
47923
47924
47925
47926
47927
47928
47929
47930
47931
47932
47933
47934
47935
47936
47937
47938
47939
47940
47941
47942
47943
47944
47945
47946
47947
47948
47949
47950
47951
47952
47953
47954
47955
47956
47957
47958
47959
47960
47961
47962
47963
47964
47965
47966
47967
47968
47969
47970
47971
47972
47973
47974
47975
47976
47977
47978
47979
47980
47981
47982
47983
47984
47985
47986
47987
47988
47989
47990
47991
47992
47993
47994
47995
47996
47997
47998
47999
48000
48001
48002
48003
48004
48005
48006
48007
48008
48009
48010
48011
48012
48013
48014
48015
48016
48017
48018
48019
48020
48021
48022
48023
48024
48025
48026
48027
48028
48029
48030
48031
48032
48033
48034
48035
48036
48037
48038
48039
48040
48041
48042
48043
48044
48045
48046
48047
48048
48049
48050
48051
48052
48053
48054
48055
48056
48057
48058
48059
48060
48061
48062
48063
48064
48065
48066
48067
48068
48069
48070
48071
48072
48073
48074
48075
48076
48077
48078
48079
48080
48081
48082
48083
48084
48085
48086
48087
48088
48089
48090
48091
48092
48093
48094
48095
48096
48097
48098
48099
48100
48101
48102
48103
48104
48105
48106
48107
48108
48109
48110
48111
48112
48113
48114
48115
48116
48117
48118
48119
48120
48121
48122
48123
48124
48125
48126
48127
48128
48129
48130
48131
48132
48133
48134
48135
48136
48137
48138
48139
48140
48141
48142
48143
48144
48145
48146
48147
48148
48149
48150
48151
48152
48153
48154
48155
48156
48157
48158
48159
48160
48161
48162
48163
48164
48165
48166
48167
48168
48169
48170
48171
48172
48173
48174
48175
48176
48177
48178
48179
48180
48181
48182
48183
48184
48185
48186
48187
48188
48189
48190
48191
48192
48193
48194
48195
48196
48197
48198
48199
48200
48201
48202
48203
48204
48205
48206
48207
48208
48209
48210
48211
48212
48213
48214
48215
48216
48217
48218
48219
48220
48221
48222
48223
48224
48225
48226
48227
48228
48229
48230
48231
48232
48233
48234
48235
48236
48237
48238
48239
48240
48241
48242
48243
48244
48245
48246
48247
48248
48249
48250
48251
48252
48253
48254
48255
48256
48257
48258
48259
48260
48261
48262
48263
48264
48265
48266
48267
48268
48269
48270
48271
48272
48273
48274
48275
48276
48277
48278
48279
48280
48281
48282
48283
48284
48285
48286
48287
48288
48289
48290
48291
48292
48293
48294
48295
48296
48297
48298
48299
48300
48301
48302
48303
48304
48305
48306
48307
48308
48309
48310
48311
48312
48313
48314
48315
48316
48317
48318
48319
48320
48321
48322
48323
48324
48325
48326
48327
48328
48329
48330
48331
48332
48333
48334
48335
48336
48337
48338
48339
48340
48341
48342
48343
48344
48345
48346
48347
48348
48349
48350
48351
48352
48353
48354
48355
48356
48357
48358
48359
48360
48361
48362
48363
48364
48365
48366
48367
48368
48369
48370
48371
48372
48373
48374
48375
48376
48377
48378
48379
48380
48381
48382
48383
48384
48385
48386
48387
48388
48389
48390
48391
48392
48393
48394
48395
48396
48397
48398
48399
48400
48401
48402
48403
48404
48405
48406
48407
48408
48409
48410
48411
48412
48413
48414
48415
48416
48417
48418
48419
48420
48421
48422
48423
48424
48425
48426
48427
48428
48429
48430
48431
48432
48433
48434
48435
48436
48437
48438
48439
48440
48441
48442
48443
48444
48445
48446
48447
48448
48449
48450
48451
48452
48453
48454
48455
48456
48457
48458
48459
48460
48461
48462
48463
48464
48465
48466
48467
48468
48469
48470
48471
48472
48473
48474
48475
48476
48477
48478
48479
48480
48481
48482
48483
48484
48485
48486
48487
48488
48489
48490
48491
48492
48493
48494
48495
48496
48497
48498
48499
48500
48501
48502
48503
48504
48505
48506
48507
48508
48509
48510
48511
48512
48513
48514
48515
48516
48517
48518
48519
48520
48521
48522
48523
48524
48525
48526
48527
48528
48529
48530
48531
48532
48533
48534
48535
48536
48537
48538
48539
48540
48541
48542
48543
48544
48545
48546
48547
48548
48549
48550
48551
48552
48553
48554
48555
48556
48557
48558
48559
48560
48561
48562
48563
48564
48565
48566
48567
48568
48569
48570
48571
48572
48573
48574
48575
48576
48577
48578
48579
48580
48581
48582
48583
48584
48585
48586
48587
48588
48589
48590
48591
48592
48593
48594
48595
48596
48597
48598
48599
48600
48601
48602
48603
48604
48605
48606
48607
48608
48609
48610
48611
48612
48613
48614
48615
48616
48617
48618
48619
48620
48621
48622
48623
48624
48625
48626
48627
48628
48629
48630
48631
48632
48633
48634
48635
48636
48637
48638
48639
48640
48641
48642
48643
48644
48645
48646
48647
48648
48649
48650
48651
48652
48653
48654
48655
48656
48657
48658
48659
48660
48661
48662
48663
48664
48665
48666
48667
48668
48669
48670
48671
48672
48673
48674
48675
48676
48677
48678
48679
48680
48681
48682
48683
48684
48685
48686
48687
48688
48689
48690
48691
48692
48693
48694
48695
48696
48697
48698
48699
48700
48701
48702
48703
48704
48705
48706
48707
48708
48709
48710
48711
48712
48713
48714
48715
48716
48717
48718
48719
48720
48721
48722
48723
48724
48725
48726
48727
48728
48729
48730
48731
48732
48733
48734
48735
48736
48737
48738
48739
48740
48741
48742
48743
48744
48745
48746
48747
48748
48749
48750
48751
48752
48753
48754
48755
48756
48757
48758
48759
48760
48761
48762
48763
48764
48765
48766
48767
48768
48769
48770
48771
48772
48773
48774
48775
48776
48777
48778
48779
48780
48781
48782
48783
48784
48785
48786
48787
48788
48789
48790
48791
48792
48793
48794
48795
48796
48797
48798
48799
48800
48801
48802
48803
48804
48805
48806
48807
48808
48809
48810
48811
48812
48813
48814
48815
48816
48817
48818
48819
48820
48821
48822
48823
48824
48825
48826
48827
48828
48829
48830
48831
48832
48833
48834
48835
48836
48837
48838
48839
48840
48841
48842
48843
48844
48845
48846
48847
48848
48849
48850
48851
48852
48853
48854
48855
48856
48857
48858
48859
48860
48861
48862
48863
48864
48865
48866
48867
48868
48869
48870
48871
48872
48873
48874
48875
48876
48877
48878
48879
48880
48881
48882
48883
48884
48885
48886
48887
48888
48889
48890
48891
48892
48893
48894
48895
48896
48897
48898
48899
48900
48901
48902
48903
48904
48905
48906
48907
48908
48909
48910
48911
48912
48913
48914
48915
48916
48917
48918
48919
48920
48921
48922
48923
48924
48925
48926
48927
48928
48929
48930
48931
48932
48933
48934
48935
48936
48937
48938
48939
48940
48941
48942
48943
48944
48945
48946
48947
48948
48949
48950
48951
48952
48953
48954
48955
48956
48957
48958
48959
48960
48961
48962
48963
48964
48965
48966
48967
48968
48969
48970
48971
48972
48973
48974
48975
48976
48977
48978
48979
48980
48981
48982
48983
48984
48985
48986
48987
48988
48989
48990
48991
48992
48993
48994
48995
48996
48997
48998
48999
49000
49001
49002
49003
49004
49005
49006
49007
49008
49009
49010
49011
49012
49013
49014
49015
49016
49017
49018
49019
49020
49021
49022
49023
49024
49025
49026
49027
49028
49029
49030
49031
49032
49033
49034
49035
49036
49037
49038
49039
49040
49041
49042
49043
49044
49045
49046
49047
49048
49049
49050
49051
49052
49053
49054
49055
49056
49057
49058
49059
49060
49061
49062
49063
49064
49065
49066
49067
49068
49069
49070
49071
49072
49073
49074
49075
49076
49077
49078
49079
49080
49081
49082
49083
49084
49085
49086
49087
49088
49089
49090
49091
49092
49093
49094
49095
49096
49097
49098
49099
49100
49101
49102
49103
49104
49105
49106
49107
49108
49109
49110
49111
49112
49113
49114
49115
49116
49117
49118
49119
49120
49121
49122
49123
49124
49125
49126
49127
49128
49129
49130
49131
49132
49133
49134
49135
49136
49137
49138
49139
49140
49141
49142
49143
49144
49145
49146
49147
49148
49149
49150
49151
49152
49153
49154
49155
49156
49157
49158
49159
49160
49161
49162
49163
49164
49165
49166
49167
49168
49169
49170
49171
49172
49173
49174
49175
49176
49177
49178
49179
49180
49181
49182
49183
49184
49185
49186
49187
49188
49189
49190
49191
49192
49193
49194
49195
49196
49197
49198
49199
49200
49201
49202
49203
49204
49205
49206
49207
49208
49209
49210
49211
49212
49213
49214
49215
49216
49217
49218
49219
49220
49221
49222
49223
49224
49225
49226
49227
49228
49229
49230
49231
49232
49233
49234
49235
49236
49237
49238
49239
49240
49241
49242
49243
49244
49245
49246
49247
49248
49249
49250
49251
49252
49253
49254
49255
49256
49257
49258
49259
49260
49261
49262
49263
49264
49265
49266
49267
49268
49269
49270
49271
49272
49273
49274
49275
49276
49277
49278
49279
49280
49281
49282
49283
49284
49285
49286
49287
49288
49289
49290
49291
49292
49293
49294
49295
49296
49297
49298
49299
49300
49301
49302
49303
49304
49305
49306
49307
49308
49309
49310
49311
49312
49313
49314
49315
49316
49317
49318
49319
49320
49321
49322
49323
49324
49325
49326
49327
49328
49329
49330
<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations.  -->
<repository version="1.2"
            xmlns="http://www.gtk.org/introspection/core/1.0"
            xmlns:c="http://www.gtk.org/introspection/c/1.0"
            xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
  <include name="GLib" version="2.0"/>
  <include name="GModule" version="2.0"/>
  <include name="GObject" version="2.0"/>
  <package name="gstreamer-1.0"/>
  <c:include name="gst/gst.h"/>
  <namespace name="Gst"
             version="1.0"
             shared-library="libgstreamer-1.0.so.0"
             c:identifier-prefixes="Gst"
             c:symbol-prefixes="gst">
    <alias name="ClockID" c:type="GstClockID">
      <doc xml:space="preserve">A datatype to hold the handle to an outstanding sync or async clock callback.</doc>
      <type name="gpointer" c:type="gpointer"/>
    </alias>
    <alias name="ClockTime" c:type="GstClockTime">
      <doc xml:space="preserve">A datatype to hold a time, measured in nanoseconds.</doc>
      <type name="guint64" c:type="guint64"/>
    </alias>
    <alias name="ClockTimeDiff" c:type="GstClockTimeDiff">
      <doc xml:space="preserve">A datatype to hold a time difference, measured in nanoseconds.</doc>
      <type name="gint64" c:type="gint64"/>
    </alias>
    <alias name="ElementFactoryListType" c:type="GstElementFactoryListType">
      <type name="guint64" c:type="guint64"/>
    </alias>
    <constant name="ALLOCATOR_SYSMEM"
              value="SystemMemory"
              c:type="GST_ALLOCATOR_SYSMEM">
      <doc xml:space="preserve">The allocator name for the default system memory allocator</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <record name="AllocationParams"
            c:type="GstAllocationParams"
            glib:type-name="GstAllocationParams"
            glib:get-type="gst_allocation_params_get_type"
            c:symbol-prefix="allocation_params">
      <doc xml:space="preserve">Parameters to control the allocation of memory</doc>
      <field name="flags" writable="1">
        <doc xml:space="preserve">flags to control allocation</doc>
        <type name="MemoryFlags" c:type="GstMemoryFlags"/>
      </field>
      <field name="align" writable="1">
        <doc xml:space="preserve">the desired alignment of the memory</doc>
        <type name="gsize" c:type="gsize"/>
      </field>
      <field name="prefix" writable="1">
        <doc xml:space="preserve">the desired prefix</doc>
        <type name="gsize" c:type="gsize"/>
      </field>
      <field name="padding" writable="1">
        <doc xml:space="preserve">the desired padding</doc>
        <type name="gsize" c:type="gsize"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
      <method name="copy" c:identifier="gst_allocation_params_copy">
        <doc xml:space="preserve">Create a copy of @params.

Free-function: gst_allocation_params_free</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a new ##GstAllocationParams, free with
gst_allocation_params_free().</doc>
          <type name="AllocationParams" c:type="GstAllocationParams*"/>
        </return-value>
        <parameters>
          <instance-parameter name="params"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">a #GstAllocationParams</doc>
            <type name="AllocationParams" c:type="const GstAllocationParams*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="free" c:identifier="gst_allocation_params_free">
        <doc xml:space="preserve">Free @params</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="params" transfer-ownership="full">
            <doc xml:space="preserve">a #GstAllocationParams</doc>
            <type name="AllocationParams" c:type="GstAllocationParams*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="init" c:identifier="gst_allocation_params_init">
        <doc xml:space="preserve">Initialize @params to its default values</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="params" transfer-ownership="none">
            <doc xml:space="preserve">a #GstAllocationParams</doc>
            <type name="AllocationParams" c:type="GstAllocationParams*"/>
          </instance-parameter>
        </parameters>
      </method>
    </record>
    <class name="Allocator"
           c:symbol-prefix="allocator"
           c:type="GstAllocator"
           parent="Object"
           abstract="1"
           glib:type-name="GstAllocator"
           glib:get-type="gst_allocator_get_type"
           glib:type-struct="AllocatorClass">
      <doc xml:space="preserve">Memory is usually created by allocators with a gst_allocator_alloc()
method call. When %NULL is used as the allocator, the default allocator will
be used.

New allocators can be registered with gst_allocator_register().
Allocators are identified by name and can be retrieved with
gst_allocator_find(). gst_allocator_set_default() can be used to change the
default allocator.

New memory can be created with gst_memory_new_wrapped() that wraps the memory
allocated elsewhere.</doc>
      <function name="find" c:identifier="gst_allocator_find">
        <doc xml:space="preserve">Find a previously registered allocator with @name. When @name is %NULL, the
default allocator will be returned.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a #GstAllocator or %NULL when
the allocator with @name was not registered. Use gst_object_unref()
to release the allocator after usage.</doc>
          <type name="Allocator" c:type="GstAllocator*"/>
        </return-value>
        <parameters>
          <parameter name="name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the name of the allocator</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="register" c:identifier="gst_allocator_register">
        <doc xml:space="preserve">Registers the memory @allocator with @name. This function takes ownership of
@allocator.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the allocator</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="allocator" transfer-ownership="full">
            <doc xml:space="preserve">#GstAllocator</doc>
            <type name="Allocator" c:type="GstAllocator*"/>
          </parameter>
        </parameters>
      </function>
      <virtual-method name="alloc" invoker="alloc">
        <doc xml:space="preserve">Use @allocator to allocate a new memory block with memory that is at least
@size big.

The optional @params can specify the prefix and padding for the memory. If
%NULL is passed, no flags, no extra prefix/padding and a default alignment is
used.

The prefix/padding will be filled with 0 if flags contains
#GST_MEMORY_FLAG_ZERO_PREFIXED and #GST_MEMORY_FLAG_ZERO_PADDED respectively.

When @allocator is %NULL, the default allocator will be used.

The alignment in @params is given as a bitmask so that @align + 1 equals
the amount of bytes to align to. For example, to align to 8 bytes,
use an alignment of 7.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a new #GstMemory.</doc>
          <type name="Memory" c:type="GstMemory*"/>
        </return-value>
        <parameters>
          <instance-parameter name="allocator"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">a #GstAllocator to use</doc>
            <type name="Allocator" c:type="GstAllocator*"/>
          </instance-parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">size of the visible memory area</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="params"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">optional parameters</doc>
            <type name="AllocationParams" c:type="GstAllocationParams*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="free" invoker="free">
        <doc xml:space="preserve">Free @memory that was previously allocated with gst_allocator_alloc().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="allocator" transfer-ownership="none">
            <doc xml:space="preserve">a #GstAllocator to use</doc>
            <type name="Allocator" c:type="GstAllocator*"/>
          </instance-parameter>
          <parameter name="memory" transfer-ownership="full">
            <doc xml:space="preserve">the memory to free</doc>
            <type name="Memory" c:type="GstMemory*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="alloc" c:identifier="gst_allocator_alloc">
        <doc xml:space="preserve">Use @allocator to allocate a new memory block with memory that is at least
@size big.

The optional @params can specify the prefix and padding for the memory. If
%NULL is passed, no flags, no extra prefix/padding and a default alignment is
used.

The prefix/padding will be filled with 0 if flags contains
#GST_MEMORY_FLAG_ZERO_PREFIXED and #GST_MEMORY_FLAG_ZERO_PADDED respectively.

When @allocator is %NULL, the default allocator will be used.

The alignment in @params is given as a bitmask so that @align + 1 equals
the amount of bytes to align to. For example, to align to 8 bytes,
use an alignment of 7.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a new #GstMemory.</doc>
          <type name="Memory" c:type="GstMemory*"/>
        </return-value>
        <parameters>
          <instance-parameter name="allocator"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">a #GstAllocator to use</doc>
            <type name="Allocator" c:type="GstAllocator*"/>
          </instance-parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">size of the visible memory area</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="params"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">optional parameters</doc>
            <type name="AllocationParams" c:type="GstAllocationParams*"/>
          </parameter>
        </parameters>
      </method>
      <method name="free" c:identifier="gst_allocator_free">
        <doc xml:space="preserve">Free @memory that was previously allocated with gst_allocator_alloc().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="allocator" transfer-ownership="none">
            <doc xml:space="preserve">a #GstAllocator to use</doc>
            <type name="Allocator" c:type="GstAllocator*"/>
          </instance-parameter>
          <parameter name="memory" transfer-ownership="full">
            <doc xml:space="preserve">the memory to free</doc>
            <type name="Memory" c:type="GstMemory*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_default" c:identifier="gst_allocator_set_default">
        <doc xml:space="preserve">Set the default allocator. This function takes ownership of @allocator.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="allocator" transfer-ownership="full">
            <doc xml:space="preserve">a #GstAllocator</doc>
            <type name="Allocator" c:type="GstAllocator*"/>
          </instance-parameter>
        </parameters>
      </method>
      <field name="object">
        <type name="Object" c:type="GstObject"/>
      </field>
      <field name="mem_type">
        <type name="utf8" c:type="const gchar*"/>
      </field>
      <field name="mem_map">
        <doc xml:space="preserve">the implementation of the GstMemoryMapFunction</doc>
        <type name="MemoryMapFunction" c:type="GstMemoryMapFunction"/>
      </field>
      <field name="mem_unmap">
        <doc xml:space="preserve">the implementation of the GstMemoryUnmapFunction</doc>
        <type name="MemoryUnmapFunction" c:type="GstMemoryUnmapFunction"/>
      </field>
      <field name="mem_copy">
        <doc xml:space="preserve">the implementation of the GstMemoryCopyFunction</doc>
        <type name="MemoryCopyFunction" c:type="GstMemoryCopyFunction"/>
      </field>
      <field name="mem_share">
        <doc xml:space="preserve">the implementation of the GstMemoryShareFunction</doc>
        <type name="MemoryShareFunction" c:type="GstMemoryShareFunction"/>
      </field>
      <field name="mem_is_span">
        <doc xml:space="preserve">the implementation of the GstMemoryIsSpanFunction</doc>
        <type name="MemoryIsSpanFunction" c:type="GstMemoryIsSpanFunction"/>
      </field>
      <field name="mem_map_full">
        <doc xml:space="preserve">the implementation of the GstMemoryMapFullFunction.
     Will be used instead of @mem_map if present. (Since 1.6)</doc>
        <type name="MemoryMapFullFunction" c:type="GstMemoryMapFullFunction"/>
      </field>
      <field name="mem_unmap_full">
        <doc xml:space="preserve">the implementation of the GstMemoryUnmapFullFunction.
     Will be used instead of @mem_unmap if present. (Since 1.6)</doc>
        <type name="MemoryUnmapFullFunction"
              c:type="GstMemoryUnmapFullFunction"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="2">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="AllocatorPrivate" c:type="GstAllocatorPrivate*"/>
      </field>
    </class>
    <record name="AllocatorClass"
            c:type="GstAllocatorClass"
            glib:is-gtype-struct-for="Allocator">
      <doc xml:space="preserve">The #GstAllocator is used to create new memory.</doc>
      <field name="object_class">
        <doc xml:space="preserve">Object parent class</doc>
        <type name="ObjectClass" c:type="GstObjectClass"/>
      </field>
      <field name="alloc">
        <callback name="alloc">
          <return-value transfer-ownership="full" nullable="1">
            <doc xml:space="preserve">a new #GstMemory.</doc>
            <type name="Memory" c:type="GstMemory*"/>
          </return-value>
          <parameters>
            <parameter name="allocator"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve">a #GstAllocator to use</doc>
              <type name="Allocator" c:type="GstAllocator*"/>
            </parameter>
            <parameter name="size" transfer-ownership="none">
              <doc xml:space="preserve">size of the visible memory area</doc>
              <type name="gsize" c:type="gsize"/>
            </parameter>
            <parameter name="params"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve">optional parameters</doc>
              <type name="AllocationParams" c:type="GstAllocationParams*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="free">
        <callback name="free">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="allocator" transfer-ownership="none">
              <doc xml:space="preserve">a #GstAllocator to use</doc>
              <type name="Allocator" c:type="GstAllocator*"/>
            </parameter>
            <parameter name="memory" transfer-ownership="full">
              <doc xml:space="preserve">the memory to free</doc>
              <type name="Memory" c:type="GstMemory*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <bitfield name="AllocatorFlags"
              glib:type-name="GstAllocatorFlags"
              glib:get-type="gst_allocator_flags_get_type"
              c:type="GstAllocatorFlags">
      <doc xml:space="preserve">Flags for allocators.</doc>
      <member name="custom_alloc"
              value="16"
              c:identifier="GST_ALLOCATOR_FLAG_CUSTOM_ALLOC"
              glib:nick="custom-alloc">
        <doc xml:space="preserve">The allocator has a custom alloc function.</doc>
      </member>
      <member name="last"
              value="1048576"
              c:identifier="GST_ALLOCATOR_FLAG_LAST"
              glib:nick="last">
        <doc xml:space="preserve">first flag that can be used for custom purposes</doc>
      </member>
    </bitfield>
    <record name="AllocatorPrivate" c:type="GstAllocatorPrivate" disguised="1">
    </record>
    <record name="AtomicQueue"
            c:type="GstAtomicQueue"
            glib:type-name="GstAtomicQueue"
            glib:get-type="gst_atomic_queue_get_type"
            c:symbol-prefix="atomic_queue">
      <doc xml:space="preserve">The #GstAtomicQueue object implements a queue that can be used from multiple
threads without performing any blocking operations.</doc>
      <constructor name="new" c:identifier="gst_atomic_queue_new">
        <doc xml:space="preserve">Create a new atomic queue instance. @initial_size will be rounded up to the
nearest power of 2 and used as the initial size of the queue.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstAtomicQueue</doc>
          <type name="AtomicQueue" c:type="GstAtomicQueue*"/>
        </return-value>
        <parameters>
          <parameter name="initial_size" transfer-ownership="none">
            <doc xml:space="preserve">initial queue size</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="length" c:identifier="gst_atomic_queue_length">
        <doc xml:space="preserve">Get the amount of items in the queue.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the number of elements in the queue.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="queue" transfer-ownership="none">
            <doc xml:space="preserve">a #GstAtomicQueue</doc>
            <type name="AtomicQueue" c:type="GstAtomicQueue*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="peek" c:identifier="gst_atomic_queue_peek">
        <doc xml:space="preserve">Peek the head element of the queue without removing it from the queue.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">the head element of @queue or
%NULL when the queue is empty.</doc>
          <type name="gpointer" c:type="gpointer"/>
        </return-value>
        <parameters>
          <instance-parameter name="queue" transfer-ownership="none">
            <doc xml:space="preserve">a #GstAtomicQueue</doc>
            <type name="AtomicQueue" c:type="GstAtomicQueue*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="pop" c:identifier="gst_atomic_queue_pop">
        <doc xml:space="preserve">Get the head element of the queue.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the head element of @queue or %NULL when
the queue is empty.</doc>
          <type name="gpointer" c:type="gpointer"/>
        </return-value>
        <parameters>
          <instance-parameter name="queue" transfer-ownership="none">
            <doc xml:space="preserve">a #GstAtomicQueue</doc>
            <type name="AtomicQueue" c:type="GstAtomicQueue*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="push" c:identifier="gst_atomic_queue_push">
        <doc xml:space="preserve">Append @data to the tail of the queue.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="queue" transfer-ownership="none">
            <doc xml:space="preserve">a #GstAtomicQueue</doc>
            <type name="AtomicQueue" c:type="GstAtomicQueue*"/>
          </instance-parameter>
          <parameter name="data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the data</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="ref" c:identifier="gst_atomic_queue_ref">
        <doc xml:space="preserve">Increase the refcount of @queue.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="queue" transfer-ownership="none">
            <doc xml:space="preserve">a #GstAtomicQueue</doc>
            <type name="AtomicQueue" c:type="GstAtomicQueue*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="unref" c:identifier="gst_atomic_queue_unref">
        <doc xml:space="preserve">Unref @queue and free the memory when the refcount reaches 0.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="queue" transfer-ownership="none">
            <doc xml:space="preserve">a #GstAtomicQueue</doc>
            <type name="AtomicQueue" c:type="GstAtomicQueue*"/>
          </instance-parameter>
        </parameters>
      </method>
    </record>
    <constant name="BUFFER_COPY_ALL" value="15" c:type="GST_BUFFER_COPY_ALL">
      <doc xml:space="preserve">Combination of all possible fields that can be copied with
gst_buffer_copy_into().</doc>
      <type name="BufferCopyFlags" c:type="GstBufferCopyFlags"/>
    </constant>
    <constant name="BUFFER_COPY_METADATA"
              value="7"
              c:type="GST_BUFFER_COPY_METADATA">
      <doc xml:space="preserve">Combination of all possible metadata fields that can be copied with
gst_buffer_copy_into().</doc>
      <type name="BufferCopyFlags" c:type="GstBufferCopyFlags"/>
    </constant>
    <constant name="BUFFER_OFFSET_NONE"
              value="18446744073709551615"
              c:type="GST_BUFFER_OFFSET_NONE">
      <doc xml:space="preserve">Constant for no-offset return results.</doc>
      <type name="guint64" c:type="guint64"/>
    </constant>
    <class name="Bin"
           c:symbol-prefix="bin"
           c:type="GstBin"
           parent="Element"
           glib:type-name="GstBin"
           glib:get-type="gst_bin_get_type"
           glib:type-struct="BinClass">
      <doc xml:space="preserve">#GstBin is an element that can contain other #GstElement, allowing them to be
managed as a group.
Pads from the child elements can be ghosted to the bin, see #GstGhostPad.
This makes the bin look like any other elements and enables creation of
higher-level abstraction elements.

A new #GstBin is created with gst_bin_new(). Use a #GstPipeline instead if you
want to create a toplevel bin because a normal bin doesn't have a bus or
handle clock distribution of its own.

After the bin has been created you will typically add elements to it with
gst_bin_add(). You can remove elements with gst_bin_remove().

An element can be retrieved from a bin with gst_bin_get_by_name(), using the
elements name. gst_bin_get_by_name_recurse_up() is mainly used for internal
purposes and will query the parent bins when the element is not found in the
current bin.

An iterator of elements in a bin can be retrieved with
gst_bin_iterate_elements(). Various other iterators exist to retrieve the
elements in a bin.

gst_object_unref() is used to drop your reference to the bin.

The #GstBin::element-added signal is fired whenever a new element is added to
the bin. Likewise the #GstBin::element-removed signal is fired whenever an
element is removed from the bin.

## Notes

A #GstBin internally intercepts every #GstMessage posted by its children and
implements the following default behaviour for each of them:

* GST_MESSAGE_EOS: This message is only posted by sinks in the PLAYING
state. If all sinks posted the EOS message, this bin will post and EOS
message upwards.

* GST_MESSAGE_SEGMENT_START: Just collected and never forwarded upwards.
The messages are used to decide when all elements have completed playback
of their segment.

* GST_MESSAGE_SEGMENT_DONE: Is posted by #GstBin when all elements that posted
a SEGMENT_START have posted a SEGMENT_DONE.

* GST_MESSAGE_DURATION_CHANGED: Is posted by an element that detected a change
in the stream duration. The default bin behaviour is to clear any
cached duration values so that the next duration query will perform
a full duration recalculation. The duration change is posted to the
application so that it can refetch the new duration with a duration
query. Note that these messages can be posted before the bin is
prerolled, in which case the duration query might fail.

* GST_MESSAGE_CLOCK_LOST: This message is posted by an element when it
can no longer provide a clock. The default bin behaviour is to
check if the lost clock was the one provided by the bin. If so and
the bin is currently in the PLAYING state, the message is forwarded to
the bin parent.
This message is also generated when a clock provider is removed from
the bin. If this message is received by the application, it should
PAUSE the pipeline and set it back to PLAYING to force a new clock
distribution.

* GST_MESSAGE_CLOCK_PROVIDE: This message is generated when an element
can provide a clock. This mostly happens when a new clock
provider is added to the bin. The default behaviour of the bin is to
mark the currently selected clock as dirty, which will perform a clock
recalculation the next time the bin is asked to provide a clock.
This message is never sent tot the application but is forwarded to
the parent of the bin.

* OTHERS: posted upwards.

A #GstBin implements the following default behaviour for answering to a
#GstQuery:

* GST_QUERY_DURATION:If the query has been asked before with the same format
and the bin is a toplevel bin (ie. has no parent),
use the cached previous value. If no previous value was cached, the
query is sent to all sink elements in the bin and the MAXIMUM of all
values is returned. If the bin is a toplevel bin the value is cached.
If no sinks are available in the bin, the query fails.

* GST_QUERY_POSITION:The query is sent to all sink elements in the bin and the
MAXIMUM of all values is returned. If no sinks are available in the bin,
the query fails.

* OTHERS:the query is forwarded to all sink elements, the result
of the first sink that answers the query successfully is returned. If no
sink is in the bin, the query fails.

A #GstBin will by default forward any event sent to it to all sink
(#GST_EVENT_TYPE_DOWNSTREAM) or source (#GST_EVENT_TYPE_UPSTREAM) elements
depending on the event type.
If all the elements return %TRUE, the bin will also return %TRUE, else %FALSE
is returned. If no elements of the required type are in the bin, the event
handler will return %TRUE.</doc>
      <implements name="ChildProxy"/>
      <constructor name="new" c:identifier="gst_bin_new">
        <doc xml:space="preserve">Creates a new bin with the given name.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a new #GstBin</doc>
          <type name="Element" c:type="GstElement*"/>
        </return-value>
        <parameters>
          <parameter name="name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the name of the new bin</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <virtual-method name="add_element">
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="bin" transfer-ownership="none">
            <type name="Bin" c:type="GstBin*"/>
          </instance-parameter>
          <parameter name="element" transfer-ownership="none">
            <type name="Element" c:type="GstElement*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="deep_element_added">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="bin" transfer-ownership="none">
            <type name="Bin" c:type="GstBin*"/>
          </instance-parameter>
          <parameter name="sub_bin" transfer-ownership="none">
            <type name="Bin" c:type="GstBin*"/>
          </parameter>
          <parameter name="child" transfer-ownership="none">
            <type name="Element" c:type="GstElement*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="deep_element_removed">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="bin" transfer-ownership="none">
            <type name="Bin" c:type="GstBin*"/>
          </instance-parameter>
          <parameter name="sub_bin" transfer-ownership="none">
            <type name="Bin" c:type="GstBin*"/>
          </parameter>
          <parameter name="child" transfer-ownership="none">
            <type name="Element" c:type="GstElement*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="do_latency">
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="bin" transfer-ownership="none">
            <type name="Bin" c:type="GstBin*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="element_added">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="bin" transfer-ownership="none">
            <type name="Bin" c:type="GstBin*"/>
          </instance-parameter>
          <parameter name="child" transfer-ownership="none">
            <type name="Element" c:type="GstElement*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="element_removed">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="bin" transfer-ownership="none">
            <type name="Bin" c:type="GstBin*"/>
          </instance-parameter>
          <parameter name="child" transfer-ownership="none">
            <type name="Element" c:type="GstElement*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="handle_message">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="bin" transfer-ownership="none">
            <type name="Bin" c:type="GstBin*"/>
          </instance-parameter>
          <parameter name="message" transfer-ownership="none">
            <type name="Message" c:type="GstMessage*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="remove_element">
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="bin" transfer-ownership="none">
            <type name="Bin" c:type="GstBin*"/>
          </instance-parameter>
          <parameter name="element" transfer-ownership="none">
            <type name="Element" c:type="GstElement*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="add" c:identifier="gst_bin_add">
        <doc xml:space="preserve">Adds the given element to the bin.  Sets the element's parent, and thus
takes ownership of the element. An element can only be added to one bin.

If the element's pads are linked to other pads, the pads will be unlinked
before the element is added to the bin.

&gt; When you add an element to an already-running pipeline, you will have to
&gt; take care to set the state of the newly-added element to the desired
&gt; state (usually PLAYING or PAUSED, same you set the pipeline to originally)
&gt; with gst_element_set_state(), or use gst_element_sync_state_with_parent().
&gt; The bin or pipeline will not take care of this for you.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the element could be added, %FALSE if
the bin does not want to accept the element.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="bin" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBin</doc>
            <type name="Bin" c:type="GstBin*"/>
          </instance-parameter>
          <parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">the #GstElement to add</doc>
            <type name="Element" c:type="GstElement*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_many"
              c:identifier="gst_bin_add_many"
              introspectable="0">
        <doc xml:space="preserve">Adds a %NULL-terminated list of elements to a bin.  This function is
equivalent to calling gst_bin_add() for each member of the list. The return
value of each gst_bin_add() is ignored.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="bin" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBin</doc>
            <type name="Bin" c:type="GstBin*"/>
          </instance-parameter>
          <parameter name="element_1" transfer-ownership="none">
            <doc xml:space="preserve">the #GstElement element to add to the bin</doc>
            <type name="Element" c:type="GstElement*"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">additional elements to add to the bin</doc>
            <varargs/>
          </parameter>
        </parameters>
      </method>
      <method name="find_unlinked_pad"
              c:identifier="gst_bin_find_unlinked_pad">
        <doc xml:space="preserve">Recursively looks for elements with an unlinked pad of the given
direction within the specified bin and returns an unlinked pad
if one is found, or %NULL otherwise. If a pad is found, the caller
owns a reference to it and should use gst_object_unref() on the
pad when it is not needed any longer.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">unlinked pad of the given
direction, %NULL.</doc>
          <type name="Pad" c:type="GstPad*"/>
        </return-value>
        <parameters>
          <instance-parameter name="bin" transfer-ownership="none">
            <doc xml:space="preserve">bin in which to look for elements with unlinked pads</doc>
            <type name="Bin" c:type="GstBin*"/>
          </instance-parameter>
          <parameter name="direction" transfer-ownership="none">
            <doc xml:space="preserve">whether to look for an unlinked source or sink pad</doc>
            <type name="PadDirection" c:type="GstPadDirection"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_by_interface" c:identifier="gst_bin_get_by_interface">
        <doc xml:space="preserve">Looks for an element inside the bin that implements the given
interface. If such an element is found, it returns the element.
You can cast this element to the given interface afterwards.  If you want
all elements that implement the interface, use
gst_bin_iterate_all_by_interface(). This function recurses into child bins.

MT safe.  Caller owns returned reference.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">A #GstElement inside the bin
implementing the interface</doc>
          <type name="Element" c:type="GstElement*"/>
        </return-value>
        <parameters>
          <instance-parameter name="bin" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBin</doc>
            <type name="Bin" c:type="GstBin*"/>
          </instance-parameter>
          <parameter name="iface" transfer-ownership="none">
            <doc xml:space="preserve">the #GType of an interface</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_by_name" c:identifier="gst_bin_get_by_name">
        <doc xml:space="preserve">Gets the element with the given name from a bin. This
function recurses into child bins.

Returns %NULL if no element with the given name is found in the bin.

MT safe.  Caller owns returned reference.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the #GstElement with the given
name, or %NULL</doc>
          <type name="Element" c:type="GstElement*"/>
        </return-value>
        <parameters>
          <instance-parameter name="bin" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBin</doc>
            <type name="Bin" c:type="GstBin*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">the element name to search for</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_by_name_recurse_up"
              c:identifier="gst_bin_get_by_name_recurse_up">
        <doc xml:space="preserve">Gets the element with the given name from this bin. If the
element is not found, a recursion is performed on the parent bin.

Returns %NULL if:
- no element with the given name is found in the bin

MT safe.  Caller owns returned reference.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the #GstElement with the given
name, or %NULL</doc>
          <type name="Element" c:type="GstElement*"/>
        </return-value>
        <parameters>
          <instance-parameter name="bin" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBin</doc>
            <type name="Bin" c:type="GstBin*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">the element name to search for</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_suppressed_flags"
              c:identifier="gst_bin_get_suppressed_flags"
              version="1.10">
        <doc xml:space="preserve">Return the suppressed flags of the bin.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the bin's suppressed #GstElementFlags.</doc>
          <type name="ElementFlags" c:type="GstElementFlags"/>
        </return-value>
        <parameters>
          <instance-parameter name="bin" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBin</doc>
            <type name="Bin" c:type="GstBin*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="iterate_all_by_interface"
              c:identifier="gst_bin_iterate_all_by_interface">
        <doc xml:space="preserve">Looks for all elements inside the bin that implements the given
interface. You can safely cast all returned elements to the given interface.
The function recurses inside child bins. The iterator will yield a series
of #GstElement that should be unreffed after use.

MT safe.  Caller owns returned value.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a #GstIterator of #GstElement
    for all elements in the bin implementing the given interface,
    or %NULL</doc>
          <type name="Iterator" c:type="GstIterator*"/>
        </return-value>
        <parameters>
          <instance-parameter name="bin" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBin</doc>
            <type name="Bin" c:type="GstBin*"/>
          </instance-parameter>
          <parameter name="iface" transfer-ownership="none">
            <doc xml:space="preserve">the #GType of an interface</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
        </parameters>
      </method>
      <method name="iterate_elements" c:identifier="gst_bin_iterate_elements">
        <doc xml:space="preserve">Gets an iterator for the elements in this bin.

MT safe.  Caller owns returned value.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a #GstIterator of #GstElement,
or %NULL</doc>
          <type name="Iterator" c:type="GstIterator*"/>
        </return-value>
        <parameters>
          <instance-parameter name="bin" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBin</doc>
            <type name="Bin" c:type="GstBin*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="iterate_recurse" c:identifier="gst_bin_iterate_recurse">
        <doc xml:space="preserve">Gets an iterator for the elements in this bin.
This iterator recurses into GstBin children.

MT safe.  Caller owns returned value.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a #GstIterator of #GstElement,
or %NULL</doc>
          <type name="Iterator" c:type="GstIterator*"/>
        </return-value>
        <parameters>
          <instance-parameter name="bin" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBin</doc>
            <type name="Bin" c:type="GstBin*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="iterate_sinks" c:identifier="gst_bin_iterate_sinks">
        <doc xml:space="preserve">Gets an iterator for all elements in the bin that have the
#GST_ELEMENT_FLAG_SINK flag set.

MT safe.  Caller owns returned value.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a #GstIterator of #GstElement,
or %NULL</doc>
          <type name="Iterator" c:type="GstIterator*"/>
        </return-value>
        <parameters>
          <instance-parameter name="bin" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBin</doc>
            <type name="Bin" c:type="GstBin*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="iterate_sorted" c:identifier="gst_bin_iterate_sorted">
        <doc xml:space="preserve">Gets an iterator for the elements in this bin in topologically
sorted order. This means that the elements are returned from
the most downstream elements (sinks) to the sources.

This function is used internally to perform the state changes
of the bin elements and for clock selection.

MT safe.  Caller owns returned value.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a #GstIterator of #GstElement,
or %NULL</doc>
          <type name="Iterator" c:type="GstIterator*"/>
        </return-value>
        <parameters>
          <instance-parameter name="bin" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBin</doc>
            <type name="Bin" c:type="GstBin*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="iterate_sources" c:identifier="gst_bin_iterate_sources">
        <doc xml:space="preserve">Gets an iterator for all elements in the bin that have the
#GST_ELEMENT_FLAG_SOURCE flag set.

MT safe.  Caller owns returned value.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a #GstIterator of #GstElement,
or %NULL</doc>
          <type name="Iterator" c:type="GstIterator*"/>
        </return-value>
        <parameters>
          <instance-parameter name="bin" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBin</doc>
            <type name="Bin" c:type="GstBin*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="recalculate_latency"
              c:identifier="gst_bin_recalculate_latency">
        <doc xml:space="preserve">Query @bin for the current latency using and reconfigures this latency to all the
elements with a LATENCY event.

This method is typically called on the pipeline when a #GST_MESSAGE_LATENCY
is posted on the bus.

This function simply emits the 'do-latency' signal so any custom latency
calculations will be performed.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the latency could be queried and reconfigured.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="bin" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBin</doc>
            <type name="Bin" c:type="GstBin*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="remove" c:identifier="gst_bin_remove">
        <doc xml:space="preserve">Removes the element from the bin, unparenting it as well.
Unparenting the element means that the element will be dereferenced,
so if the bin holds the only reference to the element, the element
will be freed in the process of removing it from the bin.  If you
want the element to still exist after removing, you need to call
gst_object_ref() before removing it from the bin.

If the element's pads are linked to other pads, the pads will be unlinked
before the element is removed from the bin.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the element could be removed, %FALSE if
the bin does not want to remove the element.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="bin" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBin</doc>
            <type name="Bin" c:type="GstBin*"/>
          </instance-parameter>
          <parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">the #GstElement to remove</doc>
            <type name="Element" c:type="GstElement*"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_many"
              c:identifier="gst_bin_remove_many"
              introspectable="0">
        <doc xml:space="preserve">Remove a list of elements from a bin. This function is equivalent
to calling gst_bin_remove() with each member of the list.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="bin" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBin</doc>
            <type name="Bin" c:type="GstBin*"/>
          </instance-parameter>
          <parameter name="element_1" transfer-ownership="none">
            <doc xml:space="preserve">the first #GstElement to remove from the bin</doc>
            <type name="Element" c:type="GstElement*"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">%NULL-terminated list of elements to remove from the bin</doc>
            <varargs/>
          </parameter>
        </parameters>
      </method>
      <method name="set_suppressed_flags"
              c:identifier="gst_bin_set_suppressed_flags"
              version="1.10">
        <doc xml:space="preserve">Suppress the given flags on the bin. #GstElementFlags of a
child element are propagated when it is added to the bin.
When suppressed flags are set, those specified flags will
not be propagated to the bin.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="bin" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBin</doc>
            <type name="Bin" c:type="GstBin*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">the #GstElementFlags to suppress</doc>
            <type name="ElementFlags" c:type="GstElementFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="sync_children_states"
              c:identifier="gst_bin_sync_children_states"
              version="1.6">
        <doc xml:space="preserve">Synchronizes the state of every child of @bin with the state
of @bin. See also gst_element_sync_state_with_parent().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if syncing the state was successful for all children,
 otherwise %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="bin" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBin</doc>
            <type name="Bin" c:type="GstBin*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="async-handling" writable="1" transfer-ownership="none">
        <doc xml:space="preserve">If set to %TRUE, the bin will handle asynchronous state changes.
This should be used only if the bin subclass is modifying the state
of its children on its own.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="message-forward" writable="1" transfer-ownership="none">
        <doc xml:space="preserve">Forward all children messages, even those that would normally be filtered by
the bin. This can be interesting when one wants to be notified of the EOS
state of individual elements, for example.

The messages are converted to an ELEMENT message with the bin as the
source. The structure of the message is named 'GstBinForwarded' and contains
a field named 'message' of type GST_TYPE_MESSAGE that contains the original
forwarded message.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <field name="element">
        <type name="Element" c:type="GstElement"/>
      </field>
      <field name="numchildren">
        <doc xml:space="preserve">the number of children in this bin</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="children">
        <doc xml:space="preserve">the list of children in this bin</doc>
        <type name="GLib.List" c:type="GList*">
          <type name="Element"/>
        </type>
      </field>
      <field name="children_cookie">
        <doc xml:space="preserve">updated whenever @children changes</doc>
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="child_bus">
        <doc xml:space="preserve">internal bus for handling child messages</doc>
        <type name="Bus" c:type="GstBus*"/>
      </field>
      <field name="messages">
        <doc xml:space="preserve">queued and cached messages</doc>
        <type name="GLib.List" c:type="GList*">
          <type name="Message"/>
        </type>
      </field>
      <field name="polling">
        <doc xml:space="preserve">the bin is currently calculating its state</doc>
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="state_dirty">
        <doc xml:space="preserve">the bin needs to recalculate its state (deprecated)</doc>
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="clock_dirty">
        <doc xml:space="preserve">the bin needs to select a new clock</doc>
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="provided_clock">
        <doc xml:space="preserve">the last clock selected</doc>
        <type name="Clock" c:type="GstClock*"/>
      </field>
      <field name="clock_provider">
        <doc xml:space="preserve">the element that provided @provided_clock</doc>
        <type name="Element" c:type="GstElement*"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="BinPrivate" c:type="GstBinPrivate*"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
      <glib:signal name="deep-element-added" when="first" version="1.10">
        <doc xml:space="preserve">Will be emitted after the element was added to sub_bin.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="sub_bin" transfer-ownership="none">
            <doc xml:space="preserve">the #GstBin the element was added to</doc>
            <type name="Bin"/>
          </parameter>
          <parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">the #GstElement that was added to @sub_bin</doc>
            <type name="Element"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="deep-element-removed" when="first" version="1.10">
        <doc xml:space="preserve">Will be emitted after the element was removed from sub_bin.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="sub_bin" transfer-ownership="none">
            <doc xml:space="preserve">the #GstBin the element was removed from</doc>
            <type name="Bin"/>
          </parameter>
          <parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">the #GstElement that was removed from @sub_bin</doc>
            <type name="Element"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="do-latency" when="last">
        <doc xml:space="preserve">Will be emitted when the bin needs to perform latency calculations. This
signal is only emitted for toplevel bins or when async-handling is
enabled.

Only one signal handler is invoked. If no signals are connected, the
default handler is invoked, which will query and distribute the lowest
possible latency to all sinks.

Connect to this signal if the default latency calculations are not
sufficient, like when you need different latencies for different sinks in
the same pipeline.</doc>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
      </glib:signal>
      <glib:signal name="element-added" when="first">
        <doc xml:space="preserve">Will be emitted after the element was added to the bin.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">the #GstElement that was added to the bin</doc>
            <type name="Element"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="element-removed" when="first">
        <doc xml:space="preserve">Will be emitted after the element was removed from the bin.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">the #GstElement that was removed from the bin</doc>
            <type name="Element"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="BinClass"
            c:type="GstBinClass"
            glib:is-gtype-struct-for="Bin">
      <doc xml:space="preserve">Subclasses can override the @add_element and @remove_element to
update the list of children in the bin.

The @handle_message method can be overridden to implement custom
message handling.  @handle_message takes ownership of the message, just like
#gst_element_post_message.

The @deep_element_added vfunc will be called when a new element has been
added to any bin inside this bin, so it will also be called if a new child
was added to a sub-bin of this bin. #GstBin implementations that override
this message should chain up to the parent class implementation so the
element-added-deep signal is emitted on all parents.</doc>
      <field name="parent_class">
        <doc xml:space="preserve">bin parent class</doc>
        <type name="ElementClass" c:type="GstElementClass"/>
      </field>
      <field name="pool" readable="0" private="1">
        <type name="GLib.ThreadPool" c:type="GThreadPool*"/>
      </field>
      <field name="element_added">
        <callback name="element_added">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="bin" transfer-ownership="none">
              <type name="Bin" c:type="GstBin*"/>
            </parameter>
            <parameter name="child" transfer-ownership="none">
              <type name="Element" c:type="GstElement*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="element_removed">
        <callback name="element_removed">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="bin" transfer-ownership="none">
              <type name="Bin" c:type="GstBin*"/>
            </parameter>
            <parameter name="child" transfer-ownership="none">
              <type name="Element" c:type="GstElement*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="add_element">
        <callback name="add_element">
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="bin" transfer-ownership="none">
              <type name="Bin" c:type="GstBin*"/>
            </parameter>
            <parameter name="element" transfer-ownership="none">
              <type name="Element" c:type="GstElement*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="remove_element">
        <callback name="remove_element">
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="bin" transfer-ownership="none">
              <type name="Bin" c:type="GstBin*"/>
            </parameter>
            <parameter name="element" transfer-ownership="none">
              <type name="Element" c:type="GstElement*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="handle_message">
        <callback name="handle_message">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="bin" transfer-ownership="none">
              <type name="Bin" c:type="GstBin*"/>
            </parameter>
            <parameter name="message" transfer-ownership="none">
              <type name="Message" c:type="GstMessage*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="do_latency">
        <callback name="do_latency">
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="bin" transfer-ownership="none">
              <type name="Bin" c:type="GstBin*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="deep_element_added">
        <callback name="deep_element_added">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="bin" transfer-ownership="none">
              <type name="Bin" c:type="GstBin*"/>
            </parameter>
            <parameter name="sub_bin" transfer-ownership="none">
              <type name="Bin" c:type="GstBin*"/>
            </parameter>
            <parameter name="child" transfer-ownership="none">
              <type name="Element" c:type="GstElement*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="deep_element_removed">
        <callback name="deep_element_removed">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="bin" transfer-ownership="none">
              <type name="Bin" c:type="GstBin*"/>
            </parameter>
            <parameter name="sub_bin" transfer-ownership="none">
              <type name="Bin" c:type="GstBin*"/>
            </parameter>
            <parameter name="child" transfer-ownership="none">
              <type name="Element" c:type="GstElement*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="2">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <bitfield name="BinFlags"
              glib:type-name="GstBinFlags"
              glib:get-type="gst_bin_flags_get_type"
              c:type="GstBinFlags">
      <doc xml:space="preserve">GstBinFlags are a set of flags specific to bins. Most are set/used
internally. They can be checked using the GST_OBJECT_FLAG_IS_SET () macro,
and (un)set using GST_OBJECT_FLAG_SET () and GST_OBJECT_FLAG_UNSET ().</doc>
      <member name="no_resync"
              value="16384"
              c:identifier="GST_BIN_FLAG_NO_RESYNC"
              glib:nick="no-resync">
        <doc xml:space="preserve">don't resync a state change when elements are
            added or linked in the bin (Since 1.0.5)</doc>
      </member>
      <member name="streams_aware"
              value="32768"
              c:identifier="GST_BIN_FLAG_STREAMS_AWARE"
              glib:nick="streams-aware">
        <doc xml:space="preserve">Indicates whether the bin can handle elements
            that add/remove source pads at any point in time without
            first posting a no-more-pads signal (Since 1.10)</doc>
      </member>
      <member name="last"
              value="524288"
              c:identifier="GST_BIN_FLAG_LAST"
              glib:nick="last">
        <doc xml:space="preserve">the last enum in the series of flags for bins.
Derived classes can use this as first value in a list of flags.</doc>
      </member>
    </bitfield>
    <record name="BinPrivate" c:type="GstBinPrivate" disguised="1">
    </record>
    <class name="Bitmask"
           c:symbol-prefix="bitmask"
           glib:type-name="GstBitmask"
           glib:get-type="gst_bitmask_get_type"
           glib:fundamental="1">
    </class>
    <record name="Buffer"
            c:type="GstBuffer"
            glib:type-name="GstBuffer"
            glib:get-type="gst_buffer_get_type"
            c:symbol-prefix="buffer">
      <doc xml:space="preserve">Buffers are the basic unit of data transfer in GStreamer. They contain the
timing and offset along with other arbitrary metadata that is associated
with the #GstMemory blocks that the buffer contains.

Buffers are usually created with gst_buffer_new(). After a buffer has been
created one will typically allocate memory for it and add it to the buffer.
The following example creates a buffer that can hold a given video frame
with a given width, height and bits per plane.
|[&lt;!-- language="C" --&gt;
  GstBuffer *buffer;
  GstMemory *memory;
  gint size, width, height, bpp;
  ...
  size = width * height * bpp;
  buffer = gst_buffer_new ();
  memory = gst_allocator_alloc (NULL, size, NULL);
  gst_buffer_insert_memory (buffer, -1, memory);
  ...
]|

Alternatively, use gst_buffer_new_allocate() to create a buffer with
preallocated data of a given size.

Buffers can contain a list of #GstMemory objects. You can retrieve how many
memory objects with gst_buffer_n_memory() and you can get a pointer
to memory with gst_buffer_peek_memory()

A buffer will usually have timestamps, and a duration, but neither of these
are guaranteed (they may be set to #GST_CLOCK_TIME_NONE). Whenever a
meaningful value can be given for these, they should be set. The timestamps
and duration are measured in nanoseconds (they are #GstClockTime values).

The buffer DTS refers to the timestamp when the buffer should be decoded and
is usually monotonically increasing. The buffer PTS refers to the timestamp when
the buffer content should be presented to the user and is not always
monotonically increasing.

A buffer can also have one or both of a start and an end offset. These are
media-type specific. For video buffers, the start offset will generally be
the frame number. For audio buffers, it will be the number of samples
produced so far. For compressed data, it could be the byte offset in a
source or destination file. Likewise, the end offset will be the offset of
the end of the buffer. These can only be meaningfully interpreted if you
know the media type of the buffer (the preceding CAPS event). Either or both
can be set to #GST_BUFFER_OFFSET_NONE.

gst_buffer_ref() is used to increase the refcount of a buffer. This must be
done when you want to keep a handle to the buffer after pushing it to the
next element. The buffer refcount determines the writability of the buffer, a
buffer is only writable when the refcount is exactly 1, i.e. when the caller
has the only reference to the buffer.

To efficiently create a smaller buffer out of an existing one, you can
use gst_buffer_copy_region(). This method tries to share the memory objects
between the two buffers.

If a plug-in wants to modify the buffer data or metadata in-place, it should
first obtain a buffer that is safe to modify by using
gst_buffer_make_writable().  This function is optimized so that a copy will
only be made when it is necessary.

Several flags of the buffer can be set and unset with the
GST_BUFFER_FLAG_SET() and GST_BUFFER_FLAG_UNSET() macros. Use
GST_BUFFER_FLAG_IS_SET() to test if a certain #GstBufferFlags flag is set.

Buffers can be efficiently merged into a larger buffer with
gst_buffer_append(). Copying of memory will only be done when absolutely
needed.

Arbitrary extra metadata can be set on a buffer with gst_buffer_add_meta().
Metadata can be retrieved with gst_buffer_get_meta(). See also #GstMeta

An element should either unref the buffer or push it out on a src pad
using gst_pad_push() (see #GstPad).

Buffers are usually freed by unreffing them with gst_buffer_unref(). When
the refcount drops to 0, any memory and metadata pointed to by the buffer is
unreffed as well. Buffers allocated from a #GstBufferPool will be returned to
the pool when the refcount drops to 0.

The #GstParentBufferMeta is a meta which can be attached to a #GstBuffer
to hold a reference to another buffer that is only released when the child
#GstBuffer is released.

Typically, #GstParentBufferMeta is used when the child buffer is directly
using the #GstMemory of the parent buffer, and wants to prevent the parent
buffer from being returned to a buffer pool until the #GstMemory is available
for re-use. (Since 1.6)</doc>
      <field name="mini_object" writable="1">
        <doc xml:space="preserve">the parent structure</doc>
        <type name="MiniObject" c:type="GstMiniObject"/>
      </field>
      <field name="pool" writable="1">
        <doc xml:space="preserve">pointer to the pool owner of the buffer</doc>
        <type name="BufferPool" c:type="GstBufferPool*"/>
      </field>
      <field name="pts" writable="1">
        <doc xml:space="preserve">presentation timestamp of the buffer, can be #GST_CLOCK_TIME_NONE when the
    pts is not known or relevant. The pts contains the timestamp when the
    media should be presented to the user.</doc>
        <type name="ClockTime" c:type="GstClockTime"/>
      </field>
      <field name="dts" writable="1">
        <doc xml:space="preserve">decoding timestamp of the buffer, can be #GST_CLOCK_TIME_NONE when the
    dts is not known or relevant. The dts contains the timestamp when the
    media should be processed.</doc>
        <type name="ClockTime" c:type="GstClockTime"/>
      </field>
      <field name="duration" writable="1">
        <doc xml:space="preserve">duration in time of the buffer data, can be #GST_CLOCK_TIME_NONE
    when the duration is not known or relevant.</doc>
        <type name="ClockTime" c:type="GstClockTime"/>
      </field>
      <field name="offset" writable="1">
        <doc xml:space="preserve">a media specific offset for the buffer data.
    For video frames, this is the frame number of this buffer.
    For audio samples, this is the offset of the first sample in this buffer.
    For file data or compressed data this is the byte offset of the first
      byte in this buffer.</doc>
        <type name="guint64" c:type="guint64"/>
      </field>
      <field name="offset_end" writable="1">
        <doc xml:space="preserve">the last offset contained in this buffer. It has the same
    format as @offset.</doc>
        <type name="guint64" c:type="guint64"/>
      </field>
      <constructor name="new" c:identifier="gst_buffer_new">
        <doc xml:space="preserve">Creates a newly allocated buffer without any data.

MT safe.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new #GstBuffer.</doc>
          <type name="Buffer" c:type="GstBuffer*"/>
        </return-value>
      </constructor>
      <constructor name="new_allocate" c:identifier="gst_buffer_new_allocate">
        <doc xml:space="preserve">Tries to create a newly allocated buffer with data of the given size and
extra parameters from @allocator. If the requested amount of memory can't be
allocated, %NULL will be returned. The allocated buffer memory is not cleared.

When @allocator is %NULL, the default memory allocator will be used.

Note that when @size == 0, the buffer will not have memory associated with it.

MT safe.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a new #GstBuffer, or %NULL if
    the memory couldn't be allocated.</doc>
          <type name="Buffer" c:type="GstBuffer*"/>
        </return-value>
        <parameters>
          <parameter name="allocator"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the #GstAllocator to use, or %NULL to use the
    default allocator</doc>
            <type name="Allocator" c:type="GstAllocator*"/>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">the size in bytes of the new buffer's data.</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="params"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">optional parameters</doc>
            <type name="AllocationParams" c:type="GstAllocationParams*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_wrapped" c:identifier="gst_buffer_new_wrapped">
        <doc xml:space="preserve">Creates a new buffer that wraps the given @data. The memory will be freed
with g_free and will be marked writable.

MT safe.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstBuffer</doc>
          <type name="Buffer" c:type="GstBuffer*"/>
        </return-value>
        <parameters>
          <parameter name="data" transfer-ownership="full">
            <doc xml:space="preserve">data to wrap</doc>
            <array length="1" zero-terminated="0" c:type="gpointer">
              <type name="guint8"/>
            </array>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">allocated size of @data</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_wrapped_full"
                   c:identifier="gst_buffer_new_wrapped_full">
        <doc xml:space="preserve">Allocate a new buffer that wraps the given memory. @data must point to
@maxsize of memory, the wrapped buffer will have the region from @offset and
@size visible.

When the buffer is destroyed, @notify will be called with @user_data.

The prefix/padding must be filled with 0 if @flags contains
#GST_MEMORY_FLAG_ZERO_PREFIXED and #GST_MEMORY_FLAG_ZERO_PADDED respectively.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstBuffer</doc>
          <type name="Buffer" c:type="GstBuffer*"/>
        </return-value>
        <parameters>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">#GstMemoryFlags</doc>
            <type name="MemoryFlags" c:type="GstMemoryFlags"/>
          </parameter>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve">data to wrap</doc>
            <array length="4" zero-terminated="0" c:type="gpointer">
              <type name="guint8"/>
            </array>
          </parameter>
          <parameter name="maxsize" transfer-ownership="none">
            <doc xml:space="preserve">allocated size of @data</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="offset" transfer-ownership="none">
            <doc xml:space="preserve">offset in @data</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">size of valid data</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user_data</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="5">
            <doc xml:space="preserve">called with @user_data when the memory is freed</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="add_meta" c:identifier="gst_buffer_add_meta">
        <doc xml:space="preserve">Add metadata for @info to @buffer using the parameters in @params.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">the metadata for the api in @info on @buffer.</doc>
          <type name="Meta" c:type="GstMeta*"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">a #GstMetaInfo</doc>
            <type name="MetaInfo" c:type="const GstMetaInfo*"/>
          </parameter>
          <parameter name="params"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">params for @info</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_parent_buffer_meta"
              c:identifier="gst_buffer_add_parent_buffer_meta"
              version="1.6">
        <doc xml:space="preserve">Add a #GstParentBufferMeta to @buffer that holds a reference on
@ref until the buffer is freed.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">The #GstParentBufferMeta that was added to the buffer</doc>
          <type name="ParentBufferMeta" c:type="GstParentBufferMeta*"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="ref" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer to ref</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_protection_meta"
              c:identifier="gst_buffer_add_protection_meta"
              version="1.6">
        <doc xml:space="preserve">Attaches protection metadata to a #GstBuffer.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a pointer to the added #GstProtectionMeta if successful; %NULL if
unsuccessful.</doc>
          <type name="ProtectionMeta" c:type="GstProtectionMeta*"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">#GstBuffer holding an encrypted sample, to which protection
    metadata should be added.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="info" transfer-ownership="full">
            <doc xml:space="preserve">a #GstStructure holding cryptographic
    information relating to the sample contained in @buffer. This
    function takes ownership of @info.</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_reference_timestamp_meta"
              c:identifier="gst_buffer_add_reference_timestamp_meta"
              version="1.14">
        <doc xml:space="preserve">Add a #GstReferenceTimestampMeta to @buffer that holds a @timestamp and
optionally @duration based on a specific timestamp @reference. See the
documentation of #GstReferenceTimestampMeta for details.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">The #GstReferenceTimestampMeta that was added to the buffer</doc>
          <type name="ReferenceTimestampMeta"
                c:type="GstReferenceTimestampMeta*"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="reference" transfer-ownership="none">
            <doc xml:space="preserve">identifier for the timestamp reference.</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve">timestamp</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="duration" transfer-ownership="none">
            <doc xml:space="preserve">duration, or %GST_CLOCK_TIME_NONE</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="append" c:identifier="gst_buffer_append">
        <doc xml:space="preserve">Append all the memory from @buf2 to @buf1. The result buffer will contain a
concatenation of the memory of @buf1 and @buf2.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new #GstBuffer that contains the memory
    of the two source buffers.</doc>
          <type name="Buffer" c:type="GstBuffer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf1" transfer-ownership="full">
            <doc xml:space="preserve">the first source #GstBuffer to append.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="buf2" transfer-ownership="full">
            <doc xml:space="preserve">the second source #GstBuffer to append.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </parameter>
        </parameters>
      </method>
      <method name="append_memory" c:identifier="gst_buffer_append_memory">
        <doc xml:space="preserve">Append the memory block @mem to @buffer. This function takes
ownership of @mem and thus doesn't increase its refcount.

This function is identical to gst_buffer_insert_memory() with an index of -1.
See gst_buffer_insert_memory() for more details.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="mem" transfer-ownership="full">
            <doc xml:space="preserve">a #GstMemory.</doc>
            <type name="Memory" c:type="GstMemory*"/>
          </parameter>
        </parameters>
      </method>
      <method name="append_region" c:identifier="gst_buffer_append_region">
        <doc xml:space="preserve">Append @size bytes at @offset from @buf2 to @buf1. The result buffer will
contain a concatenation of the memory of @buf1 and the requested region of
@buf2.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new #GstBuffer that contains the memory
    of the two source buffers.</doc>
          <type name="Buffer" c:type="GstBuffer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf1" transfer-ownership="full">
            <doc xml:space="preserve">the first source #GstBuffer to append.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="buf2" transfer-ownership="full">
            <doc xml:space="preserve">the second source #GstBuffer to append.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </parameter>
          <parameter name="offset" transfer-ownership="none">
            <doc xml:space="preserve">the offset in @buf2</doc>
            <type name="gssize" c:type="gssize"/>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">the size or -1 of @buf2</doc>
            <type name="gssize" c:type="gssize"/>
          </parameter>
        </parameters>
      </method>
      <method name="copy_deep"
              c:identifier="gst_buffer_copy_deep"
              version="1.6">
        <doc xml:space="preserve">Create a copy of the given buffer. This will make a newly allocated
copy of the data the source buffer contains.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new copy of @buf.</doc>
          <type name="Buffer" c:type="GstBuffer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="const GstBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="copy_into" c:identifier="gst_buffer_copy_into">
        <doc xml:space="preserve">Copies the information from @src into @dest.

If @dest already contains memory and @flags contains GST_BUFFER_COPY_MEMORY,
the memory from @src will be appended to @dest.

@flags indicate which fields will be copied.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the copying succeeded, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dest" transfer-ownership="none">
            <doc xml:space="preserve">a destination #GstBuffer</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve">a source #GstBuffer</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">flags indicating what metadata fields should be copied.</doc>
            <type name="BufferCopyFlags" c:type="GstBufferCopyFlags"/>
          </parameter>
          <parameter name="offset" transfer-ownership="none">
            <doc xml:space="preserve">offset to copy from</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">total size to copy. If -1, all data is copied.</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
        </parameters>
      </method>
      <method name="copy_region" c:identifier="gst_buffer_copy_region">
        <doc xml:space="preserve">Creates a sub-buffer from @parent at @offset and @size.
This sub-buffer uses the actual memory space of the parent buffer.
This function will copy the offset and timestamp fields when the
offset is 0. If not, they will be set to #GST_CLOCK_TIME_NONE and
#GST_BUFFER_OFFSET_NONE.
If @offset equals 0 and @size equals the total size of @buffer, the
duration and offset end fields are also copied. If not they will be set
to #GST_CLOCK_TIME_NONE and #GST_BUFFER_OFFSET_NONE.

MT safe.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new #GstBuffer or %NULL if the arguments were
    invalid.</doc>
          <type name="Buffer" c:type="GstBuffer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="parent" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">the #GstBufferCopyFlags</doc>
            <type name="BufferCopyFlags" c:type="GstBufferCopyFlags"/>
          </parameter>
          <parameter name="offset" transfer-ownership="none">
            <doc xml:space="preserve">the offset into parent #GstBuffer at which the new sub-buffer
         begins.</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">the size of the new #GstBuffer sub-buffer, in bytes. If -1, all
       data is copied.</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
        </parameters>
      </method>
      <method name="extract" c:identifier="gst_buffer_extract">
        <doc xml:space="preserve">Copy @size bytes starting from @offset in @buffer to @dest.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The amount of bytes extracted. This value can be lower than @size
   when @buffer did not contain enough data.</doc>
          <type name="gsize" c:type="gsize"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="offset" transfer-ownership="none">
            <doc xml:space="preserve">the offset to extract</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="dest"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the destination address</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">the size to extract</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
        </parameters>
      </method>
      <method name="extract_dup"
              c:identifier="gst_buffer_extract_dup"
              version="1.0.10">
        <doc xml:space="preserve">Extracts a copy of at most @size bytes the data at @offset into
newly-allocated memory. @dest must be freed using g_free() when done.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="offset" transfer-ownership="none">
            <doc xml:space="preserve">the offset to extract</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">the size to extract</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="dest"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">A pointer where
 the destination array will be written. Might be %NULL if the size is 0.</doc>
            <array length="3" zero-terminated="0" c:type="gpointer*">
              <type name="guint8"/>
            </array>
          </parameter>
          <parameter name="dest_size"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">A location where the size of @dest can be written</doc>
            <type name="gsize" c:type="gsize*"/>
          </parameter>
        </parameters>
      </method>
      <method name="fill" c:identifier="gst_buffer_fill">
        <doc xml:space="preserve">Copy @size bytes from @src to @buffer at @offset.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The amount of bytes copied. This value can be lower than @size
   when @buffer did not contain enough data.</doc>
          <type name="gsize" c:type="gsize"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="offset" transfer-ownership="none">
            <doc xml:space="preserve">the offset to fill</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve">the source address</doc>
            <array length="2" zero-terminated="0" c:type="gconstpointer">
              <type name="guint8"/>
            </array>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">the size to fill</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
        </parameters>
      </method>
      <method name="find_memory" c:identifier="gst_buffer_find_memory">
        <doc xml:space="preserve">Find the memory blocks that span @size bytes starting from @offset
in @buffer.

When this function returns %TRUE, @idx will contain the index of the first
memory block where the byte for @offset can be found and @length contains the
number of memory blocks containing the @size remaining bytes. @skip contains
the number of bytes to skip in the memory block at @idx to get to the byte
for @offset.

@size can be -1 to get all the memory blocks after @idx.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE when @size bytes starting from @offset could be found in
@buffer and @idx, @length and @skip will be filled.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="offset" transfer-ownership="none">
            <doc xml:space="preserve">an offset</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">a size</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="idx"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">pointer to index</doc>
            <type name="guint" c:type="guint*"/>
          </parameter>
          <parameter name="length"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">pointer to length</doc>
            <type name="guint" c:type="guint*"/>
          </parameter>
          <parameter name="skip"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">pointer to skip</doc>
            <type name="gsize" c:type="gsize*"/>
          </parameter>
        </parameters>
      </method>
      <method name="foreach_meta" c:identifier="gst_buffer_foreach_meta">
        <doc xml:space="preserve">Call @func with @user_data for each meta in @buffer.

@func can modify the passed meta pointer or its contents. The return value
of @func define if this function returns or if the remaining metadata items
in the buffer should be skipped.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%FALSE when @func returned %FALSE for one of the metadata.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="call"
                     closure="1">
            <doc xml:space="preserve">a #GstBufferForeachMetaFunc to call</doc>
            <type name="BufferForeachMetaFunc"
                  c:type="GstBufferForeachMetaFunc"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user data passed to @func</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_all_memory" c:identifier="gst_buffer_get_all_memory">
        <doc xml:space="preserve">Get all the memory block in @buffer. The memory blocks will be merged
into one large #GstMemory.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a #GstMemory that contains the merged memory.
Use gst_memory_unref () after usage.</doc>
          <type name="Memory" c:type="GstMemory*"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_flags"
              c:identifier="gst_buffer_get_flags"
              version="1.10">
        <doc xml:space="preserve">Get the #GstBufferFlags flags set on this buffer.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the flags set on this buffer.</doc>
          <type name="BufferFlags" c:type="GstBufferFlags"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_memory" c:identifier="gst_buffer_get_memory">
        <doc xml:space="preserve">Get the memory block at index @idx in @buffer.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a #GstMemory that contains the data of the
memory block at @idx. Use gst_memory_unref () after usage.</doc>
          <type name="Memory" c:type="GstMemory*"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="idx" transfer-ownership="none">
            <doc xml:space="preserve">an index</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_memory_range"
              c:identifier="gst_buffer_get_memory_range">
        <doc xml:space="preserve">Get @length memory blocks in @buffer starting at @idx. The memory blocks will
be merged into one large #GstMemory.

If @length is -1, all memory starting from @idx is merged.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a #GstMemory that contains the merged data of @length
   blocks starting at @idx. Use gst_memory_unref () after usage.</doc>
          <type name="Memory" c:type="GstMemory*"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="idx" transfer-ownership="none">
            <doc xml:space="preserve">an index</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="length" transfer-ownership="none">
            <doc xml:space="preserve">a length</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_meta" c:identifier="gst_buffer_get_meta">
        <doc xml:space="preserve">Get the metadata for @api on buffer. When there is no such metadata, %NULL is
returned. If multiple metadata with the given @api are attached to this
buffer only the first one is returned.  To handle multiple metadata with a
given API use gst_buffer_iterate_meta() or gst_buffer_foreach_meta() instead
and check the meta-&gt;info.api member for the API type.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">the metadata for @api on
@buffer.</doc>
          <type name="Meta" c:type="GstMeta*"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="api" transfer-ownership="none">
            <doc xml:space="preserve">the #GType of an API</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_n_meta"
              c:identifier="gst_buffer_get_n_meta"
              version="1.14">
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">number of metas of type @api_type on @buffer.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="api_type" transfer-ownership="none">
            <doc xml:space="preserve">the #GType of an API</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_reference_timestamp_meta"
              c:identifier="gst_buffer_get_reference_timestamp_meta"
              version="1.14">
        <doc xml:space="preserve">Find the first #GstReferenceTimestampMeta on @buffer that conforms to
@reference. Conformance is tested by checking if the meta's reference is a
subset of @reference.

Buffers can contain multiple #GstReferenceTimestampMeta metadata items.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">the #GstReferenceTimestampMeta or %NULL when there
is no such metadata on @buffer.</doc>
          <type name="ReferenceTimestampMeta"
                c:type="GstReferenceTimestampMeta*"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="reference"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a reference #GstCaps</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_size" c:identifier="gst_buffer_get_size">
        <doc xml:space="preserve">Get the total size of the memory blocks in @buffer.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">total size of the memory blocks in @buffer.</doc>
          <type name="gsize" c:type="gsize"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_sizes" c:identifier="gst_buffer_get_sizes">
        <doc xml:space="preserve">Get the total size of the memory blocks in @b.

When not %NULL, @offset will contain the offset of the data in the
first memory block in @buffer and @maxsize will contain the sum of
the size and @offset and the amount of extra padding on the last
memory block.  @offset and @maxsize can be used to resize the
buffer memory blocks with gst_buffer_resize().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">total size of the memory blocks in @buffer.</doc>
          <type name="gsize" c:type="gsize"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="offset"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a pointer to the offset</doc>
            <type name="gsize" c:type="gsize*"/>
          </parameter>
          <parameter name="maxsize"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a pointer to the maxsize</doc>
            <type name="gsize" c:type="gsize*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_sizes_range" c:identifier="gst_buffer_get_sizes_range">
        <doc xml:space="preserve">Get the total size of @length memory blocks stating from @idx in @buffer.

When not %NULL, @offset will contain the offset of the data in the
memory block in @buffer at @idx and @maxsize will contain the sum of the size
and @offset and the amount of extra padding on the memory block at @idx +
@length -1.
@offset and @maxsize can be used to resize the buffer memory blocks with
gst_buffer_resize_range().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">total size of @length memory blocks starting at @idx in @buffer.</doc>
          <type name="gsize" c:type="gsize"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="idx" transfer-ownership="none">
            <doc xml:space="preserve">an index</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="length" transfer-ownership="none">
            <doc xml:space="preserve">a length</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="offset"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a pointer to the offset</doc>
            <type name="gsize" c:type="gsize*"/>
          </parameter>
          <parameter name="maxsize"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a pointer to the maxsize</doc>
            <type name="gsize" c:type="gsize*"/>
          </parameter>
        </parameters>
      </method>
      <method name="has_flags" c:identifier="gst_buffer_has_flags">
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <type name="BufferFlags" c:type="GstBufferFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="insert_memory" c:identifier="gst_buffer_insert_memory">
        <doc xml:space="preserve">Insert the memory block @mem to @buffer at @idx. This function takes ownership
of @mem and thus doesn't increase its refcount.

Only gst_buffer_get_max_memory() can be added to a buffer. If more memory is
added, existing memory blocks will automatically be merged to make room for
the new memory.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="idx" transfer-ownership="none">
            <doc xml:space="preserve">the index to add the memory at, or -1 to append it to the end</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="mem" transfer-ownership="full">
            <doc xml:space="preserve">a #GstMemory.</doc>
            <type name="Memory" c:type="GstMemory*"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_all_memory_writable"
              c:identifier="gst_buffer_is_all_memory_writable"
              version="1.4">
        <doc xml:space="preserve">Check if all memory blocks in @buffer are writable.

Note that this function does not check if @buffer is writable, use
gst_buffer_is_writable() to check that if needed.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if all memory blocks in @buffer are writable</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_memory_range_writable"
              c:identifier="gst_buffer_is_memory_range_writable"
              version="1.4">
        <doc xml:space="preserve">Check if @length memory blocks in @buffer starting from @idx are writable.

@length can be -1 to check all the memory blocks after @idx.

Note that this function does not check if @buffer is writable, use
gst_buffer_is_writable() to check that if needed.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the memory range is writable</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="idx" transfer-ownership="none">
            <doc xml:space="preserve">an index</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="length" transfer-ownership="none">
            <doc xml:space="preserve">a length should not be 0</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="iterate_meta"
              c:identifier="gst_buffer_iterate_meta"
              introspectable="0">
        <doc xml:space="preserve">Retrieve the next #GstMeta after @current. If @state points
to %NULL, the first metadata is returned.

@state will be updated with an opaque state pointer</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">The next #GstMeta or %NULL
when there are no more items.</doc>
          <type name="Meta" c:type="GstMeta*"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="state"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none"
                     nullable="1">
            <doc xml:space="preserve">an opaque state pointer</doc>
            <type name="gpointer" c:type="gpointer*"/>
          </parameter>
        </parameters>
      </method>
      <method name="iterate_meta_filtered"
              c:identifier="gst_buffer_iterate_meta_filtered"
              version="1.12"
              introspectable="0">
        <doc xml:space="preserve">Retrieve the next #GstMeta of type @meta_api_type after the current one
according to @state. If @state points to %NULL, the first metadata of
type @meta_api_type is returned.

@state will be updated with an opaque state pointer</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">The next #GstMeta of type
@meta_api_type or %NULL when there are no more items.</doc>
          <type name="Meta" c:type="GstMeta*"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="state"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none"
                     nullable="1">
            <doc xml:space="preserve">an opaque state pointer</doc>
            <type name="gpointer" c:type="gpointer*"/>
          </parameter>
          <parameter name="meta_api_type" transfer-ownership="none">
            <doc xml:space="preserve">only return #GstMeta of this type</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
        </parameters>
      </method>
      <method name="map" c:identifier="gst_buffer_map">
        <doc xml:space="preserve">This function fills @info with the #GstMapInfo of all merged memory
blocks in @buffer.

@flags describe the desired access of the memory. When @flags is
#GST_MAP_WRITE, @buffer should be writable (as returned from
gst_buffer_is_writable()).

When @buffer is writable but the memory isn't, a writable copy will
automatically be created and returned. The readonly copy of the
buffer memory will then also be replaced with this writable copy.

The memory in @info should be unmapped with gst_buffer_unmap() after
usage.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the map succeeded and @info contains valid data.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="info"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none">
            <doc xml:space="preserve">info about the mapping</doc>
            <type name="MapInfo" c:type="GstMapInfo*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">flags for the mapping</doc>
            <type name="MapFlags" c:type="GstMapFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="map_range" c:identifier="gst_buffer_map_range">
        <doc xml:space="preserve">This function fills @info with the #GstMapInfo of @length merged memory blocks
starting at @idx in @buffer. When @length is -1, all memory blocks starting
from @idx are merged and mapped.

@flags describe the desired access of the memory. When @flags is
#GST_MAP_WRITE, @buffer should be writable (as returned from
gst_buffer_is_writable()).

When @buffer is writable but the memory isn't, a writable copy will
automatically be created and returned. The readonly copy of the buffer memory
will then also be replaced with this writable copy.

The memory in @info should be unmapped with gst_buffer_unmap() after usage.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the map succeeded and @info contains valid
data.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="idx" transfer-ownership="none">
            <doc xml:space="preserve">an index</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="length" transfer-ownership="none">
            <doc xml:space="preserve">a length</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="info"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none">
            <doc xml:space="preserve">info about the mapping</doc>
            <type name="MapInfo" c:type="GstMapInfo*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">flags for the mapping</doc>
            <type name="MapFlags" c:type="GstMapFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="memcmp" c:identifier="gst_buffer_memcmp">
        <doc xml:space="preserve">Compare @size bytes starting from @offset in @buffer with the memory in @mem.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">0 if the memory is equal.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="offset" transfer-ownership="none">
            <doc xml:space="preserve">the offset in @buffer</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="mem" transfer-ownership="none">
            <doc xml:space="preserve">the memory to compare</doc>
            <array length="2" zero-terminated="0" c:type="gconstpointer">
              <type name="guint8"/>
            </array>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">the size to compare</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
        </parameters>
      </method>
      <method name="memset" c:identifier="gst_buffer_memset">
        <doc xml:space="preserve">Fill @buf with @size bytes with @val starting from @offset.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The amount of bytes filled. This value can be lower than @size
   when @buffer did not contain enough data.</doc>
          <type name="gsize" c:type="gsize"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="offset" transfer-ownership="none">
            <doc xml:space="preserve">the offset in @buffer</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="val" transfer-ownership="none">
            <doc xml:space="preserve">the value to set</doc>
            <type name="guint8" c:type="guint8"/>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">the size to set</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
        </parameters>
      </method>
      <method name="n_memory" c:identifier="gst_buffer_n_memory">
        <doc xml:space="preserve">Get the amount of memory blocks that this buffer has. This amount is never
larger than what gst_buffer_get_max_memory() returns.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the number of memory blocks this buffer is made of.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="peek_memory" c:identifier="gst_buffer_peek_memory">
        <doc xml:space="preserve">Get the memory block at @idx in @buffer. The memory block stays valid until
the memory block in @buffer is removed, replaced or merged, typically with
any call that modifies the memory in @buffer.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">the #GstMemory at @idx.</doc>
          <type name="Memory" c:type="GstMemory*"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="idx" transfer-ownership="none">
            <doc xml:space="preserve">an index</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="prepend_memory" c:identifier="gst_buffer_prepend_memory">
        <doc xml:space="preserve">Prepend the memory block @mem to @buffer. This function takes
ownership of @mem and thus doesn't increase its refcount.

This function is identical to gst_buffer_insert_memory() with an index of 0.
See gst_buffer_insert_memory() for more details.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="mem" transfer-ownership="full">
            <doc xml:space="preserve">a #GstMemory.</doc>
            <type name="Memory" c:type="GstMemory*"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_all_memory"
              c:identifier="gst_buffer_remove_all_memory">
        <doc xml:space="preserve">Remove all the memory blocks in @buffer.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="remove_memory" c:identifier="gst_buffer_remove_memory">
        <doc xml:space="preserve">Remove the memory block in @b at index @i.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="idx" transfer-ownership="none">
            <doc xml:space="preserve">an index</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_memory_range"
              c:identifier="gst_buffer_remove_memory_range">
        <doc xml:space="preserve">Remove @length memory blocks in @buffer starting from @idx.

@length can be -1, in which case all memory starting from @idx is removed.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="idx" transfer-ownership="none">
            <doc xml:space="preserve">an index</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="length" transfer-ownership="none">
            <doc xml:space="preserve">a length</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_meta" c:identifier="gst_buffer_remove_meta">
        <doc xml:space="preserve">Remove the metadata for @meta on @buffer.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the metadata existed and was removed, %FALSE if no such
metadata was on @buffer.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="meta" transfer-ownership="none">
            <doc xml:space="preserve">a #GstMeta</doc>
            <type name="Meta" c:type="GstMeta*"/>
          </parameter>
        </parameters>
      </method>
      <method name="replace_all_memory"
              c:identifier="gst_buffer_replace_all_memory">
        <doc xml:space="preserve">Replaces all memory in @buffer with @mem.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="mem" transfer-ownership="full">
            <doc xml:space="preserve">a #GstMemory</doc>
            <type name="Memory" c:type="GstMemory*"/>
          </parameter>
        </parameters>
      </method>
      <method name="replace_memory" c:identifier="gst_buffer_replace_memory">
        <doc xml:space="preserve">Replaces the memory block at index @idx in @buffer with @mem.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="idx" transfer-ownership="none">
            <doc xml:space="preserve">an index</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="mem" transfer-ownership="full">
            <doc xml:space="preserve">a #GstMemory</doc>
            <type name="Memory" c:type="GstMemory*"/>
          </parameter>
        </parameters>
      </method>
      <method name="replace_memory_range"
              c:identifier="gst_buffer_replace_memory_range">
        <doc xml:space="preserve">Replaces @length memory blocks in @buffer starting at @idx with @mem.

If @length is -1, all memory starting from @idx will be removed and
replaced with @mem.

@buffer should be writable.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="idx" transfer-ownership="none">
            <doc xml:space="preserve">an index</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="length" transfer-ownership="none">
            <doc xml:space="preserve">a length should not be 0</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="mem" transfer-ownership="full">
            <doc xml:space="preserve">a #GstMemory</doc>
            <type name="Memory" c:type="GstMemory*"/>
          </parameter>
        </parameters>
      </method>
      <method name="resize" c:identifier="gst_buffer_resize">
        <doc xml:space="preserve">Set the offset and total size of the memory blocks in @buffer.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="offset" transfer-ownership="none">
            <doc xml:space="preserve">the offset adjustment</doc>
            <type name="gssize" c:type="gssize"/>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">the new size or -1 to just adjust the offset</doc>
            <type name="gssize" c:type="gssize"/>
          </parameter>
        </parameters>
      </method>
      <method name="resize_range" c:identifier="gst_buffer_resize_range">
        <doc xml:space="preserve">Set the total size of the @length memory blocks starting at @idx in
@buffer</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if resizing succeeded, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="idx" transfer-ownership="none">
            <doc xml:space="preserve">an index</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="length" transfer-ownership="none">
            <doc xml:space="preserve">a length</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="offset" transfer-ownership="none">
            <doc xml:space="preserve">the offset adjustment</doc>
            <type name="gssize" c:type="gssize"/>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">the new size or -1 to just adjust the offset</doc>
            <type name="gssize" c:type="gssize"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_flags"
              c:identifier="gst_buffer_set_flags"
              version="1.10">
        <doc xml:space="preserve">Sets one or more buffer flags on a buffer.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @flags were successfully set on buffer.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">the #GstBufferFlags to set.</doc>
            <type name="BufferFlags" c:type="GstBufferFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_size" c:identifier="gst_buffer_set_size">
        <doc xml:space="preserve">Set the total size of the memory blocks in @buffer.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">the new size</doc>
            <type name="gssize" c:type="gssize"/>
          </parameter>
        </parameters>
      </method>
      <method name="unmap" c:identifier="gst_buffer_unmap">
        <doc xml:space="preserve">Release the memory previously mapped with gst_buffer_map().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">a #GstMapInfo</doc>
            <type name="MapInfo" c:type="GstMapInfo*"/>
          </parameter>
        </parameters>
      </method>
      <method name="unset_flags"
              c:identifier="gst_buffer_unset_flags"
              version="1.10">
        <doc xml:space="preserve">Clears one or more buffer flags.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">true if @flags is successfully cleared from buffer.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">the #GstBufferFlags to clear</doc>
            <type name="BufferFlags" c:type="GstBufferFlags"/>
          </parameter>
        </parameters>
      </method>
      <function name="get_max_memory"
                c:identifier="gst_buffer_get_max_memory"
                version="1.2">
        <doc xml:space="preserve">Get the maximum amount of memory blocks that a buffer can hold. This is a
compile time constant that can be queried with the function.

When more memory blocks are added, existing memory blocks will be merged
together to make room for the new block.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the maximum amount of memory blocks that a buffer can hold.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
      </function>
    </record>
    <bitfield name="BufferCopyFlags"
              glib:type-name="GstBufferCopyFlags"
              glib:get-type="gst_buffer_copy_flags_get_type"
              c:type="GstBufferCopyFlags">
      <doc xml:space="preserve">A set of flags that can be provided to the gst_buffer_copy_into()
function to specify which items should be copied.</doc>
      <member name="none"
              value="0"
              c:identifier="GST_BUFFER_COPY_NONE"
              glib:nick="none">
        <doc xml:space="preserve">copy nothing</doc>
      </member>
      <member name="flags"
              value="1"
              c:identifier="GST_BUFFER_COPY_FLAGS"
              glib:nick="flags">
        <doc xml:space="preserve">flag indicating that buffer flags should be copied</doc>
      </member>
      <member name="timestamps"
              value="2"
              c:identifier="GST_BUFFER_COPY_TIMESTAMPS"
              glib:nick="timestamps">
        <doc xml:space="preserve">flag indicating that buffer pts, dts,
  duration, offset and offset_end should be copied</doc>
      </member>
      <member name="meta"
              value="4"
              c:identifier="GST_BUFFER_COPY_META"
              glib:nick="meta">
        <doc xml:space="preserve">flag indicating that buffer meta should be
  copied</doc>
      </member>
      <member name="memory"
              value="8"
              c:identifier="GST_BUFFER_COPY_MEMORY"
              glib:nick="memory">
        <doc xml:space="preserve">flag indicating that buffer memory should be reffed
  and appended to already existing memory. Unless the memory is marked as
  NO_SHARE, no actual copy of the memory is made but it is simply reffed.
  Add @GST_BUFFER_COPY_DEEP to force a real copy.</doc>
      </member>
      <member name="merge"
              value="16"
              c:identifier="GST_BUFFER_COPY_MERGE"
              glib:nick="merge">
        <doc xml:space="preserve">flag indicating that buffer memory should be
  merged</doc>
      </member>
      <member name="deep"
              value="32"
              c:identifier="GST_BUFFER_COPY_DEEP"
              glib:nick="deep">
        <doc xml:space="preserve">flag indicating that memory should always be
  copied instead of reffed (Since 1.2)</doc>
      </member>
    </bitfield>
    <bitfield name="BufferFlags"
              glib:type-name="GstBufferFlags"
              glib:get-type="gst_buffer_flags_get_type"
              c:type="GstBufferFlags">
      <doc xml:space="preserve">A set of buffer flags used to describe properties of a #GstBuffer.</doc>
      <member name="live"
              value="16"
              c:identifier="GST_BUFFER_FLAG_LIVE"
              glib:nick="live">
        <doc xml:space="preserve">the buffer is live data and should be discarded in
                                the PAUSED state.</doc>
      </member>
      <member name="decode_only"
              value="32"
              c:identifier="GST_BUFFER_FLAG_DECODE_ONLY"
              glib:nick="decode-only">
        <doc xml:space="preserve">the buffer contains data that should be dropped
                                because it will be clipped against the segment
                                boundaries or because it does not contain data
                                that should be shown to the user.</doc>
      </member>
      <member name="discont"
              value="64"
              c:identifier="GST_BUFFER_FLAG_DISCONT"
              glib:nick="discont">
        <doc xml:space="preserve">the buffer marks a data discontinuity in the stream.
                                This typically occurs after a seek or a dropped buffer
                                from a live or network source.</doc>
      </member>
      <member name="resync"
              value="128"
              c:identifier="GST_BUFFER_FLAG_RESYNC"
              glib:nick="resync">
        <doc xml:space="preserve">the buffer timestamps might have a discontinuity
                                and this buffer is a good point to resynchronize.</doc>
      </member>
      <member name="corrupted"
              value="256"
              c:identifier="GST_BUFFER_FLAG_CORRUPTED"
              glib:nick="corrupted">
        <doc xml:space="preserve">the buffer data is corrupted.</doc>
      </member>
      <member name="marker"
              value="512"
              c:identifier="GST_BUFFER_FLAG_MARKER"
              glib:nick="marker">
        <doc xml:space="preserve">the buffer contains a media specific marker. for
                                video this is typically the end of a frame boundary, for audio
                                this is usually the start of a talkspurt.</doc>
      </member>
      <member name="header"
              value="1024"
              c:identifier="GST_BUFFER_FLAG_HEADER"
              glib:nick="header">
        <doc xml:space="preserve">the buffer contains header information that is
                                needed to decode the following data.</doc>
      </member>
      <member name="gap"
              value="2048"
              c:identifier="GST_BUFFER_FLAG_GAP"
              glib:nick="gap">
        <doc xml:space="preserve">the buffer has been created to fill a gap in the
                                stream and contains media neutral data (elements can
                                switch to optimized code path that ignores the buffer
                                content).</doc>
      </member>
      <member name="droppable"
              value="4096"
              c:identifier="GST_BUFFER_FLAG_DROPPABLE"
              glib:nick="droppable">
        <doc xml:space="preserve">the buffer can be dropped without breaking the
                                stream, for example to reduce bandwidth.</doc>
      </member>
      <member name="delta_unit"
              value="8192"
              c:identifier="GST_BUFFER_FLAG_DELTA_UNIT"
              glib:nick="delta-unit">
        <doc xml:space="preserve">this unit cannot be decoded independently.</doc>
      </member>
      <member name="tag_memory"
              value="16384"
              c:identifier="GST_BUFFER_FLAG_TAG_MEMORY"
              glib:nick="tag-memory">
        <doc xml:space="preserve">this flag is set when memory of the buffer
                                is added/removed</doc>
      </member>
      <member name="sync_after"
              value="32768"
              c:identifier="GST_BUFFER_FLAG_SYNC_AFTER"
              glib:nick="sync-after">
        <doc xml:space="preserve">Elements which write to disk or permanent
				 storage should ensure the data is synced after
				 writing the contents of this buffer. (Since 1.6)</doc>
      </member>
      <member name="non_droppable"
              value="65536"
              c:identifier="GST_BUFFER_FLAG_NON_DROPPABLE"
              glib:nick="non-droppable">
        <doc xml:space="preserve">This buffer is important and should not be dropped.
                                This can be used to mark important buffers, e.g. to flag
                                RTP packets carrying keyframes or codec setup data for RTP
                                Forward Error Correction purposes, or to prevent still video
                                frames from being dropped by elements due to QoS. (Since 1.14)</doc>
      </member>
      <member name="last"
              value="1048576"
              c:identifier="GST_BUFFER_FLAG_LAST"
              glib:nick="last">
        <doc xml:space="preserve">additional media specific flags can be added starting from
                                this flag.</doc>
      </member>
    </bitfield>
    <callback name="BufferForeachMetaFunc" c:type="GstBufferForeachMetaFunc">
      <doc xml:space="preserve">A function that will be called from gst_buffer_foreach_meta(). The @meta
field will point to a the reference of the meta.

@buffer should not be modified from this callback.

When this function returns %TRUE, the next meta will be
returned. When %FALSE is returned, gst_buffer_foreach_meta() will return.

When @meta is set to %NULL, the item will be removed from the buffer.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%FALSE when gst_buffer_foreach_meta() should stop</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="buffer" transfer-ownership="none">
          <doc xml:space="preserve">a #GstBuffer</doc>
          <type name="Buffer" c:type="GstBuffer*"/>
        </parameter>
        <parameter name="meta"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full"
                   nullable="1">
          <doc xml:space="preserve">a pointer to a #GstMeta</doc>
          <type name="Meta" c:type="GstMeta**"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="2">
          <doc xml:space="preserve">user data passed to gst_buffer_foreach_meta()</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <record name="BufferList"
            c:type="GstBufferList"
            glib:type-name="GstBufferList"
            glib:get-type="gst_buffer_list_get_type"
            c:symbol-prefix="buffer_list">
      <doc xml:space="preserve">Buffer lists are an object containing a list of buffers.

Buffer lists are created with gst_buffer_list_new() and filled with data
using a gst_buffer_list_insert().

Buffer lists can be pushed on a srcpad with gst_pad_push_list(). This is
interesting when multiple buffers need to be pushed in one go because it
can reduce the amount of overhead for pushing each buffer individually.</doc>
      <constructor name="new" c:identifier="gst_buffer_list_new">
        <doc xml:space="preserve">Creates a new, empty #GstBufferList. The caller is responsible for unreffing
the returned #GstBufferList.

Free-function: gst_buffer_list_unref</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new #GstBufferList. gst_buffer_list_unref()
    after usage.</doc>
          <type name="BufferList" c:type="GstBufferList*"/>
        </return-value>
      </constructor>
      <constructor name="new_sized" c:identifier="gst_buffer_list_new_sized">
        <doc xml:space="preserve">Creates a new, empty #GstBufferList. The caller is responsible for unreffing
the returned #GstBufferList. The list will have @size space preallocated so
that memory reallocations can be avoided.

Free-function: gst_buffer_list_unref</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new #GstBufferList. gst_buffer_list_unref()
    after usage.</doc>
          <type name="BufferList" c:type="GstBufferList*"/>
        </return-value>
        <parameters>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">an initial reserved size</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="calculate_size"
              c:identifier="gst_buffer_list_calculate_size"
              version="1.14">
        <doc xml:space="preserve">Calculates the size of the data contained in buffer list by adding the
size of all buffers.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the size of the data contained in buffer list in bytes.</doc>
          <type name="gsize" c:type="gsize"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferList</doc>
            <type name="BufferList" c:type="GstBufferList*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="copy_deep"
              c:identifier="gst_buffer_list_copy_deep"
              version="1.6">
        <doc xml:space="preserve">Create a copy of the given buffer list. This will make a newly allocated
copy of the buffer that the source buffer list contains.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new copy of @list.</doc>
          <type name="BufferList" c:type="GstBufferList*"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferList</doc>
            <type name="BufferList" c:type="const GstBufferList*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="foreach" c:identifier="gst_buffer_list_foreach">
        <doc xml:space="preserve">Call @func with @data for each buffer in @list.

@func can modify the passed buffer pointer or its contents. The return value
of @func define if this function returns or if the remaining buffers in
the list should be skipped.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE when @func returned %TRUE for each buffer in @list or when
@list is empty.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferList</doc>
            <type name="BufferList" c:type="GstBufferList*"/>
          </instance-parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="call"
                     closure="1">
            <doc xml:space="preserve">a #GstBufferListFunc to call</doc>
            <type name="BufferListFunc" c:type="GstBufferListFunc"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user data passed to @func</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get" c:identifier="gst_buffer_list_get">
        <doc xml:space="preserve">Get the buffer at @idx.

You must make sure that @idx does not exceed the number of
buffers available.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">the buffer at @idx in @group
    or %NULL when there is no buffer. The buffer remains valid as
    long as @list is valid and buffer is not removed from the list.</doc>
          <type name="Buffer" c:type="GstBuffer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferList</doc>
            <type name="BufferList" c:type="GstBufferList*"/>
          </instance-parameter>
          <parameter name="idx" transfer-ownership="none">
            <doc xml:space="preserve">the index</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_writable"
              c:identifier="gst_buffer_list_get_writable"
              version="1.14">
        <doc xml:space="preserve">Gets the buffer at @idx, ensuring it is a writable buffer.

You must make sure that @idx does not exceed the number of
buffers available.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">the buffer at @idx in @group.
    The returned  buffer remains valid as long as @list is valid and
    the buffer is not removed from the list.</doc>
          <type name="Buffer" c:type="GstBuffer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a (writable) #GstBufferList</doc>
            <type name="BufferList" c:type="GstBufferList*"/>
          </instance-parameter>
          <parameter name="idx" transfer-ownership="none">
            <doc xml:space="preserve">the index</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="insert" c:identifier="gst_buffer_list_insert">
        <doc xml:space="preserve">Insert @buffer at @idx in @list. Other buffers are moved to make room for
this new buffer.

A -1 value for @idx will append the buffer at the end.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferList</doc>
            <type name="BufferList" c:type="GstBufferList*"/>
          </instance-parameter>
          <parameter name="idx" transfer-ownership="none">
            <doc xml:space="preserve">the index</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="buffer" transfer-ownership="full">
            <doc xml:space="preserve">a #GstBuffer</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </parameter>
        </parameters>
      </method>
      <method name="length" c:identifier="gst_buffer_list_length">
        <doc xml:space="preserve">Returns the number of buffers in @list.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the number of buffers in the buffer list</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferList</doc>
            <type name="BufferList" c:type="GstBufferList*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="remove" c:identifier="gst_buffer_list_remove">
        <doc xml:space="preserve">Remove @length buffers starting from @idx in @list. The following buffers
are moved to close the gap.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferList</doc>
            <type name="BufferList" c:type="GstBufferList*"/>
          </instance-parameter>
          <parameter name="idx" transfer-ownership="none">
            <doc xml:space="preserve">the index</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="length" transfer-ownership="none">
            <doc xml:space="preserve">the amount to remove</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
    </record>
    <callback name="BufferListFunc" c:type="GstBufferListFunc">
      <doc xml:space="preserve">A function that will be called from gst_buffer_list_foreach(). The @buffer
field will point to a the reference of the buffer at @idx.

When this function returns %TRUE, the next buffer will be
returned. When %FALSE is returned, gst_buffer_list_foreach() will return.

When @buffer is set to %NULL, the item will be removed from the bufferlist.
When @buffer has been made writable, the new buffer reference can be assigned
to @buffer. This function is responsible for unreffing the old buffer when
removing or modifying.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%FALSE when gst_buffer_list_foreach() should stop</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="buffer"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full"
                   nullable="1">
          <doc xml:space="preserve">pointer the buffer</doc>
          <type name="Buffer" c:type="GstBuffer**"/>
        </parameter>
        <parameter name="idx" transfer-ownership="none">
          <doc xml:space="preserve">the index of @buffer</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="2">
          <doc xml:space="preserve">user data passed to gst_buffer_list_foreach()</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <class name="BufferPool"
           c:symbol-prefix="buffer_pool"
           c:type="GstBufferPool"
           parent="Object"
           glib:type-name="GstBufferPool"
           glib:get-type="gst_buffer_pool_get_type"
           glib:type-struct="BufferPoolClass">
      <doc xml:space="preserve">A #GstBufferPool is an object that can be used to pre-allocate and recycle
buffers of the same size and with the same properties.

A #GstBufferPool is created with gst_buffer_pool_new().

Once a pool is created, it needs to be configured. A call to
gst_buffer_pool_get_config() returns the current configuration structure from
the pool. With gst_buffer_pool_config_set_params() and
gst_buffer_pool_config_set_allocator() the bufferpool parameters and
allocator can be configured. Other properties can be configured in the pool
depending on the pool implementation.

A bufferpool can have extra options that can be enabled with
gst_buffer_pool_config_add_option(). The available options can be retrieved
with gst_buffer_pool_get_options(). Some options allow for additional
configuration properties to be set.

After the configuration structure has been configured,
gst_buffer_pool_set_config() updates the configuration in the pool. This can
fail when the configuration structure is not accepted.

After the a pool has been configured, it can be activated with
gst_buffer_pool_set_active(). This will preallocate the configured resources
in the pool.

When the pool is active, gst_buffer_pool_acquire_buffer() can be used to
retrieve a buffer from the pool.

Buffers allocated from a bufferpool will automatically be returned to the
pool with gst_buffer_pool_release_buffer() when their refcount drops to 0.

The bufferpool can be deactivated again with gst_buffer_pool_set_active().
All further gst_buffer_pool_acquire_buffer() calls will return an error. When
all buffers are returned to the pool they will be freed.

Use gst_object_unref() to release the reference to a bufferpool. If the
refcount of the pool reaches 0, the pool will be freed.</doc>
      <constructor name="new" c:identifier="gst_buffer_pool_new">
        <doc xml:space="preserve">Creates a new #GstBufferPool instance.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstBufferPool instance</doc>
          <type name="BufferPool" c:type="GstBufferPool*"/>
        </return-value>
      </constructor>
      <function name="config_add_option"
                c:identifier="gst_buffer_pool_config_add_option">
        <doc xml:space="preserve">Enabled the option in @config. This will instruct the @bufferpool to enable
the specified option on the buffers that it allocates.

The supported options by @pool can be retrieved with gst_buffer_pool_get_options().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="config" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferPool configuration</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
          <parameter name="option" transfer-ownership="none">
            <doc xml:space="preserve">an option to add</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="config_get_allocator"
                c:identifier="gst_buffer_pool_config_get_allocator">
        <doc xml:space="preserve">Get the @allocator and @params from @config.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if the values are set.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="config" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferPool configuration</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
          <parameter name="allocator"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GstAllocator, or %NULL</doc>
            <type name="Allocator" c:type="GstAllocator**"/>
          </parameter>
          <parameter name="params"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">#GstAllocationParams, or %NULL</doc>
            <type name="AllocationParams" c:type="GstAllocationParams*"/>
          </parameter>
        </parameters>
      </function>
      <function name="config_get_option"
                c:identifier="gst_buffer_pool_config_get_option">
        <doc xml:space="preserve">Parse an available @config and get the option at @index of the options API
array.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #gchar of the option at @index.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="config" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferPool configuration</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">position in the option array to read</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </function>
      <function name="config_get_params"
                c:identifier="gst_buffer_pool_config_get_params">
        <doc xml:space="preserve">Get the configuration values from @config.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if all parameters could be fetched.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="config" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferPool configuration</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
          <parameter name="caps"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the caps of buffers</doc>
            <type name="Caps" c:type="GstCaps**"/>
          </parameter>
          <parameter name="size"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the size of each buffer, not including prefix and padding</doc>
            <type name="guint" c:type="guint*"/>
          </parameter>
          <parameter name="min_buffers"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the minimum amount of buffers to allocate.</doc>
            <type name="guint" c:type="guint*"/>
          </parameter>
          <parameter name="max_buffers"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the maximum amount of buffers to allocate or 0 for unlimited.</doc>
            <type name="guint" c:type="guint*"/>
          </parameter>
        </parameters>
      </function>
      <function name="config_has_option"
                c:identifier="gst_buffer_pool_config_has_option">
        <doc xml:space="preserve">Check if @config contains @option.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the options array contains @option.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="config" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferPool configuration</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
          <parameter name="option" transfer-ownership="none">
            <doc xml:space="preserve">an option</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="config_n_options"
                c:identifier="gst_buffer_pool_config_n_options">
        <doc xml:space="preserve">Retrieve the number of values currently stored in the options array of the
@config structure.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the options array size as a #guint.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <parameter name="config" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferPool configuration</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
        </parameters>
      </function>
      <function name="config_set_allocator"
                c:identifier="gst_buffer_pool_config_set_allocator">
        <doc xml:space="preserve">Set the @allocator and @params on @config.

One of @allocator and @params can be %NULL, but not both. When @allocator
is %NULL, the default allocator of the pool will use the values in @param
to perform its allocation. When @param is %NULL, the pool will use the
provided @allocator with its default #GstAllocationParams.

A call to gst_buffer_pool_set_config() can update the allocator and params
with the values that it is able to do. Some pools are, for example, not able
to operate with different allocators or cannot allocate with the values
specified in @params. Use gst_buffer_pool_get_config() to get the currently
used values.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="config" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferPool configuration</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
          <parameter name="allocator"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GstAllocator</doc>
            <type name="Allocator" c:type="GstAllocator*"/>
          </parameter>
          <parameter name="params"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">#GstAllocationParams</doc>
            <type name="AllocationParams" c:type="const GstAllocationParams*"/>
          </parameter>
        </parameters>
      </function>
      <function name="config_set_params"
                c:identifier="gst_buffer_pool_config_set_params">
        <doc xml:space="preserve">Configure @config with the given parameters.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="config" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferPool configuration</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
          <parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">caps for the buffers</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">the size of each buffer, not including prefix and padding</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="min_buffers" transfer-ownership="none">
            <doc xml:space="preserve">the minimum amount of buffers to allocate.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="max_buffers" transfer-ownership="none">
            <doc xml:space="preserve">the maximum amount of buffers to allocate or 0 for unlimited.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </function>
      <function name="config_validate_params"
                c:identifier="gst_buffer_pool_config_validate_params"
                version="1.4">
        <doc xml:space="preserve">Validate that changes made to @config are still valid in the context of the
expected parameters. This function is a helper that can be used to validate
changes made by a pool to a config when gst_buffer_pool_set_config()
returns %FALSE. This expects that @caps haven't changed and that
@min_buffers aren't lower then what we initially expected.
This does not check if options or allocator parameters are still valid,
won't check if size have changed, since changing the size is valid to adapt
padding.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if the parameters are valid in this context.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="config" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferPool configuration</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
          <parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">the excepted caps of buffers</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">the expected size of each buffer, not including prefix and padding</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="min_buffers" transfer-ownership="none">
            <doc xml:space="preserve">the expected minimum amount of buffers to allocate.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="max_buffers" transfer-ownership="none">
            <doc xml:space="preserve">the expect maximum amount of buffers to allocate or 0 for unlimited.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </function>
      <virtual-method name="acquire_buffer" invoker="acquire_buffer">
        <doc xml:space="preserve">Acquire a buffer from @pool. @buffer should point to a memory location that
can hold a pointer to the new buffer.

@params can be %NULL or contain optional parameters to influence the
allocation.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GstFlowReturn such as %GST_FLOW_FLUSHING when the pool is
inactive.</doc>
          <type name="FlowReturn" c:type="GstFlowReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferPool</doc>
            <type name="BufferPool" c:type="GstBufferPool*"/>
          </instance-parameter>
          <parameter name="buffer"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">a location for a #GstBuffer</doc>
            <type name="Buffer" c:type="GstBuffer**"/>
          </parameter>
          <parameter name="params"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">parameters.</doc>
            <type name="BufferPoolAcquireParams"
                  c:type="GstBufferPoolAcquireParams*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="alloc_buffer">
        <return-value transfer-ownership="none">
          <type name="FlowReturn" c:type="GstFlowReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <type name="BufferPool" c:type="GstBufferPool*"/>
          </instance-parameter>
          <parameter name="buffer" transfer-ownership="none">
            <type name="Buffer" c:type="GstBuffer**"/>
          </parameter>
          <parameter name="params" transfer-ownership="none">
            <type name="BufferPoolAcquireParams"
                  c:type="GstBufferPoolAcquireParams*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="flush_start">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <type name="BufferPool" c:type="GstBufferPool*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="flush_stop">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <type name="BufferPool" c:type="GstBufferPool*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="free_buffer">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <type name="BufferPool" c:type="GstBufferPool*"/>
          </instance-parameter>
          <parameter name="buffer" transfer-ownership="none">
            <type name="Buffer" c:type="GstBuffer*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_options" invoker="get_options">
        <doc xml:space="preserve">Get a %NULL terminated array of string with supported bufferpool options for
@pool. An option would typically be enabled with
gst_buffer_pool_config_add_option().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a %NULL terminated array
         of strings.</doc>
          <array c:type="gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferPool</doc>
            <type name="BufferPool" c:type="GstBufferPool*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="release_buffer" invoker="release_buffer">
        <doc xml:space="preserve">Release @buffer to @pool. @buffer should have previously been allocated from
@pool with gst_buffer_pool_acquire_buffer().

This function is usually called automatically when the last ref on @buffer
disappears.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferPool</doc>
            <type name="BufferPool" c:type="GstBufferPool*"/>
          </instance-parameter>
          <parameter name="buffer" transfer-ownership="full">
            <doc xml:space="preserve">a #GstBuffer</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="reset_buffer">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <type name="BufferPool" c:type="GstBufferPool*"/>
          </instance-parameter>
          <parameter name="buffer" transfer-ownership="none">
            <type name="Buffer" c:type="GstBuffer*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="set_config" invoker="set_config">
        <doc xml:space="preserve">Set the configuration of the pool. If the pool is already configured, and
the configuration haven't change, this function will return %TRUE. If the
pool is active, this method will return %FALSE and active configuration
will remain. Buffers allocated form this pool must be returned or else this
function will do nothing and return %FALSE.

@config is a #GstStructure that contains the configuration parameters for
the pool. A default and mandatory set of parameters can be configured with
gst_buffer_pool_config_set_params(), gst_buffer_pool_config_set_allocator()
and gst_buffer_pool_config_add_option().

If the parameters in @config can not be set exactly, this function returns
%FALSE and will try to update as much state as possible. The new state can
then be retrieved and refined with gst_buffer_pool_get_config().

This function takes ownership of @config.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE when the configuration could be set.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferPool</doc>
            <type name="BufferPool" c:type="GstBufferPool*"/>
          </instance-parameter>
          <parameter name="config" transfer-ownership="full">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="start">
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <type name="BufferPool" c:type="GstBufferPool*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="stop">
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <type name="BufferPool" c:type="GstBufferPool*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <method name="acquire_buffer"
              c:identifier="gst_buffer_pool_acquire_buffer">
        <doc xml:space="preserve">Acquire a buffer from @pool. @buffer should point to a memory location that
can hold a pointer to the new buffer.

@params can be %NULL or contain optional parameters to influence the
allocation.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GstFlowReturn such as %GST_FLOW_FLUSHING when the pool is
inactive.</doc>
          <type name="FlowReturn" c:type="GstFlowReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferPool</doc>
            <type name="BufferPool" c:type="GstBufferPool*"/>
          </instance-parameter>
          <parameter name="buffer"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">a location for a #GstBuffer</doc>
            <type name="Buffer" c:type="GstBuffer**"/>
          </parameter>
          <parameter name="params"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">parameters.</doc>
            <type name="BufferPoolAcquireParams"
                  c:type="GstBufferPoolAcquireParams*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_config" c:identifier="gst_buffer_pool_get_config">
        <doc xml:space="preserve">Get a copy of the current configuration of the pool. This configuration
can either be modified and used for the gst_buffer_pool_set_config() call
or it must be freed after usage.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a copy of the current configuration of @pool. use
gst_structure_free() after usage or gst_buffer_pool_set_config().</doc>
          <type name="Structure" c:type="GstStructure*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferPool</doc>
            <type name="BufferPool" c:type="GstBufferPool*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_options" c:identifier="gst_buffer_pool_get_options">
        <doc xml:space="preserve">Get a %NULL terminated array of string with supported bufferpool options for
@pool. An option would typically be enabled with
gst_buffer_pool_config_add_option().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a %NULL terminated array
         of strings.</doc>
          <array c:type="gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferPool</doc>
            <type name="BufferPool" c:type="GstBufferPool*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_option" c:identifier="gst_buffer_pool_has_option">
        <doc xml:space="preserve">Check if the bufferpool supports @option.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the buffer pool contains @option.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferPool</doc>
            <type name="BufferPool" c:type="GstBufferPool*"/>
          </instance-parameter>
          <parameter name="option" transfer-ownership="none">
            <doc xml:space="preserve">an option</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_active" c:identifier="gst_buffer_pool_is_active">
        <doc xml:space="preserve">Check if @pool is active. A pool can be activated with the
gst_buffer_pool_set_active() call.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE when the pool is active.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferPool</doc>
            <type name="BufferPool" c:type="GstBufferPool*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="release_buffer"
              c:identifier="gst_buffer_pool_release_buffer">
        <doc xml:space="preserve">Release @buffer to @pool. @buffer should have previously been allocated from
@pool with gst_buffer_pool_acquire_buffer().

This function is usually called automatically when the last ref on @buffer
disappears.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferPool</doc>
            <type name="BufferPool" c:type="GstBufferPool*"/>
          </instance-parameter>
          <parameter name="buffer" transfer-ownership="full">
            <doc xml:space="preserve">a #GstBuffer</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_active" c:identifier="gst_buffer_pool_set_active">
        <doc xml:space="preserve">Control the active state of @pool. When the pool is inactive, new calls to
gst_buffer_pool_acquire_buffer() will return with %GST_FLOW_FLUSHING.

Activating the bufferpool will preallocate all resources in the pool based on
the configuration of the pool.

Deactivating will free the resources again when there are no outstanding
buffers. When there are outstanding buffers, they will be freed as soon as
they are all returned to the pool.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%FALSE when the pool was not configured or when preallocation of the
buffers failed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferPool</doc>
            <type name="BufferPool" c:type="GstBufferPool*"/>
          </instance-parameter>
          <parameter name="active" transfer-ownership="none">
            <doc xml:space="preserve">the new active state</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_config" c:identifier="gst_buffer_pool_set_config">
        <doc xml:space="preserve">Set the configuration of the pool. If the pool is already configured, and
the configuration haven't change, this function will return %TRUE. If the
pool is active, this method will return %FALSE and active configuration
will remain. Buffers allocated form this pool must be returned or else this
function will do nothing and return %FALSE.

@config is a #GstStructure that contains the configuration parameters for
the pool. A default and mandatory set of parameters can be configured with
gst_buffer_pool_config_set_params(), gst_buffer_pool_config_set_allocator()
and gst_buffer_pool_config_add_option().

If the parameters in @config can not be set exactly, this function returns
%FALSE and will try to update as much state as possible. The new state can
then be retrieved and refined with gst_buffer_pool_get_config().

This function takes ownership of @config.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE when the configuration could be set.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferPool</doc>
            <type name="BufferPool" c:type="GstBufferPool*"/>
          </instance-parameter>
          <parameter name="config" transfer-ownership="full">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_flushing"
              c:identifier="gst_buffer_pool_set_flushing"
              version="1.4">
        <doc xml:space="preserve">Enable or disable the flushing state of a @pool without freeing or
allocating buffers.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferPool</doc>
            <type name="BufferPool" c:type="GstBufferPool*"/>
          </instance-parameter>
          <parameter name="flushing" transfer-ownership="none">
            <doc xml:space="preserve">whether to start or stop flushing</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <field name="object">
        <type name="Object" c:type="GstObject"/>
      </field>
      <field name="flushing">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="BufferPoolPrivate" c:type="GstBufferPoolPrivate*"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </class>
    <bitfield name="BufferPoolAcquireFlags"
              glib:type-name="GstBufferPoolAcquireFlags"
              glib:get-type="gst_buffer_pool_acquire_flags_get_type"
              c:type="GstBufferPoolAcquireFlags">
      <doc xml:space="preserve">Additional flags to control the allocation of a buffer</doc>
      <member name="none"
              value="0"
              c:identifier="GST_BUFFER_POOL_ACQUIRE_FLAG_NONE"
              glib:nick="none">
        <doc xml:space="preserve">no flags</doc>
      </member>
      <member name="key_unit"
              value="1"
              c:identifier="GST_BUFFER_POOL_ACQUIRE_FLAG_KEY_UNIT"
              glib:nick="key-unit">
        <doc xml:space="preserve">buffer is keyframe</doc>
      </member>
      <member name="dontwait"
              value="2"
              c:identifier="GST_BUFFER_POOL_ACQUIRE_FLAG_DONTWAIT"
              glib:nick="dontwait">
        <doc xml:space="preserve">when the bufferpool is empty, acquire_buffer
will by default block until a buffer is released into the pool again. Setting
this flag makes acquire_buffer return #GST_FLOW_EOS instead of blocking.</doc>
      </member>
      <member name="discont"
              value="4"
              c:identifier="GST_BUFFER_POOL_ACQUIRE_FLAG_DISCONT"
              glib:nick="discont">
        <doc xml:space="preserve">buffer is discont</doc>
      </member>
      <member name="last"
              value="65536"
              c:identifier="GST_BUFFER_POOL_ACQUIRE_FLAG_LAST"
              glib:nick="last">
        <doc xml:space="preserve">last flag, subclasses can use private flags
   starting from this value.</doc>
      </member>
    </bitfield>
    <record name="BufferPoolAcquireParams" c:type="GstBufferPoolAcquireParams">
      <doc xml:space="preserve">Parameters passed to the gst_buffer_pool_acquire_buffer() function to control the
allocation of the buffer.

The default implementation ignores the @start and @stop members but other
implementations can use this extra information to decide what buffer to
return.</doc>
      <field name="format" writable="1">
        <doc xml:space="preserve">the format of @start and @stop</doc>
        <type name="Format" c:type="GstFormat"/>
      </field>
      <field name="start" writable="1">
        <doc xml:space="preserve">the start position</doc>
        <type name="gint64" c:type="gint64"/>
      </field>
      <field name="stop" writable="1">
        <doc xml:space="preserve">the stop position</doc>
        <type name="gint64" c:type="gint64"/>
      </field>
      <field name="flags" writable="1">
        <doc xml:space="preserve">additional flags</doc>
        <type name="BufferPoolAcquireFlags"
              c:type="GstBufferPoolAcquireFlags"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="BufferPoolClass"
            c:type="GstBufferPoolClass"
            glib:is-gtype-struct-for="BufferPool">
      <doc xml:space="preserve">The GstBufferPool class.</doc>
      <field name="object_class">
        <doc xml:space="preserve">Object parent class</doc>
        <type name="ObjectClass" c:type="GstObjectClass"/>
      </field>
      <field name="get_options">
        <callback name="get_options">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">a %NULL terminated array
         of strings.</doc>
            <array c:type="gchar**">
              <type name="utf8"/>
            </array>
          </return-value>
          <parameters>
            <parameter name="pool" transfer-ownership="none">
              <doc xml:space="preserve">a #GstBufferPool</doc>
              <type name="BufferPool" c:type="GstBufferPool*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="set_config">
        <callback name="set_config">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">%TRUE when the configuration could be set.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="pool" transfer-ownership="none">
              <doc xml:space="preserve">a #GstBufferPool</doc>
              <type name="BufferPool" c:type="GstBufferPool*"/>
            </parameter>
            <parameter name="config" transfer-ownership="full">
              <doc xml:space="preserve">a #GstStructure</doc>
              <type name="Structure" c:type="GstStructure*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="start">
        <callback name="start">
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="pool" transfer-ownership="none">
              <type name="BufferPool" c:type="GstBufferPool*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="stop">
        <callback name="stop">
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="pool" transfer-ownership="none">
              <type name="BufferPool" c:type="GstBufferPool*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="acquire_buffer">
        <callback name="acquire_buffer">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">a #GstFlowReturn such as %GST_FLOW_FLUSHING when the pool is
inactive.</doc>
            <type name="FlowReturn" c:type="GstFlowReturn"/>
          </return-value>
          <parameters>
            <parameter name="pool" transfer-ownership="none">
              <doc xml:space="preserve">a #GstBufferPool</doc>
              <type name="BufferPool" c:type="GstBufferPool*"/>
            </parameter>
            <parameter name="buffer"
                       direction="out"
                       caller-allocates="0"
                       transfer-ownership="full">
              <doc xml:space="preserve">a location for a #GstBuffer</doc>
              <type name="Buffer" c:type="GstBuffer**"/>
            </parameter>
            <parameter name="params"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve">parameters.</doc>
              <type name="BufferPoolAcquireParams"
                    c:type="GstBufferPoolAcquireParams*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="alloc_buffer">
        <callback name="alloc_buffer">
          <return-value transfer-ownership="none">
            <type name="FlowReturn" c:type="GstFlowReturn"/>
          </return-value>
          <parameters>
            <parameter name="pool" transfer-ownership="none">
              <type name="BufferPool" c:type="GstBufferPool*"/>
            </parameter>
            <parameter name="buffer" transfer-ownership="none">
              <type name="Buffer" c:type="GstBuffer**"/>
            </parameter>
            <parameter name="params" transfer-ownership="none">
              <type name="BufferPoolAcquireParams"
                    c:type="GstBufferPoolAcquireParams*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="reset_buffer">
        <callback name="reset_buffer">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="pool" transfer-ownership="none">
              <type name="BufferPool" c:type="GstBufferPool*"/>
            </parameter>
            <parameter name="buffer" transfer-ownership="none">
              <type name="Buffer" c:type="GstBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="release_buffer">
        <callback name="release_buffer">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="pool" transfer-ownership="none">
              <doc xml:space="preserve">a #GstBufferPool</doc>
              <type name="BufferPool" c:type="GstBufferPool*"/>
            </parameter>
            <parameter name="buffer" transfer-ownership="full">
              <doc xml:space="preserve">a #GstBuffer</doc>
              <type name="Buffer" c:type="GstBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="free_buffer">
        <callback name="free_buffer">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="pool" transfer-ownership="none">
              <type name="BufferPool" c:type="GstBufferPool*"/>
            </parameter>
            <parameter name="buffer" transfer-ownership="none">
              <type name="Buffer" c:type="GstBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="flush_start">
        <callback name="flush_start">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="pool" transfer-ownership="none">
              <type name="BufferPool" c:type="GstBufferPool*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="flush_stop">
        <callback name="flush_stop">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="pool" transfer-ownership="none">
              <type name="BufferPool" c:type="GstBufferPool*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="2">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="BufferPoolPrivate"
            c:type="GstBufferPoolPrivate"
            disguised="1">
    </record>
    <enumeration name="BufferingMode"
                 glib:type-name="GstBufferingMode"
                 glib:get-type="gst_buffering_mode_get_type"
                 c:type="GstBufferingMode">
      <doc xml:space="preserve">The different types of buffering methods.</doc>
      <member name="stream"
              value="0"
              c:identifier="GST_BUFFERING_STREAM"
              glib:nick="stream">
        <doc xml:space="preserve">a small amount of data is buffered</doc>
      </member>
      <member name="download"
              value="1"
              c:identifier="GST_BUFFERING_DOWNLOAD"
              glib:nick="download">
        <doc xml:space="preserve">the stream is being downloaded</doc>
      </member>
      <member name="timeshift"
              value="2"
              c:identifier="GST_BUFFERING_TIMESHIFT"
              glib:nick="timeshift">
        <doc xml:space="preserve">the stream is being downloaded in a ringbuffer</doc>
      </member>
      <member name="live"
              value="3"
              c:identifier="GST_BUFFERING_LIVE"
              glib:nick="live">
        <doc xml:space="preserve">the stream is a live stream</doc>
      </member>
    </enumeration>
    <class name="Bus"
           c:symbol-prefix="bus"
           c:type="GstBus"
           parent="Object"
           glib:type-name="GstBus"
           glib:get-type="gst_bus_get_type"
           glib:type-struct="BusClass">
      <doc xml:space="preserve">The #GstBus is an object responsible for delivering #GstMessage packets in
a first-in first-out way from the streaming threads (see #GstTask) to the
application.

Since the application typically only wants to deal with delivery of these
messages from one thread, the GstBus will marshall the messages between
different threads. This is important since the actual streaming of media
is done in another thread than the application.

The GstBus provides support for #GSource based notifications. This makes it
possible to handle the delivery in the glib mainloop.

The #GSource callback function gst_bus_async_signal_func() can be used to
convert all bus messages into signal emissions.

A message is posted on the bus with the gst_bus_post() method. With the
gst_bus_peek() and gst_bus_pop() methods one can look at or retrieve a
previously posted message.

The bus can be polled with the gst_bus_poll() method. This methods blocks
up to the specified timeout value until one of the specified messages types
is posted on the bus. The application can then gst_bus_pop() the messages
from the bus to handle them.
Alternatively the application can register an asynchronous bus function
using gst_bus_add_watch_full() or gst_bus_add_watch(). This function will
install a #GSource in the default glib main loop and will deliver messages
a short while after they have been posted. Note that the main loop should
be running for the asynchronous callbacks.

It is also possible to get messages from the bus without any thread
marshalling with the gst_bus_set_sync_handler() method. This makes it
possible to react to a message in the same thread that posted the
message on the bus. This should only be used if the application is able
to deal with messages from different threads.

Every #GstPipeline has one bus.

Note that a #GstPipeline will set its bus into flushing state when changing
from READY to NULL state.</doc>
      <constructor name="new" c:identifier="gst_bus_new">
        <doc xml:space="preserve">Creates a new #GstBus instance.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstBus instance</doc>
          <type name="Bus" c:type="GstBus*"/>
        </return-value>
      </constructor>
      <virtual-method name="message">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="bus" transfer-ownership="none">
            <type name="Bus" c:type="GstBus*"/>
          </instance-parameter>
          <parameter name="message" transfer-ownership="none">
            <type name="Message" c:type="GstMessage*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="sync_message">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="bus" transfer-ownership="none">
            <type name="Bus" c:type="GstBus*"/>
          </instance-parameter>
          <parameter name="message" transfer-ownership="none">
            <type name="Message" c:type="GstMessage*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="add_signal_watch" c:identifier="gst_bus_add_signal_watch">
        <doc xml:space="preserve">Adds a bus signal watch to the default main context with the default priority
(%G_PRIORITY_DEFAULT). It is also possible to use a non-default
main context set up using g_main_context_push_thread_default() (before
one had to create a bus watch source and attach it to the desired main
context 'manually').

After calling this statement, the bus will emit the "message" signal for each
message posted on the bus.

This function may be called multiple times. To clean up, the caller is
responsible for calling gst_bus_remove_signal_watch() as many times as this
function is called.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="bus" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBus on which you want to receive the "message" signal</doc>
            <type name="Bus" c:type="GstBus*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="add_signal_watch_full"
              c:identifier="gst_bus_add_signal_watch_full">
        <doc xml:space="preserve">Adds a bus signal watch to the default main context with the given @priority
(e.g. %G_PRIORITY_DEFAULT). It is also possible to use a non-default main
context set up using g_main_context_push_thread_default()
(before one had to create a bus watch source and attach it to the desired
main context 'manually').

After calling this statement, the bus will emit the "message" signal for each
message posted on the bus when the main loop is running.

This function may be called multiple times. To clean up, the caller is
responsible for calling gst_bus_remove_signal_watch() as many times as this
function is called.

There can only be a single bus watch per bus, you must remove any signal
watch before you can set another type of watch.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="bus" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBus on which you want to receive the "message" signal</doc>
            <type name="Bus" c:type="GstBus*"/>
          </instance-parameter>
          <parameter name="priority" transfer-ownership="none">
            <doc xml:space="preserve">The priority of the watch.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_watch"
              c:identifier="gst_bus_add_watch"
              shadowed-by="add_watch_full"
              introspectable="0">
        <doc xml:space="preserve">Adds a bus watch to the default main context with the default priority
(%G_PRIORITY_DEFAULT). It is also possible to use a non-default main
context set up using g_main_context_push_thread_default() (before
one had to create a bus watch source and attach it to the desired main
context 'manually').

This function is used to receive asynchronous messages in the main loop.
There can only be a single bus watch per bus, you must remove it before you
can set a new one.

The bus watch will only work if a GLib main loop is being run.

The watch can be removed using gst_bus_remove_watch() or by returning %FALSE
from @func. If the watch was added to the default main context it is also
possible to remove the watch using g_source_remove().

The bus watch will take its own reference to the @bus, so it is safe to unref
@bus using gst_object_unref() after setting the bus watch.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The event source id or 0 if @bus already got an event source.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="bus" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBus to create the watch for</doc>
            <type name="Bus" c:type="GstBus*"/>
          </instance-parameter>
          <parameter name="func" transfer-ownership="none" closure="1">
            <doc xml:space="preserve">A function to call when a message is received.</doc>
            <type name="BusFunc" c:type="GstBusFunc"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user data passed to @func.</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_watch_full"
              c:identifier="gst_bus_add_watch_full"
              shadows="add_watch">
        <doc xml:space="preserve">Adds a bus watch to the default main context with the given @priority (e.g.
%G_PRIORITY_DEFAULT). It is also possible to use a non-default  main
context set up using g_main_context_push_thread_default() (before
one had to create a bus watch source and attach it to the desired main
context 'manually').

This function is used to receive asynchronous messages in the main loop.
There can only be a single bus watch per bus, you must remove it before you
can set a new one.

The bus watch will only work if a GLib main loop is being run.

When @func is called, the message belongs to the caller; if you want to
keep a copy of it, call gst_message_ref() before leaving @func.

The watch can be removed using gst_bus_remove_watch() or by returning %FALSE
from @func. If the watch was added to the default main context it is also
possible to remove the watch using g_source_remove().

The bus watch will take its own reference to the @bus, so it is safe to unref
@bus using gst_object_unref() after setting the bus watch.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The event source id or 0 if @bus already got an event source.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="bus" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBus to create the watch for.</doc>
            <type name="Bus" c:type="GstBus*"/>
          </instance-parameter>
          <parameter name="priority" transfer-ownership="none">
            <doc xml:space="preserve">The priority of the watch.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="notified"
                     closure="2"
                     destroy="3">
            <doc xml:space="preserve">A function to call when a message is received.</doc>
            <type name="BusFunc" c:type="GstBusFunc"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user data passed to @func.</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify" transfer-ownership="none" scope="async">
            <doc xml:space="preserve">the function to call when the source is removed.</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="async_signal_func"
              c:identifier="gst_bus_async_signal_func">
        <doc xml:space="preserve">A helper #GstBusFunc that can be used to convert all asynchronous messages
into signals.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="bus" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBus</doc>
            <type name="Bus" c:type="GstBus*"/>
          </instance-parameter>
          <parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">the #GstMessage received</doc>
            <type name="Message" c:type="GstMessage*"/>
          </parameter>
          <parameter name="data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user data</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="create_watch" c:identifier="gst_bus_create_watch">
        <doc xml:space="preserve">Create watch for this bus. The GSource will be dispatched whenever
a message is on the bus. After the GSource is dispatched, the
message is popped off the bus and unreffed.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a #GSource that can be added to a mainloop.</doc>
          <type name="GLib.Source" c:type="GSource*"/>
        </return-value>
        <parameters>
          <instance-parameter name="bus" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBus to create the watch for</doc>
            <type name="Bus" c:type="GstBus*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="disable_sync_message_emission"
              c:identifier="gst_bus_disable_sync_message_emission">
        <doc xml:space="preserve">Instructs GStreamer to stop emitting the "sync-message" signal for this bus.
See gst_bus_enable_sync_message_emission() for more information.

In the event that multiple pieces of code have called
gst_bus_enable_sync_message_emission(), the sync-message emissions will only
be stopped after all calls to gst_bus_enable_sync_message_emission() were
"cancelled" by calling this function. In this way the semantics are exactly
the same as gst_object_ref() that which calls enable should also call
disable.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="bus" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBus on which you previously called
gst_bus_enable_sync_message_emission()</doc>
            <type name="Bus" c:type="GstBus*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="enable_sync_message_emission"
              c:identifier="gst_bus_enable_sync_message_emission">
        <doc xml:space="preserve">Instructs GStreamer to emit the "sync-message" signal after running the bus's
sync handler. This function is here so that code can ensure that they can
synchronously receive messages without having to affect what the bin's sync
handler is.

This function may be called multiple times. To clean up, the caller is
responsible for calling gst_bus_disable_sync_message_emission() as many times
as this function is called.

While this function looks similar to gst_bus_add_signal_watch(), it is not
exactly the same -- this function enables &lt;emphasis&gt;synchronous&lt;/emphasis&gt; emission of
signals when messages arrive; gst_bus_add_signal_watch() adds an idle callback
to pop messages off the bus &lt;emphasis&gt;asynchronously&lt;/emphasis&gt;. The sync-message signal
comes from the thread of whatever object posted the message; the "message"
signal is marshalled to the main thread via the main loop.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="bus" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBus on which you want to receive the "sync-message" signal</doc>
            <type name="Bus" c:type="GstBus*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_pollfd"
              c:identifier="gst_bus_get_pollfd"
              version="1.14">
        <doc xml:space="preserve">Gets the file descriptor from the bus which can be used to get notified about
messages being available with functions like g_poll(), and allows integration
into other event loops based on file descriptors.
Whenever a message is available, the POLLIN / %G_IO_IN event is set.

Warning: NEVER read or write anything to the returned fd but only use it
for getting notifications via g_poll() or similar and then use the normal
GstBus API, e.g. gst_bus_pop().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="bus" transfer-ownership="none">
            <doc xml:space="preserve">A #GstBus</doc>
            <type name="Bus" c:type="GstBus*"/>
          </instance-parameter>
          <parameter name="fd" transfer-ownership="none">
            <doc xml:space="preserve">A GPollFD to fill</doc>
            <type name="GLib.PollFD" c:type="GPollFD*"/>
          </parameter>
        </parameters>
      </method>
      <method name="have_pending" c:identifier="gst_bus_have_pending">
        <doc xml:space="preserve">Check if there are pending messages on the bus that
should be handled.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if there are messages on the bus to be handled, %FALSE
otherwise.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="bus" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBus to check</doc>
            <type name="Bus" c:type="GstBus*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="peek" c:identifier="gst_bus_peek">
        <doc xml:space="preserve">Peek the message on the top of the bus' queue. The message will remain
on the bus' message queue. A reference is returned, and needs to be unreffed
by the caller.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the #GstMessage that is on the
    bus, or %NULL if the bus is empty.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <instance-parameter name="bus" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBus</doc>
            <type name="Bus" c:type="GstBus*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="poll" c:identifier="gst_bus_poll">
        <doc xml:space="preserve">Poll the bus for messages. Will block while waiting for messages to come.
You can specify a maximum time to poll with the @timeout parameter. If
@timeout is negative, this function will block indefinitely.

All messages not in @events will be popped off the bus and will be ignored.
It is not possible to use message enums beyond #GST_MESSAGE_EXTENDED in the
@events mask

Because poll is implemented using the "message" signal enabled by
gst_bus_add_signal_watch(), calling gst_bus_poll() will cause the "message"
signal to be emitted for every message that poll sees. Thus a "message"
signal handler will see the same messages that this function sees -- neither
will steal messages from the other.

This function will run a main loop from the default main context when
polling.

You should never use this function, since it is pure evil. This is
especially true for GUI applications based on Gtk+ or Qt, but also for any
other non-trivial application that uses the GLib main loop. As this function
runs a GLib main loop, any callback attached to the default GLib main
context may be invoked. This could be timeouts, GUI events, I/O events etc.;
even if gst_bus_poll() is called with a 0 timeout. Any of these callbacks
may do things you do not expect, e.g. destroy the main application window or
some other resource; change other application state; display a dialog and
run another main loop until the user clicks it away. In short, using this
function may add a lot of complexity to your code through unexpected
re-entrancy and unexpected changes to your application's state.

For 0 timeouts use gst_bus_pop_filtered() instead of this function; for
other short timeouts use gst_bus_timed_pop_filtered(); everything else is
better handled by setting up an asynchronous bus watch and doing things
from there.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the message that was received,
    or %NULL if the poll timed out. The message is taken from the
    bus and needs to be unreffed with gst_message_unref() after
    usage.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <instance-parameter name="bus" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBus</doc>
            <type name="Bus" c:type="GstBus*"/>
          </instance-parameter>
          <parameter name="events" transfer-ownership="none">
            <doc xml:space="preserve">a mask of #GstMessageType, representing the set of message types to
poll for (note special handling of extended message types below)</doc>
            <type name="MessageType" c:type="GstMessageType"/>
          </parameter>
          <parameter name="timeout" transfer-ownership="none">
            <doc xml:space="preserve">the poll timeout, as a #GstClockTime, or #GST_CLOCK_TIME_NONE to poll
indefinitely.</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="pop" c:identifier="gst_bus_pop">
        <doc xml:space="preserve">Get a message from the bus.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the #GstMessage that is on the
    bus, or %NULL if the bus is empty. The message is taken from
    the bus and needs to be unreffed with gst_message_unref() after
    usage.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <instance-parameter name="bus" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBus to pop</doc>
            <type name="Bus" c:type="GstBus*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="pop_filtered" c:identifier="gst_bus_pop_filtered">
        <doc xml:space="preserve">Get a message matching @type from the bus.  Will discard all messages on
the bus that do not match @type and that have been posted before the first
message that does match @type.  If there is no message matching @type on
the bus, all messages will be discarded. It is not possible to use message
enums beyond #GST_MESSAGE_EXTENDED in the @events mask.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the next #GstMessage matching
    @type that is on the bus, or %NULL if the bus is empty or there
    is no message matching @type. The message is taken from the bus
    and needs to be unreffed with gst_message_unref() after usage.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <instance-parameter name="bus" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBus to pop</doc>
            <type name="Bus" c:type="GstBus*"/>
          </instance-parameter>
          <parameter name="types" transfer-ownership="none">
            <doc xml:space="preserve">message types to take into account</doc>
            <type name="MessageType" c:type="GstMessageType"/>
          </parameter>
        </parameters>
      </method>
      <method name="post" c:identifier="gst_bus_post">
        <doc xml:space="preserve">Post a message on the given bus. Ownership of the message
is taken by the bus.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the message could be posted, %FALSE if the bus is flushing.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="bus" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBus to post on</doc>
            <type name="Bus" c:type="GstBus*"/>
          </instance-parameter>
          <parameter name="message" transfer-ownership="full">
            <doc xml:space="preserve">the #GstMessage to post</doc>
            <type name="Message" c:type="GstMessage*"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_signal_watch"
              c:identifier="gst_bus_remove_signal_watch">
        <doc xml:space="preserve">Removes a signal watch previously added with gst_bus_add_signal_watch().

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="bus" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBus you previously added a signal watch to</doc>
            <type name="Bus" c:type="GstBus*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="remove_watch"
              c:identifier="gst_bus_remove_watch"
              version="1.6">
        <doc xml:space="preserve">Removes an installed bus watch from @bus.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success or %FALSE if @bus has no event source.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="bus" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBus to remove the watch from.</doc>
            <type name="Bus" c:type="GstBus*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_flushing" c:identifier="gst_bus_set_flushing">
        <doc xml:space="preserve">If @flushing, flush out and unref any messages queued in the bus. Releases
references to the message origin objects. Will flush future messages until
gst_bus_set_flushing() sets @flushing to %FALSE.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="bus" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBus</doc>
            <type name="Bus" c:type="GstBus*"/>
          </instance-parameter>
          <parameter name="flushing" transfer-ownership="none">
            <doc xml:space="preserve">whether or not to flush the bus</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_sync_handler" c:identifier="gst_bus_set_sync_handler">
        <doc xml:space="preserve">Sets the synchronous handler on the bus. The function will be called
every time a new message is posted on the bus. Note that the function
will be called in the same thread context as the posting object. This
function is usually only called by the creator of the bus. Applications
should handle messages asynchronously using the gst_bus watch and poll
functions.

You cannot replace an existing sync_handler. You can pass %NULL to this
function, which will clear the existing handler.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="bus" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBus to install the handler on</doc>
            <type name="Bus" c:type="GstBus*"/>
          </instance-parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="notified"
                     closure="1"
                     destroy="2">
            <doc xml:space="preserve">The handler function to install</doc>
            <type name="BusSyncHandler" c:type="GstBusSyncHandler"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">User data that will be sent to the handler function.</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify" transfer-ownership="none" scope="async">
            <doc xml:space="preserve">called when @user_data becomes unused</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="sync_signal_handler"
              c:identifier="gst_bus_sync_signal_handler">
        <doc xml:space="preserve">A helper GstBusSyncHandler that can be used to convert all synchronous
messages into signals.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">GST_BUS_PASS</doc>
          <type name="BusSyncReply" c:type="GstBusSyncReply"/>
        </return-value>
        <parameters>
          <instance-parameter name="bus" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBus</doc>
            <type name="Bus" c:type="GstBus*"/>
          </instance-parameter>
          <parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">the #GstMessage received</doc>
            <type name="Message" c:type="GstMessage*"/>
          </parameter>
          <parameter name="data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user data</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="timed_pop" c:identifier="gst_bus_timed_pop">
        <doc xml:space="preserve">Get a message from the bus, waiting up to the specified timeout.

If @timeout is 0, this function behaves like gst_bus_pop(). If @timeout is
#GST_CLOCK_TIME_NONE, this function will block forever until a message was
posted on the bus.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the #GstMessage that is on the
    bus after the specified timeout or %NULL if the bus is empty
    after the timeout expired.  The message is taken from the bus
    and needs to be unreffed with gst_message_unref() after usage.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <instance-parameter name="bus" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBus to pop</doc>
            <type name="Bus" c:type="GstBus*"/>
          </instance-parameter>
          <parameter name="timeout" transfer-ownership="none">
            <doc xml:space="preserve">a timeout</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="timed_pop_filtered"
              c:identifier="gst_bus_timed_pop_filtered">
        <doc xml:space="preserve">Get a message from the bus whose type matches the message type mask @types,
waiting up to the specified timeout (and discarding any messages that do not
match the mask provided).

If @timeout is 0, this function behaves like gst_bus_pop_filtered(). If
@timeout is #GST_CLOCK_TIME_NONE, this function will block forever until a
matching message was posted on the bus.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a #GstMessage matching the
    filter in @types, or %NULL if no matching message was found on
    the bus until the timeout expired. The message is taken from
    the bus and needs to be unreffed with gst_message_unref() after
    usage.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <instance-parameter name="bus" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBus to pop from</doc>
            <type name="Bus" c:type="GstBus*"/>
          </instance-parameter>
          <parameter name="timeout" transfer-ownership="none">
            <doc xml:space="preserve">a timeout in nanoseconds, or GST_CLOCK_TIME_NONE to wait forever</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="types" transfer-ownership="none">
            <doc xml:space="preserve">message types to take into account, GST_MESSAGE_ANY for any type</doc>
            <type name="MessageType" c:type="GstMessageType"/>
          </parameter>
        </parameters>
      </method>
      <property name="enable-async"
                readable="0"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <field name="object">
        <type name="Object" c:type="GstObject"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="BusPrivate" c:type="GstBusPrivate*"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
      <glib:signal name="message" when="last" detailed="1">
        <doc xml:space="preserve">A message has been posted on the bus. This signal is emitted from a
GSource added to the mainloop. this signal will only be emitted when
there is a mainloop running.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">the message that has been posted asynchronously</doc>
            <type name="Message"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="sync-message" when="last" detailed="1">
        <doc xml:space="preserve">A message has been posted on the bus. This signal is emitted from the
thread that posted the message so one has to be careful with locking.

This signal will not be emitted by default, you have to call
gst_bus_enable_sync_message_emission() before.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">the message that has been posted synchronously</doc>
            <type name="Message"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="BusClass"
            c:type="GstBusClass"
            glib:is-gtype-struct-for="Bus">
      <field name="parent_class">
        <type name="ObjectClass" c:type="GstObjectClass"/>
      </field>
      <field name="message">
        <callback name="message">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="bus" transfer-ownership="none">
              <type name="Bus" c:type="GstBus*"/>
            </parameter>
            <parameter name="message" transfer-ownership="none">
              <type name="Message" c:type="GstMessage*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="sync_message">
        <callback name="sync_message">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="bus" transfer-ownership="none">
              <type name="Bus" c:type="GstBus*"/>
            </parameter>
            <parameter name="message" transfer-ownership="none">
              <type name="Message" c:type="GstMessage*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <bitfield name="BusFlags"
              glib:type-name="GstBusFlags"
              glib:get-type="gst_bus_flags_get_type"
              c:type="GstBusFlags">
      <doc xml:space="preserve">The standard flags that a bus may have.</doc>
      <member name="flushing"
              value="16"
              c:identifier="GST_BUS_FLUSHING"
              glib:nick="flushing">
        <doc xml:space="preserve">The bus is currently dropping all messages</doc>
      </member>
      <member name="flag_last"
              value="32"
              c:identifier="GST_BUS_FLAG_LAST"
              glib:nick="flag-last">
        <doc xml:space="preserve">offset to define more flags</doc>
      </member>
    </bitfield>
    <callback name="BusFunc" c:type="GstBusFunc">
      <doc xml:space="preserve">Specifies the type of function passed to gst_bus_add_watch() or
gst_bus_add_watch_full(), which is called from the mainloop when a message
is available on the bus.

The message passed to the function will be unreffed after execution of this
function so it should not be freed in the function.

Note that this function is used as a GSourceFunc which means that returning
%FALSE will remove the GSource from the mainloop.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%FALSE if the event source should be removed.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="bus" transfer-ownership="none">
          <doc xml:space="preserve">the #GstBus that sent the message</doc>
          <type name="Bus" c:type="GstBus*"/>
        </parameter>
        <parameter name="message" transfer-ownership="none">
          <doc xml:space="preserve">the #GstMessage</doc>
          <type name="Message" c:type="GstMessage*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="2">
          <doc xml:space="preserve">user data that has been given, when registering the handler</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <record name="BusPrivate" c:type="GstBusPrivate" disguised="1">
    </record>
    <callback name="BusSyncHandler" c:type="GstBusSyncHandler">
      <doc xml:space="preserve">Handler will be invoked synchronously, when a new message has been injected
into the bus. This function is mostly used internally. Only one sync handler
can be attached to a given bus.

If the handler returns GST_BUS_DROP, it should unref the message, else the
message should not be unreffed by the sync handler.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">#GstBusSyncReply stating what to do with the message</doc>
        <type name="BusSyncReply" c:type="GstBusSyncReply"/>
      </return-value>
      <parameters>
        <parameter name="bus" transfer-ownership="none">
          <doc xml:space="preserve">the #GstBus that sent the message</doc>
          <type name="Bus" c:type="GstBus*"/>
        </parameter>
        <parameter name="message" transfer-ownership="none">
          <doc xml:space="preserve">the #GstMessage</doc>
          <type name="Message" c:type="GstMessage*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="2">
          <doc xml:space="preserve">user data that has been given, when registering the handler</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <enumeration name="BusSyncReply"
                 glib:type-name="GstBusSyncReply"
                 glib:get-type="gst_bus_sync_reply_get_type"
                 c:type="GstBusSyncReply">
      <doc xml:space="preserve">The result values for a GstBusSyncHandler.</doc>
      <member name="drop"
              value="0"
              c:identifier="GST_BUS_DROP"
              glib:nick="drop">
        <doc xml:space="preserve">drop the message</doc>
      </member>
      <member name="pass"
              value="1"
              c:identifier="GST_BUS_PASS"
              glib:nick="pass">
        <doc xml:space="preserve">pass the message to the async queue</doc>
      </member>
      <member name="async"
              value="2"
              c:identifier="GST_BUS_ASYNC"
              glib:nick="async">
        <doc xml:space="preserve">pass message to async queue, continue if message is handled</doc>
      </member>
    </enumeration>
    <constant name="CAN_INLINE" value="1" c:type="GST_CAN_INLINE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="CAPS_FEATURE_MEMORY_SYSTEM_MEMORY"
              value="memory:SystemMemory"
              c:type="GST_CAPS_FEATURE_MEMORY_SYSTEM_MEMORY">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="CLOCK_TIME_NONE"
              value="18446744073709551615"
              c:type="GST_CLOCK_TIME_NONE">
      <doc xml:space="preserve">Constant to define an undefined clock time.</doc>
      <type name="ClockTime" c:type="GstClockTime"/>
    </constant>
    <record name="Caps"
            c:type="GstCaps"
            glib:type-name="GstCaps"
            glib:get-type="gst_caps_get_type"
            c:symbol-prefix="caps">
      <doc xml:space="preserve">Caps (capabilities) are lightweight refcounted objects describing media types.
They are composed of an array of #GstStructure.

Caps are exposed on #GstPadTemplate to describe all possible types a
given pad can handle. They are also stored in the #GstRegistry along with
a description of the #GstElement.

Caps are exposed on the element pads using the gst_pad_query_caps() pad
function. This function describes the possible types that the pad can
handle or produce at runtime.

A #GstCaps can be constructed with the following code fragment:
|[&lt;!-- language="C" --&gt;
  GstCaps *caps = gst_caps_new_simple ("video/x-raw",
     "format", G_TYPE_STRING, "I420",
     "framerate", GST_TYPE_FRACTION, 25, 1,
     "pixel-aspect-ratio", GST_TYPE_FRACTION, 1, 1,
     "width", G_TYPE_INT, 320,
     "height", G_TYPE_INT, 240,
     NULL);
]|

A #GstCaps is fixed when it has no properties with ranges or lists. Use
gst_caps_is_fixed() to test for fixed caps. Fixed caps can be used in a
caps event to notify downstream elements of the current media type.

Various methods exist to work with the media types such as subtracting
or intersecting.

Be aware that the current #GstCaps / #GstStructure serialization into string
has limited support for nested #GstCaps / #GstStructure fields. It can only
support one level of nesting. Using more levels will lead to unexpected
behavior when using serialization features, such as gst_caps_to_string() or
gst_value_serialize() and their counterparts.</doc>
      <field name="mini_object" writable="1">
        <doc xml:space="preserve">the parent type</doc>
        <type name="MiniObject" c:type="GstMiniObject"/>
      </field>
      <constructor name="new_any" c:identifier="gst_caps_new_any">
        <doc xml:space="preserve">Creates a new #GstCaps that indicates that it is compatible with
any media format.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new #GstCaps</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
      </constructor>
      <constructor name="new_empty" c:identifier="gst_caps_new_empty">
        <doc xml:space="preserve">Creates a new #GstCaps that is empty.  That is, the returned
#GstCaps contains no media formats.
The #GstCaps is guaranteed to be writable.
Caller is responsible for unreffing the returned caps.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new #GstCaps</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
      </constructor>
      <constructor name="new_empty_simple"
                   c:identifier="gst_caps_new_empty_simple">
        <doc xml:space="preserve">Creates a new #GstCaps that contains one #GstStructure with name
@media_type.
Caller is responsible for unreffing the returned caps.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new #GstCaps</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <parameter name="media_type" transfer-ownership="none">
            <doc xml:space="preserve">the media type of the structure</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_full"
                   c:identifier="gst_caps_new_full"
                   introspectable="0">
        <doc xml:space="preserve">Creates a new #GstCaps and adds all the structures listed as
arguments.  The list must be %NULL-terminated.  The structures
are not copied; the returned #GstCaps owns the structures.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new #GstCaps</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <parameter name="struct1" transfer-ownership="none">
            <doc xml:space="preserve">the first structure to add</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">additional structures to add</doc>
            <varargs/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_full_valist"
                   c:identifier="gst_caps_new_full_valist"
                   introspectable="0">
        <doc xml:space="preserve">Creates a new #GstCaps and adds all the structures listed as
arguments.  The list must be %NULL-terminated.  The structures
are not copied; the returned #GstCaps owns the structures.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new #GstCaps</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">the first structure to add</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
          <parameter name="var_args" transfer-ownership="none">
            <doc xml:space="preserve">additional structures to add</doc>
            <type name="va_list" c:type="va_list"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_simple"
                   c:identifier="gst_caps_new_simple"
                   introspectable="0">
        <doc xml:space="preserve">Creates a new #GstCaps that contains one #GstStructure.  The
structure is defined by the arguments, which have the same format
as gst_structure_new().
Caller is responsible for unreffing the returned caps.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new #GstCaps</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <parameter name="media_type" transfer-ownership="none">
            <doc xml:space="preserve">the media type of the structure</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">first field to set</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">additional arguments</doc>
            <varargs/>
          </parameter>
        </parameters>
      </constructor>
      <method name="append" c:identifier="gst_caps_append">
        <doc xml:space="preserve">Appends the structures contained in @caps2 to @caps1. The structures in
@caps2 are not copied -- they are transferred to @caps1, and then @caps2 is
freed. If either caps is ANY, the resulting caps will be ANY.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps1" transfer-ownership="none">
            <doc xml:space="preserve">the #GstCaps that will be appended to</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </instance-parameter>
          <parameter name="caps2" transfer-ownership="full">
            <doc xml:space="preserve">the #GstCaps to append</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="append_structure" c:identifier="gst_caps_append_structure">
        <doc xml:space="preserve">Appends @structure to @caps.  The structure is not copied; @caps
becomes the owner of @structure.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">the #GstCaps that will be appended to</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </instance-parameter>
          <parameter name="structure" transfer-ownership="full">
            <doc xml:space="preserve">the #GstStructure to append</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
        </parameters>
      </method>
      <method name="append_structure_full"
              c:identifier="gst_caps_append_structure_full"
              version="1.2">
        <doc xml:space="preserve">Appends @structure with @features to @caps.  The structure is not copied; @caps
becomes the owner of @structure.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">the #GstCaps that will be appended to</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </instance-parameter>
          <parameter name="structure" transfer-ownership="full">
            <doc xml:space="preserve">the #GstStructure to append</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
          <parameter name="features"
                     transfer-ownership="full"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the #GstCapsFeatures to append</doc>
            <type name="CapsFeatures" c:type="GstCapsFeatures*"/>
          </parameter>
        </parameters>
      </method>
      <method name="can_intersect" c:identifier="gst_caps_can_intersect">
        <doc xml:space="preserve">Tries intersecting @caps1 and @caps2 and reports whether the result would not
be empty</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if intersection would be not empty</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps1" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCaps to intersect</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </instance-parameter>
          <parameter name="caps2" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCaps to intersect</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="copy_nth" c:identifier="gst_caps_copy_nth">
        <doc xml:space="preserve">Creates a new #GstCaps and appends a copy of the nth structure
contained in @caps.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new #GstCaps</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">the #GstCaps to copy</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </instance-parameter>
          <parameter name="nth" transfer-ownership="none">
            <doc xml:space="preserve">the nth structure to copy</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="filter_and_map_in_place"
              c:identifier="gst_caps_filter_and_map_in_place"
              version="1.6">
        <doc xml:space="preserve">Calls the provided function once for each structure and caps feature in the
#GstCaps. In contrast to gst_caps_foreach(), the function may modify the
structure and features. In contrast to gst_caps_filter_and_map_in_place(),
the structure and features are removed from the caps if %FALSE is returned
from the function.
The caps must be mutable.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCaps</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </instance-parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="call"
                     closure="1">
            <doc xml:space="preserve">a function to call for each field</doc>
            <type name="CapsFilterMapFunc" c:type="GstCapsFilterMapFunc"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">private data</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="fixate" c:identifier="gst_caps_fixate">
        <doc xml:space="preserve">Modifies the given @caps into a representation with only fixed
values. First the caps will be truncated and then the first structure will be
fixated with gst_structure_fixate().

This function takes ownership of @caps and will call gst_caps_make_writable()
on it so you must not use @caps afterwards unless you keep an additional
reference to it with gst_caps_ref().</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the fixated caps</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps" transfer-ownership="full">
            <doc xml:space="preserve">a #GstCaps to fixate</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="foreach" c:identifier="gst_caps_foreach" version="1.6">
        <doc xml:space="preserve">Calls the provided function once for each structure and caps feature in the
#GstCaps. The function must not modify the fields.
Also see gst_caps_map_in_place() and gst_caps_filter_and_map_in_place().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the supplied function returns %TRUE for each call,
%FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCaps</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </instance-parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="call"
                     closure="1">
            <doc xml:space="preserve">a function to call for each field</doc>
            <type name="CapsForeachFunc" c:type="GstCapsForeachFunc"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">private data</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_features"
              c:identifier="gst_caps_get_features"
              version="1.2">
        <doc xml:space="preserve">Finds the features in @caps that has the index @index, and
returns it.

WARNING: This function takes a const GstCaps *, but returns a
non-const GstCapsFeatures *.  This is for programming convenience --
the caller should be aware that structures inside a constant
#GstCaps should not be modified. However, if you know the caps
are writable, either because you have just copied them or made
them writable with gst_caps_make_writable(), you may modify the
features returned in the usual way, e.g. with functions like
gst_caps_features_add().

You do not need to free or unref the structure returned, it
belongs to the #GstCaps.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">a pointer to the #GstCapsFeatures
    corresponding to @index</doc>
          <type name="CapsFeatures" c:type="GstCapsFeatures*"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCaps</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </instance-parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">the index of the structure</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_size" c:identifier="gst_caps_get_size">
        <doc xml:space="preserve">Gets the number of structures contained in @caps.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the number of structures that @caps contains</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCaps</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_structure" c:identifier="gst_caps_get_structure">
        <doc xml:space="preserve">Finds the structure in @caps that has the index @index, and
returns it.

WARNING: This function takes a const GstCaps *, but returns a
non-const GstStructure *.  This is for programming convenience --
the caller should be aware that structures inside a constant
#GstCaps should not be modified. However, if you know the caps
are writable, either because you have just copied them or made
them writable with gst_caps_make_writable(), you may modify the
structure returned in the usual way, e.g. with functions like
gst_structure_set().

You do not need to free or unref the structure returned, it
belongs to the #GstCaps.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a pointer to the #GstStructure corresponding
    to @index</doc>
          <type name="Structure" c:type="GstStructure*"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCaps</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </instance-parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">the index of the structure</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="intersect" c:identifier="gst_caps_intersect">
        <doc xml:space="preserve">Creates a new #GstCaps that contains all the formats that are common
to both @caps1 and @caps2. Defaults to %GST_CAPS_INTERSECT_ZIG_ZAG mode.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new #GstCaps</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps1" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCaps to intersect</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </instance-parameter>
          <parameter name="caps2" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCaps to intersect</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="intersect_full" c:identifier="gst_caps_intersect_full">
        <doc xml:space="preserve">Creates a new #GstCaps that contains all the formats that are common
to both @caps1 and @caps2, the order is defined by the #GstCapsIntersectMode
used.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new #GstCaps</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps1" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCaps to intersect</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </instance-parameter>
          <parameter name="caps2" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCaps to intersect</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve">The intersection algorithm/mode to use</doc>
            <type name="CapsIntersectMode" c:type="GstCapsIntersectMode"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_always_compatible"
              c:identifier="gst_caps_is_always_compatible">
        <doc xml:space="preserve">A given #GstCaps structure is always compatible with another if
every media format that is in the first is also contained in the
second.  That is, @caps1 is a subset of @caps2.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @caps1 is a subset of @caps2.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps1" transfer-ownership="none">
            <doc xml:space="preserve">the #GstCaps to test</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </instance-parameter>
          <parameter name="caps2" transfer-ownership="none">
            <doc xml:space="preserve">the #GstCaps to test</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_any" c:identifier="gst_caps_is_any">
        <doc xml:space="preserve">Determines if @caps represents any media format.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @caps represents any format.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">the #GstCaps to test</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_empty" c:identifier="gst_caps_is_empty">
        <doc xml:space="preserve">Determines if @caps represents no media formats.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @caps represents no formats.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">the #GstCaps to test</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_equal" c:identifier="gst_caps_is_equal">
        <doc xml:space="preserve">Checks if the given caps represent the same set of caps.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if both caps are equal.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps1" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCaps</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </instance-parameter>
          <parameter name="caps2" transfer-ownership="none">
            <doc xml:space="preserve">another #GstCaps</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_equal_fixed" c:identifier="gst_caps_is_equal_fixed">
        <doc xml:space="preserve">Tests if two #GstCaps are equal.  This function only works on fixed
#GstCaps.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the arguments represent the same format</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps1" transfer-ownership="none">
            <doc xml:space="preserve">the #GstCaps to test</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </instance-parameter>
          <parameter name="caps2" transfer-ownership="none">
            <doc xml:space="preserve">the #GstCaps to test</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_fixed" c:identifier="gst_caps_is_fixed">
        <doc xml:space="preserve">Fixed #GstCaps describe exactly one format, that is, they have exactly
one structure, and each field in the structure describes a fixed type.
Examples of non-fixed types are GST_TYPE_INT_RANGE and GST_TYPE_LIST.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @caps is fixed</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">the #GstCaps to test</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_strictly_equal"
              c:identifier="gst_caps_is_strictly_equal">
        <doc xml:space="preserve">Checks if the given caps are exactly the same set of caps.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if both caps are strictly equal.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps1" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCaps</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </instance-parameter>
          <parameter name="caps2" transfer-ownership="none">
            <doc xml:space="preserve">another #GstCaps</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_subset" c:identifier="gst_caps_is_subset">
        <doc xml:space="preserve">Checks if all caps represented by @subset are also represented by @superset.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @subset is a subset of @superset</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="subset" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCaps</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </instance-parameter>
          <parameter name="superset" transfer-ownership="none">
            <doc xml:space="preserve">a potentially greater #GstCaps</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_subset_structure"
              c:identifier="gst_caps_is_subset_structure">
        <doc xml:space="preserve">Checks if @structure is a subset of @caps. See gst_caps_is_subset()
for more information.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @structure is a subset of @caps</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCaps</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </instance-parameter>
          <parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a potential #GstStructure subset of @caps</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_subset_structure_full"
              c:identifier="gst_caps_is_subset_structure_full"
              version="1.2">
        <doc xml:space="preserve">Checks if @structure is a subset of @caps. See gst_caps_is_subset()
for more information.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @structure is a subset of @caps</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCaps</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </instance-parameter>
          <parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a potential #GstStructure subset of @caps</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </parameter>
          <parameter name="features"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GstCapsFeatures for @structure</doc>
            <type name="CapsFeatures" c:type="const GstCapsFeatures*"/>
          </parameter>
        </parameters>
      </method>
      <method name="map_in_place"
              c:identifier="gst_caps_map_in_place"
              version="1.6">
        <doc xml:space="preserve">Calls the provided function once for each structure and caps feature in the
#GstCaps. In contrast to gst_caps_foreach(), the function may modify but not
delete the structures and features. The caps must be mutable.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the supplied function returns %TRUE for each call,
%FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCaps</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </instance-parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="call"
                     closure="1">
            <doc xml:space="preserve">a function to call for each field</doc>
            <type name="CapsMapFunc" c:type="GstCapsMapFunc"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">private data</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="merge" c:identifier="gst_caps_merge">
        <doc xml:space="preserve">Appends the structures contained in @caps2 to @caps1 if they are not yet
expressed by @caps1. The structures in @caps2 are not copied -- they are
transferred to a writable copy of @caps1, and then @caps2 is freed.
If either caps is ANY, the resulting caps will be ANY.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the merged caps.</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps1" transfer-ownership="full">
            <doc xml:space="preserve">the #GstCaps that will take the new entries</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </instance-parameter>
          <parameter name="caps2" transfer-ownership="full">
            <doc xml:space="preserve">the #GstCaps to merge in</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="merge_structure" c:identifier="gst_caps_merge_structure">
        <doc xml:space="preserve">Appends @structure to @caps if its not already expressed by @caps.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the merged caps.</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps" transfer-ownership="full">
            <doc xml:space="preserve">the #GstCaps to merge into</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </instance-parameter>
          <parameter name="structure" transfer-ownership="full">
            <doc xml:space="preserve">the #GstStructure to merge</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
        </parameters>
      </method>
      <method name="merge_structure_full"
              c:identifier="gst_caps_merge_structure_full"
              version="1.2">
        <doc xml:space="preserve">Appends @structure with @features to @caps if its not already expressed by @caps.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the merged caps.</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps" transfer-ownership="full">
            <doc xml:space="preserve">the #GstCaps to merge into</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </instance-parameter>
          <parameter name="structure" transfer-ownership="full">
            <doc xml:space="preserve">the #GstStructure to merge</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
          <parameter name="features"
                     transfer-ownership="full"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the #GstCapsFeatures to merge</doc>
            <type name="CapsFeatures" c:type="GstCapsFeatures*"/>
          </parameter>
        </parameters>
      </method>
      <method name="normalize" c:identifier="gst_caps_normalize">
        <doc xml:space="preserve">Returns a #GstCaps that represents the same set of formats as
@caps, but contains no lists.  Each list is expanded into separate
@GstStructures.

This function takes ownership of @caps and will call gst_caps_make_writable()
on it so you must not use @caps afterwards unless you keep an additional
reference to it with gst_caps_ref().</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the normalized #GstCaps</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps" transfer-ownership="full">
            <doc xml:space="preserve">a #GstCaps to normalize</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="remove_structure" c:identifier="gst_caps_remove_structure">
        <doc xml:space="preserve">removes the structure with the given index from the list of structures
contained in @caps.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">the #GstCaps to remove from</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </instance-parameter>
          <parameter name="idx" transfer-ownership="none">
            <doc xml:space="preserve">Index of the structure to remove</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_features"
              c:identifier="gst_caps_set_features"
              version="1.2">
        <doc xml:space="preserve">Sets the #GstCapsFeatures @features for the structure at @index.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCaps</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </instance-parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">the index of the structure</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="features"
                     transfer-ownership="full"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the #GstCapsFeatures to set</doc>
            <type name="CapsFeatures" c:type="GstCapsFeatures*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_simple"
              c:identifier="gst_caps_set_simple"
              introspectable="0">
        <doc xml:space="preserve">Sets fields in a #GstCaps.  The arguments must be passed in the same
manner as gst_structure_set(), and be %NULL-terminated.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">the #GstCaps to set</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </instance-parameter>
          <parameter name="field" transfer-ownership="none">
            <doc xml:space="preserve">first field to set</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">additional parameters</doc>
            <varargs/>
          </parameter>
        </parameters>
      </method>
      <method name="set_simple_valist"
              c:identifier="gst_caps_set_simple_valist"
              introspectable="0">
        <doc xml:space="preserve">Sets fields in a #GstCaps.  The arguments must be passed in the same
manner as gst_structure_set(), and be %NULL-terminated.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">the #GstCaps to set</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </instance-parameter>
          <parameter name="field" transfer-ownership="none">
            <doc xml:space="preserve">first field to set</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="varargs" transfer-ownership="none">
            <doc xml:space="preserve">additional parameters</doc>
            <type name="va_list" c:type="va_list"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_value" c:identifier="gst_caps_set_value">
        <doc xml:space="preserve">Sets the given @field on all structures of @caps to the given @value.
This is a convenience function for calling gst_structure_set_value() on
all structures of @caps.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">a writable caps</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </instance-parameter>
          <parameter name="field" transfer-ownership="none">
            <doc xml:space="preserve">name of the field to set</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">value to set the field to</doc>
            <type name="GObject.Value" c:type="const GValue*"/>
          </parameter>
        </parameters>
      </method>
      <method name="simplify" c:identifier="gst_caps_simplify">
        <doc xml:space="preserve">Converts the given @caps into a representation that represents the
same set of formats, but in a simpler form.  Component structures that are
identical are merged.  Component structures that have values that can be
merged are also merged.

This function takes ownership of @caps and will call gst_caps_make_writable()
on it if necessary, so you must not use @caps afterwards unless you keep an
additional reference to it with gst_caps_ref().

This method does not preserve the original order of @caps.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The simplified caps.</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps" transfer-ownership="full">
            <doc xml:space="preserve">a #GstCaps to simplify</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="steal_structure" c:identifier="gst_caps_steal_structure">
        <doc xml:space="preserve">Retrieves the structure with the given index from the list of structures
contained in @caps. The caller becomes the owner of the returned structure.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a pointer to the #GstStructure
    corresponding to @index.</doc>
          <type name="Structure" c:type="GstStructure*"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">the #GstCaps to retrieve from</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </instance-parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">Index of the structure to retrieve</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="subtract" c:identifier="gst_caps_subtract">
        <doc xml:space="preserve">Subtracts the @subtrahend from the @minuend.
&gt; This function does not work reliably if optional properties for caps
&gt; are included on one caps and omitted on the other.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the resulting caps</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="minuend" transfer-ownership="none">
            <doc xml:space="preserve">#GstCaps to subtract from</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </instance-parameter>
          <parameter name="subtrahend" transfer-ownership="none">
            <doc xml:space="preserve">#GstCaps to subtract</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_string" c:identifier="gst_caps_to_string">
        <doc xml:space="preserve">Converts @caps to a string representation.  This string representation
can be converted back to a #GstCaps by gst_caps_from_string().

For debugging purposes its easier to do something like this:
|[&lt;!-- language="C" --&gt;
GST_LOG ("caps are %" GST_PTR_FORMAT, caps);
]|
This prints the caps in human readable form.

The current implementation of serialization will lead to unexpected results
when there are nested #GstCaps / #GstStructure deeper than one level.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a newly allocated string representing @caps.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCaps</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="truncate" c:identifier="gst_caps_truncate">
        <doc xml:space="preserve">Discard all but the first structure from @caps. Useful when
fixating.

This function takes ownership of @caps and will call gst_caps_make_writable()
on it if necessary, so you must not use @caps afterwards unless you keep an
additional reference to it with gst_caps_ref().</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">truncated caps</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="caps" transfer-ownership="full">
            <doc xml:space="preserve">the #GstCaps to truncate</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </instance-parameter>
        </parameters>
      </method>
      <function name="from_string" c:identifier="gst_caps_from_string">
        <doc xml:space="preserve">Converts @caps from a string representation.

The current implementation of serialization will lead to unexpected results
when there are nested #GstCaps / #GstStructure deeper than one level.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a newly allocated #GstCaps</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <parameter name="string" transfer-ownership="none">
            <doc xml:space="preserve">a string to convert to #GstCaps</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
    </record>
    <record name="CapsFeatures"
            c:type="GstCapsFeatures"
            glib:type-name="GstCapsFeatures"
            glib:get-type="gst_caps_features_get_type"
            c:symbol-prefix="caps_features">
      <doc xml:space="preserve">#GstCapsFeatures can optionally be set on a #GstCaps to add requirements
for additional features for a specific #GstStructure. Caps structures with
the same name but with a non-equal set of caps features are not compatible.
If a pad supports multiple sets of features it has to add multiple equal
structures with different feature sets to the caps.

Empty #GstCapsFeatures are equivalent with the #GstCapsFeatures that only
contain #GST_CAPS_FEATURE_MEMORY_SYSTEM_MEMORY. ANY #GstCapsFeatures as
created by gst_caps_features_new_any() are equal to any other #GstCapsFeatures
and can be used to specify that any #GstCapsFeatures would be supported, e.g.
for elements that don't touch buffer memory. #GstCaps with ANY #GstCapsFeatures
are considered non-fixed and during negotiation some #GstCapsFeatures have
to be selected.

Examples for caps features would be the requirement of a specific #GstMemory
types or the requirement of having a specific #GstMeta on the buffer. Features
are given as a string of the format "memory:GstMemoryTypeName" or
"meta:GstMetaAPIName".</doc>
      <constructor name="new"
                   c:identifier="gst_caps_features_new"
                   version="1.2"
                   introspectable="0">
        <doc xml:space="preserve">Creates a new #GstCapsFeatures with the given features.
The last argument must be %NULL.

Free-function: gst_caps_features_free</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new, empty #GstCapsFeatures</doc>
          <type name="CapsFeatures" c:type="GstCapsFeatures*"/>
        </return-value>
        <parameters>
          <parameter name="feature1" transfer-ownership="none">
            <doc xml:space="preserve">name of first feature to set</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">additional features</doc>
            <varargs/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_any"
                   c:identifier="gst_caps_features_new_any"
                   version="1.2">
        <doc xml:space="preserve">Creates a new, ANY #GstCapsFeatures. This will be equal
to any other #GstCapsFeatures but caps with these are
unfixed.

Free-function: gst_caps_features_free</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new, ANY #GstCapsFeatures</doc>
          <type name="CapsFeatures" c:type="GstCapsFeatures*"/>
        </return-value>
      </constructor>
      <constructor name="new_empty"
                   c:identifier="gst_caps_features_new_empty"
                   version="1.2">
        <doc xml:space="preserve">Creates a new, empty #GstCapsFeatures.

Free-function: gst_caps_features_free</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new, empty #GstCapsFeatures</doc>
          <type name="CapsFeatures" c:type="GstCapsFeatures*"/>
        </return-value>
      </constructor>
      <constructor name="new_id"
                   c:identifier="gst_caps_features_new_id"
                   version="1.2"
                   introspectable="0">
        <doc xml:space="preserve">Creates a new #GstCapsFeatures with the given features.
The last argument must be 0.

Free-function: gst_caps_features_free</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new, empty #GstCapsFeatures</doc>
          <type name="CapsFeatures" c:type="GstCapsFeatures*"/>
        </return-value>
        <parameters>
          <parameter name="feature1" transfer-ownership="none">
            <doc xml:space="preserve">name of first feature to set</doc>
            <type name="GLib.Quark" c:type="GQuark"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">additional features</doc>
            <varargs/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_id_valist"
                   c:identifier="gst_caps_features_new_id_valist"
                   version="1.2"
                   introspectable="0">
        <doc xml:space="preserve">Creates a new #GstCapsFeatures with the given features.

Free-function: gst_caps_features_free</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new, empty #GstCapsFeatures</doc>
          <type name="CapsFeatures" c:type="GstCapsFeatures*"/>
        </return-value>
        <parameters>
          <parameter name="feature1" transfer-ownership="none">
            <doc xml:space="preserve">name of first feature to set</doc>
            <type name="GLib.Quark" c:type="GQuark"/>
          </parameter>
          <parameter name="varargs" transfer-ownership="none">
            <doc xml:space="preserve">variable argument list</doc>
            <type name="va_list" c:type="va_list"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_valist"
                   c:identifier="gst_caps_features_new_valist"
                   version="1.2"
                   introspectable="0">
        <doc xml:space="preserve">Creates a new #GstCapsFeatures with the given features.

Free-function: gst_caps_features_free</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new, empty #GstCapsFeatures</doc>
          <type name="CapsFeatures" c:type="GstCapsFeatures*"/>
        </return-value>
        <parameters>
          <parameter name="feature1" transfer-ownership="none">
            <doc xml:space="preserve">name of first feature to set</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="varargs" transfer-ownership="none">
            <doc xml:space="preserve">variable argument list</doc>
            <type name="va_list" c:type="va_list"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="add" c:identifier="gst_caps_features_add" version="1.2">
        <doc xml:space="preserve">Adds @feature to @features.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="features" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCapsFeatures.</doc>
            <type name="CapsFeatures" c:type="GstCapsFeatures*"/>
          </instance-parameter>
          <parameter name="feature" transfer-ownership="none">
            <doc xml:space="preserve">a feature.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_id"
              c:identifier="gst_caps_features_add_id"
              version="1.2">
        <doc xml:space="preserve">Adds @feature to @features.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="features" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCapsFeatures.</doc>
            <type name="CapsFeatures" c:type="GstCapsFeatures*"/>
          </instance-parameter>
          <parameter name="feature" transfer-ownership="none">
            <doc xml:space="preserve">a feature.</doc>
            <type name="GLib.Quark" c:type="GQuark"/>
          </parameter>
        </parameters>
      </method>
      <method name="contains"
              c:identifier="gst_caps_features_contains"
              version="1.2">
        <doc xml:space="preserve">Check if @features contains @feature.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @features contains @feature.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="features" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCapsFeatures.</doc>
            <type name="CapsFeatures" c:type="const GstCapsFeatures*"/>
          </instance-parameter>
          <parameter name="feature" transfer-ownership="none">
            <doc xml:space="preserve">a feature</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="contains_id"
              c:identifier="gst_caps_features_contains_id"
              version="1.2">
        <doc xml:space="preserve">Check if @features contains @feature.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @features contains @feature.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="features" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCapsFeatures.</doc>
            <type name="CapsFeatures" c:type="const GstCapsFeatures*"/>
          </instance-parameter>
          <parameter name="feature" transfer-ownership="none">
            <doc xml:space="preserve">a feature</doc>
            <type name="GLib.Quark" c:type="GQuark"/>
          </parameter>
        </parameters>
      </method>
      <method name="copy" c:identifier="gst_caps_features_copy" version="1.2">
        <doc xml:space="preserve">Duplicates a #GstCapsFeatures and all its values.

Free-function: gst_caps_features_free</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstCapsFeatures.</doc>
          <type name="CapsFeatures" c:type="GstCapsFeatures*"/>
        </return-value>
        <parameters>
          <instance-parameter name="features" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCapsFeatures to duplicate</doc>
            <type name="CapsFeatures" c:type="const GstCapsFeatures*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="free" c:identifier="gst_caps_features_free" version="1.2">
        <doc xml:space="preserve">Frees a #GstCapsFeatures and all its values. The caps features must not
have a parent when this function is called.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="features" transfer-ownership="full">
            <doc xml:space="preserve">the #GstCapsFeatures to free</doc>
            <type name="CapsFeatures" c:type="GstCapsFeatures*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_nth"
              c:identifier="gst_caps_features_get_nth"
              version="1.2">
        <doc xml:space="preserve">Returns the @i-th feature of @features.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">The @i-th feature of @features.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="features" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCapsFeatures.</doc>
            <type name="CapsFeatures" c:type="const GstCapsFeatures*"/>
          </instance-parameter>
          <parameter name="i" transfer-ownership="none">
            <doc xml:space="preserve">index of the feature</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_nth_id"
              c:identifier="gst_caps_features_get_nth_id"
              version="1.2">
        <doc xml:space="preserve">Returns the @i-th feature of @features.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The @i-th feature of @features.</doc>
          <type name="GLib.Quark" c:type="GQuark"/>
        </return-value>
        <parameters>
          <instance-parameter name="features" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCapsFeatures.</doc>
            <type name="CapsFeatures" c:type="const GstCapsFeatures*"/>
          </instance-parameter>
          <parameter name="i" transfer-ownership="none">
            <doc xml:space="preserve">index of the feature</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_size"
              c:identifier="gst_caps_features_get_size"
              version="1.2">
        <doc xml:space="preserve">Returns the number of features in @features.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The number of features in @features.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="features" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCapsFeatures.</doc>
            <type name="CapsFeatures" c:type="const GstCapsFeatures*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_any"
              c:identifier="gst_caps_features_is_any"
              version="1.2">
        <doc xml:space="preserve">Check if @features is %GST_CAPS_FEATURES_ANY.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @features is %GST_CAPS_FEATURES_ANY.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="features" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCapsFeatures.</doc>
            <type name="CapsFeatures" c:type="const GstCapsFeatures*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_equal"
              c:identifier="gst_caps_features_is_equal"
              version="1.2">
        <doc xml:space="preserve">Check if @features1 and @features2 are equal.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @features1 and @features2 are equal.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="features1" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCapsFeatures.</doc>
            <type name="CapsFeatures" c:type="const GstCapsFeatures*"/>
          </instance-parameter>
          <parameter name="features2" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCapsFeatures.</doc>
            <type name="CapsFeatures" c:type="const GstCapsFeatures*"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove"
              c:identifier="gst_caps_features_remove"
              version="1.2">
        <doc xml:space="preserve">Removes @feature from @features.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="features" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCapsFeatures.</doc>
            <type name="CapsFeatures" c:type="GstCapsFeatures*"/>
          </instance-parameter>
          <parameter name="feature" transfer-ownership="none">
            <doc xml:space="preserve">a feature.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_id"
              c:identifier="gst_caps_features_remove_id"
              version="1.2">
        <doc xml:space="preserve">Removes @feature from @features.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="features" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCapsFeatures.</doc>
            <type name="CapsFeatures" c:type="GstCapsFeatures*"/>
          </instance-parameter>
          <parameter name="feature" transfer-ownership="none">
            <doc xml:space="preserve">a feature.</doc>
            <type name="GLib.Quark" c:type="GQuark"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_parent_refcount"
              c:identifier="gst_caps_features_set_parent_refcount"
              version="1.2">
        <doc xml:space="preserve">Sets the parent_refcount field of #GstCapsFeatures. This field is used to
determine whether a caps features is mutable or not. This function should only be
called by code implementing parent objects of #GstCapsFeatures, as described in
the MT Refcounting section of the design documents.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the parent refcount could be set.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="features" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCapsFeatures</doc>
            <type name="CapsFeatures" c:type="GstCapsFeatures*"/>
          </instance-parameter>
          <parameter name="refcount" transfer-ownership="none">
            <doc xml:space="preserve">a pointer to the parent's refcount</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_string"
              c:identifier="gst_caps_features_to_string"
              version="1.2">
        <doc xml:space="preserve">Converts @features to a human-readable string representation.

For debugging purposes its easier to do something like this:
|[&lt;!-- language="C" --&gt;
GST_LOG ("features is %" GST_PTR_FORMAT, features);
]|
This prints the features in human readable form.

Free-function: g_free</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a pointer to string allocated by g_malloc().
    g_free() after usage.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="features" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCapsFeatures</doc>
            <type name="CapsFeatures" c:type="const GstCapsFeatures*"/>
          </instance-parameter>
        </parameters>
      </method>
      <function name="from_string"
                c:identifier="gst_caps_features_from_string"
                version="1.2">
        <doc xml:space="preserve">Creates a #GstCapsFeatures from a string representation.

Free-function: gst_caps_features_free</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a new #GstCapsFeatures or
    %NULL when the string could not be parsed. Free with
    gst_caps_features_free() after use.</doc>
          <type name="CapsFeatures" c:type="GstCapsFeatures*"/>
        </return-value>
        <parameters>
          <parameter name="features" transfer-ownership="none">
            <doc xml:space="preserve">a string representation of a #GstCapsFeatures.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
    </record>
    <callback name="CapsFilterMapFunc" c:type="GstCapsFilterMapFunc">
      <doc xml:space="preserve">A function that will be called in gst_caps_filter_and_map_in_place().
The function may modify @features and @structure, and both will be
removed from the caps if %FALSE is returned.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the features and structure should be preserved,
%FALSE if it should be removed.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="features" transfer-ownership="none">
          <doc xml:space="preserve">the #GstCapsFeatures</doc>
          <type name="CapsFeatures" c:type="GstCapsFeatures*"/>
        </parameter>
        <parameter name="structure" transfer-ownership="none">
          <doc xml:space="preserve">the #GstStructure</doc>
          <type name="Structure" c:type="GstStructure*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="2">
          <doc xml:space="preserve">user data</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <bitfield name="CapsFlags"
              glib:type-name="GstCapsFlags"
              glib:get-type="gst_caps_flags_get_type"
              c:type="GstCapsFlags">
      <doc xml:space="preserve">Extra flags for a caps.</doc>
      <member name="any"
              value="16"
              c:identifier="GST_CAPS_FLAG_ANY"
              glib:nick="any">
        <doc xml:space="preserve">Caps has no specific content, but can contain
   anything.</doc>
      </member>
    </bitfield>
    <callback name="CapsForeachFunc" c:type="GstCapsForeachFunc" version="1.6">
      <doc xml:space="preserve">A function that will be called in gst_caps_foreach(). The function may
not modify @features or @structure.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the foreach operation should continue, %FALSE if
the foreach operation should stop with %FALSE.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="features" transfer-ownership="none">
          <doc xml:space="preserve">the #GstCapsFeatures</doc>
          <type name="CapsFeatures" c:type="GstCapsFeatures*"/>
        </parameter>
        <parameter name="structure" transfer-ownership="none">
          <doc xml:space="preserve">the #GstStructure</doc>
          <type name="Structure" c:type="GstStructure*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="2">
          <doc xml:space="preserve">user data</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <enumeration name="CapsIntersectMode"
                 glib:type-name="GstCapsIntersectMode"
                 glib:get-type="gst_caps_intersect_mode_get_type"
                 c:type="GstCapsIntersectMode">
      <doc xml:space="preserve">Modes of caps intersection

@GST_CAPS_INTERSECT_ZIG_ZAG tries to preserve overall order of both caps
by iterating on the caps' structures as the following matrix shows:
|[
         caps1
      +-------------
      | 1  2  4  7
caps2 | 3  5  8 10
      | 6  9 11 12
]|
Used when there is no explicit precedence of one caps over the other. e.g.
tee's sink pad getcaps function, it will probe its src pad peers' for their
caps and intersect them with this mode.

@GST_CAPS_INTERSECT_FIRST is useful when an element wants to preserve
another element's caps priority order when intersecting with its own caps.
Example: If caps1 is [A, B, C] and caps2 is [E, B, D, A], the result
would be [A, B], maintaining the first caps priority on the intersection.</doc>
      <member name="zig_zag"
              value="0"
              c:identifier="GST_CAPS_INTERSECT_ZIG_ZAG"
              glib:nick="zig-zag">
        <doc xml:space="preserve">Zig-zags over both caps.</doc>
      </member>
      <member name="first"
              value="1"
              c:identifier="GST_CAPS_INTERSECT_FIRST"
              glib:nick="first">
        <doc xml:space="preserve">Keeps the first caps order.</doc>
      </member>
    </enumeration>
    <callback name="CapsMapFunc" c:type="GstCapsMapFunc">
      <doc xml:space="preserve">A function that will be called in gst_caps_map_in_place(). The function
may modify @features and @structure.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the map operation should continue, %FALSE if
the map operation should stop with %FALSE.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="features" transfer-ownership="none">
          <doc xml:space="preserve">the #GstCapsFeatures</doc>
          <type name="CapsFeatures" c:type="GstCapsFeatures*"/>
        </parameter>
        <parameter name="structure" transfer-ownership="none">
          <doc xml:space="preserve">the #GstStructure</doc>
          <type name="Structure" c:type="GstStructure*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="2">
          <doc xml:space="preserve">user data</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <interface name="ChildProxy"
               c:symbol-prefix="child_proxy"
               c:type="GstChildProxy"
               glib:type-name="GstChildProxy"
               glib:get-type="gst_child_proxy_get_type"
               glib:type-struct="ChildProxyInterface">
      <doc xml:space="preserve">This interface abstracts handling of property sets for elements with
children. Imagine elements such as mixers or polyphonic generators. They all
have multiple #GstPad or some kind of voice objects. Another use case are
container elements like #GstBin.
The element implementing the interface acts as a parent for those child
objects.

By implementing this interface the child properties can be accessed from the
parent element by using gst_child_proxy_get() and gst_child_proxy_set().

Property names are written as "child-name::property-name". The whole naming
scheme is recursive. Thus "child1::child2::property" is valid too, if
"child1" and "child2" implement the #GstChildProxy interface.</doc>
      <virtual-method name="child_added" invoker="child_added">
        <doc xml:space="preserve">Emits the "child-added" signal.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="parent" transfer-ownership="none">
            <doc xml:space="preserve">the parent object</doc>
            <type name="ChildProxy" c:type="GstChildProxy*"/>
          </instance-parameter>
          <parameter name="child" transfer-ownership="none">
            <doc xml:space="preserve">the newly added child</doc>
            <type name="GObject.Object" c:type="GObject*"/>
          </parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the new child</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="child_removed" invoker="child_removed">
        <doc xml:space="preserve">Emits the "child-removed" signal.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="parent" transfer-ownership="none">
            <doc xml:space="preserve">the parent object</doc>
            <type name="ChildProxy" c:type="GstChildProxy*"/>
          </instance-parameter>
          <parameter name="child" transfer-ownership="none">
            <doc xml:space="preserve">the removed child</doc>
            <type name="GObject.Object" c:type="GObject*"/>
          </parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the old child</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_child_by_index" invoker="get_child_by_index">
        <doc xml:space="preserve">Fetches a child by its number.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the child object or %NULL if
    not found (index too high). Unref after usage.

MT safe.</doc>
          <type name="GObject.Object" c:type="GObject*"/>
        </return-value>
        <parameters>
          <instance-parameter name="parent" transfer-ownership="none">
            <doc xml:space="preserve">the parent object to get the child from</doc>
            <type name="ChildProxy" c:type="GstChildProxy*"/>
          </instance-parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">the child's position in the child list</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_child_by_name" invoker="get_child_by_name">
        <doc xml:space="preserve">Looks up a child element by the given name.

This virtual method has a default implementation that uses #GstObject
together with gst_object_get_name(). If the interface is to be used with
#GObjects, this methods needs to be overridden.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the child object or %NULL if
    not found. Unref after usage.

MT safe.</doc>
          <type name="GObject.Object" c:type="GObject*"/>
        </return-value>
        <parameters>
          <instance-parameter name="parent" transfer-ownership="none">
            <doc xml:space="preserve">the parent object to get the child from</doc>
            <type name="ChildProxy" c:type="GstChildProxy*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">the child's name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_children_count" invoker="get_children_count">
        <doc xml:space="preserve">Gets the number of child objects this parent contains.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the number of child objects

MT safe.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="parent" transfer-ownership="none">
            <doc xml:space="preserve">the parent object</doc>
            <type name="ChildProxy" c:type="GstChildProxy*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <method name="child_added" c:identifier="gst_child_proxy_child_added">
        <doc xml:space="preserve">Emits the "child-added" signal.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="parent" transfer-ownership="none">
            <doc xml:space="preserve">the parent object</doc>
            <type name="ChildProxy" c:type="GstChildProxy*"/>
          </instance-parameter>
          <parameter name="child" transfer-ownership="none">
            <doc xml:space="preserve">the newly added child</doc>
            <type name="GObject.Object" c:type="GObject*"/>
          </parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the new child</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="child_removed"
              c:identifier="gst_child_proxy_child_removed">
        <doc xml:space="preserve">Emits the "child-removed" signal.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="parent" transfer-ownership="none">
            <doc xml:space="preserve">the parent object</doc>
            <type name="ChildProxy" c:type="GstChildProxy*"/>
          </instance-parameter>
          <parameter name="child" transfer-ownership="none">
            <doc xml:space="preserve">the removed child</doc>
            <type name="GObject.Object" c:type="GObject*"/>
          </parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the old child</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get" c:identifier="gst_child_proxy_get" introspectable="0">
        <doc xml:space="preserve">Gets properties of the parent object and its children.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">the parent object</doc>
            <type name="ChildProxy" c:type="GstChildProxy*"/>
          </instance-parameter>
          <parameter name="first_property_name" transfer-ownership="none">
            <doc xml:space="preserve">name of the first property to get</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">return location for the first property, followed optionally by more name/return location pairs, followed by %NULL</doc>
            <varargs/>
          </parameter>
        </parameters>
      </method>
      <method name="get_child_by_index"
              c:identifier="gst_child_proxy_get_child_by_index">
        <doc xml:space="preserve">Fetches a child by its number.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the child object or %NULL if
    not found (index too high). Unref after usage.

MT safe.</doc>
          <type name="GObject.Object" c:type="GObject*"/>
        </return-value>
        <parameters>
          <instance-parameter name="parent" transfer-ownership="none">
            <doc xml:space="preserve">the parent object to get the child from</doc>
            <type name="ChildProxy" c:type="GstChildProxy*"/>
          </instance-parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">the child's position in the child list</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_child_by_name"
              c:identifier="gst_child_proxy_get_child_by_name">
        <doc xml:space="preserve">Looks up a child element by the given name.

This virtual method has a default implementation that uses #GstObject
together with gst_object_get_name(). If the interface is to be used with
#GObjects, this methods needs to be overridden.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the child object or %NULL if
    not found. Unref after usage.

MT safe.</doc>
          <type name="GObject.Object" c:type="GObject*"/>
        </return-value>
        <parameters>
          <instance-parameter name="parent" transfer-ownership="none">
            <doc xml:space="preserve">the parent object to get the child from</doc>
            <type name="ChildProxy" c:type="GstChildProxy*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">the child's name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_children_count"
              c:identifier="gst_child_proxy_get_children_count">
        <doc xml:space="preserve">Gets the number of child objects this parent contains.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the number of child objects

MT safe.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="parent" transfer-ownership="none">
            <doc xml:space="preserve">the parent object</doc>
            <type name="ChildProxy" c:type="GstChildProxy*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_property" c:identifier="gst_child_proxy_get_property">
        <doc xml:space="preserve">Gets a single property using the GstChildProxy mechanism.
You are responsible for freeing it by calling g_value_unset()</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">object to query</doc>
            <type name="ChildProxy" c:type="GstChildProxy*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">name of the property</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none">
            <doc xml:space="preserve">a #GValue that should take the result.</doc>
            <type name="GObject.Value" c:type="GValue*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_valist"
              c:identifier="gst_child_proxy_get_valist"
              introspectable="0">
        <doc xml:space="preserve">Gets properties of the parent object and its children.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">the object to query</doc>
            <type name="ChildProxy" c:type="GstChildProxy*"/>
          </instance-parameter>
          <parameter name="first_property_name" transfer-ownership="none">
            <doc xml:space="preserve">name of the first property to get</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="var_args" transfer-ownership="none">
            <doc xml:space="preserve">return location for the first property, followed optionally by more name/return location pairs, followed by %NULL</doc>
            <type name="va_list" c:type="va_list"/>
          </parameter>
        </parameters>
      </method>
      <method name="lookup" c:identifier="gst_child_proxy_lookup">
        <doc xml:space="preserve">Looks up which object and #GParamSpec would be effected by the given @name.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @target and @pspec could be found. %FALSE otherwise. In that
case the values for @pspec and @target are not modified. Unref @target after
usage. For plain GObjects @target is the same as @object.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">child proxy object to lookup the property in</doc>
            <type name="ChildProxy" c:type="GstChildProxy*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">name of the property to look up</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="target"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">pointer to a #GObject that
    takes the real object to set property on</doc>
            <type name="GObject.Object" c:type="GObject**"/>
          </parameter>
          <parameter name="pspec"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">pointer to take the #GParamSpec
    describing the property</doc>
            <type name="GObject.ParamSpec" c:type="GParamSpec**"/>
          </parameter>
        </parameters>
      </method>
      <method name="set" c:identifier="gst_child_proxy_set" introspectable="0">
        <doc xml:space="preserve">Sets properties of the parent object and its children.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">the parent object</doc>
            <type name="ChildProxy" c:type="GstChildProxy*"/>
          </instance-parameter>
          <parameter name="first_property_name" transfer-ownership="none">
            <doc xml:space="preserve">name of the first property to set</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">value for the first property, followed optionally by more name/value pairs, followed by %NULL</doc>
            <varargs/>
          </parameter>
        </parameters>
      </method>
      <method name="set_property" c:identifier="gst_child_proxy_set_property">
        <doc xml:space="preserve">Sets a single property using the GstChildProxy mechanism.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">the parent object</doc>
            <type name="ChildProxy" c:type="GstChildProxy*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">name of the property to set</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">new #GValue for the property</doc>
            <type name="GObject.Value" c:type="const GValue*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_valist"
              c:identifier="gst_child_proxy_set_valist"
              introspectable="0">
        <doc xml:space="preserve">Sets properties of the parent object and its children.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">the parent object</doc>
            <type name="ChildProxy" c:type="GstChildProxy*"/>
          </instance-parameter>
          <parameter name="first_property_name" transfer-ownership="none">
            <doc xml:space="preserve">name of the first property to set</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="var_args" transfer-ownership="none">
            <doc xml:space="preserve">value for the first property, followed optionally by more name/value pairs, followed by %NULL</doc>
            <type name="va_list" c:type="va_list"/>
          </parameter>
        </parameters>
      </method>
      <glib:signal name="child-added" when="first">
        <doc xml:space="preserve">Will be emitted after the @object was added to the @child_proxy.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">the #GObject that was added</doc>
            <type name="GObject.Object"/>
          </parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the new child</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="child-removed" when="first">
        <doc xml:space="preserve">Will be emitted after the @object was removed from the @child_proxy.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">the #GObject that was removed</doc>
            <type name="GObject.Object"/>
          </parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the old child</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </glib:signal>
    </interface>
    <record name="ChildProxyInterface"
            c:type="GstChildProxyInterface"
            glib:is-gtype-struct-for="ChildProxy">
      <doc xml:space="preserve">#GstChildProxy interface.</doc>
      <field name="parent">
        <doc xml:space="preserve">parent interface type.</doc>
        <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
      </field>
      <field name="get_child_by_name">
        <callback name="get_child_by_name">
          <return-value transfer-ownership="full" nullable="1">
            <doc xml:space="preserve">the child object or %NULL if
    not found. Unref after usage.

MT safe.</doc>
            <type name="GObject.Object" c:type="GObject*"/>
          </return-value>
          <parameters>
            <parameter name="parent" transfer-ownership="none">
              <doc xml:space="preserve">the parent object to get the child from</doc>
              <type name="ChildProxy" c:type="GstChildProxy*"/>
            </parameter>
            <parameter name="name" transfer-ownership="none">
              <doc xml:space="preserve">the child's name</doc>
              <type name="utf8" c:type="const gchar*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_child_by_index">
        <callback name="get_child_by_index">
          <return-value transfer-ownership="full" nullable="1">
            <doc xml:space="preserve">the child object or %NULL if
    not found (index too high). Unref after usage.

MT safe.</doc>
            <type name="GObject.Object" c:type="GObject*"/>
          </return-value>
          <parameters>
            <parameter name="parent" transfer-ownership="none">
              <doc xml:space="preserve">the parent object to get the child from</doc>
              <type name="ChildProxy" c:type="GstChildProxy*"/>
            </parameter>
            <parameter name="index" transfer-ownership="none">
              <doc xml:space="preserve">the child's position in the child list</doc>
              <type name="guint" c:type="guint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_children_count">
        <callback name="get_children_count">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">the number of child objects

MT safe.</doc>
            <type name="guint" c:type="guint"/>
          </return-value>
          <parameters>
            <parameter name="parent" transfer-ownership="none">
              <doc xml:space="preserve">the parent object</doc>
              <type name="ChildProxy" c:type="GstChildProxy*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="child_added">
        <callback name="child_added">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="parent" transfer-ownership="none">
              <doc xml:space="preserve">the parent object</doc>
              <type name="ChildProxy" c:type="GstChildProxy*"/>
            </parameter>
            <parameter name="child" transfer-ownership="none">
              <doc xml:space="preserve">the newly added child</doc>
              <type name="GObject.Object" c:type="GObject*"/>
            </parameter>
            <parameter name="name" transfer-ownership="none">
              <doc xml:space="preserve">the name of the new child</doc>
              <type name="utf8" c:type="const gchar*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="child_removed">
        <callback name="child_removed">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="parent" transfer-ownership="none">
              <doc xml:space="preserve">the parent object</doc>
              <type name="ChildProxy" c:type="GstChildProxy*"/>
            </parameter>
            <parameter name="child" transfer-ownership="none">
              <doc xml:space="preserve">the removed child</doc>
              <type name="GObject.Object" c:type="GObject*"/>
            </parameter>
            <parameter name="name" transfer-ownership="none">
              <doc xml:space="preserve">the name of the old child</doc>
              <type name="utf8" c:type="const gchar*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <class name="Clock"
           c:symbol-prefix="clock"
           c:type="GstClock"
           parent="Object"
           abstract="1"
           glib:type-name="GstClock"
           glib:get-type="gst_clock_get_type"
           glib:type-struct="ClockClass">
      <doc xml:space="preserve">GStreamer uses a global clock to synchronize the plugins in a pipeline.
Different clock implementations are possible by implementing this abstract
base class or, more conveniently, by subclassing #GstSystemClock.

The #GstClock returns a monotonically increasing time with the method
gst_clock_get_time(). Its accuracy and base time depend on the specific
clock implementation but time is always expressed in nanoseconds. Since the
baseline of the clock is undefined, the clock time returned is not
meaningful in itself, what matters are the deltas between two clock times.
The time returned by a clock is called the absolute time.

The pipeline uses the clock to calculate the running time. Usually all
renderers synchronize to the global clock using the buffer timestamps, the
newsegment events and the element's base time, see #GstPipeline.

A clock implementation can support periodic and single shot clock
notifications both synchronous and asynchronous.

One first needs to create a #GstClockID for the periodic or single shot
notification using gst_clock_new_single_shot_id() or
gst_clock_new_periodic_id().

To perform a blocking wait for the specific time of the #GstClockID use the
gst_clock_id_wait(). To receive a callback when the specific time is reached
in the clock use gst_clock_id_wait_async(). Both these calls can be
interrupted with the gst_clock_id_unschedule() call. If the blocking wait is
unscheduled a return value of #GST_CLOCK_UNSCHEDULED is returned.

Periodic callbacks scheduled async will be repeatedly called automatically
until it is unscheduled. To schedule a sync periodic callback,
gst_clock_id_wait() should be called repeatedly.

The async callbacks can happen from any thread, either provided by the core
or from a streaming thread. The application should be prepared for this.

A #GstClockID that has been unscheduled cannot be used again for any wait
operation, a new #GstClockID should be created and the old unscheduled one
should be destroyed with gst_clock_id_unref().

It is possible to perform a blocking wait on the same #GstClockID from
multiple threads. However, registering the same #GstClockID for multiple
async notifications is not possible, the callback will only be called for
the thread registering the entry last.

None of the wait operations unref the #GstClockID, the owner is responsible
for unreffing the ids itself. This holds for both periodic and single shot
notifications. The reason being that the owner of the #GstClockID has to
keep a handle to the #GstClockID to unblock the wait on FLUSHING events or
state changes and if the entry would be unreffed automatically, the handle
might become invalid without any notification.

These clock operations do not operate on the running time, so the callbacks
will also occur when not in PLAYING state as if the clock just keeps on
running. Some clocks however do not progress when the element that provided
the clock is not PLAYING.

When a clock has the #GST_CLOCK_FLAG_CAN_SET_MASTER flag set, it can be
slaved to another #GstClock with the gst_clock_set_master(). The clock will
then automatically be synchronized to this master clock by repeatedly
sampling the master clock and the slave clock and recalibrating the slave
clock with gst_clock_set_calibration(). This feature is mostly useful for
plugins that have an internal clock but must operate with another clock
selected by the #GstPipeline.  They can track the offset and rate difference
of their internal clock relative to the master clock by using the
gst_clock_get_calibration() function.

The master/slave synchronisation can be tuned with the #GstClock:timeout,
#GstClock:window-size and #GstClock:window-threshold properties.
The #GstClock:timeout property defines the interval to sample the master
clock and run the calibration functions. #GstClock:window-size defines the
number of samples to use when calibrating and #GstClock:window-threshold
defines the minimum number of samples before the calibration is performed.</doc>
      <function name="id_compare_func"
                c:identifier="gst_clock_id_compare_func">
        <doc xml:space="preserve">Compares the two #GstClockID instances. This function can be used
as a GCompareFunc when sorting ids.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">negative value if a &lt; b; zero if a = b; positive value if a &gt; b

MT safe.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <parameter name="id1"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">A #GstClockID</doc>
            <type name="gpointer" c:type="gconstpointer"/>
          </parameter>
          <parameter name="id2"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">A #GstClockID to compare with</doc>
            <type name="gpointer" c:type="gconstpointer"/>
          </parameter>
        </parameters>
      </function>
      <function name="id_get_time" c:identifier="gst_clock_id_get_time">
        <doc xml:space="preserve">Get the time of the clock ID</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the time of the given clock id.

MT safe.</doc>
          <type name="ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <parameter name="id" transfer-ownership="none">
            <doc xml:space="preserve">The #GstClockID to query</doc>
            <type name="ClockID" c:type="GstClockID"/>
          </parameter>
        </parameters>
      </function>
      <function name="id_ref" c:identifier="gst_clock_id_ref">
        <doc xml:space="preserve">Increase the refcount of given @id.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The same #GstClockID with increased refcount.

MT safe.</doc>
          <type name="ClockID" c:type="GstClockID"/>
        </return-value>
        <parameters>
          <parameter name="id" transfer-ownership="none">
            <doc xml:space="preserve">The #GstClockID to ref</doc>
            <type name="ClockID" c:type="GstClockID"/>
          </parameter>
        </parameters>
      </function>
      <function name="id_unref" c:identifier="gst_clock_id_unref">
        <doc xml:space="preserve">Unref given @id. When the refcount reaches 0 the
#GstClockID will be freed.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="id" transfer-ownership="full">
            <doc xml:space="preserve">The #GstClockID to unref</doc>
            <type name="ClockID" c:type="GstClockID"/>
          </parameter>
        </parameters>
      </function>
      <function name="id_unschedule" c:identifier="gst_clock_id_unschedule">
        <doc xml:space="preserve">Cancel an outstanding request with @id. This can either
be an outstanding async notification or a pending sync notification.
After this call, @id cannot be used anymore to receive sync or
async notifications, you need to create a new #GstClockID.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="id" transfer-ownership="none">
            <doc xml:space="preserve">The id to unschedule</doc>
            <type name="ClockID" c:type="GstClockID"/>
          </parameter>
        </parameters>
      </function>
      <function name="id_wait" c:identifier="gst_clock_id_wait">
        <doc xml:space="preserve">Perform a blocking wait on @id.
@id should have been created with gst_clock_new_single_shot_id()
or gst_clock_new_periodic_id() and should not have been unscheduled
with a call to gst_clock_id_unschedule().

If the @jitter argument is not %NULL and this function returns #GST_CLOCK_OK
or #GST_CLOCK_EARLY, it will contain the difference
against the clock and the time of @id when this method was
called.
Positive values indicate how late @id was relative to the clock
(in which case this function will return #GST_CLOCK_EARLY).
Negative values indicate how much time was spent waiting on the clock
before this function returned.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the result of the blocking wait. #GST_CLOCK_EARLY will be returned
if the current clock time is past the time of @id, #GST_CLOCK_OK if
@id was scheduled in time. #GST_CLOCK_UNSCHEDULED if @id was
unscheduled with gst_clock_id_unschedule().

MT safe.</doc>
          <type name="ClockReturn" c:type="GstClockReturn"/>
        </return-value>
        <parameters>
          <parameter name="id" transfer-ownership="none">
            <doc xml:space="preserve">The #GstClockID to wait on</doc>
            <type name="ClockID" c:type="GstClockID"/>
          </parameter>
          <parameter name="jitter"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a pointer that will contain the jitter,
    can be %NULL.</doc>
            <type name="ClockTimeDiff" c:type="GstClockTimeDiff*"/>
          </parameter>
        </parameters>
      </function>
      <function name="id_wait_async" c:identifier="gst_clock_id_wait_async">
        <doc xml:space="preserve">Register a callback on the given #GstClockID @id with the given
function and user_data. When passing a #GstClockID with an invalid
time to this function, the callback will be called immediately
with  a time set to GST_CLOCK_TIME_NONE. The callback will
be called when the time of @id has been reached.

The callback @func can be invoked from any thread, either provided by the
core or from a streaming thread. The application should be prepared for this.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the result of the non blocking wait.

MT safe.</doc>
          <type name="ClockReturn" c:type="GstClockReturn"/>
        </return-value>
        <parameters>
          <parameter name="id" transfer-ownership="none">
            <doc xml:space="preserve">a #GstClockID to wait on</doc>
            <type name="ClockID" c:type="GstClockID"/>
          </parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="notified"
                     closure="2"
                     destroy="3">
            <doc xml:space="preserve">The callback function</doc>
            <type name="ClockCallback" c:type="GstClockCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">User data passed in the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="destroy_data"
                     transfer-ownership="none"
                     scope="async">
            <doc xml:space="preserve">#GDestroyNotify for user_data</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </function>
      <virtual-method name="change_resolution">
        <return-value transfer-ownership="none">
          <type name="ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <type name="Clock" c:type="GstClock*"/>
          </instance-parameter>
          <parameter name="old_resolution" transfer-ownership="none">
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="new_resolution" transfer-ownership="none">
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_internal_time" invoker="get_internal_time">
        <doc xml:space="preserve">Gets the current internal time of the given clock. The time is returned
unadjusted for the offset and the rate.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the internal time of the clock. Or GST_CLOCK_TIME_NONE when
given invalid input.

MT safe.</doc>
          <type name="ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve">a #GstClock to query</doc>
            <type name="Clock" c:type="GstClock*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_resolution" invoker="get_resolution">
        <doc xml:space="preserve">Get the accuracy of the clock. The accuracy of the clock is the granularity
of the values returned by gst_clock_get_time().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the resolution of the clock in units of #GstClockTime.

MT safe.</doc>
          <type name="ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve">a #GstClock</doc>
            <type name="Clock" c:type="GstClock*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="unschedule">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <type name="Clock" c:type="GstClock*"/>
          </instance-parameter>
          <parameter name="entry" transfer-ownership="none">
            <type name="ClockEntry" c:type="GstClockEntry*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="wait">
        <return-value transfer-ownership="none">
          <type name="ClockReturn" c:type="GstClockReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <type name="Clock" c:type="GstClock*"/>
          </instance-parameter>
          <parameter name="entry" transfer-ownership="none">
            <type name="ClockEntry" c:type="GstClockEntry*"/>
          </parameter>
          <parameter name="jitter" transfer-ownership="none">
            <type name="ClockTimeDiff" c:type="GstClockTimeDiff*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="wait_async">
        <return-value transfer-ownership="none">
          <type name="ClockReturn" c:type="GstClockReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <type name="Clock" c:type="GstClock*"/>
          </instance-parameter>
          <parameter name="entry" transfer-ownership="none">
            <type name="ClockEntry" c:type="GstClockEntry*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="add_observation" c:identifier="gst_clock_add_observation">
        <doc xml:space="preserve">The time @master of the master clock and the time @slave of the slave
clock are added to the list of observations. If enough observations
are available, a linear regression algorithm is run on the
observations and @clock is recalibrated.

If this functions returns %TRUE, @r_squared will contain the
correlation coefficient of the interpolation. A value of 1.0
means a perfect regression was performed. This value can
be used to control the sampling frequency of the master and slave
clocks.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if enough observations were added to run the
regression algorithm.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve">a #GstClock</doc>
            <type name="Clock" c:type="GstClock*"/>
          </instance-parameter>
          <parameter name="slave" transfer-ownership="none">
            <doc xml:space="preserve">a time on the slave</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="master" transfer-ownership="none">
            <doc xml:space="preserve">a time on the master</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="r_squared"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">a pointer to hold the result</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_observation_unapplied"
              c:identifier="gst_clock_add_observation_unapplied"
              version="1.6">
        <doc xml:space="preserve">Add a clock observation to the internal slaving algorithm the same as
gst_clock_add_observation(), and return the result of the master clock
estimation, without updating the internal calibration.

The caller can then take the results and call gst_clock_set_calibration()
with the values, or some modified version of them.</doc>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve">a #GstClock</doc>
            <type name="Clock" c:type="GstClock*"/>
          </instance-parameter>
          <parameter name="slave" transfer-ownership="none">
            <doc xml:space="preserve">a time on the slave</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="master" transfer-ownership="none">
            <doc xml:space="preserve">a time on the master</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="r_squared"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">a pointer to hold the result</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
          <parameter name="internal"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a location to store the internal time</doc>
            <type name="ClockTime" c:type="GstClockTime*"/>
          </parameter>
          <parameter name="external"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a location to store the external time</doc>
            <type name="ClockTime" c:type="GstClockTime*"/>
          </parameter>
          <parameter name="rate_num"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a location to store the rate numerator</doc>
            <type name="ClockTime" c:type="GstClockTime*"/>
          </parameter>
          <parameter name="rate_denom"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a location to store the rate denominator</doc>
            <type name="ClockTime" c:type="GstClockTime*"/>
          </parameter>
        </parameters>
      </method>
      <method name="adjust_unlocked" c:identifier="gst_clock_adjust_unlocked">
        <doc xml:space="preserve">Converts the given @internal clock time to the external time, adjusting for the
rate and reference time set with gst_clock_set_calibration() and making sure
that the returned time is increasing. This function should be called with the
clock's OBJECT_LOCK held and is mainly used by clock subclasses.

This function is the reverse of gst_clock_unadjust_unlocked().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the converted time of the clock.</doc>
          <type name="ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve">a #GstClock to use</doc>
            <type name="Clock" c:type="GstClock*"/>
          </instance-parameter>
          <parameter name="internal" transfer-ownership="none">
            <doc xml:space="preserve">a clock time</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="adjust_with_calibration"
              c:identifier="gst_clock_adjust_with_calibration"
              version="1.6">
        <doc xml:space="preserve">Converts the given @internal_target clock time to the external time,
using the passed calibration parameters. This function performs the
same calculation as gst_clock_adjust_unlocked() when called using the
current calibration parameters, but doesn't ensure a monotonically
increasing result as gst_clock_adjust_unlocked() does.

Note: The @clock parameter is unused and can be NULL</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the converted time of the clock.</doc>
          <type name="ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">a #GstClock to use</doc>
            <type name="Clock" c:type="GstClock*"/>
          </instance-parameter>
          <parameter name="internal_target" transfer-ownership="none">
            <doc xml:space="preserve">a clock time</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="cinternal" transfer-ownership="none">
            <doc xml:space="preserve">a reference internal time</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="cexternal" transfer-ownership="none">
            <doc xml:space="preserve">a reference external time</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="cnum" transfer-ownership="none">
            <doc xml:space="preserve">the numerator of the rate of the clock relative to its
       internal time</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="cdenom" transfer-ownership="none">
            <doc xml:space="preserve">the denominator of the rate of the clock</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_calibration" c:identifier="gst_clock_get_calibration">
        <doc xml:space="preserve">Gets the internal rate and reference time of @clock. See
gst_clock_set_calibration() for more information.

@internal, @external, @rate_num, and @rate_denom can be left %NULL if the
caller is not interested in the values.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve">a #GstClock</doc>
            <type name="Clock" c:type="GstClock*"/>
          </instance-parameter>
          <parameter name="internal"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a location to store the internal time</doc>
            <type name="ClockTime" c:type="GstClockTime*"/>
          </parameter>
          <parameter name="external"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a location to store the external time</doc>
            <type name="ClockTime" c:type="GstClockTime*"/>
          </parameter>
          <parameter name="rate_num"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a location to store the rate numerator</doc>
            <type name="ClockTime" c:type="GstClockTime*"/>
          </parameter>
          <parameter name="rate_denom"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a location to store the rate denominator</doc>
            <type name="ClockTime" c:type="GstClockTime*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_internal_time"
              c:identifier="gst_clock_get_internal_time">
        <doc xml:space="preserve">Gets the current internal time of the given clock. The time is returned
unadjusted for the offset and the rate.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the internal time of the clock. Or GST_CLOCK_TIME_NONE when
given invalid input.

MT safe.</doc>
          <type name="ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve">a #GstClock to query</doc>
            <type name="Clock" c:type="GstClock*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_master" c:identifier="gst_clock_get_master">
        <doc xml:space="preserve">Get the master clock that @clock is slaved to or %NULL when the clock is
not slaved to any master clock.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a master #GstClock or %NULL
    when this clock is not slaved to a master clock. Unref after
    usage.

MT safe.</doc>
          <type name="Clock" c:type="GstClock*"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve">a #GstClock</doc>
            <type name="Clock" c:type="GstClock*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_resolution" c:identifier="gst_clock_get_resolution">
        <doc xml:space="preserve">Get the accuracy of the clock. The accuracy of the clock is the granularity
of the values returned by gst_clock_get_time().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the resolution of the clock in units of #GstClockTime.

MT safe.</doc>
          <type name="ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve">a #GstClock</doc>
            <type name="Clock" c:type="GstClock*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_time" c:identifier="gst_clock_get_time">
        <doc xml:space="preserve">Gets the current time of the given clock. The time is always
monotonically increasing and adjusted according to the current
offset and rate.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the time of the clock. Or GST_CLOCK_TIME_NONE when
given invalid input.

MT safe.</doc>
          <type name="ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve">a #GstClock to query</doc>
            <type name="Clock" c:type="GstClock*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_timeout" c:identifier="gst_clock_get_timeout">
        <doc xml:space="preserve">Get the amount of time that master and slave clocks are sampled.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the interval between samples.</doc>
          <type name="ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve">a #GstClock</doc>
            <type name="Clock" c:type="GstClock*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_synced"
              c:identifier="gst_clock_is_synced"
              version="1.6">
        <doc xml:space="preserve">Checks if the clock is currently synced.

This returns if GST_CLOCK_FLAG_NEEDS_STARTUP_SYNC is not set on the clock.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the clock is currently synced</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve">a GstClock</doc>
            <type name="Clock" c:type="GstClock*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="new_periodic_id" c:identifier="gst_clock_new_periodic_id">
        <doc xml:space="preserve">Get an ID from @clock to trigger a periodic notification.
The periodic notifications will start at time @start_time and
will then be fired with the given @interval. @id should be unreffed
after usage.

Free-function: gst_clock_id_unref</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GstClockID that can be used to request the
    time notification.

MT safe.</doc>
          <type name="ClockID" c:type="GstClockID"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve">The #GstClockID to get a periodic notification id from</doc>
            <type name="Clock" c:type="GstClock*"/>
          </instance-parameter>
          <parameter name="start_time" transfer-ownership="none">
            <doc xml:space="preserve">the requested start time</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="interval" transfer-ownership="none">
            <doc xml:space="preserve">the requested interval</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="new_single_shot_id"
              c:identifier="gst_clock_new_single_shot_id">
        <doc xml:space="preserve">Get a #GstClockID from @clock to trigger a single shot
notification at the requested time. The single shot id should be
unreffed after usage.

Free-function: gst_clock_id_unref</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GstClockID that can be used to request the
    time notification.

MT safe.</doc>
          <type name="ClockID" c:type="GstClockID"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve">The #GstClockID to get a single shot notification from</doc>
            <type name="Clock" c:type="GstClock*"/>
          </instance-parameter>
          <parameter name="time" transfer-ownership="none">
            <doc xml:space="preserve">the requested time</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="periodic_id_reinit"
              c:identifier="gst_clock_periodic_id_reinit">
        <doc xml:space="preserve">Reinitializes the provided periodic @id to the provided start time and
interval. Does not modify the reference count.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the GstClockID could be reinitialized to the provided
@time, else %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve">a #GstClock</doc>
            <type name="Clock" c:type="GstClock*"/>
          </instance-parameter>
          <parameter name="id" transfer-ownership="none">
            <doc xml:space="preserve">a #GstClockID</doc>
            <type name="ClockID" c:type="GstClockID"/>
          </parameter>
          <parameter name="start_time" transfer-ownership="none">
            <doc xml:space="preserve">the requested start time</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="interval" transfer-ownership="none">
            <doc xml:space="preserve">the requested interval</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_calibration" c:identifier="gst_clock_set_calibration">
        <doc xml:space="preserve">Adjusts the rate and time of @clock. A rate of 1/1 is the normal speed of
the clock. Values bigger than 1/1 make the clock go faster.

@internal and @external are calibration parameters that arrange that
gst_clock_get_time() should have been @external at internal time @internal.
This internal time should not be in the future; that is, it should be less
than the value of gst_clock_get_internal_time() when this function is called.

Subsequent calls to gst_clock_get_time() will return clock times computed as
follows:

|[
  time = (internal_time - internal) * rate_num / rate_denom + external
]|

This formula is implemented in gst_clock_adjust_unlocked(). Of course, it
tries to do the integer arithmetic as precisely as possible.

Note that gst_clock_get_time() always returns increasing values so when you
move the clock backwards, gst_clock_get_time() will report the previous value
until the clock catches up.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve">a #GstClock to calibrate</doc>
            <type name="Clock" c:type="GstClock*"/>
          </instance-parameter>
          <parameter name="internal" transfer-ownership="none">
            <doc xml:space="preserve">a reference internal time</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="external" transfer-ownership="none">
            <doc xml:space="preserve">a reference external time</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="rate_num" transfer-ownership="none">
            <doc xml:space="preserve">the numerator of the rate of the clock relative to its
           internal time</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="rate_denom" transfer-ownership="none">
            <doc xml:space="preserve">the denominator of the rate of the clock</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_master" c:identifier="gst_clock_set_master">
        <doc xml:space="preserve">Set @master as the master clock for @clock. @clock will be automatically
calibrated so that gst_clock_get_time() reports the same time as the
master clock.

A clock provider that slaves its clock to a master can get the current
calibration values with gst_clock_get_calibration().

@master can be %NULL in which case @clock will not be slaved anymore. It will
however keep reporting its time adjusted with the last configured rate
and time offsets.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the clock is capable of being slaved to a master clock.
Trying to set a master on a clock without the
#GST_CLOCK_FLAG_CAN_SET_MASTER flag will make this function return %FALSE.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve">a #GstClock</doc>
            <type name="Clock" c:type="GstClock*"/>
          </instance-parameter>
          <parameter name="master"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a master #GstClock</doc>
            <type name="Clock" c:type="GstClock*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_resolution" c:identifier="gst_clock_set_resolution">
        <doc xml:space="preserve">Set the accuracy of the clock. Some clocks have the possibility to operate
with different accuracy at the expense of more resource usage. There is
normally no need to change the default resolution of a clock. The resolution
of a clock can only be changed if the clock has the
#GST_CLOCK_FLAG_CAN_SET_RESOLUTION flag set.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the new resolution of the clock.</doc>
          <type name="ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve">a #GstClock</doc>
            <type name="Clock" c:type="GstClock*"/>
          </instance-parameter>
          <parameter name="resolution" transfer-ownership="none">
            <doc xml:space="preserve">The resolution to set</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_synced"
              c:identifier="gst_clock_set_synced"
              version="1.6">
        <doc xml:space="preserve">Sets @clock to synced and emits the GstClock::synced signal, and wakes up any
thread waiting in gst_clock_wait_for_sync().

This function must only be called if GST_CLOCK_FLAG_NEEDS_STARTUP_SYNC
is set on the clock, and is intended to be called by subclasses only.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve">a GstClock</doc>
            <type name="Clock" c:type="GstClock*"/>
          </instance-parameter>
          <parameter name="synced" transfer-ownership="none">
            <doc xml:space="preserve">if the clock is synced</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_timeout" c:identifier="gst_clock_set_timeout">
        <doc xml:space="preserve">Set the amount of time, in nanoseconds, to sample master and slave
clocks</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve">a #GstClock</doc>
            <type name="Clock" c:type="GstClock*"/>
          </instance-parameter>
          <parameter name="timeout" transfer-ownership="none">
            <doc xml:space="preserve">a timeout</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="single_shot_id_reinit"
              c:identifier="gst_clock_single_shot_id_reinit">
        <doc xml:space="preserve">Reinitializes the provided single shot @id to the provided time. Does not
modify the reference count.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the GstClockID could be reinitialized to the provided
@time, else %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve">a #GstClock</doc>
            <type name="Clock" c:type="GstClock*"/>
          </instance-parameter>
          <parameter name="id" transfer-ownership="none">
            <doc xml:space="preserve">a #GstClockID</doc>
            <type name="ClockID" c:type="GstClockID"/>
          </parameter>
          <parameter name="time" transfer-ownership="none">
            <doc xml:space="preserve">The requested time.</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="unadjust_unlocked"
              c:identifier="gst_clock_unadjust_unlocked">
        <doc xml:space="preserve">Converts the given @external clock time to the internal time of @clock,
using the rate and reference time set with gst_clock_set_calibration().
This function should be called with the clock's OBJECT_LOCK held and
is mainly used by clock subclasses.

This function is the reverse of gst_clock_adjust_unlocked().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the internal time of the clock corresponding to @external.</doc>
          <type name="ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve">a #GstClock to use</doc>
            <type name="Clock" c:type="GstClock*"/>
          </instance-parameter>
          <parameter name="external" transfer-ownership="none">
            <doc xml:space="preserve">an external clock time</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="unadjust_with_calibration"
              c:identifier="gst_clock_unadjust_with_calibration"
              version="1.8">
        <doc xml:space="preserve">Converts the given @external_target clock time to the internal time,
using the passed calibration parameters. This function performs the
same calculation as gst_clock_unadjust_unlocked() when called using the
current calibration parameters.

Note: The @clock parameter is unused and can be NULL</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the converted time of the clock.</doc>
          <type name="ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">a #GstClock to use</doc>
            <type name="Clock" c:type="GstClock*"/>
          </instance-parameter>
          <parameter name="external_target" transfer-ownership="none">
            <doc xml:space="preserve">a clock time</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="cinternal" transfer-ownership="none">
            <doc xml:space="preserve">a reference internal time</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="cexternal" transfer-ownership="none">
            <doc xml:space="preserve">a reference external time</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="cnum" transfer-ownership="none">
            <doc xml:space="preserve">the numerator of the rate of the clock relative to its
       internal time</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="cdenom" transfer-ownership="none">
            <doc xml:space="preserve">the denominator of the rate of the clock</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="wait_for_sync"
              c:identifier="gst_clock_wait_for_sync"
              version="1.6">
        <doc xml:space="preserve">Waits until @clock is synced for reporting the current time. If @timeout
is %GST_CLOCK_TIME_NONE it will wait forever, otherwise it will time out
after @timeout nanoseconds.

For asynchronous waiting, the GstClock::synced signal can be used.

This returns immediately with TRUE if GST_CLOCK_FLAG_NEEDS_STARTUP_SYNC
is not set on the clock, or if the clock is already synced.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if waiting was successful, or %FALSE on timeout</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve">a GstClock</doc>
            <type name="Clock" c:type="GstClock*"/>
          </instance-parameter>
          <parameter name="timeout" transfer-ownership="none">
            <doc xml:space="preserve">timeout for waiting or %GST_CLOCK_TIME_NONE</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <property name="timeout" writable="1" transfer-ownership="none">
        <type name="guint64" c:type="guint64"/>
      </property>
      <property name="window-size" writable="1" transfer-ownership="none">
        <type name="gint" c:type="gint"/>
      </property>
      <property name="window-threshold" writable="1" transfer-ownership="none">
        <type name="gint" c:type="gint"/>
      </property>
      <field name="object">
        <type name="Object" c:type="GstObject"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="ClockPrivate" c:type="GstClockPrivate*"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
      <glib:signal name="synced" when="last" version="1.6">
        <doc xml:space="preserve">Signaled on clocks with GST_CLOCK_FLAG_NEEDS_STARTUP_SYNC set once
the clock is synchronized, or when it completely lost synchronization.
This signal will not be emitted on clocks without the flag.

This signal will be emitted from an arbitrary thread, most likely not
the application's main thread.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="synced" transfer-ownership="none">
            <doc xml:space="preserve">if the clock is synced now</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <callback name="ClockCallback" c:type="GstClockCallback">
      <doc xml:space="preserve">The function prototype of the callback.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE or %FALSE (currently unused)</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="clock" transfer-ownership="none">
          <doc xml:space="preserve">The clock that triggered the callback</doc>
          <type name="Clock" c:type="GstClock*"/>
        </parameter>
        <parameter name="time" transfer-ownership="none">
          <doc xml:space="preserve">The time it was triggered</doc>
          <type name="ClockTime" c:type="GstClockTime"/>
        </parameter>
        <parameter name="id" transfer-ownership="none">
          <doc xml:space="preserve">The #GstClockID that expired</doc>
          <type name="ClockID" c:type="GstClockID"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="3">
          <doc xml:space="preserve">user data passed in the gst_clock_id_wait_async() function</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <record name="ClockClass"
            c:type="GstClockClass"
            glib:is-gtype-struct-for="Clock">
      <doc xml:space="preserve">GStreamer clock class. Override the vmethods to implement the clock
functionality.</doc>
      <field name="parent_class">
        <doc xml:space="preserve">the parent class structure</doc>
        <type name="ObjectClass" c:type="GstObjectClass"/>
      </field>
      <field name="change_resolution">
        <callback name="change_resolution">
          <return-value transfer-ownership="none">
            <type name="ClockTime" c:type="GstClockTime"/>
          </return-value>
          <parameters>
            <parameter name="clock" transfer-ownership="none">
              <type name="Clock" c:type="GstClock*"/>
            </parameter>
            <parameter name="old_resolution" transfer-ownership="none">
              <type name="ClockTime" c:type="GstClockTime"/>
            </parameter>
            <parameter name="new_resolution" transfer-ownership="none">
              <type name="ClockTime" c:type="GstClockTime"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_resolution">
        <callback name="get_resolution">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">the resolution of the clock in units of #GstClockTime.

MT safe.</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </return-value>
          <parameters>
            <parameter name="clock" transfer-ownership="none">
              <doc xml:space="preserve">a #GstClock</doc>
              <type name="Clock" c:type="GstClock*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_internal_time">
        <callback name="get_internal_time">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">the internal time of the clock. Or GST_CLOCK_TIME_NONE when
given invalid input.

MT safe.</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </return-value>
          <parameters>
            <parameter name="clock" transfer-ownership="none">
              <doc xml:space="preserve">a #GstClock to query</doc>
              <type name="Clock" c:type="GstClock*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="wait">
        <callback name="wait">
          <return-value transfer-ownership="none">
            <type name="ClockReturn" c:type="GstClockReturn"/>
          </return-value>
          <parameters>
            <parameter name="clock" transfer-ownership="none">
              <type name="Clock" c:type="GstClock*"/>
            </parameter>
            <parameter name="entry" transfer-ownership="none">
              <type name="ClockEntry" c:type="GstClockEntry*"/>
            </parameter>
            <parameter name="jitter" transfer-ownership="none">
              <type name="ClockTimeDiff" c:type="GstClockTimeDiff*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="wait_async">
        <callback name="wait_async">
          <return-value transfer-ownership="none">
            <type name="ClockReturn" c:type="GstClockReturn"/>
          </return-value>
          <parameters>
            <parameter name="clock" transfer-ownership="none">
              <type name="Clock" c:type="GstClock*"/>
            </parameter>
            <parameter name="entry" transfer-ownership="none">
              <type name="ClockEntry" c:type="GstClockEntry*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="unschedule">
        <callback name="unschedule">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="clock" transfer-ownership="none">
              <type name="Clock" c:type="GstClock*"/>
            </parameter>
            <parameter name="entry" transfer-ownership="none">
              <type name="ClockEntry" c:type="GstClockEntry*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="ClockEntry" c:type="GstClockEntry">
      <doc xml:space="preserve">All pending timeouts or periodic notifies are converted into
an entry.
Note that GstClockEntry should be treated as an opaque structure. It must
not be extended or allocated using a custom allocator.</doc>
      <field name="refcount" writable="1">
        <doc xml:space="preserve">reference counter (read-only)</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="clock" writable="1">
        <type name="Clock" c:type="GstClock*"/>
      </field>
      <field name="type" writable="1">
        <type name="ClockEntryType" c:type="GstClockEntryType"/>
      </field>
      <field name="time" writable="1">
        <type name="ClockTime" c:type="GstClockTime"/>
      </field>
      <field name="interval" writable="1">
        <type name="ClockTime" c:type="GstClockTime"/>
      </field>
      <field name="status" writable="1">
        <type name="ClockReturn" c:type="GstClockReturn"/>
      </field>
      <field name="func" writable="1">
        <type name="ClockCallback" c:type="GstClockCallback"/>
      </field>
      <field name="user_data" writable="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="destroy_data" writable="1">
        <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
      </field>
      <field name="unscheduled" writable="1">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="woken_up" writable="1">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <enumeration name="ClockEntryType"
                 glib:type-name="GstClockEntryType"
                 glib:get-type="gst_clock_entry_type_get_type"
                 c:type="GstClockEntryType">
      <doc xml:space="preserve">The type of the clock entry</doc>
      <member name="single"
              value="0"
              c:identifier="GST_CLOCK_ENTRY_SINGLE"
              glib:nick="single">
        <doc xml:space="preserve">a single shot timeout</doc>
      </member>
      <member name="periodic"
              value="1"
              c:identifier="GST_CLOCK_ENTRY_PERIODIC"
              glib:nick="periodic">
        <doc xml:space="preserve">a periodic timeout request</doc>
      </member>
    </enumeration>
    <bitfield name="ClockFlags"
              glib:type-name="GstClockFlags"
              glib:get-type="gst_clock_flags_get_type"
              c:type="GstClockFlags">
      <doc xml:space="preserve">The capabilities of this clock</doc>
      <member name="can_do_single_sync"
              value="16"
              c:identifier="GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC"
              glib:nick="can-do-single-sync">
        <doc xml:space="preserve">clock can do a single sync timeout request</doc>
      </member>
      <member name="can_do_single_async"
              value="32"
              c:identifier="GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC"
              glib:nick="can-do-single-async">
        <doc xml:space="preserve">clock can do a single async timeout request</doc>
      </member>
      <member name="can_do_periodic_sync"
              value="64"
              c:identifier="GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC"
              glib:nick="can-do-periodic-sync">
        <doc xml:space="preserve">clock can do sync periodic timeout requests</doc>
      </member>
      <member name="can_do_periodic_async"
              value="128"
              c:identifier="GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC"
              glib:nick="can-do-periodic-async">
        <doc xml:space="preserve">clock can do async periodic timeout callbacks</doc>
      </member>
      <member name="can_set_resolution"
              value="256"
              c:identifier="GST_CLOCK_FLAG_CAN_SET_RESOLUTION"
              glib:nick="can-set-resolution">
        <doc xml:space="preserve">clock's resolution can be changed</doc>
      </member>
      <member name="can_set_master"
              value="512"
              c:identifier="GST_CLOCK_FLAG_CAN_SET_MASTER"
              glib:nick="can-set-master">
        <doc xml:space="preserve">clock can be slaved to a master clock</doc>
      </member>
      <member name="needs_startup_sync"
              value="1024"
              c:identifier="GST_CLOCK_FLAG_NEEDS_STARTUP_SYNC"
              glib:nick="needs-startup-sync">
        <doc xml:space="preserve">clock needs to be synced before it can be used
    (Since 1.6)</doc>
      </member>
      <member name="last"
              value="4096"
              c:identifier="GST_CLOCK_FLAG_LAST"
              glib:nick="last">
        <doc xml:space="preserve">subclasses can add additional flags starting from this flag</doc>
      </member>
    </bitfield>
    <record name="ClockPrivate" c:type="GstClockPrivate" disguised="1">
    </record>
    <enumeration name="ClockReturn"
                 glib:type-name="GstClockReturn"
                 glib:get-type="gst_clock_return_get_type"
                 c:type="GstClockReturn">
      <doc xml:space="preserve">The return value of a clock operation.</doc>
      <member name="ok" value="0" c:identifier="GST_CLOCK_OK" glib:nick="ok">
        <doc xml:space="preserve">The operation succeeded.</doc>
      </member>
      <member name="early"
              value="1"
              c:identifier="GST_CLOCK_EARLY"
              glib:nick="early">
        <doc xml:space="preserve">The operation was scheduled too late.</doc>
      </member>
      <member name="unscheduled"
              value="2"
              c:identifier="GST_CLOCK_UNSCHEDULED"
              glib:nick="unscheduled">
        <doc xml:space="preserve">The clockID was unscheduled</doc>
      </member>
      <member name="busy"
              value="3"
              c:identifier="GST_CLOCK_BUSY"
              glib:nick="busy">
        <doc xml:space="preserve">The ClockID is busy</doc>
      </member>
      <member name="badtime"
              value="4"
              c:identifier="GST_CLOCK_BADTIME"
              glib:nick="badtime">
        <doc xml:space="preserve">A bad time was provided to a function.</doc>
      </member>
      <member name="error"
              value="5"
              c:identifier="GST_CLOCK_ERROR"
              glib:nick="error">
        <doc xml:space="preserve">An error occurred</doc>
      </member>
      <member name="unsupported"
              value="6"
              c:identifier="GST_CLOCK_UNSUPPORTED"
              glib:nick="unsupported">
        <doc xml:space="preserve">Operation is not supported</doc>
      </member>
      <member name="done"
              value="7"
              c:identifier="GST_CLOCK_DONE"
              glib:nick="done">
        <doc xml:space="preserve">The ClockID is done waiting</doc>
      </member>
    </enumeration>
    <enumeration name="ClockType"
                 glib:type-name="GstClockType"
                 glib:get-type="gst_clock_type_get_type"
                 c:type="GstClockType">
      <doc xml:space="preserve">The different kind of clocks.</doc>
      <member name="realtime"
              value="0"
              c:identifier="GST_CLOCK_TYPE_REALTIME"
              glib:nick="realtime">
        <doc xml:space="preserve">time since Epoch</doc>
      </member>
      <member name="monotonic"
              value="1"
              c:identifier="GST_CLOCK_TYPE_MONOTONIC"
              glib:nick="monotonic">
        <doc xml:space="preserve">monotonic time since some unspecified starting
                           point</doc>
      </member>
      <member name="other"
              value="2"
              c:identifier="GST_CLOCK_TYPE_OTHER"
              glib:nick="other">
        <doc xml:space="preserve">some other time source is used (Since 1.0.5)</doc>
      </member>
    </enumeration>
    <record name="Context"
            c:type="GstContext"
            glib:type-name="GstContext"
            glib:get-type="gst_context_get_type"
            c:symbol-prefix="context">
      <doc xml:space="preserve">#GstContext is a container object used to store contexts like a device
context, a display server connection and similar concepts that should
be shared between multiple elements.

Applications can set a context on a complete pipeline by using
gst_element_set_context(), which will then be propagated to all
child elements. Elements can handle these in #GstElementClass.set_context()
and merge them with the context information they already have.

When an element needs a context it will do the following actions in this
order until one step succeeds:
1. Check if the element already has a context
2. Query downstream with GST_QUERY_CONTEXT for the context
3. Query upstream with GST_QUERY_CONTEXT for the context
4. Post a GST_MESSAGE_NEED_CONTEXT message on the bus with the required
   context types and afterwards check if a usable context was set now
5. Create a context by itself and post a GST_MESSAGE_HAVE_CONTEXT message
   on the bus.

Bins will catch GST_MESSAGE_NEED_CONTEXT messages and will set any previously
known context on the element that asks for it if possible. Otherwise the
application should provide one if it can.

#GstContext&lt;!-- --&gt;s can be persistent.
A persistent #GstContext is kept in elements when they reach
%GST_STATE_NULL, non-persistent ones will be removed.
Also, a non-persistent context won't override a previous persistent
context set to an element.</doc>
      <constructor name="new" c:identifier="gst_context_new" version="1.2">
        <doc xml:space="preserve">Create a new context.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The new context.</doc>
          <type name="Context" c:type="GstContext*"/>
        </return-value>
        <parameters>
          <parameter name="context_type" transfer-ownership="none">
            <doc xml:space="preserve">Context type</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="persistent" transfer-ownership="none">
            <doc xml:space="preserve">Persistent context</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="get_context_type"
              c:identifier="gst_context_get_context_type"
              version="1.2">
        <doc xml:space="preserve">Get the type of @context.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The type of the context.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">The #GstContext.</doc>
            <type name="Context" c:type="const GstContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_structure"
              c:identifier="gst_context_get_structure"
              version="1.2">
        <doc xml:space="preserve">Access the structure of the context.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The structure of the context. The structure is
still owned by the context, which means that you should not modify it,
free it and that the pointer becomes invalid when you free the context.</doc>
          <type name="Structure" c:type="const GstStructure*"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">The #GstContext.</doc>
            <type name="Context" c:type="const GstContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_context_type"
              c:identifier="gst_context_has_context_type"
              version="1.2">
        <doc xml:space="preserve">Checks if @context has @context_type.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @context has @context_type.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">The #GstContext.</doc>
            <type name="Context" c:type="const GstContext*"/>
          </instance-parameter>
          <parameter name="context_type" transfer-ownership="none">
            <doc xml:space="preserve">Context type to check.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_persistent"
              c:identifier="gst_context_is_persistent"
              version="1.2">
        <doc xml:space="preserve">Check if @context is persistent.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the context is persistent.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">The #GstContext.</doc>
            <type name="Context" c:type="const GstContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="writable_structure"
              c:identifier="gst_context_writable_structure"
              version="1.2">
        <doc xml:space="preserve">Get a writable version of the structure.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The structure of the context. The structure is still
owned by the context, which means that you should not free it and
that the pointer becomes invalid when you free the context.
This function checks if @context is writable.</doc>
          <type name="Structure" c:type="GstStructure*"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">The #GstContext.</doc>
            <type name="Context" c:type="GstContext*"/>
          </instance-parameter>
        </parameters>
      </method>
    </record>
    <class name="ControlBinding"
           c:symbol-prefix="control_binding"
           c:type="GstControlBinding"
           parent="Object"
           abstract="1"
           glib:type-name="GstControlBinding"
           glib:get-type="gst_control_binding_get_type"
           glib:type-struct="ControlBindingClass">
      <doc xml:space="preserve">A base class for value mapping objects that attaches control sources to gobject
properties. Such an object is taking one or more #GstControlSource instances,
combines them and maps the resulting value to the type and value range of the
bound property.</doc>
      <virtual-method name="get_g_value_array" invoker="get_g_value_array">
        <doc xml:space="preserve">Gets a number of #GValues for the given controlled property starting at the
requested time. The array @values need to hold enough space for @n_values of
#GValue.

This function is useful if one wants to e.g. draw a graph of the control
curve or apply a control curve sample by sample.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the given array could be filled, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="binding" transfer-ownership="none">
            <doc xml:space="preserve">the control binding</doc>
            <type name="ControlBinding" c:type="GstControlBinding*"/>
          </instance-parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve">the time that should be processed</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="interval" transfer-ownership="none">
            <doc xml:space="preserve">the time spacing between subsequent values</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="n_values" transfer-ownership="none">
            <doc xml:space="preserve">the number of values</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="values" transfer-ownership="none">
            <doc xml:space="preserve">array to put control-values in</doc>
            <array length="2" zero-terminated="0" c:type="GValue*">
              <type name="GObject.Value" c:type="GValue"/>
            </array>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_value" invoker="get_value">
        <doc xml:space="preserve">Gets the value for the given controlled property at the requested time.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the GValue of the property at the given time,
or %NULL if the property isn't controlled.</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </return-value>
        <parameters>
          <instance-parameter name="binding" transfer-ownership="none">
            <doc xml:space="preserve">the control binding</doc>
            <type name="ControlBinding" c:type="GstControlBinding*"/>
          </instance-parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve">the time the control-change should be read from</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_value_array"
                      invoker="get_value_array"
                      introspectable="0">
        <doc xml:space="preserve">Gets a number of values for the given controlled property starting at the
requested time. The array @values need to hold enough space for @n_values of
the same type as the objects property's type.

This function is useful if one wants to e.g. draw a graph of the control
curve or apply a control curve sample by sample.

The values are unboxed and ready to be used. The similar function
gst_control_binding_get_g_value_array() returns the array as #GValues and is
more suitable for bindings.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the given array could be filled, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="binding" transfer-ownership="none">
            <doc xml:space="preserve">the control binding</doc>
            <type name="ControlBinding" c:type="GstControlBinding*"/>
          </instance-parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve">the time that should be processed</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="interval" transfer-ownership="none">
            <doc xml:space="preserve">the time spacing between subsequent values</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="n_values" transfer-ownership="none">
            <doc xml:space="preserve">the number of values</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="values"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">array to put control-values in</doc>
            <array length="2" zero-terminated="0" c:type="gpointer">
              <type name="gpointer" c:type="gpointer"/>
            </array>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="sync_values" invoker="sync_values">
        <doc xml:space="preserve">Sets the property of the @object, according to the #GstControlSources that
handle them and for the given timestamp.

If this function fails, it is most likely the application developers fault.
Most probably the control sources are not setup correctly.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the controller value could be applied to the object
property, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="binding" transfer-ownership="none">
            <doc xml:space="preserve">the control binding</doc>
            <type name="ControlBinding" c:type="GstControlBinding*"/>
          </instance-parameter>
          <parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">the object that has controlled properties</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve">the time that should be processed</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="last_sync" transfer-ownership="none">
            <doc xml:space="preserve">the last time this was called</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="get_g_value_array"
              c:identifier="gst_control_binding_get_g_value_array">
        <doc xml:space="preserve">Gets a number of #GValues for the given controlled property starting at the
requested time. The array @values need to hold enough space for @n_values of
#GValue.

This function is useful if one wants to e.g. draw a graph of the control
curve or apply a control curve sample by sample.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the given array could be filled, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="binding" transfer-ownership="none">
            <doc xml:space="preserve">the control binding</doc>
            <type name="ControlBinding" c:type="GstControlBinding*"/>
          </instance-parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve">the time that should be processed</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="interval" transfer-ownership="none">
            <doc xml:space="preserve">the time spacing between subsequent values</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="n_values" transfer-ownership="none">
            <doc xml:space="preserve">the number of values</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="values" transfer-ownership="none">
            <doc xml:space="preserve">array to put control-values in</doc>
            <array length="2" zero-terminated="0" c:type="GValue*">
              <type name="GObject.Value" c:type="GValue"/>
            </array>
          </parameter>
        </parameters>
      </method>
      <method name="get_value" c:identifier="gst_control_binding_get_value">
        <doc xml:space="preserve">Gets the value for the given controlled property at the requested time.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the GValue of the property at the given time,
or %NULL if the property isn't controlled.</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </return-value>
        <parameters>
          <instance-parameter name="binding" transfer-ownership="none">
            <doc xml:space="preserve">the control binding</doc>
            <type name="ControlBinding" c:type="GstControlBinding*"/>
          </instance-parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve">the time the control-change should be read from</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_value_array"
              c:identifier="gst_control_binding_get_value_array"
              introspectable="0">
        <doc xml:space="preserve">Gets a number of values for the given controlled property starting at the
requested time. The array @values need to hold enough space for @n_values of
the same type as the objects property's type.

This function is useful if one wants to e.g. draw a graph of the control
curve or apply a control curve sample by sample.

The values are unboxed and ready to be used. The similar function
gst_control_binding_get_g_value_array() returns the array as #GValues and is
more suitable for bindings.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the given array could be filled, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="binding" transfer-ownership="none">
            <doc xml:space="preserve">the control binding</doc>
            <type name="ControlBinding" c:type="GstControlBinding*"/>
          </instance-parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve">the time that should be processed</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="interval" transfer-ownership="none">
            <doc xml:space="preserve">the time spacing between subsequent values</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="n_values" transfer-ownership="none">
            <doc xml:space="preserve">the number of values</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="values" transfer-ownership="none">
            <doc xml:space="preserve">array to put control-values in</doc>
            <array length="2" zero-terminated="0" c:type="gpointer">
              <type name="gpointer" c:type="gpointer"/>
            </array>
          </parameter>
        </parameters>
      </method>
      <method name="is_disabled"
              c:identifier="gst_control_binding_is_disabled">
        <doc xml:space="preserve">Check if the control binding is disabled.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the binding is inactive</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="binding" transfer-ownership="none">
            <doc xml:space="preserve">the control binding</doc>
            <type name="ControlBinding" c:type="GstControlBinding*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_disabled"
              c:identifier="gst_control_binding_set_disabled">
        <doc xml:space="preserve">This function is used to disable a control binding for some time, i.e.
gst_object_sync_values() will do nothing.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="binding" transfer-ownership="none">
            <doc xml:space="preserve">the control binding</doc>
            <type name="ControlBinding" c:type="GstControlBinding*"/>
          </instance-parameter>
          <parameter name="disabled" transfer-ownership="none">
            <doc xml:space="preserve">boolean that specifies whether to disable the controller
or not.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="sync_values"
              c:identifier="gst_control_binding_sync_values">
        <doc xml:space="preserve">Sets the property of the @object, according to the #GstControlSources that
handle them and for the given timestamp.

If this function fails, it is most likely the application developers fault.
Most probably the control sources are not setup correctly.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the controller value could be applied to the object
property, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="binding" transfer-ownership="none">
            <doc xml:space="preserve">the control binding</doc>
            <type name="ControlBinding" c:type="GstControlBinding*"/>
          </instance-parameter>
          <parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">the object that has controlled properties</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve">the time that should be processed</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="last_sync" transfer-ownership="none">
            <doc xml:space="preserve">the last time this was called</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <property name="name"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="object"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="Object"/>
      </property>
      <field name="parent">
        <type name="Object" c:type="GstObject"/>
      </field>
      <field name="name">
        <doc xml:space="preserve">name of the property of this binding</doc>
        <type name="utf8" c:type="gchar*"/>
      </field>
      <field name="pspec">
        <doc xml:space="preserve">#GParamSpec for this property</doc>
        <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
      </field>
      <field name="object" readable="0" private="1">
        <type name="Object" c:type="GstObject*"/>
      </field>
      <field name="disabled" readable="0" private="1">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <union name="ABI" c:type="ABI">
        <record name="abi" c:type="abi">
          <field name="priv" writable="1">
            <type name="ControlBindingPrivate"
                  c:type="GstControlBindingPrivate*"/>
          </field>
        </record>
        <field name="_gst_reserved" writable="1">
          <array zero-terminated="0" c:type="gpointer" fixed-size="4">
            <type name="gpointer" c:type="gpointer"/>
          </array>
        </field>
      </union>
    </class>
    <record name="ControlBindingClass"
            c:type="GstControlBindingClass"
            glib:is-gtype-struct-for="ControlBinding">
      <doc xml:space="preserve">The class structure of #GstControlBinding.</doc>
      <field name="parent_class">
        <doc xml:space="preserve">Parent class</doc>
        <type name="ObjectClass" c:type="GstObjectClass"/>
      </field>
      <field name="sync_values">
        <callback name="sync_values">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">%TRUE if the controller value could be applied to the object
property, %FALSE otherwise</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="binding" transfer-ownership="none">
              <doc xml:space="preserve">the control binding</doc>
              <type name="ControlBinding" c:type="GstControlBinding*"/>
            </parameter>
            <parameter name="object" transfer-ownership="none">
              <doc xml:space="preserve">the object that has controlled properties</doc>
              <type name="Object" c:type="GstObject*"/>
            </parameter>
            <parameter name="timestamp" transfer-ownership="none">
              <doc xml:space="preserve">the time that should be processed</doc>
              <type name="ClockTime" c:type="GstClockTime"/>
            </parameter>
            <parameter name="last_sync" transfer-ownership="none">
              <doc xml:space="preserve">the last time this was called</doc>
              <type name="ClockTime" c:type="GstClockTime"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_value">
        <callback name="get_value">
          <return-value transfer-ownership="full" nullable="1">
            <doc xml:space="preserve">the GValue of the property at the given time,
or %NULL if the property isn't controlled.</doc>
            <type name="GObject.Value" c:type="GValue*"/>
          </return-value>
          <parameters>
            <parameter name="binding" transfer-ownership="none">
              <doc xml:space="preserve">the control binding</doc>
              <type name="ControlBinding" c:type="GstControlBinding*"/>
            </parameter>
            <parameter name="timestamp" transfer-ownership="none">
              <doc xml:space="preserve">the time the control-change should be read from</doc>
              <type name="ClockTime" c:type="GstClockTime"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_value_array" introspectable="0">
        <callback name="get_value_array" introspectable="0">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">%TRUE if the given array could be filled, %FALSE otherwise</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="binding" transfer-ownership="none">
              <doc xml:space="preserve">the control binding</doc>
              <type name="ControlBinding" c:type="GstControlBinding*"/>
            </parameter>
            <parameter name="timestamp" transfer-ownership="none">
              <doc xml:space="preserve">the time that should be processed</doc>
              <type name="ClockTime" c:type="GstClockTime"/>
            </parameter>
            <parameter name="interval" transfer-ownership="none">
              <doc xml:space="preserve">the time spacing between subsequent values</doc>
              <type name="ClockTime" c:type="GstClockTime"/>
            </parameter>
            <parameter name="n_values" transfer-ownership="none">
              <doc xml:space="preserve">the number of values</doc>
              <type name="guint" c:type="guint"/>
            </parameter>
            <parameter name="values"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve">array to put control-values in</doc>
              <array length="3" zero-terminated="0" c:type="gpointer">
                <type name="gpointer" c:type="gpointer"/>
              </array>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_g_value_array">
        <callback name="get_g_value_array">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">%TRUE if the given array could be filled, %FALSE otherwise</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="binding" transfer-ownership="none">
              <doc xml:space="preserve">the control binding</doc>
              <type name="ControlBinding" c:type="GstControlBinding*"/>
            </parameter>
            <parameter name="timestamp" transfer-ownership="none">
              <doc xml:space="preserve">the time that should be processed</doc>
              <type name="ClockTime" c:type="GstClockTime"/>
            </parameter>
            <parameter name="interval" transfer-ownership="none">
              <doc xml:space="preserve">the time spacing between subsequent values</doc>
              <type name="ClockTime" c:type="GstClockTime"/>
            </parameter>
            <parameter name="n_values" transfer-ownership="none">
              <doc xml:space="preserve">the number of values</doc>
              <type name="guint" c:type="guint"/>
            </parameter>
            <parameter name="values" transfer-ownership="none">
              <doc xml:space="preserve">array to put control-values in</doc>
              <array length="3" zero-terminated="0" c:type="GValue*">
                <type name="GObject.Value" c:type="GValue"/>
              </array>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <callback name="ControlBindingConvert" c:type="GstControlBindingConvert">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="binding" transfer-ownership="none">
          <type name="ControlBinding" c:type="GstControlBinding*"/>
        </parameter>
        <parameter name="src_value" transfer-ownership="none">
          <type name="gdouble" c:type="gdouble"/>
        </parameter>
        <parameter name="dest_value" transfer-ownership="none">
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
      </parameters>
    </callback>
    <record name="ControlBindingPrivate"
            c:type="GstControlBindingPrivate"
            disguised="1">
    </record>
    <class name="ControlSource"
           c:symbol-prefix="control_source"
           c:type="GstControlSource"
           parent="Object"
           abstract="1"
           glib:type-name="GstControlSource"
           glib:get-type="gst_control_source_get_type"
           glib:type-struct="ControlSourceClass">
      <doc xml:space="preserve">The #GstControlSource is a base class for control value sources that could
be used to get timestamp-value pairs. A control source essentially is a
function over time.

A #GstControlSource is used by first getting an instance of a specific
control-source, creating a binding for the control-source to the target property
of the element and then adding the binding to the element. The binding will
convert the data types and value range to fit to the bound property.

For implementing a new #GstControlSource one has to implement
#GstControlSourceGetValue and #GstControlSourceGetValueArray functions.
These are then used by gst_control_source_get_value() and
gst_control_source_get_value_array() to get values for specific timestamps.</doc>
      <method name="control_source_get_value"
              c:identifier="gst_control_source_get_value">
        <doc xml:space="preserve">Gets the value for this #GstControlSource at a given timestamp.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%FALSE if the value couldn't be returned, %TRUE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">the #GstControlSource object</doc>
            <type name="ControlSource" c:type="GstControlSource*"/>
          </instance-parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve">the time for which the value should be returned</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">the value</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
        </parameters>
      </method>
      <method name="control_source_get_value_array"
              c:identifier="gst_control_source_get_value_array">
        <doc xml:space="preserve">Gets an array of values for for this #GstControlSource. Values that are
undefined contain NANs.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the given array could be filled, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">the #GstControlSource object</doc>
            <type name="ControlSource" c:type="GstControlSource*"/>
          </instance-parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve">the first timestamp</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="interval" transfer-ownership="none">
            <doc xml:space="preserve">the time steps</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="n_values" transfer-ownership="none">
            <doc xml:space="preserve">the number of values to fetch</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="values" transfer-ownership="none">
            <doc xml:space="preserve">array to put control-values in</doc>
            <array length="2" zero-terminated="0" c:type="gdouble*">
              <type name="gdouble" c:type="gdouble"/>
            </array>
          </parameter>
        </parameters>
      </method>
      <field name="parent">
        <type name="Object" c:type="GstObject"/>
      </field>
      <field name="get_value">
        <doc xml:space="preserve">Function for returning a value for a given timestamp</doc>
        <type name="ControlSourceGetValue" c:type="GstControlSourceGetValue"/>
      </field>
      <field name="get_value_array">
        <doc xml:space="preserve">Function for returning a values array for a given timestamp</doc>
        <type name="ControlSourceGetValueArray"
              c:type="GstControlSourceGetValueArray"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </class>
    <record name="ControlSourceClass"
            c:type="GstControlSourceClass"
            glib:is-gtype-struct-for="ControlSource">
      <doc xml:space="preserve">The class structure of #GstControlSource.</doc>
      <field name="parent_class">
        <doc xml:space="preserve">Parent class</doc>
        <type name="ObjectClass" c:type="GstObjectClass"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <callback name="ControlSourceGetValue" c:type="GstControlSourceGetValue">
      <doc xml:space="preserve">Function for returning a value for a given timestamp.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the value was successfully calculated.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="self" transfer-ownership="none">
          <doc xml:space="preserve">the #GstControlSource instance</doc>
          <type name="ControlSource" c:type="GstControlSource*"/>
        </parameter>
        <parameter name="timestamp" transfer-ownership="none">
          <doc xml:space="preserve">timestamp for which a value should be calculated</doc>
          <type name="ClockTime" c:type="GstClockTime"/>
        </parameter>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a value which will be set to the result.</doc>
          <type name="gdouble" c:type="gdouble*"/>
        </parameter>
      </parameters>
    </callback>
    <callback name="ControlSourceGetValueArray"
              c:type="GstControlSourceGetValueArray">
      <doc xml:space="preserve">Function for returning an array of values for starting at a given timestamp.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the values were successfully calculated.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="self" transfer-ownership="none">
          <doc xml:space="preserve">the #GstControlSource instance</doc>
          <type name="ControlSource" c:type="GstControlSource*"/>
        </parameter>
        <parameter name="timestamp" transfer-ownership="none">
          <doc xml:space="preserve">timestamp for which a value should be calculated</doc>
          <type name="ClockTime" c:type="GstClockTime"/>
        </parameter>
        <parameter name="interval" transfer-ownership="none">
          <doc xml:space="preserve">the time spacing between subsequent values</doc>
          <type name="ClockTime" c:type="GstClockTime"/>
        </parameter>
        <parameter name="n_values" transfer-ownership="none">
          <doc xml:space="preserve">the number of values</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
        <parameter name="values" transfer-ownership="none">
          <doc xml:space="preserve">array to put control-values in</doc>
          <type name="gdouble" c:type="gdouble*"/>
        </parameter>
      </parameters>
    </callback>
    <enumeration name="CoreError"
                 glib:type-name="GstCoreError"
                 glib:get-type="gst_core_error_get_type"
                 c:type="GstCoreError"
                 glib:error-domain="gst-core-error-quark">
      <doc xml:space="preserve">Core errors are errors inside the core GStreamer library.</doc>
      <member name="failed"
              value="1"
              c:identifier="GST_CORE_ERROR_FAILED"
              glib:nick="failed">
        <doc xml:space="preserve">a general error which doesn't fit in any other
category.  Make sure you add a custom message to the error call.</doc>
      </member>
      <member name="too_lazy"
              value="2"
              c:identifier="GST_CORE_ERROR_TOO_LAZY"
              glib:nick="too-lazy">
        <doc xml:space="preserve">do not use this except as a placeholder for
deciding where to go while developing code.</doc>
      </member>
      <member name="not_implemented"
              value="3"
              c:identifier="GST_CORE_ERROR_NOT_IMPLEMENTED"
              glib:nick="not-implemented">
        <doc xml:space="preserve">use this when you do not want to implement
this functionality yet.</doc>
      </member>
      <member name="state_change"
              value="4"
              c:identifier="GST_CORE_ERROR_STATE_CHANGE"
              glib:nick="state-change">
        <doc xml:space="preserve">used for state change errors.</doc>
      </member>
      <member name="pad"
              value="5"
              c:identifier="GST_CORE_ERROR_PAD"
              glib:nick="pad">
        <doc xml:space="preserve">used for pad-related errors.</doc>
      </member>
      <member name="thread"
              value="6"
              c:identifier="GST_CORE_ERROR_THREAD"
              glib:nick="thread">
        <doc xml:space="preserve">used for thread-related errors.</doc>
      </member>
      <member name="negotiation"
              value="7"
              c:identifier="GST_CORE_ERROR_NEGOTIATION"
              glib:nick="negotiation">
        <doc xml:space="preserve">used for negotiation-related errors.</doc>
      </member>
      <member name="event"
              value="8"
              c:identifier="GST_CORE_ERROR_EVENT"
              glib:nick="event">
        <doc xml:space="preserve">used for event-related errors.</doc>
      </member>
      <member name="seek"
              value="9"
              c:identifier="GST_CORE_ERROR_SEEK"
              glib:nick="seek">
        <doc xml:space="preserve">used for seek-related errors.</doc>
      </member>
      <member name="caps"
              value="10"
              c:identifier="GST_CORE_ERROR_CAPS"
              glib:nick="caps">
        <doc xml:space="preserve">used for caps-related errors.</doc>
      </member>
      <member name="tag"
              value="11"
              c:identifier="GST_CORE_ERROR_TAG"
              glib:nick="tag">
        <doc xml:space="preserve">used for negotiation-related errors.</doc>
      </member>
      <member name="missing_plugin"
              value="12"
              c:identifier="GST_CORE_ERROR_MISSING_PLUGIN"
              glib:nick="missing-plugin">
        <doc xml:space="preserve">used if a plugin is missing.</doc>
      </member>
      <member name="clock"
              value="13"
              c:identifier="GST_CORE_ERROR_CLOCK"
              glib:nick="clock">
        <doc xml:space="preserve">used for clock related errors.</doc>
      </member>
      <member name="disabled"
              value="14"
              c:identifier="GST_CORE_ERROR_DISABLED"
              glib:nick="disabled">
        <doc xml:space="preserve">used if functionality has been disabled at
                          compile time.</doc>
      </member>
      <member name="num_errors"
              value="15"
              c:identifier="GST_CORE_ERROR_NUM_ERRORS"
              glib:nick="num-errors">
        <doc xml:space="preserve">the number of core error types.</doc>
      </member>
      <function name="quark" c:identifier="gst_core_error_quark">
        <return-value transfer-ownership="none">
          <type name="GLib.Quark" c:type="GQuark"/>
        </return-value>
      </function>
    </enumeration>
    <constant name="DEBUG_BG_MASK" value="240" c:type="GST_DEBUG_BG_MASK">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEBUG_FG_MASK" value="15" c:type="GST_DEBUG_FG_MASK">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEBUG_FORMAT_MASK"
              value="65280"
              c:type="GST_DEBUG_FORMAT_MASK">
      <type name="gint" c:type="gint"/>
    </constant>
    <record name="DateTime"
            c:type="GstDateTime"
            glib:type-name="GstDateTime"
            glib:get-type="gst_date_time_get_type"
            c:symbol-prefix="date_time">
      <doc xml:space="preserve">Struct to store date, time and timezone information altogether.
#GstDateTime is refcounted and immutable.

Date information is handled using the proleptic Gregorian calendar.

Provides basic creation functions and accessor functions to its fields.</doc>
      <constructor name="new" c:identifier="gst_date_time_new">
        <doc xml:space="preserve">Creates a new #GstDateTime using the date and times in the gregorian calendar
in the supplied timezone.

@year should be from 1 to 9999, @month should be from 1 to 12, @day from
1 to 31, @hour from 0 to 23, @minutes and @seconds from 0 to 59.

Note that @tzoffset is a float and was chosen so for being able to handle
some fractional timezones, while it still keeps the readability of
representing it in hours for most timezones.

If value is -1 then all over value will be ignored. For example
if @month == -1, then #GstDateTime will created only for @year. If
@day == -1, then #GstDateTime will created for @year and @month and
so on.

Free-function: gst_date_time_unref</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the newly created #GstDateTime</doc>
          <type name="DateTime" c:type="GstDateTime*"/>
        </return-value>
        <parameters>
          <parameter name="tzoffset" transfer-ownership="none">
            <doc xml:space="preserve">Offset from UTC in hours.</doc>
            <type name="gfloat" c:type="gfloat"/>
          </parameter>
          <parameter name="year" transfer-ownership="none">
            <doc xml:space="preserve">the gregorian year</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="month" transfer-ownership="none">
            <doc xml:space="preserve">the gregorian month</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="day" transfer-ownership="none">
            <doc xml:space="preserve">the day of the gregorian month</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="hour" transfer-ownership="none">
            <doc xml:space="preserve">the hour of the day</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="minute" transfer-ownership="none">
            <doc xml:space="preserve">the minute of the hour</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="seconds" transfer-ownership="none">
            <doc xml:space="preserve">the second of the minute</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_from_g_date_time"
                   c:identifier="gst_date_time_new_from_g_date_time">
        <doc xml:space="preserve">Creates a new #GstDateTime from a #GDateTime object.

Free-function: gst_date_time_unref</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a newly created #GstDateTime,
or %NULL on error</doc>
          <type name="DateTime" c:type="GstDateTime*"/>
        </return-value>
        <parameters>
          <parameter name="dt" transfer-ownership="full">
            <doc xml:space="preserve">the #GDateTime. The new #GstDateTime takes ownership.</doc>
            <type name="GLib.DateTime" c:type="GDateTime*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_from_iso8601_string"
                   c:identifier="gst_date_time_new_from_iso8601_string">
        <doc xml:space="preserve">Tries to parse common variants of ISO-8601 datetime strings into a
#GstDateTime. Possible input formats are (for example):
2012-06-30T22:46:43Z, 2012, 2012-06, 2012-06-30, 2012-06-30T22:46:43-0430,
2012-06-30T22:46Z, 2012-06-30T22:46-0430, 2012-06-30 22:46,
2012-06-30 22:46:43, 2012-06-00, 2012-00-00, 2012-00-30, 22:46:43Z, 22:46Z,
22:46:43-0430, 22:46-0430, 22:46:30, 22:46
If no date is provided, it is assumed to be "today" in the timezone
provided (if any), otherwise UTC.

Free-function: gst_date_time_unref</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a newly created #GstDateTime,
or %NULL on error</doc>
          <type name="DateTime" c:type="GstDateTime*"/>
        </return-value>
        <parameters>
          <parameter name="string" transfer-ownership="none">
            <doc xml:space="preserve">ISO 8601-formatted datetime string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_from_unix_epoch_local_time"
                   c:identifier="gst_date_time_new_from_unix_epoch_local_time">
        <doc xml:space="preserve">Creates a new #GstDateTime using the time since Jan 1, 1970 specified by
@secs. The #GstDateTime is in the local timezone.

Free-function: gst_date_time_unref</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the newly created #GstDateTime</doc>
          <type name="DateTime" c:type="GstDateTime*"/>
        </return-value>
        <parameters>
          <parameter name="secs" transfer-ownership="none">
            <doc xml:space="preserve">seconds from the Unix epoch</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_from_unix_epoch_utc"
                   c:identifier="gst_date_time_new_from_unix_epoch_utc">
        <doc xml:space="preserve">Creates a new #GstDateTime using the time since Jan 1, 1970 specified by
@secs. The #GstDateTime is in the UTC timezone.

Free-function: gst_date_time_unref</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the newly created #GstDateTime</doc>
          <type name="DateTime" c:type="GstDateTime*"/>
        </return-value>
        <parameters>
          <parameter name="secs" transfer-ownership="none">
            <doc xml:space="preserve">seconds from the Unix epoch</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_local_time"
                   c:identifier="gst_date_time_new_local_time">
        <doc xml:space="preserve">Creates a new #GstDateTime using the date and times in the gregorian calendar
in the local timezone.

@year should be from 1 to 9999, @month should be from 1 to 12, @day from
1 to 31, @hour from 0 to 23, @minutes and @seconds from 0 to 59.

If @month is -1, then the #GstDateTime created will only contain @year,
and all other fields will be considered not set.

If @day is -1, then the #GstDateTime created will only contain @year and
@month and all other fields will be considered not set.

If @hour is -1, then the #GstDateTime created will only contain @year and
@month and @day, and the time fields will be considered not set. In this
case @minute and @seconds should also be -1.

Free-function: gst_date_time_unref</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the newly created #GstDateTime</doc>
          <type name="DateTime" c:type="GstDateTime*"/>
        </return-value>
        <parameters>
          <parameter name="year" transfer-ownership="none">
            <doc xml:space="preserve">the gregorian year</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="month" transfer-ownership="none">
            <doc xml:space="preserve">the gregorian month, or -1</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="day" transfer-ownership="none">
            <doc xml:space="preserve">the day of the gregorian month, or -1</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="hour" transfer-ownership="none">
            <doc xml:space="preserve">the hour of the day, or -1</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="minute" transfer-ownership="none">
            <doc xml:space="preserve">the minute of the hour, or -1</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="seconds" transfer-ownership="none">
            <doc xml:space="preserve">the second of the minute, or -1</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_now_local_time"
                   c:identifier="gst_date_time_new_now_local_time">
        <doc xml:space="preserve">Creates a new #GstDateTime representing the current date and time.

Free-function: gst_date_time_unref</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the newly created #GstDateTime which should
    be freed with gst_date_time_unref().</doc>
          <type name="DateTime" c:type="GstDateTime*"/>
        </return-value>
      </constructor>
      <constructor name="new_now_utc" c:identifier="gst_date_time_new_now_utc">
        <doc xml:space="preserve">Creates a new #GstDateTime that represents the current instant at Universal
coordinated time.

Free-function: gst_date_time_unref</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the newly created #GstDateTime which should
  be freed with gst_date_time_unref().</doc>
          <type name="DateTime" c:type="GstDateTime*"/>
        </return-value>
      </constructor>
      <constructor name="new_y" c:identifier="gst_date_time_new_y">
        <doc xml:space="preserve">Creates a new #GstDateTime using the date and times in the gregorian calendar
in the local timezone.

@year should be from 1 to 9999.

Free-function: gst_date_time_unref</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the newly created #GstDateTime</doc>
          <type name="DateTime" c:type="GstDateTime*"/>
        </return-value>
        <parameters>
          <parameter name="year" transfer-ownership="none">
            <doc xml:space="preserve">the gregorian year</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_ym" c:identifier="gst_date_time_new_ym">
        <doc xml:space="preserve">Creates a new #GstDateTime using the date and times in the gregorian calendar
in the local timezone.

@year should be from 1 to 9999, @month should be from 1 to 12.

If value is -1 then all over value will be ignored. For example
if @month == -1, then #GstDateTime will created only for @year.

Free-function: gst_date_time_unref</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the newly created #GstDateTime</doc>
          <type name="DateTime" c:type="GstDateTime*"/>
        </return-value>
        <parameters>
          <parameter name="year" transfer-ownership="none">
            <doc xml:space="preserve">the gregorian year</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="month" transfer-ownership="none">
            <doc xml:space="preserve">the gregorian month</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_ymd" c:identifier="gst_date_time_new_ymd">
        <doc xml:space="preserve">Creates a new #GstDateTime using the date and times in the gregorian calendar
in the local timezone.

@year should be from 1 to 9999, @month should be from 1 to 12, @day from
1 to 31.

If value is -1 then all over value will be ignored. For example
if @month == -1, then #GstDateTime will created only for @year. If
@day == -1, then #GstDateTime will created for @year and @month and
so on.

Free-function: gst_date_time_unref</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the newly created #GstDateTime</doc>
          <type name="DateTime" c:type="GstDateTime*"/>
        </return-value>
        <parameters>
          <parameter name="year" transfer-ownership="none">
            <doc xml:space="preserve">the gregorian year</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="month" transfer-ownership="none">
            <doc xml:space="preserve">the gregorian month</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="day" transfer-ownership="none">
            <doc xml:space="preserve">the day of the gregorian month</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="get_day" c:identifier="gst_date_time_get_day">
        <doc xml:space="preserve">Returns the day of the month of this #GstDateTime.
Call gst_date_time_has_day before, to avoid warnings.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The day of this #GstDateTime</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="datetime" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDateTime</doc>
            <type name="DateTime" c:type="const GstDateTime*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_hour" c:identifier="gst_date_time_get_hour">
        <doc xml:space="preserve">Retrieves the hour of the day represented by @datetime in the gregorian
calendar. The return is in the range of 0 to 23.
Call gst_date_time_has_haur before, to avoid warnings.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the hour of the day</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="datetime" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDateTime</doc>
            <type name="DateTime" c:type="const GstDateTime*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_microsecond"
              c:identifier="gst_date_time_get_microsecond">
        <doc xml:space="preserve">Retrieves the fractional part of the seconds in microseconds represented by
@datetime in the gregorian calendar.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the microsecond of the second</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="datetime" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDateTime</doc>
            <type name="DateTime" c:type="const GstDateTime*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_minute" c:identifier="gst_date_time_get_minute">
        <doc xml:space="preserve">Retrieves the minute of the hour represented by @datetime in the gregorian
calendar.
Call gst_date_time_has_minute before, to avoid warnings.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the minute of the hour</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="datetime" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDateTime</doc>
            <type name="DateTime" c:type="const GstDateTime*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_month" c:identifier="gst_date_time_get_month">
        <doc xml:space="preserve">Returns the month of this #GstDateTime. January is 1, February is 2, etc..
Call gst_date_time_has_month before, to avoid warnings.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The month of this #GstDateTime</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="datetime" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDateTime</doc>
            <type name="DateTime" c:type="const GstDateTime*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_second" c:identifier="gst_date_time_get_second">
        <doc xml:space="preserve">Retrieves the second of the minute represented by @datetime in the gregorian
calendar.
Call gst_date_time_has_second before, to avoid warnings.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the second represented by @datetime</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="datetime" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDateTime</doc>
            <type name="DateTime" c:type="const GstDateTime*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_time_zone_offset"
              c:identifier="gst_date_time_get_time_zone_offset">
        <doc xml:space="preserve">Retrieves the offset from UTC in hours that the timezone specified
by @datetime represents. Timezones ahead (to the east) of UTC have positive
values, timezones before (to the west) of UTC have negative values.
If @datetime represents UTC time, then the offset is zero.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the offset from UTC in hours</doc>
          <type name="gfloat" c:type="gfloat"/>
        </return-value>
        <parameters>
          <instance-parameter name="datetime" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDateTime</doc>
            <type name="DateTime" c:type="const GstDateTime*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_year" c:identifier="gst_date_time_get_year">
        <doc xml:space="preserve">Returns the year of this #GstDateTime
Call gst_date_time_has_year before, to avoid warnings.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The year of this #GstDateTime</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="datetime" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDateTime</doc>
            <type name="DateTime" c:type="const GstDateTime*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_day" c:identifier="gst_date_time_has_day">
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @datetime&lt;!-- --&gt;'s day field is set, otherwise %FALSE</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="datetime" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDateTime</doc>
            <type name="DateTime" c:type="const GstDateTime*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_month" c:identifier="gst_date_time_has_month">
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @datetime&lt;!-- --&gt;'s month field is set, otherwise %FALSE</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="datetime" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDateTime</doc>
            <type name="DateTime" c:type="const GstDateTime*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_second" c:identifier="gst_date_time_has_second">
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @datetime&lt;!-- --&gt;'s second field is set, otherwise %FALSE</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="datetime" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDateTime</doc>
            <type name="DateTime" c:type="const GstDateTime*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_time" c:identifier="gst_date_time_has_time">
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @datetime&lt;!-- --&gt;'s hour and minute fields are set,
    otherwise %FALSE</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="datetime" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDateTime</doc>
            <type name="DateTime" c:type="const GstDateTime*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_year" c:identifier="gst_date_time_has_year">
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @datetime&lt;!-- --&gt;'s year field is set (which should always
    be the case), otherwise %FALSE</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="datetime" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDateTime</doc>
            <type name="DateTime" c:type="const GstDateTime*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="ref" c:identifier="gst_date_time_ref">
        <doc xml:space="preserve">Atomically increments the reference count of @datetime by one.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the reference @datetime</doc>
          <type name="DateTime" c:type="GstDateTime*"/>
        </return-value>
        <parameters>
          <instance-parameter name="datetime" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDateTime</doc>
            <type name="DateTime" c:type="GstDateTime*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="to_g_date_time"
              c:identifier="gst_date_time_to_g_date_time">
        <doc xml:space="preserve">Creates a new #GDateTime from a fully defined #GstDateTime object.

Free-function: g_date_time_unref</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a newly created #GDateTime, or
%NULL on error</doc>
          <type name="GLib.DateTime" c:type="GDateTime*"/>
        </return-value>
        <parameters>
          <instance-parameter name="datetime" transfer-ownership="none">
            <doc xml:space="preserve">GstDateTime.</doc>
            <type name="DateTime" c:type="GstDateTime*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="to_iso8601_string"
              c:identifier="gst_date_time_to_iso8601_string">
        <doc xml:space="preserve">Create a minimal string compatible with ISO-8601. Possible output formats
are (for example): 2012, 2012-06, 2012-06-23, 2012-06-23T23:30Z,
2012-06-23T23:30+0100, 2012-06-23T23:30:59Z, 2012-06-23T23:30:59+0100</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a newly allocated string formatted according
    to ISO 8601 and only including the datetime fields that are
    valid, or %NULL in case there was an error. The string should
    be freed with g_free().</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="datetime" transfer-ownership="none">
            <doc xml:space="preserve">GstDateTime.</doc>
            <type name="DateTime" c:type="GstDateTime*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="unref" c:identifier="gst_date_time_unref">
        <doc xml:space="preserve">Atomically decrements the reference count of @datetime by one.  When the
reference count reaches zero, the structure is freed.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="datetime" transfer-ownership="full">
            <doc xml:space="preserve">a #GstDateTime</doc>
            <type name="DateTime" c:type="GstDateTime*"/>
          </instance-parameter>
        </parameters>
      </method>
    </record>
    <record name="DebugCategory" c:type="GstDebugCategory">
      <doc xml:space="preserve">This is the struct that describes the categories. Once initialized with
#GST_DEBUG_CATEGORY_INIT, its values can't be changed anymore.</doc>
      <field name="threshold" readable="0" private="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="color" readable="0" private="1">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="name" readable="0" private="1">
        <type name="utf8" c:type="const gchar*"/>
      </field>
      <field name="description" readable="0" private="1">
        <type name="utf8" c:type="const gchar*"/>
      </field>
      <method name="free" c:identifier="gst_debug_category_free">
        <doc xml:space="preserve">Removes and frees the category and all associated resources.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve">#GstDebugCategory to free.</doc>
            <type name="DebugCategory" c:type="GstDebugCategory*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_color" c:identifier="gst_debug_category_get_color">
        <doc xml:space="preserve">Returns the color of a debug category used when printing output in this
category.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the color of the category.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDebugCategory to get the color of.</doc>
            <type name="DebugCategory" c:type="GstDebugCategory*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_description"
              c:identifier="gst_debug_category_get_description">
        <doc xml:space="preserve">Returns the description of a debug category.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the description of the category.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDebugCategory to get the description of.</doc>
            <type name="DebugCategory" c:type="GstDebugCategory*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name" c:identifier="gst_debug_category_get_name">
        <doc xml:space="preserve">Returns the name of a debug category.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the name of the category.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDebugCategory to get name of.</doc>
            <type name="DebugCategory" c:type="GstDebugCategory*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_threshold"
              c:identifier="gst_debug_category_get_threshold">
        <doc xml:space="preserve">Returns the threshold of a #GstDebugCategory.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #GstDebugLevel that is used as threshold.</doc>
          <type name="DebugLevel" c:type="GstDebugLevel"/>
        </return-value>
        <parameters>
          <instance-parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDebugCategory to get threshold of.</doc>
            <type name="DebugCategory" c:type="GstDebugCategory*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="reset_threshold"
              c:identifier="gst_debug_category_reset_threshold">
        <doc xml:space="preserve">Resets the threshold of the category to the default level. Debug information
will only be output if the threshold is lower or equal to the level of the
debugging message.
Use this function to set the threshold back to where it was after using
gst_debug_category_set_threshold().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDebugCategory to reset threshold of.</doc>
            <type name="DebugCategory" c:type="GstDebugCategory*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_threshold"
              c:identifier="gst_debug_category_set_threshold">
        <doc xml:space="preserve">Sets the threshold of the category to the given level. Debug information will
only be output if the threshold is lower or equal to the level of the
debugging message.
&gt; Do not use this function in production code, because other functions may
&gt; change the threshold of categories as side effect. It is however a nice
&gt; function to use when debugging (even from gdb).</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDebugCategory to set threshold of.</doc>
            <type name="DebugCategory" c:type="GstDebugCategory*"/>
          </instance-parameter>
          <parameter name="level" transfer-ownership="none">
            <doc xml:space="preserve">the #GstDebugLevel threshold to set.</doc>
            <type name="DebugLevel" c:type="GstDebugLevel"/>
          </parameter>
        </parameters>
      </method>
    </record>
    <bitfield name="DebugColorFlags"
              glib:type-name="GstDebugColorFlags"
              glib:get-type="gst_debug_color_flags_get_type"
              c:type="GstDebugColorFlags">
      <doc xml:space="preserve">These are some terminal style flags you can use when creating your
debugging categories to make them stand out in debugging output.</doc>
      <member name="fg_black"
              value="0"
              c:identifier="GST_DEBUG_FG_BLACK"
              glib:nick="fg-black">
        <doc xml:space="preserve">Use black as foreground color.</doc>
      </member>
      <member name="fg_red"
              value="1"
              c:identifier="GST_DEBUG_FG_RED"
              glib:nick="fg-red">
        <doc xml:space="preserve">Use red as foreground color.</doc>
      </member>
      <member name="fg_green"
              value="2"
              c:identifier="GST_DEBUG_FG_GREEN"
              glib:nick="fg-green">
        <doc xml:space="preserve">Use green as foreground color.</doc>
      </member>
      <member name="fg_yellow"
              value="3"
              c:identifier="GST_DEBUG_FG_YELLOW"
              glib:nick="fg-yellow">
        <doc xml:space="preserve">Use yellow as foreground color.</doc>
      </member>
      <member name="fg_blue"
              value="4"
              c:identifier="GST_DEBUG_FG_BLUE"
              glib:nick="fg-blue">
        <doc xml:space="preserve">Use blue as foreground color.</doc>
      </member>
      <member name="fg_magenta"
              value="5"
              c:identifier="GST_DEBUG_FG_MAGENTA"
              glib:nick="fg-magenta">
        <doc xml:space="preserve">Use magenta as foreground color.</doc>
      </member>
      <member name="fg_cyan"
              value="6"
              c:identifier="GST_DEBUG_FG_CYAN"
              glib:nick="fg-cyan">
        <doc xml:space="preserve">Use cyan as foreground color.</doc>
      </member>
      <member name="fg_white"
              value="7"
              c:identifier="GST_DEBUG_FG_WHITE"
              glib:nick="fg-white">
        <doc xml:space="preserve">Use white as foreground color.</doc>
      </member>
      <member name="bg_black"
              value="0"
              c:identifier="GST_DEBUG_BG_BLACK"
              glib:nick="bg-black">
        <doc xml:space="preserve">Use black as background color.</doc>
      </member>
      <member name="bg_red"
              value="16"
              c:identifier="GST_DEBUG_BG_RED"
              glib:nick="bg-red">
        <doc xml:space="preserve">Use red as background color.</doc>
      </member>
      <member name="bg_green"
              value="32"
              c:identifier="GST_DEBUG_BG_GREEN"
              glib:nick="bg-green">
        <doc xml:space="preserve">Use green as background color.</doc>
      </member>
      <member name="bg_yellow"
              value="48"
              c:identifier="GST_DEBUG_BG_YELLOW"
              glib:nick="bg-yellow">
        <doc xml:space="preserve">Use yellow as background color.</doc>
      </member>
      <member name="bg_blue"
              value="64"
              c:identifier="GST_DEBUG_BG_BLUE"
              glib:nick="bg-blue">
        <doc xml:space="preserve">Use blue as background color.</doc>
      </member>
      <member name="bg_magenta"
              value="80"
              c:identifier="GST_DEBUG_BG_MAGENTA"
              glib:nick="bg-magenta">
        <doc xml:space="preserve">Use magenta as background color.</doc>
      </member>
      <member name="bg_cyan"
              value="96"
              c:identifier="GST_DEBUG_BG_CYAN"
              glib:nick="bg-cyan">
        <doc xml:space="preserve">Use cyan as background color.</doc>
      </member>
      <member name="bg_white"
              value="112"
              c:identifier="GST_DEBUG_BG_WHITE"
              glib:nick="bg-white">
        <doc xml:space="preserve">Use white as background color.</doc>
      </member>
      <member name="bold"
              value="256"
              c:identifier="GST_DEBUG_BOLD"
              glib:nick="bold">
        <doc xml:space="preserve">Make the output bold.</doc>
      </member>
      <member name="underline"
              value="512"
              c:identifier="GST_DEBUG_UNDERLINE"
              glib:nick="underline">
        <doc xml:space="preserve">Underline the output.</doc>
      </member>
    </bitfield>
    <enumeration name="DebugColorMode"
                 glib:type-name="GstDebugColorMode"
                 glib:get-type="gst_debug_color_mode_get_type"
                 c:type="GstDebugColorMode">
      <member name="off"
              value="0"
              c:identifier="GST_DEBUG_COLOR_MODE_OFF"
              glib:nick="off">
        <doc xml:space="preserve">Do not use colors in logs.</doc>
      </member>
      <member name="on"
              value="1"
              c:identifier="GST_DEBUG_COLOR_MODE_ON"
              glib:nick="on">
        <doc xml:space="preserve">Paint logs in a platform-specific way.</doc>
      </member>
      <member name="unix"
              value="2"
              c:identifier="GST_DEBUG_COLOR_MODE_UNIX"
              glib:nick="unix">
        <doc xml:space="preserve">Paint logs with UNIX terminal color codes
                            no matter what platform GStreamer is running on.</doc>
      </member>
    </enumeration>
    <callback name="DebugFuncPtr" c:type="GstDebugFuncPtr">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
    </callback>
    <bitfield name="DebugGraphDetails"
              glib:type-name="GstDebugGraphDetails"
              glib:get-type="gst_debug_graph_details_get_type"
              c:type="GstDebugGraphDetails">
      <doc xml:space="preserve">Available details for pipeline graphs produced by GST_DEBUG_BIN_TO_DOT_FILE()
and GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS().</doc>
      <member name="media_type"
              value="1"
              c:identifier="GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE"
              glib:nick="media-type">
        <doc xml:space="preserve">show caps-name on edges</doc>
      </member>
      <member name="caps_details"
              value="2"
              c:identifier="GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS"
              glib:nick="caps-details">
        <doc xml:space="preserve">show caps-details on edges</doc>
      </member>
      <member name="non_default_params"
              value="4"
              c:identifier="GST_DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS"
              glib:nick="non-default-params">
        <doc xml:space="preserve">show modified parameters on
                                          elements</doc>
      </member>
      <member name="states"
              value="8"
              c:identifier="GST_DEBUG_GRAPH_SHOW_STATES"
              glib:nick="states">
        <doc xml:space="preserve">show element states</doc>
      </member>
      <member name="full_params"
              value="16"
              c:identifier="GST_DEBUG_GRAPH_SHOW_FULL_PARAMS"
              glib:nick="full-params">
        <doc xml:space="preserve">show full element parameter values even
                                   if they are very long</doc>
      </member>
      <member name="all"
              value="15"
              c:identifier="GST_DEBUG_GRAPH_SHOW_ALL"
              glib:nick="all">
        <doc xml:space="preserve">show all the typical details that one might want</doc>
      </member>
      <member name="verbose"
              value="-1"
              c:identifier="GST_DEBUG_GRAPH_SHOW_VERBOSE"
              glib:nick="verbose">
        <doc xml:space="preserve">show all details regardless of how large or
                               verbose they make the resulting output</doc>
      </member>
    </bitfield>
    <enumeration name="DebugLevel"
                 glib:type-name="GstDebugLevel"
                 glib:get-type="gst_debug_level_get_type"
                 c:type="GstDebugLevel">
      <doc xml:space="preserve">The level defines the importance of a debugging message. The more important a
message is, the greater the probability that the debugging system outputs it.</doc>
      <member name="none"
              value="0"
              c:identifier="GST_LEVEL_NONE"
              glib:nick="none">
        <doc xml:space="preserve">No debugging level specified or desired. Used to deactivate
 debugging output.</doc>
      </member>
      <member name="error"
              value="1"
              c:identifier="GST_LEVEL_ERROR"
              glib:nick="error">
        <doc xml:space="preserve">Error messages are to be used only when an error occurred
 that stops the application from keeping working correctly.
 An examples is gst_element_error, which outputs a message with this priority.
 It does not mean that the application is terminating as with g_error.</doc>
      </member>
      <member name="warning"
              value="2"
              c:identifier="GST_LEVEL_WARNING"
              glib:nick="warning">
        <doc xml:space="preserve">Warning messages are to inform about abnormal behaviour
 that could lead to problems or weird behaviour later on. An example of this
 would be clocking issues ("your computer is pretty slow") or broken input
 data ("Can't synchronize to stream.")</doc>
      </member>
      <member name="fixme"
              value="3"
              c:identifier="GST_LEVEL_FIXME"
              glib:nick="fixme">
        <doc xml:space="preserve">Fixme messages are messages that indicate that something
 in the executed code path is not fully implemented or handled yet. Note
 that this does not replace proper error handling in any way, the purpose
 of this message is to make it easier to spot incomplete/unfinished pieces
 of code when reading the debug log.</doc>
      </member>
      <member name="info"
              value="4"
              c:identifier="GST_LEVEL_INFO"
              glib:nick="info">
        <doc xml:space="preserve">Informational messages should be used to keep the developer
 updated about what is happening.
 Examples where this should be used are when a typefind function has
 successfully determined the type of the stream or when an mp3 plugin detects
 the format to be used. ("This file has mono sound.")</doc>
      </member>
      <member name="debug"
              value="5"
              c:identifier="GST_LEVEL_DEBUG"
              glib:nick="debug">
        <doc xml:space="preserve">Debugging messages should be used when something common
 happens that is not the expected default behavior, or something that's
 useful to know but doesn't happen all the time (ie. per loop iteration or
 buffer processed or event handled).
 An example would be notifications about state changes or receiving/sending
 of events.</doc>
      </member>
      <member name="log"
              value="6"
              c:identifier="GST_LEVEL_LOG"
              glib:nick="log">
        <doc xml:space="preserve">Log messages are messages that are very common but might be
 useful to know. As a rule of thumb a pipeline that is running as expected
 should never output anything else but LOG messages whilst processing data.
 Use this log level to log recurring information in chain functions and
 loop functions, for example.</doc>
      </member>
      <member name="trace"
              value="7"
              c:identifier="GST_LEVEL_TRACE"
              glib:nick="trace">
        <doc xml:space="preserve">Tracing-related messages.
 Examples for this are referencing/dereferencing of objects.</doc>
      </member>
      <member name="memdump"
              value="9"
              c:identifier="GST_LEVEL_MEMDUMP"
              glib:nick="memdump">
        <doc xml:space="preserve">memory dump messages are used to log (small) chunks of
 data as memory dumps in the log. They will be displayed as hexdump with
 ASCII characters.</doc>
      </member>
      <member name="count"
              value="10"
              c:identifier="GST_LEVEL_COUNT"
              glib:nick="count">
        <doc xml:space="preserve">The number of defined debugging levels.</doc>
      </member>
      <function name="get_name" c:identifier="gst_debug_level_get_name">
        <doc xml:space="preserve">Get the string representation of a debugging level</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the name</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="level" transfer-ownership="none">
            <doc xml:space="preserve">the level to get the name for</doc>
            <type name="DebugLevel" c:type="GstDebugLevel"/>
          </parameter>
        </parameters>
      </function>
    </enumeration>
    <record name="DebugMessage" c:type="GstDebugMessage" disguised="1">
      <method name="get" c:identifier="gst_debug_message_get">
        <doc xml:space="preserve">Gets the string representation of a #GstDebugMessage. This function is used
in debug handlers to extract the message.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">the string representation of a #GstDebugMessage.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">a debug message</doc>
            <type name="DebugMessage" c:type="GstDebugMessage*"/>
          </instance-parameter>
        </parameters>
      </method>
    </record>
    <class name="Device"
           c:symbol-prefix="device"
           c:type="GstDevice"
           version="1.4"
           parent="Object"
           abstract="1"
           glib:type-name="GstDevice"
           glib:get-type="gst_device_get_type"
           glib:type-struct="DeviceClass">
      <doc xml:space="preserve">#GstDevice are objects representing a device, they contain
relevant metadata about the device, such as its class and the #GstCaps
representing the media types it can produce or handle.

#GstDevice are created by #GstDeviceProvider objects which can be
aggregated by #GstDeviceMonitor objects.</doc>
      <virtual-method name="create_element"
                      invoker="create_element"
                      version="1.4">
        <doc xml:space="preserve">Creates the element with all of the required parameters set to use
this device.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a new #GstElement configured to use
this device</doc>
          <type name="Element" c:type="GstElement*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDevice</doc>
            <type name="Device" c:type="GstDevice*"/>
          </instance-parameter>
          <parameter name="name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">name of new element, or %NULL to automatically
create a unique name.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="reconfigure_element"
                      invoker="reconfigure_element"
                      version="1.4">
        <doc xml:space="preserve">Tries to reconfigure an existing element to use the device. If this
function fails, then one must destroy the element and create a new one
using gst_device_create_element().

Note: This should only be implemented for elements can change their
device in the PLAYING state.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the element could be reconfigured to use this device,
%FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDevice</doc>
            <type name="Device" c:type="GstDevice*"/>
          </instance-parameter>
          <parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement</doc>
            <type name="Element" c:type="GstElement*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="create_element"
              c:identifier="gst_device_create_element"
              version="1.4">
        <doc xml:space="preserve">Creates the element with all of the required parameters set to use
this device.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a new #GstElement configured to use
this device</doc>
          <type name="Element" c:type="GstElement*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDevice</doc>
            <type name="Device" c:type="GstDevice*"/>
          </instance-parameter>
          <parameter name="name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">name of new element, or %NULL to automatically
create a unique name.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_caps" c:identifier="gst_device_get_caps" version="1.4">
        <doc xml:space="preserve">Getter for the #GstCaps that this device supports.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">The #GstCaps supported by this device. Unref with
gst_caps_unref() when done.</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDevice</doc>
            <type name="Device" c:type="GstDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_device_class"
              c:identifier="gst_device_get_device_class"
              version="1.4">
        <doc xml:space="preserve">Gets the "class" of a device. This is a "/" separated list of
classes that represent this device. They are a subset of the
classes of the #GstDeviceProvider that produced this device.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The device class. Free with g_free() after use.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDevice</doc>
            <type name="Device" c:type="GstDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_display_name"
              c:identifier="gst_device_get_display_name"
              version="1.4">
        <doc xml:space="preserve">Gets the user-friendly name of the device.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The device name. Free with g_free() after use.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDevice</doc>
            <type name="Device" c:type="GstDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_properties"
              c:identifier="gst_device_get_properties"
              version="1.6">
        <doc xml:space="preserve">Gets the extra properties of a device.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">The extra properties or %NULL when there are none.
         Free with gst_structure_free() after use.</doc>
          <type name="Structure" c:type="GstStructure*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDevice</doc>
            <type name="Device" c:type="GstDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_classes"
              c:identifier="gst_device_has_classes"
              version="1.4">
        <doc xml:space="preserve">Check if @device matches all of the given classes</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @device matches.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDevice</doc>
            <type name="Device" c:type="GstDevice*"/>
          </instance-parameter>
          <parameter name="classes" transfer-ownership="none">
            <doc xml:space="preserve">a "/"-separated list of device classes to match, only match if
 all classes are matched</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="has_classesv"
              c:identifier="gst_device_has_classesv"
              version="1.4">
        <doc xml:space="preserve">Check if @factory matches all of the given classes</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @device matches.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDevice</doc>
            <type name="Device" c:type="GstDevice*"/>
          </instance-parameter>
          <parameter name="classes" transfer-ownership="none">
            <doc xml:space="preserve">a %NULL terminated array of classes
  to match, only match if all classes are matched</doc>
            <array c:type="gchar**">
              <type name="utf8" c:type="gchar*"/>
            </array>
          </parameter>
        </parameters>
      </method>
      <method name="reconfigure_element"
              c:identifier="gst_device_reconfigure_element"
              version="1.4">
        <doc xml:space="preserve">Tries to reconfigure an existing element to use the device. If this
function fails, then one must destroy the element and create a new one
using gst_device_create_element().

Note: This should only be implemented for elements can change their
device in the PLAYING state.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the element could be reconfigured to use this device,
%FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDevice</doc>
            <type name="Device" c:type="GstDevice*"/>
          </instance-parameter>
          <parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement</doc>
            <type name="Element" c:type="GstElement*"/>
          </parameter>
        </parameters>
      </method>
      <property name="caps"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="Caps"/>
      </property>
      <property name="device-class"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="display-name"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="properties"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="Structure"/>
      </property>
      <field name="parent">
        <doc xml:space="preserve">The parent #GstObject strucuture.</doc>
        <type name="Object" c:type="GstObject"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="DevicePrivate" c:type="GstDevicePrivate*"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
      <glib:signal name="removed" when="last">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
    </class>
    <record name="DeviceClass"
            c:type="GstDeviceClass"
            glib:is-gtype-struct-for="Device"
            version="1.4">
      <doc xml:space="preserve">The class structure for a #GstDevice object.</doc>
      <field name="parent_class">
        <doc xml:space="preserve">The parent #GstObjectClass strucuture.</doc>
        <type name="ObjectClass" c:type="GstObjectClass"/>
      </field>
      <field name="create_element">
        <callback name="create_element">
          <return-value transfer-ownership="full" nullable="1">
            <doc xml:space="preserve">a new #GstElement configured to use
this device</doc>
            <type name="Element" c:type="GstElement*"/>
          </return-value>
          <parameters>
            <parameter name="device" transfer-ownership="none">
              <doc xml:space="preserve">a #GstDevice</doc>
              <type name="Device" c:type="GstDevice*"/>
            </parameter>
            <parameter name="name"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve">name of new element, or %NULL to automatically
create a unique name.</doc>
              <type name="utf8" c:type="const gchar*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="reconfigure_element">
        <callback name="reconfigure_element">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">%TRUE if the element could be reconfigured to use this device,
%FALSE otherwise.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="device" transfer-ownership="none">
              <doc xml:space="preserve">a #GstDevice</doc>
              <type name="Device" c:type="GstDevice*"/>
            </parameter>
            <parameter name="element" transfer-ownership="none">
              <doc xml:space="preserve">a #GstElement</doc>
              <type name="Element" c:type="GstElement*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <class name="DeviceMonitor"
           c:symbol-prefix="device_monitor"
           c:type="GstDeviceMonitor"
           version="1.4"
           parent="Object"
           glib:type-name="GstDeviceMonitor"
           glib:get-type="gst_device_monitor_get_type"
           glib:type-struct="DeviceMonitorClass">
      <doc xml:space="preserve">Applications should create a #GstDeviceMonitor when they want
to probe, list and monitor devices of a specific type. The
#GstDeviceMonitor will create the appropriate
#GstDeviceProvider objects and manage them. It will then post
messages on its #GstBus for devices that have been added and
removed.

The device monitor will monitor all devices matching the filters that
the application has set.

The basic use pattern of a device monitor is as follows:
|[
  static gboolean
  my_bus_func (GstBus * bus, GstMessage * message, gpointer user_data)
  {
     GstDevice *device;
     gchar *name;

     switch (GST_MESSAGE_TYPE (message)) {
       case GST_MESSAGE_DEVICE_ADDED:
         gst_message_parse_device_added (message, &amp;device);
         name = gst_device_get_display_name (device);
         g_print("Device added: %s\n", name);
         g_free (name);
         gst_object_unref (device);
         break;
       case GST_MESSAGE_DEVICE_REMOVED:
         gst_message_parse_device_removed (message, &amp;device);
         name = gst_device_get_display_name (device);
         g_print("Device removed: %s\n", name);
         g_free (name);
         gst_object_unref (device);
         break;
       default:
         break;
     }

     return G_SOURCE_CONTINUE;
  }

  GstDeviceMonitor *
  setup_raw_video_source_device_monitor (void) {
     GstDeviceMonitor *monitor;
     GstBus *bus;
     GstCaps *caps;

     monitor = gst_device_monitor_new ();

     bus = gst_device_monitor_get_bus (monitor);
     gst_bus_add_watch (bus, my_bus_func, NULL);
     gst_object_unref (bus);

     caps = gst_caps_new_empty_simple ("video/x-raw");
     gst_device_monitor_add_filter (monitor, "Video/Source", caps);
     gst_caps_unref (caps);

     gst_device_monitor_start (monitor);

     return monitor;
  }
]|</doc>
      <constructor name="new"
                   c:identifier="gst_device_monitor_new"
                   version="1.4">
        <doc xml:space="preserve">Create a new #GstDeviceMonitor</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new device monitor.</doc>
          <type name="DeviceMonitor" c:type="GstDeviceMonitor*"/>
        </return-value>
      </constructor>
      <method name="add_filter"
              c:identifier="gst_device_monitor_add_filter"
              version="1.4">
        <doc xml:space="preserve">Adds a filter for which #GstDevice will be monitored, any device that matches
all these classes and the #GstCaps will be returned.

If this function is called multiple times to add more filters, each will be
matched independently. That is, adding more filters will not further restrict
what devices are matched.

The #GstCaps supported by the device as returned by gst_device_get_caps() are
not intersected with caps filters added using this function.

Filters must be added before the #GstDeviceMonitor is started.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The id of the new filter or 0 if no provider matched the filter's
 classes.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="monitor" transfer-ownership="none">
            <doc xml:space="preserve">a device monitor</doc>
            <type name="DeviceMonitor" c:type="GstDeviceMonitor*"/>
          </instance-parameter>
          <parameter name="classes"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">device classes to use as filter or %NULL for any class</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="caps"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the #GstCaps to filter or %NULL for ANY</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_bus"
              c:identifier="gst_device_monitor_get_bus"
              version="1.4">
        <doc xml:space="preserve">Gets the #GstBus of this #GstDeviceMonitor</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GstBus</doc>
          <type name="Bus" c:type="GstBus*"/>
        </return-value>
        <parameters>
          <instance-parameter name="monitor" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDeviceProvider</doc>
            <type name="DeviceMonitor" c:type="GstDeviceMonitor*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_devices"
              c:identifier="gst_device_monitor_get_devices"
              version="1.4">
        <doc xml:space="preserve">Gets a list of devices from all of the relevant monitors. This may actually
probe the hardware if the monitor is not currently started.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a #GList of
  #GstDevice</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="Device"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="monitor" transfer-ownership="none">
            <doc xml:space="preserve">A #GstDeviceProvider</doc>
            <type name="DeviceMonitor" c:type="GstDeviceMonitor*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_providers"
              c:identifier="gst_device_monitor_get_providers"
              version="1.6">
        <doc xml:space="preserve">Get a list of the currently selected device provider factories.

This</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">
    A list of device provider factory names that are currently being
    monitored by @monitor or %NULL when nothing is being monitored.</doc>
          <array c:type="gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="monitor" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDeviceMonitor</doc>
            <type name="DeviceMonitor" c:type="GstDeviceMonitor*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_show_all_devices"
              c:identifier="gst_device_monitor_get_show_all_devices"
              version="1.6">
        <doc xml:space="preserve">Get if @monitor is curretly showing all devices, even those from hidden
providers.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE when all devices will be shown.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="monitor" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDeviceMonitor</doc>
            <type name="DeviceMonitor" c:type="GstDeviceMonitor*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="remove_filter"
              c:identifier="gst_device_monitor_remove_filter"
              version="1.4">
        <doc xml:space="preserve">Removes a filter from the #GstDeviceMonitor using the id that was returned
by gst_device_monitor_add_filter().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE of the filter id was valid, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="monitor" transfer-ownership="none">
            <doc xml:space="preserve">a device monitor</doc>
            <type name="DeviceMonitor" c:type="GstDeviceMonitor*"/>
          </instance-parameter>
          <parameter name="filter_id" transfer-ownership="none">
            <doc xml:space="preserve">the id of the filter</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_show_all_devices"
              c:identifier="gst_device_monitor_set_show_all_devices"
              version="1.6">
        <doc xml:space="preserve">Set if all devices should be visible, even those devices from hidden
providers. Setting @show_all to true might show some devices multiple times.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="monitor" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDeviceMonitor</doc>
            <type name="DeviceMonitor" c:type="GstDeviceMonitor*"/>
          </instance-parameter>
          <parameter name="show_all" transfer-ownership="none">
            <doc xml:space="preserve">show all devices</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="start"
              c:identifier="gst_device_monitor_start"
              version="1.4">
        <doc xml:space="preserve">Starts monitoring the devices, one this has succeeded, the
%GST_MESSAGE_DEVICE_ADDED and %GST_MESSAGE_DEVICE_REMOVED messages
will be emitted on the bus when the list of devices changes.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the device monitoring could be started</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="monitor" transfer-ownership="none">
            <doc xml:space="preserve">A #GstDeviceMonitor</doc>
            <type name="DeviceMonitor" c:type="GstDeviceMonitor*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="stop" c:identifier="gst_device_monitor_stop" version="1.4">
        <doc xml:space="preserve">Stops monitoring the devices.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="monitor" transfer-ownership="none">
            <doc xml:space="preserve">A #GstDeviceProvider</doc>
            <type name="DeviceMonitor" c:type="GstDeviceMonitor*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="show-all" writable="1" transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <field name="parent">
        <doc xml:space="preserve">the parent #GstObject structure</doc>
        <type name="Object" c:type="GstObject"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="DeviceMonitorPrivate" c:type="GstDeviceMonitorPrivate*"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </class>
    <record name="DeviceMonitorClass"
            c:type="GstDeviceMonitorClass"
            glib:is-gtype-struct-for="DeviceMonitor"
            version="1.4">
      <doc xml:space="preserve">Opaque device monitor class structure.</doc>
      <field name="parent_class">
        <doc xml:space="preserve">the parent #GstObjectClass structure</doc>
        <type name="ObjectClass" c:type="GstObjectClass"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="DeviceMonitorPrivate"
            c:type="GstDeviceMonitorPrivate"
            disguised="1">
    </record>
    <record name="DevicePrivate" c:type="GstDevicePrivate" disguised="1">
    </record>
    <class name="DeviceProvider"
           c:symbol-prefix="device_provider"
           c:type="GstDeviceProvider"
           version="1.4"
           parent="Object"
           abstract="1"
           glib:type-name="GstDeviceProvider"
           glib:get-type="gst_device_provider_get_type"
           glib:type-struct="DeviceProviderClass">
      <doc xml:space="preserve">A #GstDeviceProvider subclass is provided by a plugin that handles devices
if there is a way to programatically list connected devices. It can also
optionally provide updates to the list of connected devices.

Each #GstDeviceProvider subclass is a singleton, a plugin should
normally provide a single subclass for all devices.

Applications would normally use a #GstDeviceMonitor to monitor devices
from all relevant providers.</doc>
      <function name="register"
                c:identifier="gst_device_provider_register"
                version="1.4">
        <doc xml:space="preserve">Create a new device providerfactory capable of instantiating objects of the
@type and add the factory to @plugin.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if the registering succeeded, %FALSE on error</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="plugin"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">#GstPlugin to register the device provider with, or %NULL for
    a static device provider.</doc>
            <type name="Plugin" c:type="GstPlugin*"/>
          </parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">name of device providers of this type</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="rank" transfer-ownership="none">
            <doc xml:space="preserve">rank of device provider (higher rank means more importance when autoplugging)</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">GType of device provider to register</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
        </parameters>
      </function>
      <virtual-method name="probe" introspectable="0">
        <return-value>
          <type name="GLib.List" c:type="GList*">
            <type name="gpointer" c:type="gpointer"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <type name="DeviceProvider" c:type="GstDeviceProvider*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="start" invoker="start" version="1.4">
        <doc xml:space="preserve">Starts providering the devices. This will cause #GST_MESSAGE_DEVICE_ADDED
and #GST_MESSAGE_DEVICE_REMOVED messages to be posted on the provider's bus
when devices are added or removed from the system.

Since the #GstDeviceProvider is a singleton,
gst_device_provider_start() may already have been called by another
user of the object, gst_device_provider_stop() needs to be called the same
number of times.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the device providering could be started</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve">A #GstDeviceProvider</doc>
            <type name="DeviceProvider" c:type="GstDeviceProvider*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="stop" invoker="stop" version="1.4">
        <doc xml:space="preserve">Decreases the use-count by one. If the use count reaches zero, this
#GstDeviceProvider will stop providering the devices. This needs to be
called the same number of times that gst_device_provider_start() was called.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve">A #GstDeviceProvider</doc>
            <type name="DeviceProvider" c:type="GstDeviceProvider*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <method name="can_monitor"
              c:identifier="gst_device_provider_can_monitor">
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <type name="DeviceProvider" c:type="GstDeviceProvider*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="device_add"
              c:identifier="gst_device_provider_device_add"
              version="1.4">
        <doc xml:space="preserve">Posts a message on the provider's #GstBus to inform applications that
a new device has been added.

This is for use by subclasses.

@device's reference count will be incremented, and any floating reference
will be removed (see gst_object_ref_sink()).</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDeviceProvider</doc>
            <type name="DeviceProvider" c:type="GstDeviceProvider*"/>
          </instance-parameter>
          <parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDevice that has been added</doc>
            <type name="Device" c:type="GstDevice*"/>
          </parameter>
        </parameters>
      </method>
      <method name="device_remove"
              c:identifier="gst_device_provider_device_remove"
              version="1.4">
        <doc xml:space="preserve">Posts a message on the provider's #GstBus to inform applications that
a device has been removed.

This is for use by subclasses.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDeviceProvider</doc>
            <type name="DeviceProvider" c:type="GstDeviceProvider*"/>
          </instance-parameter>
          <parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDevice that has been removed</doc>
            <type name="Device" c:type="GstDevice*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_bus"
              c:identifier="gst_device_provider_get_bus"
              version="1.4">
        <doc xml:space="preserve">Gets the #GstBus of this #GstDeviceProvider</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GstBus</doc>
          <type name="Bus" c:type="GstBus*"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDeviceProvider</doc>
            <type name="DeviceProvider" c:type="GstDeviceProvider*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_devices"
              c:identifier="gst_device_provider_get_devices"
              version="1.4">
        <doc xml:space="preserve">Gets a list of devices that this provider understands. This may actually
probe the hardware if the provider is not currently started.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GList of
  #GstDevice</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="Device"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve">A #GstDeviceProvider</doc>
            <type name="DeviceProvider" c:type="GstDeviceProvider*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_factory"
              c:identifier="gst_device_provider_get_factory"
              version="1.4">
        <doc xml:space="preserve">Retrieves the factory that was used to create this device provider.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #GstDeviceProviderFactory used for
    creating this device provider. no refcounting is needed.</doc>
          <type name="DeviceProviderFactory"
                c:type="GstDeviceProviderFactory*"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDeviceProvider to request the device provider factory of.</doc>
            <type name="DeviceProvider" c:type="GstDeviceProvider*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_hidden_providers"
              c:identifier="gst_device_provider_get_hidden_providers"
              version="1.6">
        <doc xml:space="preserve">Get the provider factory names of the #GstDeviceProvider instances that
are hidden by @provider.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">
  a list of hidden providers factory names or %NULL when
  nothing is hidden by @provider. Free with g_strfreev.</doc>
          <array c:type="gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDeviceProvider</doc>
            <type name="DeviceProvider" c:type="GstDeviceProvider*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_metadata"
              c:identifier="gst_device_provider_get_metadata"
              version="1.14">
        <doc xml:space="preserve">Get metadata with @key in @provider.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the metadata for @key.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve">provider to get metadata for</doc>
            <type name="DeviceProvider" c:type="GstDeviceProvider*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve">the key to get</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="hide_provider"
              c:identifier="gst_device_provider_hide_provider"
              version="1.6">
        <doc xml:space="preserve">Make @provider hide the devices from the factory with @name.

This function is used when @provider will also provide the devices reported
by provider factory @name. A monitor should stop monitoring the
device provider with @name to avoid duplicate devices.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDeviceProvider</doc>
            <type name="DeviceProvider" c:type="GstDeviceProvider*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">a provider factory name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="start"
              c:identifier="gst_device_provider_start"
              version="1.4">
        <doc xml:space="preserve">Starts providering the devices. This will cause #GST_MESSAGE_DEVICE_ADDED
and #GST_MESSAGE_DEVICE_REMOVED messages to be posted on the provider's bus
when devices are added or removed from the system.

Since the #GstDeviceProvider is a singleton,
gst_device_provider_start() may already have been called by another
user of the object, gst_device_provider_stop() needs to be called the same
number of times.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the device providering could be started</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve">A #GstDeviceProvider</doc>
            <type name="DeviceProvider" c:type="GstDeviceProvider*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="stop"
              c:identifier="gst_device_provider_stop"
              version="1.4">
        <doc xml:space="preserve">Decreases the use-count by one. If the use count reaches zero, this
#GstDeviceProvider will stop providering the devices. This needs to be
called the same number of times that gst_device_provider_start() was called.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve">A #GstDeviceProvider</doc>
            <type name="DeviceProvider" c:type="GstDeviceProvider*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="unhide_provider"
              c:identifier="gst_device_provider_unhide_provider"
              version="1.6">
        <doc xml:space="preserve">Make @provider unhide the devices from factory @name.

This function is used when @provider will no longer provide the devices
reported by provider factory @name. A monitor should start
monitoring the devices from provider factory @name in order to see
all devices again.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDeviceProvider</doc>
            <type name="DeviceProvider" c:type="GstDeviceProvider*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">a provider factory name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent">
        <doc xml:space="preserve">The parent #GstObject</doc>
        <type name="Object" c:type="GstObject"/>
      </field>
      <field name="devices">
        <doc xml:space="preserve">a #GList of the #GstDevice objects</doc>
        <type name="GLib.List" c:type="GList*">
          <type name="gpointer" c:type="gpointer"/>
        </type>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="DeviceProviderPrivate" c:type="GstDeviceProviderPrivate*"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
      <glib:signal name="provider-hidden" when="first">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="object" transfer-ownership="none">
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="provider-unhidden" when="first">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="object" transfer-ownership="none">
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="DeviceProviderClass"
            c:type="GstDeviceProviderClass"
            glib:is-gtype-struct-for="DeviceProvider"
            version="1.4">
      <doc xml:space="preserve">The structure of the base #GstDeviceProviderClass</doc>
      <field name="parent_class">
        <doc xml:space="preserve">the parent #GstObjectClass structure</doc>
        <type name="ObjectClass" c:type="GstObjectClass"/>
      </field>
      <field name="factory">
        <doc xml:space="preserve">a pointer to the #GstDeviceProviderFactory that creates this
 provider</doc>
        <type name="DeviceProviderFactory" c:type="GstDeviceProviderFactory*"/>
      </field>
      <field name="probe" introspectable="0">
        <callback name="probe" introspectable="0">
          <return-value>
            <type name="GLib.List" c:type="GList*">
              <type name="gpointer" c:type="gpointer"/>
            </type>
          </return-value>
          <parameters>
            <parameter name="provider" transfer-ownership="none">
              <type name="DeviceProvider" c:type="GstDeviceProvider*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="start">
        <callback name="start">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">%TRUE if the device providering could be started</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="provider" transfer-ownership="none">
              <doc xml:space="preserve">A #GstDeviceProvider</doc>
              <type name="DeviceProvider" c:type="GstDeviceProvider*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="stop">
        <callback name="stop">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="provider" transfer-ownership="none">
              <doc xml:space="preserve">A #GstDeviceProvider</doc>
              <type name="DeviceProvider" c:type="GstDeviceProvider*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="metadata" readable="0" private="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
      <method name="add_metadata"
              c:identifier="gst_device_provider_class_add_metadata"
              version="1.4">
        <doc xml:space="preserve">Set @key with @value as metadata in @klass.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="klass" transfer-ownership="none">
            <doc xml:space="preserve">class to set metadata for</doc>
            <type name="DeviceProviderClass" c:type="GstDeviceProviderClass*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve">the key to set</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">the value to set</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_static_metadata"
              c:identifier="gst_device_provider_class_add_static_metadata"
              version="1.4">
        <doc xml:space="preserve">Set @key with @value as metadata in @klass.

Same as gst_device_provider_class_add_metadata(), but @value must be a static string
or an inlined string, as it will not be copied. (GStreamer plugins will
be made resident once loaded, so this function can be used even from
dynamically loaded plugins.)</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="klass" transfer-ownership="none">
            <doc xml:space="preserve">class to set metadata for</doc>
            <type name="DeviceProviderClass" c:type="GstDeviceProviderClass*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve">the key to set</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="full">
            <doc xml:space="preserve">the value to set</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_metadata"
              c:identifier="gst_device_provider_class_get_metadata"
              version="1.4">
        <doc xml:space="preserve">Get metadata with @key in @klass.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">the metadata for @key.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="klass" transfer-ownership="none">
            <doc xml:space="preserve">class to get metadata for</doc>
            <type name="DeviceProviderClass" c:type="GstDeviceProviderClass*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve">the key to get</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_metadata"
              c:identifier="gst_device_provider_class_set_metadata"
              version="1.4">
        <doc xml:space="preserve">Sets the detailed information for a #GstDeviceProviderClass.

&gt; This function is for use in _class_init functions only.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="klass" transfer-ownership="none">
            <doc xml:space="preserve">class to set metadata for</doc>
            <type name="DeviceProviderClass" c:type="GstDeviceProviderClass*"/>
          </instance-parameter>
          <parameter name="longname" transfer-ownership="none">
            <doc xml:space="preserve">The long English name of the device provider. E.g. "File Sink"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="classification" transfer-ownership="none">
            <doc xml:space="preserve">String describing the type of device provider, as an
 unordered list separated with slashes ('/'). See draft-klass.txt of the
 design docs
for more details and common types. E.g: "Sink/File"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="description" transfer-ownership="none">
            <doc xml:space="preserve">Sentence describing the purpose of the device provider.
E.g: "Write stream to a file"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="author" transfer-ownership="none">
            <doc xml:space="preserve">Name and contact details of the author(s). Use \n to separate
multiple author metadata. E.g: "Joe Bloggs &amp;lt;joe.blogs at foo.com&amp;gt;"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_static_metadata"
              c:identifier="gst_device_provider_class_set_static_metadata"
              version="1.4">
        <doc xml:space="preserve">Sets the detailed information for a #GstDeviceProviderClass.

&gt; This function is for use in _class_init functions only.

Same as gst_device_provider_class_set_metadata(), but @longname, @classification,
@description, and @author must be static strings or inlined strings, as
they will not be copied. (GStreamer plugins will be made resident once
loaded, so this function can be used even from dynamically loaded plugins.)</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="klass" transfer-ownership="none">
            <doc xml:space="preserve">class to set metadata for</doc>
            <type name="DeviceProviderClass" c:type="GstDeviceProviderClass*"/>
          </instance-parameter>
          <parameter name="longname" transfer-ownership="full">
            <doc xml:space="preserve">The long English name of the element. E.g. "File Sink"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="classification" transfer-ownership="full">
            <doc xml:space="preserve">String describing the type of element, as
an unordered list separated with slashes ('/'). See draft-klass.txt of the
design docs for more details and common types. E.g: "Sink/File"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="description" transfer-ownership="full">
            <doc xml:space="preserve">Sentence describing the purpose of the
element.  E.g: "Write stream to a file"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="author" transfer-ownership="full">
            <doc xml:space="preserve">Name and contact details of the author(s). Use \n
to separate multiple author metadata. E.g: "Joe Bloggs &amp;lt;joe.blogs at
foo.com&amp;gt;"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
    </record>
    <class name="DeviceProviderFactory"
           c:symbol-prefix="device_provider_factory"
           c:type="GstDeviceProviderFactory"
           version="1.4"
           parent="PluginFeature"
           glib:type-name="GstDeviceProviderFactory"
           glib:get-type="gst_device_provider_factory_get_type"
           glib:type-struct="DeviceProviderFactoryClass">
      <doc xml:space="preserve">#GstDeviceProviderFactory is used to create instances of device providers. A
GstDeviceProviderfactory can be added to a #GstPlugin as it is also a
#GstPluginFeature.

Use the gst_device_provider_factory_find() and
gst_device_provider_factory_get() functions to create device
provider instances or use gst_device_provider_factory_get_by_name() as a
convenient shortcut.</doc>
      <function name="find"
                c:identifier="gst_device_provider_factory_find"
                version="1.4">
        <doc xml:space="preserve">Search for an device provider factory of the given name. Refs the returned
device provider factory; caller is responsible for unreffing.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">#GstDeviceProviderFactory if
found, %NULL otherwise</doc>
          <type name="DeviceProviderFactory"
                c:type="GstDeviceProviderFactory*"/>
        </return-value>
        <parameters>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">name of factory to find</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="get_by_name"
                c:identifier="gst_device_provider_factory_get_by_name"
                version="1.4">
        <doc xml:space="preserve">Returns the device provider of the type defined by the given device
provider factory.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a #GstDeviceProvider or %NULL
if unable to create device provider</doc>
          <type name="DeviceProvider" c:type="GstDeviceProvider*"/>
        </return-value>
        <parameters>
          <parameter name="factoryname" transfer-ownership="none">
            <doc xml:space="preserve">a named factory to instantiate</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="list_get_device_providers"
                c:identifier="gst_device_provider_factory_list_get_device_providers"
                version="1.4">
        <doc xml:space="preserve">Get a list of factories with a rank greater or equal to @minrank.
The list of factories is returned by decreasing rank.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">
a #GList of #GstDeviceProviderFactory device providers. Use
gst_plugin_feature_list_free() after usage.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="DeviceProviderFactory"/>
          </type>
        </return-value>
        <parameters>
          <parameter name="minrank" transfer-ownership="none">
            <doc xml:space="preserve">Minimum rank</doc>
            <type name="Rank" c:type="GstRank"/>
          </parameter>
        </parameters>
      </function>
      <method name="get"
              c:identifier="gst_device_provider_factory_get"
              version="1.4">
        <doc xml:space="preserve">Returns the device provider of the type defined by the given device
providerfactory.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the #GstDeviceProvider or %NULL
if the device provider couldn't be created</doc>
          <type name="DeviceProvider" c:type="GstDeviceProvider*"/>
        </return-value>
        <parameters>
          <instance-parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">factory to instantiate</doc>
            <type name="DeviceProviderFactory"
                  c:type="GstDeviceProviderFactory*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_device_provider_type"
              c:identifier="gst_device_provider_factory_get_device_provider_type"
              version="1.4">
        <doc xml:space="preserve">Get the #GType for device providers managed by this factory. The type can
only be retrieved if the device provider factory is loaded, which can be
assured with gst_plugin_feature_load().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #GType for device providers managed by this factory.</doc>
          <type name="GType" c:type="GType"/>
        </return-value>
        <parameters>
          <instance-parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">factory to get managed #GType from</doc>
            <type name="DeviceProviderFactory"
                  c:type="GstDeviceProviderFactory*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_metadata"
              c:identifier="gst_device_provider_factory_get_metadata"
              version="1.4">
        <doc xml:space="preserve">Get the metadata on @factory with @key.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">the metadata with @key on @factory or %NULL
when there was no metadata with the given @key.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDeviceProviderFactory</doc>
            <type name="DeviceProviderFactory"
                  c:type="GstDeviceProviderFactory*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve">a key</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_metadata_keys"
              c:identifier="gst_device_provider_factory_get_metadata_keys"
              version="1.4">
        <doc xml:space="preserve">Get the available keys for the metadata on @factory.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">
a %NULL-terminated array of key strings, or %NULL when there is no
metadata. Free with g_strfreev() when no longer needed.</doc>
          <array c:type="gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDeviceProviderFactory</doc>
            <type name="DeviceProviderFactory"
                  c:type="GstDeviceProviderFactory*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_classes"
              c:identifier="gst_device_provider_factory_has_classes"
              version="1.4">
        <doc xml:space="preserve">Check if @factory matches all of the given @classes</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @factory matches or if @classes is %NULL.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDeviceProviderFactory</doc>
            <type name="DeviceProviderFactory"
                  c:type="GstDeviceProviderFactory*"/>
          </instance-parameter>
          <parameter name="classes"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a "/" separate list of classes to match, only match
    if all classes are matched</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="has_classesv"
              c:identifier="gst_device_provider_factory_has_classesv"
              version="1.4">
        <doc xml:space="preserve">Check if @factory matches all of the given classes</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @factory matches.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">a #GstDeviceProviderFactory</doc>
            <type name="DeviceProviderFactory"
                  c:type="GstDeviceProviderFactory*"/>
          </instance-parameter>
          <parameter name="classes"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a %NULL terminated array
  of classes to match, only match if all classes are matched</doc>
            <array c:type="gchar**">
              <type name="utf8" c:type="gchar*"/>
            </array>
          </parameter>
        </parameters>
      </method>
    </class>
    <record name="DeviceProviderFactoryClass"
            c:type="GstDeviceProviderFactoryClass"
            disguised="1"
            glib:is-gtype-struct-for="DeviceProviderFactory"
            version="1.4">
      <doc xml:space="preserve">The opaque #GstDeviceProviderFactoryClass data structure.</doc>
    </record>
    <record name="DeviceProviderPrivate"
            c:type="GstDeviceProviderPrivate"
            disguised="1">
    </record>
    <class name="DoubleRange"
           c:symbol-prefix="double_range"
           glib:type-name="GstDoubleRange"
           glib:get-type="gst_double_range_get_type"
           glib:fundamental="1">
    </class>
    <class name="DynamicTypeFactory"
           c:symbol-prefix="dynamic_type_factory"
           c:type="GstDynamicTypeFactory"
           parent="PluginFeature"
           glib:type-name="GstDynamicTypeFactory"
           glib:get-type="gst_dynamic_type_factory_get_type"
           glib:type-struct="DynamicTypeFactoryClass">
      <doc xml:space="preserve">#GstDynamicTypeFactory is used to represent a type that can be
automatically loaded the first time it is used. For example,
a non-standard type for use in caps fields.

In general, applications and plugins don't need to use the factory
beyond registering the type in a plugin init function. Once that is
done, the type is stored in the registry, and ready as soon as the
registry is loaded.

## Registering a type for dynamic loading

|[&lt;!-- language="C" --&gt;

static gboolean
plugin_init (GstPlugin * plugin)
{
  return gst_dynamic_type_register (plugin, GST_TYPE_CUSTOM_CAPS_FIELD);
}
]|</doc>
      <function name="load" c:identifier="gst_dynamic_type_factory_load">
        <return-value transfer-ownership="none">
          <type name="GType" c:type="GType"/>
        </return-value>
        <parameters>
          <parameter name="factoryname" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
    </class>
    <record name="DynamicTypeFactoryClass"
            c:type="GstDynamicTypeFactoryClass"
            disguised="1"
            glib:is-gtype-struct-for="DynamicTypeFactory">
    </record>
    <constant name="ELEMENT_FACTORY_KLASS_DECODER"
              value="Decoder"
              c:type="GST_ELEMENT_FACTORY_KLASS_DECODER">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="ELEMENT_FACTORY_KLASS_DECRYPTOR"
              value="Decryptor"
              c:type="GST_ELEMENT_FACTORY_KLASS_DECRYPTOR">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="ELEMENT_FACTORY_KLASS_DEMUXER"
              value="Demuxer"
              c:type="GST_ELEMENT_FACTORY_KLASS_DEMUXER">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="ELEMENT_FACTORY_KLASS_DEPAYLOADER"
              value="Depayloader"
              c:type="GST_ELEMENT_FACTORY_KLASS_DEPAYLOADER">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="ELEMENT_FACTORY_KLASS_ENCODER"
              value="Encoder"
              c:type="GST_ELEMENT_FACTORY_KLASS_ENCODER">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="ELEMENT_FACTORY_KLASS_ENCRYPTOR"
              value="Encryptor"
              c:type="GST_ELEMENT_FACTORY_KLASS_ENCRYPTOR">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="ELEMENT_FACTORY_KLASS_FORMATTER"
              value="Formatter"
              c:type="GST_ELEMENT_FACTORY_KLASS_FORMATTER">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="ELEMENT_FACTORY_KLASS_MEDIA_AUDIO"
              value="Audio"
              c:type="GST_ELEMENT_FACTORY_KLASS_MEDIA_AUDIO">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="ELEMENT_FACTORY_KLASS_MEDIA_IMAGE"
              value="Image"
              c:type="GST_ELEMENT_FACTORY_KLASS_MEDIA_IMAGE">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="ELEMENT_FACTORY_KLASS_MEDIA_METADATA"
              value="Metadata"
              c:type="GST_ELEMENT_FACTORY_KLASS_MEDIA_METADATA">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="ELEMENT_FACTORY_KLASS_MEDIA_SUBTITLE"
              value="Subtitle"
              c:type="GST_ELEMENT_FACTORY_KLASS_MEDIA_SUBTITLE">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="ELEMENT_FACTORY_KLASS_MEDIA_VIDEO"
              value="Video"
              c:type="GST_ELEMENT_FACTORY_KLASS_MEDIA_VIDEO">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="ELEMENT_FACTORY_KLASS_MUXER"
              value="Muxer"
              c:type="GST_ELEMENT_FACTORY_KLASS_MUXER">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="ELEMENT_FACTORY_KLASS_PARSER"
              value="Parser"
              c:type="GST_ELEMENT_FACTORY_KLASS_PARSER">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="ELEMENT_FACTORY_KLASS_PAYLOADER"
              value="Payloader"
              c:type="GST_ELEMENT_FACTORY_KLASS_PAYLOADER">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="ELEMENT_FACTORY_KLASS_SINK"
              value="Sink"
              c:type="GST_ELEMENT_FACTORY_KLASS_SINK">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="ELEMENT_FACTORY_KLASS_SRC"
              value="Source"
              c:type="GST_ELEMENT_FACTORY_KLASS_SRC">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="ELEMENT_FACTORY_TYPE_ANY"
              value="562949953421311"
              c:type="GST_ELEMENT_FACTORY_TYPE_ANY">
      <doc xml:space="preserve">Elements of any of the defined GST_ELEMENT_FACTORY_LIST types</doc>
      <type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
    </constant>
    <constant name="ELEMENT_FACTORY_TYPE_AUDIOVIDEO_SINKS"
              value="3940649673949188"
              c:type="GST_ELEMENT_FACTORY_TYPE_AUDIOVIDEO_SINKS">
      <doc xml:space="preserve">All sinks handling audio, video or image media types</doc>
      <type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
    </constant>
    <constant name="ELEMENT_FACTORY_TYPE_AUDIO_ENCODER"
              value="1125899906842626"
              c:type="GST_ELEMENT_FACTORY_TYPE_AUDIO_ENCODER">
      <doc xml:space="preserve">All encoders handling audio media types</doc>
      <type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
    </constant>
    <constant name="ELEMENT_FACTORY_TYPE_DECODABLE"
              value="353"
              c:type="GST_ELEMENT_FACTORY_TYPE_DECODABLE">
      <doc xml:space="preserve">All elements used to 'decode' streams (decoders, demuxers, parsers, depayloaders)</doc>
      <type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
    </constant>
    <constant name="ELEMENT_FACTORY_TYPE_DECODER"
              value="1"
              c:type="GST_ELEMENT_FACTORY_TYPE_DECODER">
      <type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
    </constant>
    <constant name="ELEMENT_FACTORY_TYPE_DECRYPTOR"
              value="1024"
              c:type="GST_ELEMENT_FACTORY_TYPE_DECRYPTOR">
      <type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
    </constant>
    <constant name="ELEMENT_FACTORY_TYPE_DEMUXER"
              value="32"
              c:type="GST_ELEMENT_FACTORY_TYPE_DEMUXER">
      <type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
    </constant>
    <constant name="ELEMENT_FACTORY_TYPE_DEPAYLOADER"
              value="256"
              c:type="GST_ELEMENT_FACTORY_TYPE_DEPAYLOADER">
      <type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
    </constant>
    <constant name="ELEMENT_FACTORY_TYPE_ENCODER"
              value="2"
              c:type="GST_ELEMENT_FACTORY_TYPE_ENCODER">
      <type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
    </constant>
    <constant name="ELEMENT_FACTORY_TYPE_ENCRYPTOR"
              value="2048"
              c:type="GST_ELEMENT_FACTORY_TYPE_ENCRYPTOR">
      <type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
    </constant>
    <constant name="ELEMENT_FACTORY_TYPE_FORMATTER"
              value="512"
              c:type="GST_ELEMENT_FACTORY_TYPE_FORMATTER">
      <type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
    </constant>
    <constant name="ELEMENT_FACTORY_TYPE_MAX_ELEMENTS"
              value="281474976710656"
              c:type="GST_ELEMENT_FACTORY_TYPE_MAX_ELEMENTS">
      <type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
    </constant>
    <constant name="ELEMENT_FACTORY_TYPE_MEDIA_ANY"
              value="18446462598732840960"
              c:type="GST_ELEMENT_FACTORY_TYPE_MEDIA_ANY">
      <doc xml:space="preserve">Elements matching any of the defined GST_ELEMENT_FACTORY_TYPE_MEDIA types

Note: Do not use this if you wish to not filter against any of the defined
media types. If you wish to do this, simply don't specify any
GST_ELEMENT_FACTORY_TYPE_MEDIA flag.</doc>
      <type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
    </constant>
    <constant name="ELEMENT_FACTORY_TYPE_MEDIA_AUDIO"
              value="1125899906842624"
              c:type="GST_ELEMENT_FACTORY_TYPE_MEDIA_AUDIO">
      <type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
    </constant>
    <constant name="ELEMENT_FACTORY_TYPE_MEDIA_IMAGE"
              value="2251799813685248"
              c:type="GST_ELEMENT_FACTORY_TYPE_MEDIA_IMAGE">
      <type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
    </constant>
    <constant name="ELEMENT_FACTORY_TYPE_MEDIA_METADATA"
              value="9007199254740992"
              c:type="GST_ELEMENT_FACTORY_TYPE_MEDIA_METADATA">
      <type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
    </constant>
    <constant name="ELEMENT_FACTORY_TYPE_MEDIA_SUBTITLE"
              value="4503599627370496"
              c:type="GST_ELEMENT_FACTORY_TYPE_MEDIA_SUBTITLE">
      <type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
    </constant>
    <constant name="ELEMENT_FACTORY_TYPE_MEDIA_VIDEO"
              value="562949953421312"
              c:type="GST_ELEMENT_FACTORY_TYPE_MEDIA_VIDEO">
      <type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
    </constant>
    <constant name="ELEMENT_FACTORY_TYPE_MUXER"
              value="16"
              c:type="GST_ELEMENT_FACTORY_TYPE_MUXER">
      <type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
    </constant>
    <constant name="ELEMENT_FACTORY_TYPE_PARSER"
              value="64"
              c:type="GST_ELEMENT_FACTORY_TYPE_PARSER">
      <type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
    </constant>
    <constant name="ELEMENT_FACTORY_TYPE_PAYLOADER"
              value="128"
              c:type="GST_ELEMENT_FACTORY_TYPE_PAYLOADER">
      <type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
    </constant>
    <constant name="ELEMENT_FACTORY_TYPE_SINK"
              value="4"
              c:type="GST_ELEMENT_FACTORY_TYPE_SINK">
      <type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
    </constant>
    <constant name="ELEMENT_FACTORY_TYPE_SRC"
              value="8"
              c:type="GST_ELEMENT_FACTORY_TYPE_SRC">
      <type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
    </constant>
    <constant name="ELEMENT_FACTORY_TYPE_VIDEO_ENCODER"
              value="2814749767106562"
              c:type="GST_ELEMENT_FACTORY_TYPE_VIDEO_ENCODER">
      <doc xml:space="preserve">All encoders handling video or image media types</doc>
      <type name="ElementFactoryListType" c:type="GstElementFactoryListType"/>
    </constant>
    <constant name="ELEMENT_METADATA_AUTHOR"
              value="author"
              c:type="GST_ELEMENT_METADATA_AUTHOR">
      <doc xml:space="preserve">Name and contact details of the author(s). Use \n to separate
multiple author details.
E.g: "Joe Bloggs &amp;lt;joe.blogs at foo.com&amp;gt;"</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="ELEMENT_METADATA_DESCRIPTION"
              value="description"
              c:type="GST_ELEMENT_METADATA_DESCRIPTION">
      <doc xml:space="preserve">Sentence describing the purpose of the element.
E.g: "Write stream to a file"</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="ELEMENT_METADATA_DOC_URI"
              value="doc-uri"
              c:type="GST_ELEMENT_METADATA_DOC_URI">
      <doc xml:space="preserve">Set uri pointing to user documentation. Applications can use this to show
help for e.g. effects to users.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="ELEMENT_METADATA_ICON_NAME"
              value="icon-name"
              c:type="GST_ELEMENT_METADATA_ICON_NAME">
      <doc xml:space="preserve">Elements that bridge to certain other products can include an icon of that
used product. Application can show the icon in menus/selectors to help
identifying specific elements.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="ELEMENT_METADATA_KLASS"
              value="klass"
              c:type="GST_ELEMENT_METADATA_KLASS">
      <doc xml:space="preserve">String describing the type of element, as an unordered list
separated with slashes ('/'). See draft-klass.txt of the design docs
for more details and common types. E.g: "Sink/File"</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="ELEMENT_METADATA_LONGNAME"
              value="long-name"
              c:type="GST_ELEMENT_METADATA_LONGNAME">
      <doc xml:space="preserve">The long English name of the element. E.g. "File Sink"</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="ERROR_SYSTEM"
              value="system error: %s"
              c:type="GST_ERROR_SYSTEM">
      <doc xml:space="preserve">Builds a string using errno describing the previously failed system
call.  To be used as the debug argument in #GST_ELEMENT_ERROR.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="EVENT_NUM_SHIFT" value="8" c:type="GST_EVENT_NUM_SHIFT">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="EVENT_TYPE_BOTH" value="3" c:type="GST_EVENT_TYPE_BOTH">
      <doc xml:space="preserve">The same thing as #GST_EVENT_TYPE_UPSTREAM | #GST_EVENT_TYPE_DOWNSTREAM.</doc>
      <type name="EventTypeFlags" c:type="GstEventTypeFlags"/>
    </constant>
    <class name="Element"
           c:symbol-prefix="element"
           c:type="GstElement"
           parent="Object"
           abstract="1"
           glib:type-name="GstElement"
           glib:get-type="gst_element_get_type"
           glib:type-struct="ElementClass">
      <doc xml:space="preserve">GstElement is the abstract base class needed to construct an element that
can be used in a GStreamer pipeline. Please refer to the plugin writers
guide for more information on creating #GstElement subclasses.

The name of a #GstElement can be get with gst_element_get_name() and set with
gst_element_set_name().  For speed, GST_ELEMENT_NAME() can be used in the
core when using the appropriate locking. Do not use this in plug-ins or
applications in order to retain ABI compatibility.

Elements can have pads (of the type #GstPad).  These pads link to pads on
other elements.  #GstBuffer flow between these linked pads.
A #GstElement has a #GList of #GstPad structures for all their input (or sink)
and output (or source) pads.
Core and plug-in writers can add and remove pads with gst_element_add_pad()
and gst_element_remove_pad().

An existing pad of an element can be retrieved by name with
gst_element_get_static_pad(). A new dynamic pad can be created using
gst_element_request_pad() with a #GstPadTemplate.
An iterator of all pads can be retrieved with gst_element_iterate_pads().

Elements can be linked through their pads.
If the link is straightforward, use the gst_element_link()
convenience function to link two elements, or gst_element_link_many()
for more elements in a row.
Use gst_element_link_filtered() to link two elements constrained by
a specified set of #GstCaps.
For finer control, use gst_element_link_pads() and
gst_element_link_pads_filtered() to specify the pads to link on
each element by name.

Each element has a state (see #GstState).  You can get and set the state
of an element with gst_element_get_state() and gst_element_set_state().
Setting a state triggers a #GstStateChange. To get a string representation
of a #GstState, use gst_element_state_get_name().

You can get and set a #GstClock on an element using gst_element_get_clock()
and gst_element_set_clock().
Some elements can provide a clock for the pipeline if
the #GST_ELEMENT_FLAG_PROVIDE_CLOCK flag is set. With the
gst_element_provide_clock() method one can retrieve the clock provided by
such an element.
Not all elements require a clock to operate correctly. If the
#GST_ELEMENT_FLAG_REQUIRE_CLOCK() flag is set, a clock should be set on the
element with gst_element_set_clock().

Note that clock selection and distribution is normally handled by the
toplevel #GstPipeline so the clock functions are only to be used in very
specific situations.</doc>
      <function name="make_from_uri"
                c:identifier="gst_element_make_from_uri"
                throws="1">
        <doc xml:space="preserve">Creates an element for handling the given URI.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">a new element or %NULL if none
could be created</doc>
          <type name="Element" c:type="GstElement*"/>
        </return-value>
        <parameters>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">Whether to create a source or a sink</doc>
            <type name="URIType" c:type="const GstURIType"/>
          </parameter>
          <parameter name="uri" transfer-ownership="none">
            <doc xml:space="preserve">URI to create an element for</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="elementname"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">Name of created element, can be %NULL.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="register" c:identifier="gst_element_register">
        <doc xml:space="preserve">Create a new elementfactory capable of instantiating objects of the
@type and add the factory to @plugin.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if the registering succeeded, %FALSE on error</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="plugin"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">#GstPlugin to register the element with, or %NULL for
    a static element.</doc>
            <type name="Plugin" c:type="GstPlugin*"/>
          </parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">name of elements of this type</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="rank" transfer-ownership="none">
            <doc xml:space="preserve">rank of element (higher rank means more importance when autoplugging)</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">GType of element to register</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
        </parameters>
      </function>
      <function name="state_change_return_get_name"
                c:identifier="gst_element_state_change_return_get_name">
        <doc xml:space="preserve">Gets a string representing the given state change result.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a string with the name of the state
   result.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="state_ret" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStateChangeReturn to get the name of.</doc>
            <type name="StateChangeReturn" c:type="GstStateChangeReturn"/>
          </parameter>
        </parameters>
      </function>
      <function name="state_get_name"
                c:identifier="gst_element_state_get_name">
        <doc xml:space="preserve">Gets a string representing the given state.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a string with the name of the state.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="state" transfer-ownership="none">
            <doc xml:space="preserve">a #GstState to get the name of.</doc>
            <type name="State" c:type="GstState"/>
          </parameter>
        </parameters>
      </function>
      <virtual-method name="change_state" invoker="change_state">
        <doc xml:space="preserve">Perform @transition on @element.

This function must be called with STATE_LOCK held and is mainly used
internally.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #GstStateChangeReturn of the state transition.</doc>
          <type name="StateChangeReturn" c:type="GstStateChangeReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="transition" transfer-ownership="none">
            <doc xml:space="preserve">the requested transition</doc>
            <type name="StateChange" c:type="GstStateChange"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_state" invoker="get_state">
        <doc xml:space="preserve">Gets the state of the element.

For elements that performed an ASYNC state change, as reported by
gst_element_set_state(), this function will block up to the
specified timeout value for the state change to complete.
If the element completes the state change or goes into
an error, this function returns immediately with a return value of
%GST_STATE_CHANGE_SUCCESS or %GST_STATE_CHANGE_FAILURE respectively.

For elements that did not return %GST_STATE_CHANGE_ASYNC, this function
returns the current and pending state immediately.

This function returns %GST_STATE_CHANGE_NO_PREROLL if the element
successfully changed its state but is not able to provide data yet.
This mostly happens for live sources that only produce data in
%GST_STATE_PLAYING. While the state change return is equivalent to
%GST_STATE_CHANGE_SUCCESS, it is returned to the application to signal that
some sink elements might not be able to complete their state change because
an element is not producing data to complete the preroll. When setting the
element to playing, the preroll will complete and playback will start.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%GST_STATE_CHANGE_SUCCESS if the element has no more pending state
         and the last state change succeeded, %GST_STATE_CHANGE_ASYNC if the
         element is still performing a state change or
         %GST_STATE_CHANGE_FAILURE if the last state change failed.

MT safe.</doc>
          <type name="StateChangeReturn" c:type="GstStateChangeReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to get the state of.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="state"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a pointer to #GstState to hold the state.
    Can be %NULL.</doc>
            <type name="State" c:type="GstState*"/>
          </parameter>
          <parameter name="pending"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a pointer to #GstState to hold the pending
    state. Can be %NULL.</doc>
            <type name="State" c:type="GstState*"/>
          </parameter>
          <parameter name="timeout" transfer-ownership="none">
            <doc xml:space="preserve">a #GstClockTime to specify the timeout for an async
          state change or %GST_CLOCK_TIME_NONE for infinite timeout.</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="no_more_pads" invoker="no_more_pads">
        <doc xml:space="preserve">Use this function to signal that the element does not expect any more pads
to show up in the current pipeline. This function should be called whenever
pads have been added by the element itself. Elements with #GST_PAD_SOMETIMES
pad templates use this in combination with autopluggers to figure out that
the element is done initializing its pads.

This function emits the #GstElement::no-more-pads signal.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="pad_added">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="pad" transfer-ownership="none">
            <type name="Pad" c:type="GstPad*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="pad_removed">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="pad" transfer-ownership="none">
            <type name="Pad" c:type="GstPad*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="post_message" invoker="post_message">
        <doc xml:space="preserve">Post a message on the element's #GstBus. This function takes ownership of the
message; if you want to access the message after this call, you should add an
additional reference before calling.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the message was successfully posted. The function returns
%FALSE if the element did not have a bus.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement posting the message</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="message" transfer-ownership="full">
            <doc xml:space="preserve">a #GstMessage to post</doc>
            <type name="Message" c:type="GstMessage*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="provide_clock" invoker="provide_clock">
        <doc xml:space="preserve">Get the clock provided by the given element.
&gt; An element is only required to provide a clock in the PAUSED
&gt; state. Some elements can provide a clock in other states.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the GstClock provided by the
element or %NULL if no clock could be provided.  Unref after usage.

MT safe.</doc>
          <type name="Clock" c:type="GstClock*"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to query</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="query" invoker="query">
        <doc xml:space="preserve">Performs a query on the given element.

For elements that don't implement a query handler, this function
forwards the query to a random srcpad or to the peer of a
random linked sinkpad of this element.

Please note that some queries might need a running pipeline to work.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the query could be performed.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to perform the query on.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">the #GstQuery.</doc>
            <type name="Query" c:type="GstQuery*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="release_pad">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="pad" transfer-ownership="none">
            <type name="Pad" c:type="GstPad*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="request_new_pad" invoker="request_pad">
        <doc xml:space="preserve">Retrieves a request pad from the element according to the provided template.
Pad templates can be looked up using
gst_element_factory_get_static_pad_templates().

The pad should be released with gst_element_release_request_pad().</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">requested #GstPad if found,
    otherwise %NULL.  Release after usage.</doc>
          <type name="Pad" c:type="GstPad*"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to find a request pad of.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="templ" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPadTemplate of which we want a pad of.</doc>
            <type name="PadTemplate" c:type="GstPadTemplate*"/>
          </parameter>
          <parameter name="name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the name of the request #GstPad
to retrieve. Can be %NULL.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="caps"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the caps of the pad we want to
request. Can be %NULL.</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="send_event" invoker="send_event">
        <doc xml:space="preserve">Sends an event to an element. If the element doesn't implement an
event handler, the event will be pushed on a random linked sink pad for
downstream events or a random linked source pad for upstream events.

This function takes ownership of the provided event so you should
gst_event_ref() it if you want to reuse the event after this call.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the event was handled. Events that trigger a preroll (such
as flushing seeks and steps) will emit %GST_MESSAGE_ASYNC_DONE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to send the event to.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="event" transfer-ownership="full">
            <doc xml:space="preserve">the #GstEvent to send to the element.</doc>
            <type name="Event" c:type="GstEvent*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="set_bus" invoker="set_bus">
        <doc xml:space="preserve">Sets the bus of the element. Increases the refcount on the bus.
For internal use only, unless you're testing elements.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to set the bus of.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="bus"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the #GstBus to set.</doc>
            <type name="Bus" c:type="GstBus*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="set_clock" invoker="set_clock">
        <doc xml:space="preserve">Sets the clock for the element. This function increases the
refcount on the clock. Any previously set clock on the object
is unreffed.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the element accepted the clock. An element can refuse a
clock when it, for example, is not able to slave its internal clock to the
@clock or when it requires a specific clock to operate.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to set the clock for.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="clock"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the #GstClock to set for the element.</doc>
            <type name="Clock" c:type="GstClock*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="set_context" invoker="set_context">
        <doc xml:space="preserve">Sets the context of the element. Increases the refcount of the context.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to set the context of.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">the #GstContext to set.</doc>
            <type name="Context" c:type="GstContext*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="set_state" invoker="set_state">
        <doc xml:space="preserve">Sets the state of the element. This function will try to set the
requested state by going through all the intermediary states and calling
the class's state change function for each.

This function can return #GST_STATE_CHANGE_ASYNC, in which case the
element will perform the remainder of the state change asynchronously in
another thread.
An application can use gst_element_get_state() to wait for the completion
of the state change or it can wait for a %GST_MESSAGE_ASYNC_DONE or
%GST_MESSAGE_STATE_CHANGED on the bus.

State changes to %GST_STATE_READY or %GST_STATE_NULL never return
#GST_STATE_CHANGE_ASYNC.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">Result of the state change using #GstStateChangeReturn.

MT safe.</doc>
          <type name="StateChangeReturn" c:type="GstStateChangeReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to change state of.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="state" transfer-ownership="none">
            <doc xml:space="preserve">the element's new #GstState.</doc>
            <type name="State" c:type="GstState"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="state_changed">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="oldstate" transfer-ownership="none">
            <type name="State" c:type="GstState"/>
          </parameter>
          <parameter name="newstate" transfer-ownership="none">
            <type name="State" c:type="GstState"/>
          </parameter>
          <parameter name="pending" transfer-ownership="none">
            <type name="State" c:type="GstState"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="abort_state" c:identifier="gst_element_abort_state">
        <doc xml:space="preserve">Abort the state change of the element. This function is used
by elements that do asynchronous state changes and find out
something is wrong.

This function should be called with the STATE_LOCK held.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to abort the state of.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="add_pad" c:identifier="gst_element_add_pad">
        <doc xml:space="preserve">Adds a pad (link point) to @element. @pad's parent will be set to @element;
see gst_object_set_parent() for refcounting information.

Pads are not automatically activated so elements should perform the needed
steps to activate the pad in case this pad is added in the PAUSED or PLAYING
state. See gst_pad_set_active() for more information about activating pads.

The pad and the element should be unlocked when calling this function.

This function will emit the #GstElement::pad-added signal on the element.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the pad could be added. This function can fail when
a pad with the same name already existed or the pad already had another
parent.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to add the pad to.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPad to add to the element.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_property_deep_notify_watch"
              c:identifier="gst_element_add_property_deep_notify_watch"
              version="1.10">
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a watch id, which can be used in connection with
    gst_element_remove_property_notify_watch() to remove the watch again.</doc>
          <type name="gulong" c:type="gulong"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to watch (recursively) for property changes</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="property_name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">name of property to watch for changes, or
    NULL to watch all properties</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="include_value" transfer-ownership="none">
            <doc xml:space="preserve">whether to include the new property value in the message</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_property_notify_watch"
              c:identifier="gst_element_add_property_notify_watch"
              version="1.10">
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a watch id, which can be used in connection with
    gst_element_remove_property_notify_watch() to remove the watch again.</doc>
          <type name="gulong" c:type="gulong"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to watch for property changes</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="property_name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">name of property to watch for changes, or
    NULL to watch all properties</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="include_value" transfer-ownership="none">
            <doc xml:space="preserve">whether to include the new property value in the message</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="call_async"
              c:identifier="gst_element_call_async"
              version="1.10">
        <doc xml:space="preserve">Calls @func from another thread and passes @user_data to it. This is to be
used for cases when a state change has to be performed from a streaming
thread, directly via gst_element_set_state() or indirectly e.g. via SEEK
events.

Calling those functions directly from the streaming thread will cause
deadlocks in many situations, as they might involve waiting for the
streaming thread to shut down from this very streaming thread.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="notified"
                     closure="1"
                     destroy="2">
            <doc xml:space="preserve">Function to call asynchronously from another thread</doc>
            <type name="ElementCallAsyncFunc"
                  c:type="GstElementCallAsyncFunc"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">Data to pass to @func</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="destroy_notify"
                     transfer-ownership="none"
                     scope="async">
            <doc xml:space="preserve">GDestroyNotify for @user_data</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="change_state" c:identifier="gst_element_change_state">
        <doc xml:space="preserve">Perform @transition on @element.

This function must be called with STATE_LOCK held and is mainly used
internally.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #GstStateChangeReturn of the state transition.</doc>
          <type name="StateChangeReturn" c:type="GstStateChangeReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="transition" transfer-ownership="none">
            <doc xml:space="preserve">the requested transition</doc>
            <type name="StateChange" c:type="GstStateChange"/>
          </parameter>
        </parameters>
      </method>
      <method name="continue_state" c:identifier="gst_element_continue_state">
        <doc xml:space="preserve">Commit the state change of the element and proceed to the next
pending state if any. This function is used
by elements that do asynchronous state changes.
The core will normally call this method automatically when an
element returned %GST_STATE_CHANGE_SUCCESS from the state change function.

If after calling this method the element still has not reached
the pending state, the next state change is performed.

This method is used internally and should normally not be called by plugins
or applications.

This function must be called with STATE_LOCK held.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The result of the commit state change.

MT safe.</doc>
          <type name="StateChangeReturn" c:type="GstStateChangeReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to continue the state change of.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="ret" transfer-ownership="none">
            <doc xml:space="preserve">The previous state return value</doc>
            <type name="StateChangeReturn" c:type="GstStateChangeReturn"/>
          </parameter>
        </parameters>
      </method>
      <method name="create_all_pads"
              c:identifier="gst_element_create_all_pads">
        <doc xml:space="preserve">Creates a pad for each pad template that is always available.
This function is only useful during object initialization of
subclasses of #GstElement.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to create pads for</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="foreach_pad"
              c:identifier="gst_element_foreach_pad"
              version="1.14">
        <doc xml:space="preserve">Call @func with @user_data for each of @element's pads. @func will be called
exactly once for each pad that exists at the time of this call, unless
one of the calls to @func returns %FALSE in which case we will stop
iterating pads and return early. If new pads are added or pads are removed
while pads are being iterated, this will not be taken into account until
next time this function is used.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%FALSE if @element had no pads or if one of the calls to @func
  returned %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to iterate pads of</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="call"
                     closure="1">
            <doc xml:space="preserve">function to call for each pad</doc>
            <type name="ElementForeachPadFunc"
                  c:type="GstElementForeachPadFunc"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user data passed to @func</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="foreach_sink_pad"
              c:identifier="gst_element_foreach_sink_pad"
              version="1.14">
        <doc xml:space="preserve">Call @func with @user_data for each of @element's sink pads. @func will be
called exactly once for each sink pad that exists at the time of this call,
unless one of the calls to @func returns %FALSE in which case we will stop
iterating pads and return early. If new sink pads are added or sink pads
are removed while the sink pads are being iterated, this will not be taken
into account until next time this function is used.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%FALSE if @element had no sink pads or if one of the calls to @func
  returned %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to iterate sink pads of</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="call"
                     closure="1">
            <doc xml:space="preserve">function to call for each sink pad</doc>
            <type name="ElementForeachPadFunc"
                  c:type="GstElementForeachPadFunc"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user data passed to @func</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="foreach_src_pad"
              c:identifier="gst_element_foreach_src_pad"
              version="1.14">
        <doc xml:space="preserve">Call @func with @user_data for each of @element's source pads. @func will be
called exactly once for each source pad that exists at the time of this call,
unless one of the calls to @func returns %FALSE in which case we will stop
iterating pads and return early. If new source pads are added or source pads
are removed while the source pads are being iterated, this will not be taken
into account until next time this function is used.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%FALSE if @element had no source pads or if one of the calls
  to @func returned %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to iterate source pads of</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="call"
                     closure="1">
            <doc xml:space="preserve">function to call for each source pad</doc>
            <type name="ElementForeachPadFunc"
                  c:type="GstElementForeachPadFunc"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user data passed to @func</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_base_time" c:identifier="gst_element_get_base_time">
        <doc xml:space="preserve">Returns the base time of the element. The base time is the
absolute time of the clock when this element was last put to
PLAYING. Subtracting the base time from the clock time gives
the running time of the element.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the base time of the element.

MT safe.</doc>
          <type name="ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_bus" c:identifier="gst_element_get_bus">
        <doc xml:space="preserve">Returns the bus of the element. Note that only a #GstPipeline will provide a
bus for the application.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the element's #GstBus. unref after
usage.

MT safe.</doc>
          <type name="Bus" c:type="GstBus*"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to get the bus of.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_clock" c:identifier="gst_element_get_clock">
        <doc xml:space="preserve">Gets the currently configured clock of the element. This is the clock as was
last set with gst_element_set_clock().

Elements in a pipeline will only have their clock set when the
pipeline is in the PLAYING state.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the #GstClock of the element. unref after usage.

MT safe.</doc>
          <type name="Clock" c:type="GstClock*"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to get the clock of.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_compatible_pad"
              c:identifier="gst_element_get_compatible_pad">
        <doc xml:space="preserve">Looks for an unlinked pad to which the given pad can link. It is not
guaranteed that linking the pads will work, though it should work in most
cases.

This function will first attempt to find a compatible unlinked ALWAYS pad,
and if none can be found, it will request a compatible REQUEST pad by looking
at the templates of @element.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the #GstPad to which a link
  can be made, or %NULL if one cannot be found. gst_object_unref()
  after usage.</doc>
          <type name="Pad" c:type="GstPad*"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement in which the pad should be found.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPad to find a compatible one for.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </parameter>
          <parameter name="caps"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the #GstCaps to use as a filter.</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_compatible_pad_template"
              c:identifier="gst_element_get_compatible_pad_template">
        <doc xml:space="preserve">Retrieves a pad template from @element that is compatible with @compattempl.
Pads from compatible templates can be linked together.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">a compatible #GstPadTemplate,
  or %NULL if none was found. No unreferencing is necessary.</doc>
          <type name="PadTemplate" c:type="GstPadTemplate*"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to get a compatible pad template for</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="compattempl" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPadTemplate to find a compatible
    template for</doc>
            <type name="PadTemplate" c:type="GstPadTemplate*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_context"
              c:identifier="gst_element_get_context"
              version="1.8">
        <doc xml:space="preserve">Gets the context with @context_type set on the element or NULL.

MT safe.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A #GstContext or NULL</doc>
          <type name="Context" c:type="GstContext*"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to get the context of.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="context_type" transfer-ownership="none">
            <doc xml:space="preserve">a name of a context to retrieve</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_context_unlocked"
              c:identifier="gst_element_get_context_unlocked"
              version="1.8">
        <doc xml:space="preserve">Gets the context with @context_type set on the element or NULL.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">A #GstContext or NULL</doc>
          <type name="Context" c:type="GstContext*"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to get the context of.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="context_type" transfer-ownership="none">
            <doc xml:space="preserve">a name of a context to retrieve</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_contexts"
              c:identifier="gst_element_get_contexts"
              version="1.8">
        <doc xml:space="preserve">Gets the contexts set on the element.

MT safe.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">List of #GstContext</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="Context"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to set the context of.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_factory" c:identifier="gst_element_get_factory">
        <doc xml:space="preserve">Retrieves the factory that was used to create this element.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #GstElementFactory used for creating this
    element. no refcounting is needed.</doc>
          <type name="ElementFactory" c:type="GstElementFactory*"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to request the element factory of.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_metadata"
              c:identifier="gst_element_get_metadata"
              version="1.14">
        <doc xml:space="preserve">Get metadata with @key in @klass.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the metadata for @key.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">class to get metadata for</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve">the key to get</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_pad_template"
              c:identifier="gst_element_get_pad_template"
              version="1.14">
        <doc xml:space="preserve">Retrieves a padtemplate from @element with the given name.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">the #GstPadTemplate with the
    given name, or %NULL if none was found. No unreferencing is
    necessary.</doc>
          <type name="PadTemplate" c:type="GstPadTemplate*"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to get the pad template of.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the #GstPadTemplate to get.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_pad_template_list"
              c:identifier="gst_element_get_pad_template_list"
              version="1.14">
        <doc xml:space="preserve">Retrieves a list of the pad templates associated with @element. The
list must not be modified by the calling code.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #GList of
    pad templates.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="PadTemplate"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to get pad templates of.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_request_pad"
              c:identifier="gst_element_get_request_pad">
        <doc xml:space="preserve">Retrieves a pad from the element by name (e.g. "src_\%d"). This version only
retrieves request pads. The pad should be released with
gst_element_release_request_pad().

This method is slower than manually getting the pad template and calling
gst_element_request_pad() if the pads should have a specific name (e.g.
@name is "src_1" instead of "src_\%u").</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">requested #GstPad if found,
    otherwise %NULL.  Release after usage.</doc>
          <type name="Pad" c:type="GstPad*"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to find a request pad of.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the request #GstPad to retrieve.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_start_time" c:identifier="gst_element_get_start_time">
        <doc xml:space="preserve">Returns the start time of the element. The start time is the
running time of the clock when this element was last put to PAUSED.

Usually the start_time is managed by a toplevel element such as
#GstPipeline.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the start time of the element.</doc>
          <type name="ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_state" c:identifier="gst_element_get_state">
        <doc xml:space="preserve">Gets the state of the element.

For elements that performed an ASYNC state change, as reported by
gst_element_set_state(), this function will block up to the
specified timeout value for the state change to complete.
If the element completes the state change or goes into
an error, this function returns immediately with a return value of
%GST_STATE_CHANGE_SUCCESS or %GST_STATE_CHANGE_FAILURE respectively.

For elements that did not return %GST_STATE_CHANGE_ASYNC, this function
returns the current and pending state immediately.

This function returns %GST_STATE_CHANGE_NO_PREROLL if the element
successfully changed its state but is not able to provide data yet.
This mostly happens for live sources that only produce data in
%GST_STATE_PLAYING. While the state change return is equivalent to
%GST_STATE_CHANGE_SUCCESS, it is returned to the application to signal that
some sink elements might not be able to complete their state change because
an element is not producing data to complete the preroll. When setting the
element to playing, the preroll will complete and playback will start.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%GST_STATE_CHANGE_SUCCESS if the element has no more pending state
         and the last state change succeeded, %GST_STATE_CHANGE_ASYNC if the
         element is still performing a state change or
         %GST_STATE_CHANGE_FAILURE if the last state change failed.

MT safe.</doc>
          <type name="StateChangeReturn" c:type="GstStateChangeReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to get the state of.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="state"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a pointer to #GstState to hold the state.
    Can be %NULL.</doc>
            <type name="State" c:type="GstState*"/>
          </parameter>
          <parameter name="pending"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a pointer to #GstState to hold the pending
    state. Can be %NULL.</doc>
            <type name="State" c:type="GstState*"/>
          </parameter>
          <parameter name="timeout" transfer-ownership="none">
            <doc xml:space="preserve">a #GstClockTime to specify the timeout for an async
          state change or %GST_CLOCK_TIME_NONE for infinite timeout.</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_static_pad" c:identifier="gst_element_get_static_pad">
        <doc xml:space="preserve">Retrieves a pad from @element by name. This version only retrieves
already-existing (i.e. 'static') pads.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the requested #GstPad if
    found, otherwise %NULL.  unref after usage.

MT safe.</doc>
          <type name="Pad" c:type="GstPad*"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to find a static pad of.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the static #GstPad to retrieve.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_locked_state"
              c:identifier="gst_element_is_locked_state">
        <doc xml:space="preserve">Checks if the state of an element is locked.
If the state of an element is locked, state changes of the parent don't
affect the element.
This way you can leave currently unused elements inside bins. Just lock their
state before changing the state from #GST_STATE_NULL.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if the element's state is locked.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="iterate_pads" c:identifier="gst_element_iterate_pads">
        <doc xml:space="preserve">Retrieves an iterator of @element's pads. The iterator should
be freed after usage. Also more specialized iterators exists such as
gst_element_iterate_src_pads() or gst_element_iterate_sink_pads().

The order of pads returned by the iterator will be the order in which
the pads were added to the element.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the #GstIterator of #GstPad.

MT safe.</doc>
          <type name="Iterator" c:type="GstIterator*"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to iterate pads of.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="iterate_sink_pads"
              c:identifier="gst_element_iterate_sink_pads">
        <doc xml:space="preserve">Retrieves an iterator of @element's sink pads.

The order of pads returned by the iterator will be the order in which
the pads were added to the element.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the #GstIterator of #GstPad.

MT safe.</doc>
          <type name="Iterator" c:type="GstIterator*"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="iterate_src_pads"
              c:identifier="gst_element_iterate_src_pads">
        <doc xml:space="preserve">Retrieves an iterator of @element's source pads.

The order of pads returned by the iterator will be the order in which
the pads were added to the element.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the #GstIterator of #GstPad.

MT safe.</doc>
          <type name="Iterator" c:type="GstIterator*"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="link" c:identifier="gst_element_link">
        <doc xml:space="preserve">Links @src to @dest. The link must be from source to
destination; the other direction will not be tried. The function looks for
existing pads that aren't linked yet. It will request new pads if necessary.
Such pads need to be released manually when unlinking.
If multiple links are possible, only one is established.

Make sure you have added your elements to a bin or pipeline with
gst_bin_add() before trying to link them.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the elements could be linked, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement containing the source pad.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="dest" transfer-ownership="none">
            <doc xml:space="preserve">the #GstElement containing the destination pad.</doc>
            <type name="Element" c:type="GstElement*"/>
          </parameter>
        </parameters>
      </method>
      <method name="link_filtered" c:identifier="gst_element_link_filtered">
        <doc xml:space="preserve">Links @src to @dest using the given caps as filtercaps.
The link must be from source to
destination; the other direction will not be tried. The function looks for
existing pads that aren't linked yet. It will request new pads if necessary.
If multiple links are possible, only one is established.

Make sure you have added your elements to a bin or pipeline with
gst_bin_add() before trying to link them.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the pads could be linked, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement containing the source pad.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="dest" transfer-ownership="none">
            <doc xml:space="preserve">the #GstElement containing the destination pad.</doc>
            <type name="Element" c:type="GstElement*"/>
          </parameter>
          <parameter name="filter"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the #GstCaps to filter the link,
    or %NULL for no filter.</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="link_many"
              c:identifier="gst_element_link_many"
              introspectable="0">
        <doc xml:space="preserve">Chain together a series of elements. Uses gst_element_link().
Make sure you have added your elements to a bin or pipeline with
gst_bin_add() before trying to link them.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="element_1" transfer-ownership="none">
            <doc xml:space="preserve">the first #GstElement in the link chain.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="element_2" transfer-ownership="none">
            <doc xml:space="preserve">the second #GstElement in the link chain.</doc>
            <type name="Element" c:type="GstElement*"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">the %NULL-terminated list of elements to link in order.</doc>
            <varargs/>
          </parameter>
        </parameters>
      </method>
      <method name="link_pads" c:identifier="gst_element_link_pads">
        <doc xml:space="preserve">Links the two named pads of the source and destination elements.
Side effect is that if one of the pads has no parent, it becomes a
child of the parent of the other element.  If they have different
parents, the link fails.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the pads could be linked, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement containing the source pad.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="srcpadname"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the name of the #GstPad in source element
    or %NULL for any pad.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="dest" transfer-ownership="none">
            <doc xml:space="preserve">the #GstElement containing the destination pad.</doc>
            <type name="Element" c:type="GstElement*"/>
          </parameter>
          <parameter name="destpadname"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the name of the #GstPad in destination element,
or %NULL for any pad.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="link_pads_filtered"
              c:identifier="gst_element_link_pads_filtered">
        <doc xml:space="preserve">Links the two named pads of the source and destination elements. Side effect
is that if one of the pads has no parent, it becomes a child of the parent of
the other element. If they have different parents, the link fails. If @caps
is not %NULL, makes sure that the caps of the link is a subset of @caps.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the pads could be linked, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement containing the source pad.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="srcpadname"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the name of the #GstPad in source element
    or %NULL for any pad.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="dest" transfer-ownership="none">
            <doc xml:space="preserve">the #GstElement containing the destination pad.</doc>
            <type name="Element" c:type="GstElement*"/>
          </parameter>
          <parameter name="destpadname"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the name of the #GstPad in destination element
    or %NULL for any pad.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="filter"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the #GstCaps to filter the link,
    or %NULL for no filter.</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="link_pads_full" c:identifier="gst_element_link_pads_full">
        <doc xml:space="preserve">Links the two named pads of the source and destination elements.
Side effect is that if one of the pads has no parent, it becomes a
child of the parent of the other element.  If they have different
parents, the link fails.

Calling gst_element_link_pads_full() with @flags == %GST_PAD_LINK_CHECK_DEFAULT
is the same as calling gst_element_link_pads() and the recommended way of
linking pads with safety checks applied.

This is a convenience function for gst_pad_link_full().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the pads could be linked, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement containing the source pad.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="srcpadname"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the name of the #GstPad in source element
    or %NULL for any pad.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="dest" transfer-ownership="none">
            <doc xml:space="preserve">the #GstElement containing the destination pad.</doc>
            <type name="Element" c:type="GstElement*"/>
          </parameter>
          <parameter name="destpadname"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the name of the #GstPad in destination element,
or %NULL for any pad.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPadLinkCheck to be performed when linking pads.</doc>
            <type name="PadLinkCheck" c:type="GstPadLinkCheck"/>
          </parameter>
        </parameters>
      </method>
      <method name="lost_state" c:identifier="gst_element_lost_state">
        <doc xml:space="preserve">Brings the element to the lost state. The current state of the
element is copied to the pending state so that any call to
gst_element_get_state() will return %GST_STATE_CHANGE_ASYNC.

An ASYNC_START message is posted. If the element was PLAYING, it will
go to PAUSED. The element will be restored to its PLAYING state by
the parent pipeline when it prerolls again.

This is mostly used for elements that lost their preroll buffer
in the %GST_STATE_PAUSED or %GST_STATE_PLAYING state after a flush,
they will go to their pending state again when a new preroll buffer is
queued. This function can only be called when the element is currently
not in error or an async state change.

This function is used internally and should normally not be called from
plugins or applications.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement the state is lost of</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="message_full" c:identifier="gst_element_message_full">
        <doc xml:space="preserve">Post an error, warning or info message on the bus from inside an element.

@type must be of #GST_MESSAGE_ERROR, #GST_MESSAGE_WARNING or
#GST_MESSAGE_INFO.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to send message from</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">the #GstMessageType</doc>
            <type name="MessageType" c:type="GstMessageType"/>
          </parameter>
          <parameter name="domain" transfer-ownership="none">
            <doc xml:space="preserve">the GStreamer GError domain this message belongs to</doc>
            <type name="GLib.Quark" c:type="GQuark"/>
          </parameter>
          <parameter name="code" transfer-ownership="none">
            <doc xml:space="preserve">the GError code belonging to the domain</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="text"
                     transfer-ownership="full"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">an allocated text string to be used
           as a replacement for the default message connected to code,
           or %NULL</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
          <parameter name="debug"
                     transfer-ownership="full"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">an allocated debug message to be
           used as a replacement for the default debugging information,
           or %NULL</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
          <parameter name="file" transfer-ownership="none">
            <doc xml:space="preserve">the source code file where the error was generated</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="function" transfer-ownership="none">
            <doc xml:space="preserve">the source code function where the error was generated</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="line" transfer-ownership="none">
            <doc xml:space="preserve">the source code line where the error was generated</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="message_full_with_details"
              c:identifier="gst_element_message_full_with_details"
              version="1.10">
        <doc xml:space="preserve">Post an error, warning or info message on the bus from inside an element.

@type must be of #GST_MESSAGE_ERROR, #GST_MESSAGE_WARNING or
#GST_MESSAGE_INFO.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to send message from</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">the #GstMessageType</doc>
            <type name="MessageType" c:type="GstMessageType"/>
          </parameter>
          <parameter name="domain" transfer-ownership="none">
            <doc xml:space="preserve">the GStreamer GError domain this message belongs to</doc>
            <type name="GLib.Quark" c:type="GQuark"/>
          </parameter>
          <parameter name="code" transfer-ownership="none">
            <doc xml:space="preserve">the GError code belonging to the domain</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="text"
                     transfer-ownership="full"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">an allocated text string to be used
           as a replacement for the default message connected to code,
           or %NULL</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
          <parameter name="debug"
                     transfer-ownership="full"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">an allocated debug message to be
           used as a replacement for the default debugging information,
           or %NULL</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
          <parameter name="file" transfer-ownership="none">
            <doc xml:space="preserve">the source code file where the error was generated</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="function" transfer-ownership="none">
            <doc xml:space="preserve">the source code function where the error was generated</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="line" transfer-ownership="none">
            <doc xml:space="preserve">the source code line where the error was generated</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="structure" transfer-ownership="full">
            <doc xml:space="preserve">optional details structure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
        </parameters>
      </method>
      <method name="no_more_pads" c:identifier="gst_element_no_more_pads">
        <doc xml:space="preserve">Use this function to signal that the element does not expect any more pads
to show up in the current pipeline. This function should be called whenever
pads have been added by the element itself. Elements with #GST_PAD_SOMETIMES
pad templates use this in combination with autopluggers to figure out that
the element is done initializing its pads.

This function emits the #GstElement::no-more-pads signal.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="post_message" c:identifier="gst_element_post_message">
        <doc xml:space="preserve">Post a message on the element's #GstBus. This function takes ownership of the
message; if you want to access the message after this call, you should add an
additional reference before calling.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the message was successfully posted. The function returns
%FALSE if the element did not have a bus.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement posting the message</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="message" transfer-ownership="full">
            <doc xml:space="preserve">a #GstMessage to post</doc>
            <type name="Message" c:type="GstMessage*"/>
          </parameter>
        </parameters>
      </method>
      <method name="provide_clock" c:identifier="gst_element_provide_clock">
        <doc xml:space="preserve">Get the clock provided by the given element.
&gt; An element is only required to provide a clock in the PAUSED
&gt; state. Some elements can provide a clock in other states.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the GstClock provided by the
element or %NULL if no clock could be provided.  Unref after usage.

MT safe.</doc>
          <type name="Clock" c:type="GstClock*"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to query</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="query" c:identifier="gst_element_query">
        <doc xml:space="preserve">Performs a query on the given element.

For elements that don't implement a query handler, this function
forwards the query to a random srcpad or to the peer of a
random linked sinkpad of this element.

Please note that some queries might need a running pipeline to work.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the query could be performed.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to perform the query on.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">the #GstQuery.</doc>
            <type name="Query" c:type="GstQuery*"/>
          </parameter>
        </parameters>
      </method>
      <method name="query_convert" c:identifier="gst_element_query_convert">
        <doc xml:space="preserve">Queries an element to convert @src_val in @src_format to @dest_format.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the query could be performed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to invoke the convert query on.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="src_format" transfer-ownership="none">
            <doc xml:space="preserve">a #GstFormat to convert from.</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="src_val" transfer-ownership="none">
            <doc xml:space="preserve">a value to convert.</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
          <parameter name="dest_format" transfer-ownership="none">
            <doc xml:space="preserve">the #GstFormat to convert to.</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="dest_val"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">a pointer to the result.</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="query_duration" c:identifier="gst_element_query_duration">
        <doc xml:space="preserve">Queries an element (usually top-level pipeline or playbin element) for the
total stream duration in nanoseconds. This query will only work once the
pipeline is prerolled (i.e. reached PAUSED or PLAYING state). The application
will receive an ASYNC_DONE message on the pipeline bus when that is the case.

If the duration changes for some reason, you will get a DURATION_CHANGED
message on the pipeline bus, in which case you should re-query the duration
using this function.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the query could be performed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to invoke the duration query on.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the #GstFormat requested</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="duration"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">A location in which to store the total duration, or %NULL.</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="query_position" c:identifier="gst_element_query_position">
        <doc xml:space="preserve">Queries an element (usually top-level pipeline or playbin element) for the
stream position in nanoseconds. This will be a value between 0 and the
stream duration (if the stream duration is known). This query will usually
only work once the pipeline is prerolled (i.e. reached PAUSED or PLAYING
state). The application will receive an ASYNC_DONE message on the pipeline
bus when that is the case.

If one repeatedly calls this function one can also create a query and reuse
it in gst_element_query().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the query could be performed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to invoke the position query on.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the #GstFormat requested</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="cur"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a location in which to store the current
    position, or %NULL.</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="release_request_pad"
              c:identifier="gst_element_release_request_pad">
        <doc xml:space="preserve">Makes the element free the previously requested pad as obtained
with gst_element_request_pad().

This does not unref the pad. If the pad was created by using
gst_element_request_pad(), gst_element_release_request_pad() needs to be
followed by gst_object_unref() to free the @pad.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to release the request pad of.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPad to release.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_pad" c:identifier="gst_element_remove_pad">
        <doc xml:space="preserve">Removes @pad from @element. @pad will be destroyed if it has not been
referenced elsewhere using gst_object_unparent().

This function is used by plugin developers and should not be used
by applications. Pads that were dynamically requested from elements
with gst_element_request_pad() should be released with the
gst_element_release_request_pad() function instead.

Pads are not automatically deactivated so elements should perform the needed
steps to deactivate the pad in case this pad is removed in the PAUSED or
PLAYING state. See gst_pad_set_active() for more information about
deactivating pads.

The pad and the element should be unlocked when calling this function.

This function will emit the #GstElement::pad-removed signal on the element.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the pad could be removed. Can return %FALSE if the
pad does not belong to the provided element.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to remove pad from.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPad to remove from the element.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_property_notify_watch"
              c:identifier="gst_element_remove_property_notify_watch"
              version="1.10">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement being watched for property changes</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="watch_id" transfer-ownership="none">
            <doc xml:space="preserve">watch id to remove</doc>
            <type name="gulong" c:type="gulong"/>
          </parameter>
        </parameters>
      </method>
      <method name="request_pad" c:identifier="gst_element_request_pad">
        <doc xml:space="preserve">Retrieves a request pad from the element according to the provided template.
Pad templates can be looked up using
gst_element_factory_get_static_pad_templates().

The pad should be released with gst_element_release_request_pad().</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">requested #GstPad if found,
    otherwise %NULL.  Release after usage.</doc>
          <type name="Pad" c:type="GstPad*"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to find a request pad of.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="templ" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPadTemplate of which we want a pad of.</doc>
            <type name="PadTemplate" c:type="GstPadTemplate*"/>
          </parameter>
          <parameter name="name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the name of the request #GstPad
to retrieve. Can be %NULL.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="caps"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the caps of the pad we want to
request. Can be %NULL.</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="seek" c:identifier="gst_element_seek">
        <doc xml:space="preserve">Sends a seek event to an element. See gst_event_new_seek() for the details of
the parameters. The seek event is sent to the element using
gst_element_send_event().

MT safe.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the event was handled. Flushing seeks will trigger a
preroll, which will emit %GST_MESSAGE_ASYNC_DONE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to send the event to.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="rate" transfer-ownership="none">
            <doc xml:space="preserve">The new playback rate</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">The format of the seek values</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">The optional seek flags.</doc>
            <type name="SeekFlags" c:type="GstSeekFlags"/>
          </parameter>
          <parameter name="start_type" transfer-ownership="none">
            <doc xml:space="preserve">The type and flags for the new start position</doc>
            <type name="SeekType" c:type="GstSeekType"/>
          </parameter>
          <parameter name="start" transfer-ownership="none">
            <doc xml:space="preserve">The value of the new start position</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
          <parameter name="stop_type" transfer-ownership="none">
            <doc xml:space="preserve">The type and flags for the new stop position</doc>
            <type name="SeekType" c:type="GstSeekType"/>
          </parameter>
          <parameter name="stop" transfer-ownership="none">
            <doc xml:space="preserve">The value of the new stop position</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="seek_simple" c:identifier="gst_element_seek_simple">
        <doc xml:space="preserve">Simple API to perform a seek on the given element, meaning it just seeks
to the given position relative to the start of the stream. For more complex
operations like segment seeks (e.g. for looping) or changing the playback
rate or seeking relative to the last configured playback segment you should
use gst_element_seek().

In a completely prerolled PAUSED or PLAYING pipeline, seeking is always
guaranteed to return %TRUE on a seekable media type or %FALSE when the media
type is certainly not seekable (such as a live stream).

Some elements allow for seeking in the READY state, in this
case they will store the seek event and execute it when they are put to
PAUSED. If the element supports seek in READY, it will always return %TRUE when
it receives the event in the READY state.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the seek operation succeeded. Flushing seeks will trigger a
preroll, which will emit %GST_MESSAGE_ASYNC_DONE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to seek on</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">a #GstFormat to execute the seek in, such as #GST_FORMAT_TIME</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="seek_flags" transfer-ownership="none">
            <doc xml:space="preserve">seek options; playback applications will usually want to use
           GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_KEY_UNIT here</doc>
            <type name="SeekFlags" c:type="GstSeekFlags"/>
          </parameter>
          <parameter name="seek_pos" transfer-ownership="none">
            <doc xml:space="preserve">position to seek to (relative to the start); if you are doing
           a seek in #GST_FORMAT_TIME this value is in nanoseconds -
           multiply with #GST_SECOND to convert seconds to nanoseconds or
           with #GST_MSECOND to convert milliseconds to nanoseconds.</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="send_event" c:identifier="gst_element_send_event">
        <doc xml:space="preserve">Sends an event to an element. If the element doesn't implement an
event handler, the event will be pushed on a random linked sink pad for
downstream events or a random linked source pad for upstream events.

This function takes ownership of the provided event so you should
gst_event_ref() it if you want to reuse the event after this call.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the event was handled. Events that trigger a preroll (such
as flushing seeks and steps) will emit %GST_MESSAGE_ASYNC_DONE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to send the event to.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="event" transfer-ownership="full">
            <doc xml:space="preserve">the #GstEvent to send to the element.</doc>
            <type name="Event" c:type="GstEvent*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_base_time" c:identifier="gst_element_set_base_time">
        <doc xml:space="preserve">Set the base time of an element. See gst_element_get_base_time().

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="time" transfer-ownership="none">
            <doc xml:space="preserve">the base time to set.</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_bus" c:identifier="gst_element_set_bus">
        <doc xml:space="preserve">Sets the bus of the element. Increases the refcount on the bus.
For internal use only, unless you're testing elements.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to set the bus of.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="bus"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the #GstBus to set.</doc>
            <type name="Bus" c:type="GstBus*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_clock" c:identifier="gst_element_set_clock">
        <doc xml:space="preserve">Sets the clock for the element. This function increases the
refcount on the clock. Any previously set clock on the object
is unreffed.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the element accepted the clock. An element can refuse a
clock when it, for example, is not able to slave its internal clock to the
@clock or when it requires a specific clock to operate.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to set the clock for.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="clock"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the #GstClock to set for the element.</doc>
            <type name="Clock" c:type="GstClock*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_context" c:identifier="gst_element_set_context">
        <doc xml:space="preserve">Sets the context of the element. Increases the refcount of the context.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to set the context of.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">the #GstContext to set.</doc>
            <type name="Context" c:type="GstContext*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_locked_state"
              c:identifier="gst_element_set_locked_state">
        <doc xml:space="preserve">Locks the state of an element, so state changes of the parent don't affect
this element anymore.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the state was changed, %FALSE if bad parameters were given
or the elements state-locking needed no change.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="locked_state" transfer-ownership="none">
            <doc xml:space="preserve">%TRUE to lock the element's state</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_start_time" c:identifier="gst_element_set_start_time">
        <doc xml:space="preserve">Set the start time of an element. The start time of the element is the
running time of the element when it last went to the PAUSED state. In READY
or after a flushing seek, it is set to 0.

Toplevel elements like #GstPipeline will manage the start_time and
base_time on its children. Setting the start_time to #GST_CLOCK_TIME_NONE
on such a toplevel element will disable the distribution of the base_time to
the children and can be useful if the application manages the base_time
itself, for example if you want to synchronize capture from multiple
pipelines, and you can also ensure that the pipelines have the same clock.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="time" transfer-ownership="none">
            <doc xml:space="preserve">the base time to set.</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_state" c:identifier="gst_element_set_state">
        <doc xml:space="preserve">Sets the state of the element. This function will try to set the
requested state by going through all the intermediary states and calling
the class's state change function for each.

This function can return #GST_STATE_CHANGE_ASYNC, in which case the
element will perform the remainder of the state change asynchronously in
another thread.
An application can use gst_element_get_state() to wait for the completion
of the state change or it can wait for a %GST_MESSAGE_ASYNC_DONE or
%GST_MESSAGE_STATE_CHANGED on the bus.

State changes to %GST_STATE_READY or %GST_STATE_NULL never return
#GST_STATE_CHANGE_ASYNC.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">Result of the state change using #GstStateChangeReturn.

MT safe.</doc>
          <type name="StateChangeReturn" c:type="GstStateChangeReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement to change state of.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="state" transfer-ownership="none">
            <doc xml:space="preserve">the element's new #GstState.</doc>
            <type name="State" c:type="GstState"/>
          </parameter>
        </parameters>
      </method>
      <method name="sync_state_with_parent"
              c:identifier="gst_element_sync_state_with_parent">
        <doc xml:space="preserve">Tries to change the state of the element to the same as its parent.
If this function returns %FALSE, the state of element is undefined.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if the element's state could be synced to the parent's state.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="unlink" c:identifier="gst_element_unlink">
        <doc xml:space="preserve">Unlinks all source pads of the source element with all sink pads
of the sink element to which they are linked.

If the link has been made using gst_element_link(), it could have created an
requestpad, which has to be released using gst_element_release_request_pad().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve">the source #GstElement to unlink.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="dest" transfer-ownership="none">
            <doc xml:space="preserve">the sink #GstElement to unlink.</doc>
            <type name="Element" c:type="GstElement*"/>
          </parameter>
        </parameters>
      </method>
      <method name="unlink_many"
              c:identifier="gst_element_unlink_many"
              introspectable="0">
        <doc xml:space="preserve">Unlinks a series of elements. Uses gst_element_unlink().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="element_1" transfer-ownership="none">
            <doc xml:space="preserve">the first #GstElement in the link chain.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="element_2" transfer-ownership="none">
            <doc xml:space="preserve">the second #GstElement in the link chain.</doc>
            <type name="Element" c:type="GstElement*"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">the %NULL-terminated list of elements to unlink in order.</doc>
            <varargs/>
          </parameter>
        </parameters>
      </method>
      <method name="unlink_pads" c:identifier="gst_element_unlink_pads">
        <doc xml:space="preserve">Unlinks the two named pads of the source and destination elements.

This is a convenience function for gst_pad_unlink().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve">a (transfer none): #GstElement containing the source pad.</doc>
            <type name="Element" c:type="GstElement*"/>
          </instance-parameter>
          <parameter name="srcpadname" transfer-ownership="none">
            <doc xml:space="preserve">the name of the #GstPad in source element.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="dest" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElement containing the destination pad.</doc>
            <type name="Element" c:type="GstElement*"/>
          </parameter>
          <parameter name="destpadname" transfer-ownership="none">
            <doc xml:space="preserve">the name of the #GstPad in destination element.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <field name="object">
        <type name="Object" c:type="GstObject"/>
      </field>
      <field name="state_lock">
        <doc xml:space="preserve">Used to serialize execution of gst_element_set_state()</doc>
        <type name="GLib.RecMutex" c:type="GRecMutex"/>
      </field>
      <field name="state_cond">
        <doc xml:space="preserve">Used to signal completion of a state change</doc>
        <type name="GLib.Cond" c:type="GCond"/>
      </field>
      <field name="state_cookie">
        <doc xml:space="preserve">Used to detect concurrent execution of
gst_element_set_state() and gst_element_get_state()</doc>
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="target_state">
        <doc xml:space="preserve">the target state of an element as set by the application</doc>
        <type name="State" c:type="GstState"/>
      </field>
      <field name="current_state">
        <doc xml:space="preserve">the current state of an element</doc>
        <type name="State" c:type="GstState"/>
      </field>
      <field name="next_state">
        <doc xml:space="preserve">the next state of an element, can be #GST_STATE_VOID_PENDING if
the element is in the correct state.</doc>
        <type name="State" c:type="GstState"/>
      </field>
      <field name="pending_state">
        <doc xml:space="preserve">the final state the element should go to, can be
#GST_STATE_VOID_PENDING if the element is in the correct state</doc>
        <type name="State" c:type="GstState"/>
      </field>
      <field name="last_return">
        <doc xml:space="preserve">the last return value of an element state change</doc>
        <type name="StateChangeReturn" c:type="GstStateChangeReturn"/>
      </field>
      <field name="bus">
        <doc xml:space="preserve">the bus of the element. This bus is provided to the element by the
parent element or the application. A #GstPipeline has a bus of its own.</doc>
        <type name="Bus" c:type="GstBus*"/>
      </field>
      <field name="clock">
        <doc xml:space="preserve">the clock of the element. This clock is usually provided to the
element by the toplevel #GstPipeline.</doc>
        <type name="Clock" c:type="GstClock*"/>
      </field>
      <field name="base_time">
        <doc xml:space="preserve">the time of the clock right before the element is set to
PLAYING. Subtracting @base_time from the current clock time in the PLAYING
state will yield the running_time against the clock.</doc>
        <type name="ClockTimeDiff" c:type="GstClockTimeDiff"/>
      </field>
      <field name="start_time">
        <doc xml:space="preserve">the running_time of the last PAUSED state</doc>
        <type name="ClockTime" c:type="GstClockTime"/>
      </field>
      <field name="numpads">
        <doc xml:space="preserve">number of pads of the element, includes both source and sink pads.</doc>
        <type name="guint16" c:type="guint16"/>
      </field>
      <field name="pads">
        <doc xml:space="preserve">list of pads</doc>
        <type name="GLib.List" c:type="GList*">
          <type name="Pad"/>
        </type>
      </field>
      <field name="numsrcpads">
        <doc xml:space="preserve">number of source pads of the element.</doc>
        <type name="guint16" c:type="guint16"/>
      </field>
      <field name="srcpads">
        <doc xml:space="preserve">list of source pads</doc>
        <type name="GLib.List" c:type="GList*">
          <type name="Pad"/>
        </type>
      </field>
      <field name="numsinkpads">
        <doc xml:space="preserve">number of sink pads of the element.</doc>
        <type name="guint16" c:type="guint16"/>
      </field>
      <field name="sinkpads">
        <doc xml:space="preserve">list of sink pads</doc>
        <type name="GLib.List" c:type="GList*">
          <type name="Pad"/>
        </type>
      </field>
      <field name="pads_cookie">
        <doc xml:space="preserve">updated whenever the a pad is added or removed</doc>
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="contexts">
        <doc xml:space="preserve">list of contexts</doc>
        <type name="GLib.List" c:type="GList*">
          <type name="Context"/>
        </type>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="3">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
      <glib:signal name="no-more-pads" when="last">
        <doc xml:space="preserve">This signals that the element will not generate more dynamic pads.
Note that this signal will usually be emitted from the context of
the streaming thread.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
      <glib:signal name="pad-added" when="last">
        <doc xml:space="preserve">a new #GstPad has been added to the element. Note that this signal will
usually be emitted from the context of the streaming thread. Also keep in
mind that if you add new elements to the pipeline in the signal handler
you will need to set them to the desired target state with
gst_element_set_state() or gst_element_sync_state_with_parent().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="new_pad" transfer-ownership="none">
            <doc xml:space="preserve">the pad that has been added</doc>
            <type name="Pad"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="pad-removed" when="last">
        <doc xml:space="preserve">a #GstPad has been removed from the element</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="old_pad" transfer-ownership="none">
            <doc xml:space="preserve">the pad that has been removed</doc>
            <type name="Pad"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <callback name="ElementCallAsyncFunc" c:type="GstElementCallAsyncFunc">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="element" transfer-ownership="none">
          <type name="Element" c:type="GstElement*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="1">
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <record name="ElementClass"
            c:type="GstElementClass"
            glib:is-gtype-struct-for="Element">
      <doc xml:space="preserve">GStreamer element class. Override the vmethods to implement the element
functionality.</doc>
      <field name="parent_class">
        <doc xml:space="preserve">the parent class structure</doc>
        <type name="ObjectClass" c:type="GstObjectClass"/>
      </field>
      <field name="metadata">
        <doc xml:space="preserve">metadata for elements of this class</doc>
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="elementfactory">
        <doc xml:space="preserve">the #GstElementFactory that creates these elements</doc>
        <type name="ElementFactory" c:type="GstElementFactory*"/>
      </field>
      <field name="padtemplates">
        <doc xml:space="preserve">a #GList of #GstPadTemplate</doc>
        <type name="GLib.List" c:type="GList*">
          <type name="gpointer" c:type="gpointer"/>
        </type>
      </field>
      <field name="numpadtemplates">
        <doc xml:space="preserve">the number of padtemplates</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="pad_templ_cookie">
        <doc xml:space="preserve">changed whenever the padtemplates change</doc>
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="pad_added">
        <callback name="pad_added">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="element" transfer-ownership="none">
              <type name="Element" c:type="GstElement*"/>
            </parameter>
            <parameter name="pad" transfer-ownership="none">
              <type name="Pad" c:type="GstPad*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="pad_removed">
        <callback name="pad_removed">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="element" transfer-ownership="none">
              <type name="Element" c:type="GstElement*"/>
            </parameter>
            <parameter name="pad" transfer-ownership="none">
              <type name="Pad" c:type="GstPad*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="no_more_pads">
        <callback name="no_more_pads">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="element" transfer-ownership="none">
              <doc xml:space="preserve">a #GstElement</doc>
              <type name="Element" c:type="GstElement*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="request_new_pad">
        <callback name="request_new_pad">
          <return-value transfer-ownership="full" nullable="1">
            <doc xml:space="preserve">requested #GstPad if found,
    otherwise %NULL.  Release after usage.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </return-value>
          <parameters>
            <parameter name="element" transfer-ownership="none">
              <doc xml:space="preserve">a #GstElement to find a request pad of.</doc>
              <type name="Element" c:type="GstElement*"/>
            </parameter>
            <parameter name="templ" transfer-ownership="none">
              <doc xml:space="preserve">a #GstPadTemplate of which we want a pad of.</doc>
              <type name="PadTemplate" c:type="GstPadTemplate*"/>
            </parameter>
            <parameter name="name"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve">the name of the request #GstPad
to retrieve. Can be %NULL.</doc>
              <type name="utf8" c:type="const gchar*"/>
            </parameter>
            <parameter name="caps"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve">the caps of the pad we want to
request. Can be %NULL.</doc>
              <type name="Caps" c:type="const GstCaps*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="release_pad">
        <callback name="release_pad">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="element" transfer-ownership="none">
              <type name="Element" c:type="GstElement*"/>
            </parameter>
            <parameter name="pad" transfer-ownership="none">
              <type name="Pad" c:type="GstPad*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_state">
        <callback name="get_state">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">%GST_STATE_CHANGE_SUCCESS if the element has no more pending state
         and the last state change succeeded, %GST_STATE_CHANGE_ASYNC if the
         element is still performing a state change or
         %GST_STATE_CHANGE_FAILURE if the last state change failed.

MT safe.</doc>
            <type name="StateChangeReturn" c:type="GstStateChangeReturn"/>
          </return-value>
          <parameters>
            <parameter name="element" transfer-ownership="none">
              <doc xml:space="preserve">a #GstElement to get the state of.</doc>
              <type name="Element" c:type="GstElement*"/>
            </parameter>
            <parameter name="state"
                       direction="out"
                       caller-allocates="0"
                       transfer-ownership="full"
                       optional="1"
                       allow-none="1">
              <doc xml:space="preserve">a pointer to #GstState to hold the state.
    Can be %NULL.</doc>
              <type name="State" c:type="GstState*"/>
            </parameter>
            <parameter name="pending"
                       direction="out"
                       caller-allocates="0"
                       transfer-ownership="full"
                       optional="1"
                       allow-none="1">
              <doc xml:space="preserve">a pointer to #GstState to hold the pending
    state. Can be %NULL.</doc>
              <type name="State" c:type="GstState*"/>
            </parameter>
            <parameter name="timeout" transfer-ownership="none">
              <doc xml:space="preserve">a #GstClockTime to specify the timeout for an async
          state change or %GST_CLOCK_TIME_NONE for infinite timeout.</doc>
              <type name="ClockTime" c:type="GstClockTime"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="set_state">
        <callback name="set_state">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">Result of the state change using #GstStateChangeReturn.

MT safe.</doc>
            <type name="StateChangeReturn" c:type="GstStateChangeReturn"/>
          </return-value>
          <parameters>
            <parameter name="element" transfer-ownership="none">
              <doc xml:space="preserve">a #GstElement to change state of.</doc>
              <type name="Element" c:type="GstElement*"/>
            </parameter>
            <parameter name="state" transfer-ownership="none">
              <doc xml:space="preserve">the element's new #GstState.</doc>
              <type name="State" c:type="GstState"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="change_state">
        <callback name="change_state">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">the #GstStateChangeReturn of the state transition.</doc>
            <type name="StateChangeReturn" c:type="GstStateChangeReturn"/>
          </return-value>
          <parameters>
            <parameter name="element" transfer-ownership="none">
              <doc xml:space="preserve">a #GstElement</doc>
              <type name="Element" c:type="GstElement*"/>
            </parameter>
            <parameter name="transition" transfer-ownership="none">
              <doc xml:space="preserve">the requested transition</doc>
              <type name="StateChange" c:type="GstStateChange"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="state_changed">
        <callback name="state_changed">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="element" transfer-ownership="none">
              <type name="Element" c:type="GstElement*"/>
            </parameter>
            <parameter name="oldstate" transfer-ownership="none">
              <type name="State" c:type="GstState"/>
            </parameter>
            <parameter name="newstate" transfer-ownership="none">
              <type name="State" c:type="GstState"/>
            </parameter>
            <parameter name="pending" transfer-ownership="none">
              <type name="State" c:type="GstState"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="set_bus">
        <callback name="set_bus">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="element" transfer-ownership="none">
              <doc xml:space="preserve">a #GstElement to set the bus of.</doc>
              <type name="Element" c:type="GstElement*"/>
            </parameter>
            <parameter name="bus"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve">the #GstBus to set.</doc>
              <type name="Bus" c:type="GstBus*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="provide_clock">
        <callback name="provide_clock">
          <return-value transfer-ownership="full" nullable="1">
            <doc xml:space="preserve">the GstClock provided by the
element or %NULL if no clock could be provided.  Unref after usage.

MT safe.</doc>
            <type name="Clock" c:type="GstClock*"/>
          </return-value>
          <parameters>
            <parameter name="element" transfer-ownership="none">
              <doc xml:space="preserve">a #GstElement to query</doc>
              <type name="Element" c:type="GstElement*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="set_clock">
        <callback name="set_clock">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">%TRUE if the element accepted the clock. An element can refuse a
clock when it, for example, is not able to slave its internal clock to the
@clock or when it requires a specific clock to operate.

MT safe.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="element" transfer-ownership="none">
              <doc xml:space="preserve">a #GstElement to set the clock for.</doc>
              <type name="Element" c:type="GstElement*"/>
            </parameter>
            <parameter name="clock"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve">the #GstClock to set for the element.</doc>
              <type name="Clock" c:type="GstClock*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="send_event">
        <callback name="send_event">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">%TRUE if the event was handled. Events that trigger a preroll (such
as flushing seeks and steps) will emit %GST_MESSAGE_ASYNC_DONE.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="element" transfer-ownership="none">
              <doc xml:space="preserve">a #GstElement to send the event to.</doc>
              <type name="Element" c:type="GstElement*"/>
            </parameter>
            <parameter name="event" transfer-ownership="full">
              <doc xml:space="preserve">the #GstEvent to send to the element.</doc>
              <type name="Event" c:type="GstEvent*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="query">
        <callback name="query">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">%TRUE if the query could be performed.

MT safe.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="element" transfer-ownership="none">
              <doc xml:space="preserve">a #GstElement to perform the query on.</doc>
              <type name="Element" c:type="GstElement*"/>
            </parameter>
            <parameter name="query" transfer-ownership="none">
              <doc xml:space="preserve">the #GstQuery.</doc>
              <type name="Query" c:type="GstQuery*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="post_message">
        <callback name="post_message">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">%TRUE if the message was successfully posted. The function returns
%FALSE if the element did not have a bus.

MT safe.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="element" transfer-ownership="none">
              <doc xml:space="preserve">a #GstElement posting the message</doc>
              <type name="Element" c:type="GstElement*"/>
            </parameter>
            <parameter name="message" transfer-ownership="full">
              <doc xml:space="preserve">a #GstMessage to post</doc>
              <type name="Message" c:type="GstMessage*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="set_context">
        <callback name="set_context">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="element" transfer-ownership="none">
              <doc xml:space="preserve">a #GstElement to set the context of.</doc>
              <type name="Element" c:type="GstElement*"/>
            </parameter>
            <parameter name="context" transfer-ownership="none">
              <doc xml:space="preserve">the #GstContext to set.</doc>
              <type name="Context" c:type="GstContext*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="18">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
      <method name="add_metadata"
              c:identifier="gst_element_class_add_metadata">
        <doc xml:space="preserve">Set @key with @value as metadata in @klass.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="klass" transfer-ownership="none">
            <doc xml:space="preserve">class to set metadata for</doc>
            <type name="ElementClass" c:type="GstElementClass*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve">the key to set</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">the value to set</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_pad_template"
              c:identifier="gst_element_class_add_pad_template">
        <doc xml:space="preserve">Adds a padtemplate to an element class. This is mainly used in the _class_init
functions of classes. If a pad template with the same name as an already
existing one is added the old one is replaced by the new one.

@templ's reference count will be incremented, and any floating
reference will be removed (see gst_object_ref_sink())</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="klass" transfer-ownership="none">
            <doc xml:space="preserve">the #GstElementClass to add the pad template to.</doc>
            <type name="ElementClass" c:type="GstElementClass*"/>
          </instance-parameter>
          <parameter name="templ" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPadTemplate to add to the element class.</doc>
            <type name="PadTemplate" c:type="GstPadTemplate*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_static_metadata"
              c:identifier="gst_element_class_add_static_metadata">
        <doc xml:space="preserve">Set @key with @value as metadata in @klass.

Same as gst_element_class_add_metadata(), but @value must be a static string
or an inlined string, as it will not be copied. (GStreamer plugins will
be made resident once loaded, so this function can be used even from
dynamically loaded plugins.)</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="klass" transfer-ownership="none">
            <doc xml:space="preserve">class to set metadata for</doc>
            <type name="ElementClass" c:type="GstElementClass*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve">the key to set</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">the value to set</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_static_pad_template"
              c:identifier="gst_element_class_add_static_pad_template"
              version="1.8">
        <doc xml:space="preserve">Adds a pad template to an element class based on the static pad template
@templ. This is mainly used in the _class_init functions of element
implementations. If a pad template with the same name already exists,
the old one is replaced by the new one.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="klass" transfer-ownership="none">
            <doc xml:space="preserve">the #GstElementClass to add the pad template to.</doc>
            <type name="ElementClass" c:type="GstElementClass*"/>
          </instance-parameter>
          <parameter name="static_templ" transfer-ownership="none">
            <doc xml:space="preserve">#GstStaticPadTemplate to add as pad template to the element class.</doc>
            <type name="StaticPadTemplate" c:type="GstStaticPadTemplate*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_static_pad_template_with_gtype"
              c:identifier="gst_element_class_add_static_pad_template_with_gtype"
              version="1.14">
        <doc xml:space="preserve">Adds a pad template to an element class based on the static pad template
@templ. This is mainly used in the _class_init functions of element
implementations. If a pad template with the same name already exists,
the old one is replaced by the new one.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="klass" transfer-ownership="none">
            <doc xml:space="preserve">the #GstElementClass to add the pad template to.</doc>
            <type name="ElementClass" c:type="GstElementClass*"/>
          </instance-parameter>
          <parameter name="static_templ" transfer-ownership="none">
            <doc xml:space="preserve">#GstStaticPadTemplate to add as pad template to the element class.</doc>
            <type name="StaticPadTemplate" c:type="GstStaticPadTemplate*"/>
          </parameter>
          <parameter name="pad_type" transfer-ownership="none">
            <doc xml:space="preserve">The #GType of the pad to create</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_metadata"
              c:identifier="gst_element_class_get_metadata">
        <doc xml:space="preserve">Get metadata with @key in @klass.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the metadata for @key.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="klass" transfer-ownership="none">
            <doc xml:space="preserve">class to get metadata for</doc>
            <type name="ElementClass" c:type="GstElementClass*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve">the key to get</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_pad_template"
              c:identifier="gst_element_class_get_pad_template">
        <doc xml:space="preserve">Retrieves a padtemplate from @element_class with the given name.
&gt; If you use this function in the #GInstanceInitFunc of an object class
&gt; that has subclasses, make sure to pass the g_class parameter of the
&gt; #GInstanceInitFunc here.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">the #GstPadTemplate with the
    given name, or %NULL if none was found. No unreferencing is
    necessary.</doc>
          <type name="PadTemplate" c:type="GstPadTemplate*"/>
        </return-value>
        <parameters>
          <instance-parameter name="element_class" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElementClass to get the pad template of.</doc>
            <type name="ElementClass" c:type="GstElementClass*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the #GstPadTemplate to get.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_pad_template_list"
              c:identifier="gst_element_class_get_pad_template_list">
        <doc xml:space="preserve">Retrieves a list of the pad templates associated with @element_class. The
list must not be modified by the calling code.
&gt; If you use this function in the #GInstanceInitFunc of an object class
&gt; that has subclasses, make sure to pass the g_class parameter of the
&gt; #GInstanceInitFunc here.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #GList of
    pad templates.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="PadTemplate"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="element_class" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElementClass to get pad templates of.</doc>
            <type name="ElementClass" c:type="GstElementClass*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_metadata"
              c:identifier="gst_element_class_set_metadata">
        <doc xml:space="preserve">Sets the detailed information for a #GstElementClass.
&gt; This function is for use in _class_init functions only.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="klass" transfer-ownership="none">
            <doc xml:space="preserve">class to set metadata for</doc>
            <type name="ElementClass" c:type="GstElementClass*"/>
          </instance-parameter>
          <parameter name="longname" transfer-ownership="none">
            <doc xml:space="preserve">The long English name of the element. E.g. "File Sink"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="classification" transfer-ownership="none">
            <doc xml:space="preserve">String describing the type of element, as an unordered list
separated with slashes ('/'). See draft-klass.txt of the design docs
for more details and common types. E.g: "Sink/File"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="description" transfer-ownership="none">
            <doc xml:space="preserve">Sentence describing the purpose of the element.
E.g: "Write stream to a file"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="author" transfer-ownership="none">
            <doc xml:space="preserve">Name and contact details of the author(s). Use \n to separate
multiple author metadata. E.g: "Joe Bloggs &amp;lt;joe.blogs at foo.com&amp;gt;"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_static_metadata"
              c:identifier="gst_element_class_set_static_metadata">
        <doc xml:space="preserve">Sets the detailed information for a #GstElementClass.

&gt; This function is for use in _class_init functions only.

Same as gst_element_class_set_metadata(), but @longname, @classification,
@description, and @author must be static strings or inlined strings, as
they will not be copied. (GStreamer plugins will be made resident once
loaded, so this function can be used even from dynamically loaded plugins.)</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="klass" transfer-ownership="none">
            <doc xml:space="preserve">class to set metadata for</doc>
            <type name="ElementClass" c:type="GstElementClass*"/>
          </instance-parameter>
          <parameter name="longname" transfer-ownership="none">
            <doc xml:space="preserve">The long English name of the element. E.g. "File Sink"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="classification" transfer-ownership="none">
            <doc xml:space="preserve">String describing the type of element, as an unordered list
separated with slashes ('/'). See draft-klass.txt of the design docs
for more details and common types. E.g: "Sink/File"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="description" transfer-ownership="none">
            <doc xml:space="preserve">Sentence describing the purpose of the element.
E.g: "Write stream to a file"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="author" transfer-ownership="none">
            <doc xml:space="preserve">Name and contact details of the author(s). Use \n to separate
multiple author metadata. E.g: "Joe Bloggs &amp;lt;joe.blogs at foo.com&amp;gt;"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
    </record>
    <class name="ElementFactory"
           c:symbol-prefix="element_factory"
           c:type="GstElementFactory"
           parent="PluginFeature"
           glib:type-name="GstElementFactory"
           glib:get-type="gst_element_factory_get_type"
           glib:type-struct="ElementFactoryClass">
      <doc xml:space="preserve">#GstElementFactory is used to create instances of elements. A
GstElementFactory can be added to a #GstPlugin as it is also a
#GstPluginFeature.

Use the gst_element_factory_find() and gst_element_factory_create()
functions to create element instances or use gst_element_factory_make() as a
convenient shortcut.

The following code example shows you how to create a GstFileSrc element.

## Using an element factory
|[&lt;!-- language="C" --&gt;
  #include &amp;lt;gst/gst.h&amp;gt;

  GstElement *src;
  GstElementFactory *srcfactory;

  gst_init (&amp;amp;argc, &amp;amp;argv);

  srcfactory = gst_element_factory_find ("filesrc");
  g_return_if_fail (srcfactory != NULL);
  src = gst_element_factory_create (srcfactory, "src");
  g_return_if_fail (src != NULL);
  ...
]|</doc>
      <function name="find" c:identifier="gst_element_factory_find">
        <doc xml:space="preserve">Search for an element factory of the given name. Refs the returned
element factory; caller is responsible for unreffing.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">#GstElementFactory if found,
%NULL otherwise</doc>
          <type name="ElementFactory" c:type="GstElementFactory*"/>
        </return-value>
        <parameters>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">name of factory to find</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="list_filter"
                c:identifier="gst_element_factory_list_filter">
        <doc xml:space="preserve">Filter out all the elementfactories in @list that can handle @caps in
the given direction.

If @subsetonly is %TRUE, then only the elements whose pads templates
are a complete superset of @caps will be returned. Else any element
whose pad templates caps can intersect with @caps will be returned.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GList of
    #GstElementFactory elements that match the given requisites.
    Use #gst_plugin_feature_list_free after usage.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="ElementFactory"/>
          </type>
        </return-value>
        <parameters>
          <parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GList of
    #GstElementFactory to filter</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="ElementFactory"/>
            </type>
          </parameter>
          <parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCaps</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </parameter>
          <parameter name="direction" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPadDirection to filter on</doc>
            <type name="PadDirection" c:type="GstPadDirection"/>
          </parameter>
          <parameter name="subsetonly" transfer-ownership="none">
            <doc xml:space="preserve">whether to filter on caps subsets or not.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </function>
      <function name="list_get_elements"
                c:identifier="gst_element_factory_list_get_elements">
        <doc xml:space="preserve">Get a list of factories that match the given @type. Only elements
with a rank greater or equal to @minrank will be returned.
The list of factories is returned by decreasing rank.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GList of
    #GstElementFactory elements. Use gst_plugin_feature_list_free() after
    usage.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="ElementFactory"/>
          </type>
        </return-value>
        <parameters>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElementFactoryListType</doc>
            <type name="ElementFactoryListType"
                  c:type="GstElementFactoryListType"/>
          </parameter>
          <parameter name="minrank" transfer-ownership="none">
            <doc xml:space="preserve">Minimum rank</doc>
            <type name="Rank" c:type="GstRank"/>
          </parameter>
        </parameters>
      </function>
      <function name="make" c:identifier="gst_element_factory_make">
        <doc xml:space="preserve">Create a new element of the type defined by the given element factory.
If name is %NULL, then the element will receive a guaranteed unique name,
consisting of the element factory name and a number.
If name is given, it will be given the name supplied.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">new #GstElement or %NULL
if unable to create element</doc>
          <type name="Element" c:type="GstElement*"/>
        </return-value>
        <parameters>
          <parameter name="factoryname" transfer-ownership="none">
            <doc xml:space="preserve">a named factory to instantiate</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">name of new element, or %NULL to automatically create
   a unique name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <method name="can_sink_all_caps"
              c:identifier="gst_element_factory_can_sink_all_caps">
        <doc xml:space="preserve">Checks if the factory can sink all possible capabilities.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the caps are fully compatible.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">factory to query</doc>
            <type name="ElementFactory" c:type="GstElementFactory*"/>
          </instance-parameter>
          <parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">the caps to check</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="can_sink_any_caps"
              c:identifier="gst_element_factory_can_sink_any_caps">
        <doc xml:space="preserve">Checks if the factory can sink any possible capability.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the caps have a common subset.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">factory to query</doc>
            <type name="ElementFactory" c:type="GstElementFactory*"/>
          </instance-parameter>
          <parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">the caps to check</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="can_src_all_caps"
              c:identifier="gst_element_factory_can_src_all_caps">
        <doc xml:space="preserve">Checks if the factory can src all possible capabilities.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the caps are fully compatible.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">factory to query</doc>
            <type name="ElementFactory" c:type="GstElementFactory*"/>
          </instance-parameter>
          <parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">the caps to check</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="can_src_any_caps"
              c:identifier="gst_element_factory_can_src_any_caps">
        <doc xml:space="preserve">Checks if the factory can src any possible capability.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the caps have a common subset.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">factory to query</doc>
            <type name="ElementFactory" c:type="GstElementFactory*"/>
          </instance-parameter>
          <parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">the caps to check</doc>
            <type name="Caps" c:type="const GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="create" c:identifier="gst_element_factory_create">
        <doc xml:space="preserve">Create a new element of the type defined by the given elementfactory.
It will be given the name supplied, since all elements require a name as
their first argument.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">new #GstElement or %NULL
    if the element couldn't be created</doc>
          <type name="Element" c:type="GstElement*"/>
        </return-value>
        <parameters>
          <instance-parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">factory to instantiate</doc>
            <type name="ElementFactory" c:type="GstElementFactory*"/>
          </instance-parameter>
          <parameter name="name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">name of new element, or %NULL to automatically create
   a unique name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_element_type"
              c:identifier="gst_element_factory_get_element_type">
        <doc xml:space="preserve">Get the #GType for elements managed by this factory. The type can
only be retrieved if the element factory is loaded, which can be
assured with gst_plugin_feature_load().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #GType for elements managed by this factory or 0 if
the factory is not loaded.</doc>
          <type name="GType" c:type="GType"/>
        </return-value>
        <parameters>
          <instance-parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">factory to get managed #GType from</doc>
            <type name="ElementFactory" c:type="GstElementFactory*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_metadata"
              c:identifier="gst_element_factory_get_metadata">
        <doc xml:space="preserve">Get the metadata on @factory with @key.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">the metadata with @key on @factory or %NULL
when there was no metadata with the given @key.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElementFactory</doc>
            <type name="ElementFactory" c:type="GstElementFactory*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve">a key</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_metadata_keys"
              c:identifier="gst_element_factory_get_metadata_keys">
        <doc xml:space="preserve">Get the available keys for the metadata on @factory.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">
a %NULL-terminated array of key strings, or %NULL when there is no
metadata. Free with g_strfreev() when no longer needed.</doc>
          <array c:type="gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElementFactory</doc>
            <type name="ElementFactory" c:type="GstElementFactory*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_num_pad_templates"
              c:identifier="gst_element_factory_get_num_pad_templates">
        <doc xml:space="preserve">Gets the number of pad_templates in this factory.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the number of pad_templates</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElementFactory</doc>
            <type name="ElementFactory" c:type="GstElementFactory*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_static_pad_templates"
              c:identifier="gst_element_factory_get_static_pad_templates">
        <doc xml:space="preserve">Gets the #GList of #GstStaticPadTemplate for this factory.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the
    static pad templates</doc>
          <type name="GLib.List" c:type="const GList*">
            <type name="StaticPadTemplate"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElementFactory</doc>
            <type name="ElementFactory" c:type="GstElementFactory*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_uri_protocols"
              c:identifier="gst_element_factory_get_uri_protocols">
        <doc xml:space="preserve">Gets a %NULL-terminated array of protocols this element supports or %NULL if
no protocols are supported. You may not change the contents of the returned
array, as it is still owned by the element factory. Use g_strdupv() to
make a copy of the protocol string array if you need to.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the supported protocols
    or %NULL</doc>
          <array c:type="gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElementFactory</doc>
            <type name="ElementFactory" c:type="GstElementFactory*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_uri_type"
              c:identifier="gst_element_factory_get_uri_type">
        <doc xml:space="preserve">Gets the type of URIs the element supports or #GST_URI_UNKNOWN if none.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">type of URIs this element supports</doc>
          <type name="URIType" c:type="GstURIType"/>
        </return-value>
        <parameters>
          <instance-parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElementFactory</doc>
            <type name="ElementFactory" c:type="GstElementFactory*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_interface"
              c:identifier="gst_element_factory_has_interface">
        <doc xml:space="preserve">Check if @factory implements the interface with name @interfacename.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE when @factory implement the interface.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElementFactory</doc>
            <type name="ElementFactory" c:type="GstElementFactory*"/>
          </instance-parameter>
          <parameter name="interfacename" transfer-ownership="none">
            <doc xml:space="preserve">an interface name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="list_is_type"
              c:identifier="gst_element_factory_list_is_type">
        <doc xml:space="preserve">Check if @factory is of the given types.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @factory is of @type.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElementFactory</doc>
            <type name="ElementFactory" c:type="GstElementFactory*"/>
          </instance-parameter>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">a #GstElementFactoryListType</doc>
            <type name="ElementFactoryListType"
                  c:type="GstElementFactoryListType"/>
          </parameter>
        </parameters>
      </method>
    </class>
    <record name="ElementFactoryClass"
            c:type="GstElementFactoryClass"
            disguised="1"
            glib:is-gtype-struct-for="ElementFactory">
    </record>
    <bitfield name="ElementFlags"
              glib:type-name="GstElementFlags"
              glib:get-type="gst_element_flags_get_type"
              c:type="GstElementFlags">
      <doc xml:space="preserve">The standard flags that an element may have.</doc>
      <member name="locked_state"
              value="16"
              c:identifier="GST_ELEMENT_FLAG_LOCKED_STATE"
              glib:nick="locked-state">
        <doc xml:space="preserve">ignore state changes from parent</doc>
      </member>
      <member name="sink"
              value="32"
              c:identifier="GST_ELEMENT_FLAG_SINK"
              glib:nick="sink">
        <doc xml:space="preserve">the element is a sink</doc>
      </member>
      <member name="source"
              value="64"
              c:identifier="GST_ELEMENT_FLAG_SOURCE"
              glib:nick="source">
        <doc xml:space="preserve">the element is a source.</doc>
      </member>
      <member name="provide_clock"
              value="128"
              c:identifier="GST_ELEMENT_FLAG_PROVIDE_CLOCK"
              glib:nick="provide-clock">
        <doc xml:space="preserve">the element can provide a clock</doc>
      </member>
      <member name="require_clock"
              value="256"
              c:identifier="GST_ELEMENT_FLAG_REQUIRE_CLOCK"
              glib:nick="require-clock">
        <doc xml:space="preserve">the element requires a clock</doc>
      </member>
      <member name="indexable"
              value="512"
              c:identifier="GST_ELEMENT_FLAG_INDEXABLE"
              glib:nick="indexable">
        <doc xml:space="preserve">the element can use an index</doc>
      </member>
      <member name="last"
              value="16384"
              c:identifier="GST_ELEMENT_FLAG_LAST"
              glib:nick="last">
        <doc xml:space="preserve">offset to define more flags</doc>
      </member>
    </bitfield>
    <callback name="ElementForeachPadFunc"
              c:type="GstElementForeachPadFunc"
              version="1.14">
      <doc xml:space="preserve">Function called for each pad when using gst_element_foreach_sink_pad(),
gst_element_foreach_src_pad(), or gst_element_foreach_pad().</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%FALSE to stop iterating pads, %TRUE to continue</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="element" transfer-ownership="none">
          <doc xml:space="preserve">the #GstElement</doc>
          <type name="Element" c:type="GstElement*"/>
        </parameter>
        <parameter name="pad" transfer-ownership="none">
          <doc xml:space="preserve">a #GstPad</doc>
          <type name="Pad" c:type="GstPad*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="2">
          <doc xml:space="preserve">user data passed to the foreach function</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <record name="Event"
            c:type="GstEvent"
            glib:type-name="GstEvent"
            glib:get-type="gst_event_get_type"
            c:symbol-prefix="event">
      <doc xml:space="preserve">The event class provides factory methods to construct events for sending
and functions to query (parse) received events.

Events are usually created with gst_event_new_*() which takes event-type
specific parameters as arguments.
To send an event application will usually use gst_element_send_event() and
elements will use gst_pad_send_event() or gst_pad_push_event().
The event should be unreffed with gst_event_unref() if it has not been sent.

Events that have been received can be parsed with their respective
gst_event_parse_*() functions. It is valid to pass %NULL for unwanted details.

Events are passed between elements in parallel to the data stream. Some events
are serialized with buffers, others are not. Some events only travel downstream,
others only upstream. Some events can travel both upstream and downstream.

The events are used to signal special conditions in the datastream such as
EOS (end of stream) or the start of a new stream-segment.
Events are also used to flush the pipeline of any pending data.

Most of the event API is used inside plugins. Applications usually only
construct and use seek events.
To do that gst_event_new_seek() is used to create a seek event. It takes
the needed parameters to specify seeking time and mode.
|[&lt;!-- language="C" --&gt;
  GstEvent *event;
  gboolean result;
  ...
  // construct a seek event to play the media from second 2 to 5, flush
  // the pipeline to decrease latency.
  event = gst_event_new_seek (1.0,
     GST_FORMAT_TIME,
     GST_SEEK_FLAG_FLUSH,
     GST_SEEK_TYPE_SET, 2 * GST_SECOND,
     GST_SEEK_TYPE_SET, 5 * GST_SECOND);
  ...
  result = gst_element_send_event (pipeline, event);
  if (!result)
    g_warning ("seek failed");
  ...
]|</doc>
      <field name="mini_object" writable="1">
        <doc xml:space="preserve">the parent structure</doc>
        <type name="MiniObject" c:type="GstMiniObject"/>
      </field>
      <field name="type" writable="1">
        <doc xml:space="preserve">the #GstEventType of the event</doc>
        <type name="EventType" c:type="GstEventType"/>
      </field>
      <field name="timestamp" writable="1">
        <doc xml:space="preserve">the timestamp of the event</doc>
        <type name="guint64" c:type="guint64"/>
      </field>
      <field name="seqnum" writable="1">
        <doc xml:space="preserve">the sequence number of the event</doc>
        <type name="guint32" c:type="guint32"/>
      </field>
      <constructor name="new_buffer_size"
                   c:identifier="gst_event_new_buffer_size">
        <doc xml:space="preserve">Create a new buffersize event. The event is sent downstream and notifies
elements that they should provide a buffer of the specified dimensions.

When the @async flag is set, a thread boundary is preferred.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstEvent</doc>
          <type name="Event" c:type="GstEvent*"/>
        </return-value>
        <parameters>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">buffer format</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="minsize" transfer-ownership="none">
            <doc xml:space="preserve">minimum buffer size</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
          <parameter name="maxsize" transfer-ownership="none">
            <doc xml:space="preserve">maximum buffer size</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
          <parameter name="async" transfer-ownership="none">
            <doc xml:space="preserve">thread behavior</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_caps" c:identifier="gst_event_new_caps">
        <doc xml:space="preserve">Create a new CAPS event for @caps. The caps event can only travel downstream
synchronized with the buffer flow and contains the format of the buffers
that will follow after the event.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the new CAPS event.</doc>
          <type name="Event" c:type="GstEvent*"/>
        </return-value>
        <parameters>
          <parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCaps</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_custom" c:identifier="gst_event_new_custom">
        <doc xml:space="preserve">Create a new custom-typed event. This can be used for anything not
handled by other event-specific functions to pass an event to another
element.

Make sure to allocate an event type with the #GST_EVENT_MAKE_TYPE macro,
assigning a free number and filling in the correct direction and
serialization flags.

New custom events can also be created by subclassing the event type if
needed.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the new custom event.</doc>
          <type name="Event" c:type="GstEvent*"/>
        </return-value>
        <parameters>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">The type of the new event</doc>
            <type name="EventType" c:type="GstEventType"/>
          </parameter>
          <parameter name="structure" transfer-ownership="full">
            <doc xml:space="preserve">the structure for the event. The event will
    take ownership of the structure.</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_eos" c:identifier="gst_event_new_eos">
        <doc xml:space="preserve">Create a new EOS event. The eos event can only travel downstream
synchronized with the buffer flow. Elements that receive the EOS
event on a pad can return #GST_FLOW_EOS as a #GstFlowReturn
when data after the EOS event arrives.

The EOS event will travel down to the sink elements in the pipeline
which will then post the #GST_MESSAGE_EOS on the bus after they have
finished playing any buffered data.

When all sinks have posted an EOS message, an EOS message is
forwarded to the application.

The EOS event itself will not cause any state transitions of the pipeline.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new EOS event.</doc>
          <type name="Event" c:type="GstEvent*"/>
        </return-value>
      </constructor>
      <constructor name="new_flush_start"
                   c:identifier="gst_event_new_flush_start">
        <doc xml:space="preserve">Allocate a new flush start event. The flush start event can be sent
upstream and downstream and travels out-of-bounds with the dataflow.

It marks pads as being flushing and will make them return
#GST_FLOW_FLUSHING when used for data flow with gst_pad_push(),
gst_pad_chain(), gst_pad_get_range() and gst_pad_pull_range().
Any event (except a #GST_EVENT_FLUSH_STOP) received
on a flushing pad will return %FALSE immediately.

Elements should unlock any blocking functions and exit their streaming
functions as fast as possible when this event is received.

This event is typically generated after a seek to flush out all queued data
in the pipeline so that the new media is played as soon as possible.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new flush start event.</doc>
          <type name="Event" c:type="GstEvent*"/>
        </return-value>
      </constructor>
      <constructor name="new_flush_stop"
                   c:identifier="gst_event_new_flush_stop">
        <doc xml:space="preserve">Allocate a new flush stop event. The flush stop event can be sent
upstream and downstream and travels serialized with the dataflow.
It is typically sent after sending a FLUSH_START event to make the
pads accept data again.

Elements can process this event synchronized with the dataflow since
the preceding FLUSH_START event stopped the dataflow.

This event is typically generated to complete a seek and to resume
dataflow.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new flush stop event.</doc>
          <type name="Event" c:type="GstEvent*"/>
        </return-value>
        <parameters>
          <parameter name="reset_time" transfer-ownership="none">
            <doc xml:space="preserve">if time should be reset</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_gap" c:identifier="gst_event_new_gap">
        <doc xml:space="preserve">Create a new GAP event. A gap event can be thought of as conceptually
equivalent to a buffer to signal that there is no data for a certain
amount of time. This is useful to signal a gap to downstream elements
which may wait for data, such as muxers or mixers or overlays, especially
for sparse streams such as subtitle streams.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new GAP event.</doc>
          <type name="Event" c:type="GstEvent*"/>
        </return-value>
        <parameters>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve">the start time (pts) of the gap</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="duration" transfer-ownership="none">
            <doc xml:space="preserve">the duration of the gap</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_latency" c:identifier="gst_event_new_latency">
        <doc xml:space="preserve">Create a new latency event. The event is sent upstream from the sinks and
notifies elements that they should add an additional @latency to the
running time before synchronising against the clock.

The latency is mostly used in live sinks and is always expressed in
the time format.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstEvent</doc>
          <type name="Event" c:type="GstEvent*"/>
        </return-value>
        <parameters>
          <parameter name="latency" transfer-ownership="none">
            <doc xml:space="preserve">the new latency value</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_navigation"
                   c:identifier="gst_event_new_navigation">
        <doc xml:space="preserve">Create a new navigation event from the given description.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstEvent</doc>
          <type name="Event" c:type="GstEvent*"/>
        </return-value>
        <parameters>
          <parameter name="structure" transfer-ownership="full">
            <doc xml:space="preserve">description of the event. The event will take
    ownership of the structure.</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_protection"
                   c:identifier="gst_event_new_protection"
                   version="1.6">
        <doc xml:space="preserve">Creates a new event containing information specific to a particular
protection system (uniquely identified by @system_id), by which that
protection system can acquire key(s) to decrypt a protected stream.

In order for a decryption element to decrypt media
protected using a specific system, it first needs all the
protection system specific information necessary to acquire the decryption
key(s) for that stream. The functions defined here enable this information
to be passed in events from elements that extract it
(e.g., ISOBMFF demuxers, MPEG DASH demuxers) to protection decrypter
elements that use it.

Events containing protection system specific information are created using
#gst_event_new_protection, and they can be parsed by downstream elements
using #gst_event_parse_protection.

In Common Encryption, protection system specific information may be located
within ISOBMFF files, both in movie (moov) boxes and movie fragment (moof)
boxes; it may also be contained in ContentProtection elements within MPEG
DASH MPDs. The events created by #gst_event_new_protection contain data
identifying from which of these locations the encapsulated protection system
specific information originated. This origin information is required as
some protection systems use different encodings depending upon where the
information originates.

The events returned by gst_event_new_protection() are implemented
in such a way as to ensure that the most recently-pushed protection info
event of a particular @origin and @system_id will
be stuck to the output pad of the sending element.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GST_EVENT_PROTECTION event, if successful; %NULL
if unsuccessful.</doc>
          <type name="Event" c:type="GstEvent*"/>
        </return-value>
        <parameters>
          <parameter name="system_id" transfer-ownership="none">
            <doc xml:space="preserve">a string holding a UUID that uniquely
identifies a protection system.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBuffer holding protection system specific
information. The reference count of the buffer will be incremented by one.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </parameter>
          <parameter name="origin" transfer-ownership="none">
            <doc xml:space="preserve">a string indicating where the protection
information carried in the event was extracted from. The allowed values
of this string will depend upon the protection scheme.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_qos" c:identifier="gst_event_new_qos">
        <doc xml:space="preserve">Allocate a new qos event with the given values.
The QOS event is generated in an element that wants an upstream
element to either reduce or increase its rate because of
high/low CPU load or other resource usage such as network performance or
throttling. Typically sinks generate these events for each buffer
they receive.

@type indicates the reason for the QoS event. #GST_QOS_TYPE_OVERFLOW is
used when a buffer arrived in time or when the sink cannot keep up with
the upstream datarate. #GST_QOS_TYPE_UNDERFLOW is when the sink is not
receiving buffers fast enough and thus has to drop late buffers.
#GST_QOS_TYPE_THROTTLE is used when the datarate is artificially limited
by the application, for example to reduce power consumption.

@proportion indicates the real-time performance of the streaming in the
element that generated the QoS event (usually the sink). The value is
generally computed based on more long term statistics about the streams
timestamps compared to the clock.
A value &lt; 1.0 indicates that the upstream element is producing data faster
than real-time. A value &gt; 1.0 indicates that the upstream element is not
producing data fast enough. 1.0 is the ideal @proportion value. The
proportion value can safely be used to lower or increase the quality of
the element.

@diff is the difference against the clock in running time of the last
buffer that caused the element to generate the QOS event. A negative value
means that the buffer with @timestamp arrived in time. A positive value
indicates how late the buffer with @timestamp was. When throttling is
enabled, @diff will be set to the requested throttling interval.

@timestamp is the timestamp of the last buffer that cause the element
to generate the QOS event. It is expressed in running time and thus an ever
increasing value.

The upstream element can use the @diff and @timestamp values to decide
whether to process more buffers. For positive @diff, all buffers with
timestamp &lt;= @timestamp + @diff will certainly arrive late in the sink
as well. A (negative) @diff value so that @timestamp + @diff would yield a
result smaller than 0 is not allowed.

The application can use general event probes to intercept the QoS
event and implement custom application specific QoS handling.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a new QOS event.</doc>
          <type name="Event" c:type="GstEvent*"/>
        </return-value>
        <parameters>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">the QoS type</doc>
            <type name="QOSType" c:type="GstQOSType"/>
          </parameter>
          <parameter name="proportion" transfer-ownership="none">
            <doc xml:space="preserve">the proportion of the qos message</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
          <parameter name="diff" transfer-ownership="none">
            <doc xml:space="preserve">The time difference of the last Clock sync</doc>
            <type name="ClockTimeDiff" c:type="GstClockTimeDiff"/>
          </parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve">The timestamp of the buffer</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_reconfigure"
                   c:identifier="gst_event_new_reconfigure">
        <doc xml:space="preserve">Create a new reconfigure event. The purpose of the reconfigure event is
to travel upstream and make elements renegotiate their caps or reconfigure
their buffer pools. This is useful when changing properties on elements
or changing the topology of the pipeline.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstEvent</doc>
          <type name="Event" c:type="GstEvent*"/>
        </return-value>
      </constructor>
      <constructor name="new_seek" c:identifier="gst_event_new_seek">
        <doc xml:space="preserve">Allocate a new seek event with the given parameters.

The seek event configures playback of the pipeline between @start to @stop
at the speed given in @rate, also called a playback segment.
The @start and @stop values are expressed in @format.

A @rate of 1.0 means normal playback rate, 2.0 means double speed.
Negatives values means backwards playback. A value of 0.0 for the
rate is not allowed and should be accomplished instead by PAUSING the
pipeline.

A pipeline has a default playback segment configured with a start
position of 0, a stop position of -1 and a rate of 1.0. The currently
configured playback segment can be queried with #GST_QUERY_SEGMENT.

@start_type and @stop_type specify how to adjust the currently configured
start and stop fields in playback segment. Adjustments can be made relative
or absolute to the last configured values. A type of #GST_SEEK_TYPE_NONE
means that the position should not be updated.

When the rate is positive and @start has been updated, playback will start
from the newly configured start position.

For negative rates, playback will start from the newly configured stop
position (if any). If the stop position is updated, it must be different from
-1 (#GST_CLOCK_TIME_NONE) for negative rates.

It is not possible to seek relative to the current playback position, to do
this, PAUSE the pipeline, query the current playback position with
#GST_QUERY_POSITION and update the playback segment current position with a
#GST_SEEK_TYPE_SET to the desired position.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a new seek event.</doc>
          <type name="Event" c:type="GstEvent*"/>
        </return-value>
        <parameters>
          <parameter name="rate" transfer-ownership="none">
            <doc xml:space="preserve">The new playback rate</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">The format of the seek values</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">The optional seek flags</doc>
            <type name="SeekFlags" c:type="GstSeekFlags"/>
          </parameter>
          <parameter name="start_type" transfer-ownership="none">
            <doc xml:space="preserve">The type and flags for the new start position</doc>
            <type name="SeekType" c:type="GstSeekType"/>
          </parameter>
          <parameter name="start" transfer-ownership="none">
            <doc xml:space="preserve">The value of the new start position</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
          <parameter name="stop_type" transfer-ownership="none">
            <doc xml:space="preserve">The type and flags for the new stop position</doc>
            <type name="SeekType" c:type="GstSeekType"/>
          </parameter>
          <parameter name="stop" transfer-ownership="none">
            <doc xml:space="preserve">The value of the new stop position</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_segment" c:identifier="gst_event_new_segment">
        <doc xml:space="preserve">Create a new SEGMENT event for @segment. The segment event can only travel
downstream synchronized with the buffer flow and contains timing information
and playback properties for the buffers that will follow.

The segment event marks the range of buffers to be processed. All
data not within the segment range is not to be processed. This can be
used intelligently by plugins to apply more efficient methods of skipping
unneeded data. The valid range is expressed with the @start and @stop
values.

The time value of the segment is used in conjunction with the start
value to convert the buffer timestamps into the stream time. This is
usually done in sinks to report the current stream_time.
@time represents the stream_time of a buffer carrying a timestamp of
@start. @time cannot be -1.

@start cannot be -1, @stop can be -1. If there
is a valid @stop given, it must be greater or equal the @start, including
when the indicated playback @rate is &lt; 0.

The @applied_rate value provides information about any rate adjustment that
has already been made to the timestamps and content on the buffers of the
stream. (@rate * @applied_rate) should always equal the rate that has been
requested for playback. For example, if an element has an input segment
with intended playback @rate of 2.0 and applied_rate of 1.0, it can adjust
incoming timestamps and buffer content by half and output a segment event
with @rate of 1.0 and @applied_rate of 2.0

After a segment event, the buffer stream time is calculated with:

  time + (TIMESTAMP(buf) - start) * ABS (rate * applied_rate)</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the new SEGMENT event.</doc>
          <type name="Event" c:type="GstEvent*"/>
        </return-value>
        <parameters>
          <parameter name="segment" transfer-ownership="none">
            <doc xml:space="preserve">a #GstSegment</doc>
            <type name="Segment" c:type="const GstSegment*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_segment_done"
                   c:identifier="gst_event_new_segment_done">
        <doc xml:space="preserve">Create a new segment-done event. This event is sent by elements that
finish playback of a segment as a result of a segment seek.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstEvent</doc>
          <type name="Event" c:type="GstEvent*"/>
        </return-value>
        <parameters>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">The format of the position being done</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="position" transfer-ownership="none">
            <doc xml:space="preserve">The position of the segment being done</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_select_streams"
                   c:identifier="gst_event_new_select_streams"
                   version="1.10">
        <doc xml:space="preserve">Allocate a new select-streams event.

The select-streams event requests the specified @streams to be activated.

The list of @streams corresponds to the "Stream ID" of each stream to be
activated. Those ID can be obtained via the #GstStream objects present
in #GST_EVENT_STREAM_START, #GST_EVENT_STREAM_COLLECTION or
#GST_MESSAGE_STREAM_COLLECTION.

Note: The list of @streams can not be empty.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new select-streams event or %NULL in case of
an error (like an empty streams list).</doc>
          <type name="Event" c:type="GstEvent*"/>
        </return-value>
        <parameters>
          <parameter name="streams" transfer-ownership="none">
            <doc xml:space="preserve">the list of streams to
activate</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="utf8"/>
            </type>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_sink_message"
                   c:identifier="gst_event_new_sink_message">
        <doc xml:space="preserve">Create a new sink-message event. The purpose of the sink-message event is
to instruct a sink to post the message contained in the event synchronized
with the stream.

@name is used to store multiple sticky events on one pad.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstEvent</doc>
          <type name="Event" c:type="GstEvent*"/>
        </return-value>
        <parameters>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">a name for the event</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="msg" transfer-ownership="none">
            <doc xml:space="preserve">the #GstMessage to be posted</doc>
            <type name="Message" c:type="GstMessage*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_step" c:identifier="gst_event_new_step">
        <doc xml:space="preserve">Create a new step event. The purpose of the step event is to instruct a sink
to skip @amount (expressed in @format) of media. It can be used to implement
stepping through the video frame by frame or for doing fast trick modes.

A rate of &lt;= 0.0 is not allowed. Pause the pipeline, for the effect of rate
= 0.0 or first reverse the direction of playback using a seek event to get
the same effect as rate &lt; 0.0.

The @flush flag will clear any pending data in the pipeline before starting
the step operation.

The @intermediate flag instructs the pipeline that this step operation is
part of a larger step operation.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a new #GstEvent</doc>
          <type name="Event" c:type="GstEvent*"/>
        </return-value>
        <parameters>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the format of @amount</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="amount" transfer-ownership="none">
            <doc xml:space="preserve">the amount of data to step</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
          <parameter name="rate" transfer-ownership="none">
            <doc xml:space="preserve">the step rate</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
          <parameter name="flush" transfer-ownership="none">
            <doc xml:space="preserve">flushing steps</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="intermediate" transfer-ownership="none">
            <doc xml:space="preserve">intermediate steps</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_stream_collection"
                   c:identifier="gst_event_new_stream_collection"
                   version="1.10">
        <doc xml:space="preserve">Create a new STREAM_COLLECTION event. The stream collection event can only
travel downstream synchronized with the buffer flow.

Source elements, demuxers and other elements that manage collections
of streams and post #GstStreamCollection messages on the bus also send
this event downstream on each pad involved in the collection, so that
activation of a new collection can be tracked through the downstream
data flow.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new STREAM_COLLECTION event.</doc>
          <type name="Event" c:type="GstEvent*"/>
        </return-value>
        <parameters>
          <parameter name="collection" transfer-ownership="none">
            <doc xml:space="preserve">Active collection for this data flow</doc>
            <type name="StreamCollection" c:type="GstStreamCollection*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_stream_group_done"
                   c:identifier="gst_event_new_stream_group_done"
                   version="1.10">
        <doc xml:space="preserve">Create a new Stream Group Done event. The stream-group-done event can
only travel downstream synchronized with the buffer flow. Elements
that receive the event on a pad should handle it mostly like EOS,
and emit any data or pending buffers that would depend on more data
arriving and unblock, since there won't be any more data.

This event is followed by EOS at some point in the future, and is
generally used when switching pads - to unblock downstream so that
new pads can be exposed before sending EOS on the existing pads.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new stream-group-done event.</doc>
          <type name="Event" c:type="GstEvent*"/>
        </return-value>
        <parameters>
          <parameter name="group_id" transfer-ownership="none">
            <doc xml:space="preserve">the group id of the stream group which is ending</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_stream_start"
                   c:identifier="gst_event_new_stream_start">
        <doc xml:space="preserve">Create a new STREAM_START event. The stream start event can only
travel downstream synchronized with the buffer flow. It is expected
to be the first event that is sent for a new stream.

Source elements, demuxers and other elements that create new streams
are supposed to send this event as the first event of a new stream. It
should not be sent after a flushing seek or in similar situations
and is used to mark the beginning of a new logical stream. Elements
combining multiple streams must ensure that this event is only forwarded
downstream once and not for every single input stream.

The @stream_id should be a unique string that consists of the upstream
stream-id, / as separator and a unique stream-id for this specific
stream. A new stream-id should only be created for a stream if the upstream
stream is split into (potentially) multiple new streams, e.g. in a demuxer,
but not for every single element in the pipeline.
gst_pad_create_stream_id() or gst_pad_create_stream_id_printf() can be
used to create a stream-id.  There are no particular semantics for the
stream-id, though it should be deterministic (to support stream matching)
and it might be used to order streams (besides any information conveyed by
stream flags).</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new STREAM_START event.</doc>
          <type name="Event" c:type="GstEvent*"/>
        </return-value>
        <parameters>
          <parameter name="stream_id" transfer-ownership="none">
            <doc xml:space="preserve">Identifier for this stream</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_tag" c:identifier="gst_event_new_tag">
        <doc xml:space="preserve">Generates a metadata tag event from the given @taglist.

The scope of the taglist specifies if the taglist applies to the
complete medium or only to this specific stream. As the tag event
is a sticky event, elements should merge tags received from
upstream with a given scope with their own tags with the same
scope and create a new tag event from it.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstEvent</doc>
          <type name="Event" c:type="GstEvent*"/>
        </return-value>
        <parameters>
          <parameter name="taglist" transfer-ownership="full">
            <doc xml:space="preserve">metadata list. The event will take ownership
    of the taglist.</doc>
            <type name="TagList" c:type="GstTagList*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_toc" c:identifier="gst_event_new_toc">
        <doc xml:space="preserve">Generate a TOC event from the given @toc. The purpose of the TOC event is to
inform elements that some kind of the TOC was found.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstEvent.</doc>
          <type name="Event" c:type="GstEvent*"/>
        </return-value>
        <parameters>
          <parameter name="toc" transfer-ownership="none">
            <doc xml:space="preserve">#GstToc structure.</doc>
            <type name="Toc" c:type="GstToc*"/>
          </parameter>
          <parameter name="updated" transfer-ownership="none">
            <doc xml:space="preserve">whether @toc was updated or not.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_toc_select"
                   c:identifier="gst_event_new_toc_select">
        <doc xml:space="preserve">Generate a TOC select event with the given @uid. The purpose of the
TOC select event is to start playback based on the TOC's entry with the
given @uid.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstEvent.</doc>
          <type name="Event" c:type="GstEvent*"/>
        </return-value>
        <parameters>
          <parameter name="uid" transfer-ownership="none">
            <doc xml:space="preserve">UID in the TOC to start playback from.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="copy_segment" c:identifier="gst_event_copy_segment">
        <doc xml:space="preserve">Parses a segment @event and copies the #GstSegment into the location
given by @segment.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">The event to parse</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
          <parameter name="segment" transfer-ownership="none">
            <doc xml:space="preserve">a pointer to a #GstSegment</doc>
            <type name="Segment" c:type="GstSegment*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_running_time_offset"
              c:identifier="gst_event_get_running_time_offset"
              version="1.4">
        <doc xml:space="preserve">Retrieve the accumulated running time offset of the event.

Events passing through #GstPads that have a running time
offset set via gst_pad_set_offset() will get their offset
adjusted according to the pad's offset.

If the event contains any information that related to the
running time, this information will need to be updated
before usage with this offset.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The event's running time offset

MT safe.</doc>
          <type name="gint64" c:type="gint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">A #GstEvent.</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_seqnum" c:identifier="gst_event_get_seqnum">
        <doc xml:space="preserve">Retrieve the sequence number of a event.

Events have ever-incrementing sequence numbers, which may also be set
explicitly via gst_event_set_seqnum(). Sequence numbers are typically used to
indicate that a event corresponds to some other set of events or messages,
for example an EOS event corresponding to a SEEK event. It is considered good
practice to make this correspondence when possible, though it is not
required.

Note that events and messages share the same sequence number incrementor;
two events or messages will never have the same sequence number unless
that correspondence was made explicitly.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The event's sequence number.

MT safe.</doc>
          <type name="guint32" c:type="guint32"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">A #GstEvent.</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_structure" c:identifier="gst_event_get_structure">
        <doc xml:space="preserve">Access the structure of the event.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">The structure of the event. The
structure is still owned by the event, which means that you should not free
it and that the pointer becomes invalid when you free the event.

MT safe.</doc>
          <type name="Structure" c:type="const GstStructure*"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">The #GstEvent.</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_name" c:identifier="gst_event_has_name">
        <doc xml:space="preserve">Checks if @event has the given @name. This function is usually used to
check the name of a custom event.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @name matches the name of the event structure.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">The #GstEvent.</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">name to check</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_buffer_size"
              c:identifier="gst_event_parse_buffer_size">
        <doc xml:space="preserve">Get the format, minsize, maxsize and async-flag in the buffersize event.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">The event to query</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
          <parameter name="format"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">A pointer to store the format in</doc>
            <type name="Format" c:type="GstFormat*"/>
          </parameter>
          <parameter name="minsize"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">A pointer to store the minsize in</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
          <parameter name="maxsize"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">A pointer to store the maxsize in</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
          <parameter name="async"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">A pointer to store the async-flag in</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_caps" c:identifier="gst_event_parse_caps">
        <doc xml:space="preserve">Get the caps from @event. The caps remains valid as long as @event remains
valid.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">The event to parse</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
          <parameter name="caps"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none">
            <doc xml:space="preserve">A pointer to the caps</doc>
            <type name="Caps" c:type="GstCaps**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_flush_stop"
              c:identifier="gst_event_parse_flush_stop">
        <doc xml:space="preserve">Parse the FLUSH_STOP event and retrieve the @reset_time member.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">The event to parse</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
          <parameter name="reset_time"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">if time should be reset</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_gap" c:identifier="gst_event_parse_gap">
        <doc xml:space="preserve">Extract timestamp and duration from a new GAP event.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">a #GstEvent of type #GST_EVENT_GAP</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
          <parameter name="timestamp"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">location where to store the
    start time (pts) of the gap, or %NULL</doc>
            <type name="ClockTime" c:type="GstClockTime*"/>
          </parameter>
          <parameter name="duration"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">location where to store the duration of
    the gap, or %NULL</doc>
            <type name="ClockTime" c:type="GstClockTime*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_group_id"
              c:identifier="gst_event_parse_group_id"
              version="1.2">
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if a group id was set on the event and could be parsed,
  %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">a stream-start event</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
          <parameter name="group_id"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">address of variable where to store the group id</doc>
            <type name="guint" c:type="guint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_latency" c:identifier="gst_event_parse_latency">
        <doc xml:space="preserve">Get the latency in the latency event.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">The event to query</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
          <parameter name="latency"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">A pointer to store the latency in.</doc>
            <type name="ClockTime" c:type="GstClockTime*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_protection"
              c:identifier="gst_event_parse_protection"
              version="1.6">
        <doc xml:space="preserve">Parses an event containing protection system specific information and stores
the results in @system_id, @data and @origin. The data stored in @system_id,
@origin and @data are valid until @event is released.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">a #GST_EVENT_PROTECTION event.</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
          <parameter name="system_id"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">pointer to store the UUID
string uniquely identifying a content protection system.</doc>
            <type name="utf8" c:type="const gchar**"/>
          </parameter>
          <parameter name="data"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">pointer to store a #GstBuffer
holding protection system specific information.</doc>
            <type name="Buffer" c:type="GstBuffer**"/>
          </parameter>
          <parameter name="origin"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">pointer to store a value that
indicates where the protection information carried by @event was extracted
from.</doc>
            <type name="utf8" c:type="const gchar**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_qos" c:identifier="gst_event_parse_qos">
        <doc xml:space="preserve">Get the type, proportion, diff and timestamp in the qos event. See
gst_event_new_qos() for more information about the different QoS values.

@timestamp will be adjusted for any pad offsets of pads it was passing through.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">The event to query</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
          <parameter name="type"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">A pointer to store the QoS type in</doc>
            <type name="QOSType" c:type="GstQOSType*"/>
          </parameter>
          <parameter name="proportion"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">A pointer to store the proportion in</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
          <parameter name="diff"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">A pointer to store the diff in</doc>
            <type name="ClockTimeDiff" c:type="GstClockTimeDiff*"/>
          </parameter>
          <parameter name="timestamp"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">A pointer to store the timestamp in</doc>
            <type name="ClockTime" c:type="GstClockTime*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_seek" c:identifier="gst_event_parse_seek">
        <doc xml:space="preserve">Parses a seek @event and stores the results in the given result locations.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">a seek event</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
          <parameter name="rate"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">result location for the rate</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
          <parameter name="format"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">result location for the stream format</doc>
            <type name="Format" c:type="GstFormat*"/>
          </parameter>
          <parameter name="flags"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">result location for the #GstSeekFlags</doc>
            <type name="SeekFlags" c:type="GstSeekFlags*"/>
          </parameter>
          <parameter name="start_type"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">result location for the #GstSeekType of the start position</doc>
            <type name="SeekType" c:type="GstSeekType*"/>
          </parameter>
          <parameter name="start"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">result location for the start position expressed in @format</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
          <parameter name="stop_type"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">result location for the #GstSeekType of the stop position</doc>
            <type name="SeekType" c:type="GstSeekType*"/>
          </parameter>
          <parameter name="stop"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">result location for the stop position expressed in @format</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_segment" c:identifier="gst_event_parse_segment">
        <doc xml:space="preserve">Parses a segment @event and stores the result in the given @segment location.
@segment remains valid only until the @event is freed. Don't modify the segment
and make a copy if you want to modify it or store it for later use.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">The event to parse</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
          <parameter name="segment"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none">
            <doc xml:space="preserve">a pointer to a #GstSegment</doc>
            <type name="Segment" c:type="const GstSegment**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_segment_done"
              c:identifier="gst_event_parse_segment_done">
        <doc xml:space="preserve">Extracts the position and format from the segment done message.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstEvent of type GST_EVENT_SEGMENT_DONE.</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
          <parameter name="format"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">Result location for the format, or %NULL</doc>
            <type name="Format" c:type="GstFormat*"/>
          </parameter>
          <parameter name="position"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">Result location for the position, or %NULL</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_select_streams"
              c:identifier="gst_event_parse_select_streams"
              version="1.10">
        <doc xml:space="preserve">Parse the SELECT_STREAMS event and retrieve the contained streams.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">The event to parse</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
          <parameter name="streams"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">the streams</doc>
            <type name="GLib.List" c:type="GList**">
              <type name="utf8"/>
            </type>
          </parameter>
        </parameters>
      </method>
      <method name="parse_sink_message"
              c:identifier="gst_event_parse_sink_message">
        <doc xml:space="preserve">Parse the sink-message event. Unref @msg after usage.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">The event to query</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
          <parameter name="msg"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">a pointer to store the #GstMessage in.</doc>
            <type name="Message" c:type="GstMessage**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_step" c:identifier="gst_event_parse_step">
        <doc xml:space="preserve">Parse the step event.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">The event to query</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
          <parameter name="format"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a pointer to store the format in</doc>
            <type name="Format" c:type="GstFormat*"/>
          </parameter>
          <parameter name="amount"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a pointer to store the amount in</doc>
            <type name="guint64" c:type="guint64*"/>
          </parameter>
          <parameter name="rate"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a pointer to store the rate in</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
          <parameter name="flush"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a pointer to store the flush boolean in</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
          <parameter name="intermediate"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a pointer to store the intermediate
    boolean in</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_stream"
              c:identifier="gst_event_parse_stream"
              version="1.10">
        <doc xml:space="preserve">Parse a stream-start @event and extract the #GstStream from it.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">a stream-start event</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
          <parameter name="stream"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">adress of variable to store the stream</doc>
            <type name="Stream" c:type="GstStream**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_stream_collection"
              c:identifier="gst_event_parse_stream_collection"
              version="1.10">
        <doc xml:space="preserve">Retrieve new #GstStreamCollection from STREAM_COLLECTION event @event.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">a stream-collection event</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
          <parameter name="collection"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">pointer to store the collection</doc>
            <type name="StreamCollection" c:type="GstStreamCollection**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_stream_flags"
              c:identifier="gst_event_parse_stream_flags"
              version="1.2">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">a stream-start event</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
          <parameter name="flags"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">address of variable where to store the stream flags</doc>
            <type name="StreamFlags" c:type="GstStreamFlags*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_stream_group_done"
              c:identifier="gst_event_parse_stream_group_done"
              version="1.10">
        <doc xml:space="preserve">Parse a stream-group-done @event and store the result in the given
@group_id location.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">a stream-group-done event.</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
          <parameter name="group_id"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">address of variable to store the group id into</doc>
            <type name="guint" c:type="guint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_stream_start"
              c:identifier="gst_event_parse_stream_start">
        <doc xml:space="preserve">Parse a stream-id @event and store the result in the given @stream_id
location. The string stored in @stream_id must not be modified and will
remain valid only until @event gets freed. Make a copy if you want to
modify it or store it for later use.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">a stream-start event.</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
          <parameter name="stream_id"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none">
            <doc xml:space="preserve">pointer to store the stream-id</doc>
            <type name="utf8" c:type="const gchar**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_tag" c:identifier="gst_event_parse_tag">
        <doc xml:space="preserve">Parses a tag @event and stores the results in the given @taglist location.
No reference to the taglist will be returned, it remains valid only until
the @event is freed. Don't modify or free the taglist, make a copy if you
want to modify it or store it for later use.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">a tag event</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
          <parameter name="taglist"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none">
            <doc xml:space="preserve">pointer to metadata list</doc>
            <type name="TagList" c:type="GstTagList**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_toc" c:identifier="gst_event_parse_toc">
        <doc xml:space="preserve">Parse a TOC @event and store the results in the given @toc and @updated locations.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">a TOC event.</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
          <parameter name="toc"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">pointer to #GstToc structure.</doc>
            <type name="Toc" c:type="GstToc**"/>
          </parameter>
          <parameter name="updated"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">pointer to store TOC updated flag.</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_toc_select"
              c:identifier="gst_event_parse_toc_select">
        <doc xml:space="preserve">Parse a TOC select @event and store the results in the given @uid location.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">a TOC select event.</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
          <parameter name="uid"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">storage for the selection UID.</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_group_id"
              c:identifier="gst_event_set_group_id"
              version="1.2">
        <doc xml:space="preserve">All streams that have the same group id are supposed to be played
together, i.e. all streams inside a container file should have the
same group id but different stream ids. The group id should change
each time the stream is started, resulting in different group ids
each time a file is played for example.

Use gst_util_group_id_next() to get a new group id.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">a stream-start event</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
          <parameter name="group_id" transfer-ownership="none">
            <doc xml:space="preserve">the group id to set</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_running_time_offset"
              c:identifier="gst_event_set_running_time_offset"
              version="1.4">
        <doc xml:space="preserve">Set the running time offset of a event. See
gst_event_get_running_time_offset() for more information.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">A #GstEvent.</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
          <parameter name="offset" transfer-ownership="none">
            <doc xml:space="preserve">A the new running time offset</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_seqnum" c:identifier="gst_event_set_seqnum">
        <doc xml:space="preserve">Set the sequence number of a event.

This function might be called by the creator of a event to indicate that the
event relates to other events or messages. See gst_event_get_seqnum() for
more information.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">A #GstEvent.</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
          <parameter name="seqnum" transfer-ownership="none">
            <doc xml:space="preserve">A sequence number.</doc>
            <type name="guint32" c:type="guint32"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_stream"
              c:identifier="gst_event_set_stream"
              version="1.10">
        <doc xml:space="preserve">Set the @stream on the stream-start @event</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">a stream-start event</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
          <parameter name="stream" transfer-ownership="none">
            <doc xml:space="preserve">the stream object to set</doc>
            <type name="Stream" c:type="GstStream*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_stream_flags"
              c:identifier="gst_event_set_stream_flags"
              version="1.2">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">a stream-start event</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">the stream flags to set</doc>
            <type name="StreamFlags" c:type="GstStreamFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="writable_structure"
              c:identifier="gst_event_writable_structure">
        <doc xml:space="preserve">Get a writable version of the structure.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The structure of the event. The structure
is still owned by the event, which means that you should not free
it and that the pointer becomes invalid when you free the event.
This function checks if @event is writable and will never return
%NULL.

MT safe.</doc>
          <type name="Structure" c:type="GstStructure*"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">The #GstEvent.</doc>
            <type name="Event" c:type="GstEvent*"/>
          </instance-parameter>
        </parameters>
      </method>
    </record>
    <enumeration name="EventType"
                 glib:type-name="GstEventType"
                 glib:get-type="gst_event_type_get_type"
                 c:type="GstEventType">
      <doc xml:space="preserve">#GstEventType lists the standard event types that can be sent in a pipeline.

The custom event types can be used for private messages between elements
that can't be expressed using normal
GStreamer buffer passing semantics. Custom events carry an arbitrary
#GstStructure.
Specific custom events are distinguished by the name of the structure.</doc>
      <member name="unknown"
              value="0"
              c:identifier="GST_EVENT_UNKNOWN"
              glib:nick="unknown">
        <doc xml:space="preserve">unknown event.</doc>
      </member>
      <member name="flush_start"
              value="2563"
              c:identifier="GST_EVENT_FLUSH_START"
              glib:nick="flush-start">
        <doc xml:space="preserve">Start a flush operation. This event clears all data
                from the pipeline and unblock all streaming threads.</doc>
      </member>
      <member name="flush_stop"
              value="5127"
              c:identifier="GST_EVENT_FLUSH_STOP"
              glib:nick="flush-stop">
        <doc xml:space="preserve">Stop a flush operation. This event resets the
                running-time of the pipeline.</doc>
      </member>
      <member name="stream_start"
              value="10254"
              c:identifier="GST_EVENT_STREAM_START"
              glib:nick="stream-start">
        <doc xml:space="preserve">Event to mark the start of a new stream. Sent before any
                other serialized event and only sent at the start of a new stream,
                not after flushing seeks.</doc>
      </member>
      <member name="caps"
              value="12814"
              c:identifier="GST_EVENT_CAPS"
              glib:nick="caps">
        <doc xml:space="preserve">#GstCaps event. Notify the pad of a new media type.</doc>
      </member>
      <member name="segment"
              value="17934"
              c:identifier="GST_EVENT_SEGMENT"
              glib:nick="segment">
        <doc xml:space="preserve">A new media segment follows in the dataflow. The
                segment events contains information for clipping buffers and
                converting buffer timestamps to running-time and
                stream-time.</doc>
      </member>
      <member name="stream_collection"
              value="19230"
              c:identifier="GST_EVENT_STREAM_COLLECTION"
              glib:nick="stream-collection">
        <doc xml:space="preserve">A new #GstStreamCollection is available (Since 1.10)</doc>
      </member>
      <member name="tag"
              value="20510"
              c:identifier="GST_EVENT_TAG"
              glib:nick="tag">
        <doc xml:space="preserve">A new set of metadata tags has been found in the stream.</doc>
      </member>
      <member name="buffersize"
              value="23054"
              c:identifier="GST_EVENT_BUFFERSIZE"
              glib:nick="buffersize">
        <doc xml:space="preserve">Notification of buffering requirements. Currently not
                used yet.</doc>
      </member>
      <member name="sink_message"
              value="25630"
              c:identifier="GST_EVENT_SINK_MESSAGE"
              glib:nick="sink-message">
        <doc xml:space="preserve">An event that sinks turn into a message. Used to
                         send messages that should be emitted in sync with
                         rendering.</doc>
      </member>
      <member name="stream_group_done"
              value="26894"
              c:identifier="GST_EVENT_STREAM_GROUP_DONE"
              glib:nick="stream-group-done">
        <doc xml:space="preserve">Indicates that there is no more data for
                the stream group ID in the message. Sent before EOS
                in some instances and should be handled mostly the same. (Since 1.10)</doc>
      </member>
      <member name="eos"
              value="28174"
              c:identifier="GST_EVENT_EOS"
              glib:nick="eos">
        <doc xml:space="preserve">End-Of-Stream. No more data is to be expected to follow
                without either a STREAM_START event, or a FLUSH_STOP and a SEGMENT
                event.</doc>
      </member>
      <member name="toc"
              value="30750"
              c:identifier="GST_EVENT_TOC"
              glib:nick="toc">
        <doc xml:space="preserve">An event which indicates that a new table of contents (TOC)
                was found or updated.</doc>
      </member>
      <member name="protection"
              value="33310"
              c:identifier="GST_EVENT_PROTECTION"
              glib:nick="protection">
        <doc xml:space="preserve">An event which indicates that new or updated
                encryption information has been found in the stream.</doc>
      </member>
      <member name="segment_done"
              value="38406"
              c:identifier="GST_EVENT_SEGMENT_DONE"
              glib:nick="segment-done">
        <doc xml:space="preserve">Marks the end of a segment playback.</doc>
      </member>
      <member name="gap"
              value="40966"
              c:identifier="GST_EVENT_GAP"
              glib:nick="gap">
        <doc xml:space="preserve">Marks a gap in the datastream.</doc>
      </member>
      <member name="qos"
              value="48641"
              c:identifier="GST_EVENT_QOS"
              glib:nick="qos">
        <doc xml:space="preserve">A quality message. Used to indicate to upstream elements
                that the downstream elements should adjust their processing
                rate.</doc>
      </member>
      <member name="seek"
              value="51201"
              c:identifier="GST_EVENT_SEEK"
              glib:nick="seek">
        <doc xml:space="preserve">A request for a new playback position and rate.</doc>
      </member>
      <member name="navigation"
              value="53761"
              c:identifier="GST_EVENT_NAVIGATION"
              glib:nick="navigation">
        <doc xml:space="preserve">Navigation events are usually used for communicating
                       user requests, such as mouse or keyboard movements,
                       to upstream elements.</doc>
      </member>
      <member name="latency"
              value="56321"
              c:identifier="GST_EVENT_LATENCY"
              glib:nick="latency">
        <doc xml:space="preserve">Notification of new latency adjustment. Sinks will use
                    the latency information to adjust their synchronisation.</doc>
      </member>
      <member name="step"
              value="58881"
              c:identifier="GST_EVENT_STEP"
              glib:nick="step">
        <doc xml:space="preserve">A request for stepping through the media. Sinks will usually
                 execute the step operation.</doc>
      </member>
      <member name="reconfigure"
              value="61441"
              c:identifier="GST_EVENT_RECONFIGURE"
              glib:nick="reconfigure">
        <doc xml:space="preserve">A request for upstream renegotiating caps and reconfiguring.</doc>
      </member>
      <member name="toc_select"
              value="64001"
              c:identifier="GST_EVENT_TOC_SELECT"
              glib:nick="toc-select">
        <doc xml:space="preserve">A request for a new playback position based on TOC
                       entry's UID.</doc>
      </member>
      <member name="select_streams"
              value="66561"
              c:identifier="GST_EVENT_SELECT_STREAMS"
              glib:nick="select-streams">
        <doc xml:space="preserve">A request to select one or more streams (Since 1.10)</doc>
      </member>
      <member name="custom_upstream"
              value="69121"
              c:identifier="GST_EVENT_CUSTOM_UPSTREAM"
              glib:nick="custom-upstream">
        <doc xml:space="preserve">Upstream custom event</doc>
      </member>
      <member name="custom_downstream"
              value="71686"
              c:identifier="GST_EVENT_CUSTOM_DOWNSTREAM"
              glib:nick="custom-downstream">
        <doc xml:space="preserve">Downstream custom event that travels in the
                       data flow.</doc>
      </member>
      <member name="custom_downstream_oob"
              value="74242"
              c:identifier="GST_EVENT_CUSTOM_DOWNSTREAM_OOB"
              glib:nick="custom-downstream-oob">
        <doc xml:space="preserve">Custom out-of-band downstream event.</doc>
      </member>
      <member name="custom_downstream_sticky"
              value="76830"
              c:identifier="GST_EVENT_CUSTOM_DOWNSTREAM_STICKY"
              glib:nick="custom-downstream-sticky">
        <doc xml:space="preserve">Custom sticky downstream event.</doc>
      </member>
      <member name="custom_both"
              value="79367"
              c:identifier="GST_EVENT_CUSTOM_BOTH"
              glib:nick="custom-both">
        <doc xml:space="preserve">Custom upstream or downstream event.
                        In-band when travelling downstream.</doc>
      </member>
      <member name="custom_both_oob"
              value="81923"
              c:identifier="GST_EVENT_CUSTOM_BOTH_OOB"
              glib:nick="custom-both-oob">
        <doc xml:space="preserve">Custom upstream or downstream out-of-band event.</doc>
      </member>
      <function name="get_flags" c:identifier="gst_event_type_get_flags">
        <doc xml:space="preserve">Gets the #GstEventTypeFlags associated with @type.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GstEventTypeFlags.</doc>
          <type name="EventTypeFlags" c:type="GstEventTypeFlags"/>
        </return-value>
        <parameters>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">a #GstEventType</doc>
            <type name="EventType" c:type="GstEventType"/>
          </parameter>
        </parameters>
      </function>
      <function name="get_name" c:identifier="gst_event_type_get_name">
        <doc xml:space="preserve">Get a printable name for the given event type. Do not modify or free.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a reference to the static name of the event.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">the event type</doc>
            <type name="EventType" c:type="GstEventType"/>
          </parameter>
        </parameters>
      </function>
      <function name="to_quark" c:identifier="gst_event_type_to_quark">
        <doc xml:space="preserve">Get the unique quark for the given event type.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the quark associated with the event type</doc>
          <type name="GLib.Quark" c:type="GQuark"/>
        </return-value>
        <parameters>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">the event type</doc>
            <type name="EventType" c:type="GstEventType"/>
          </parameter>
        </parameters>
      </function>
    </enumeration>
    <bitfield name="EventTypeFlags"
              glib:type-name="GstEventTypeFlags"
              glib:get-type="gst_event_type_flags_get_type"
              c:type="GstEventTypeFlags">
      <doc xml:space="preserve">#GstEventTypeFlags indicate the aspects of the different #GstEventType
values. You can get the type flags of a #GstEventType with the
gst_event_type_get_flags() function.</doc>
      <member name="upstream"
              value="1"
              c:identifier="GST_EVENT_TYPE_UPSTREAM"
              glib:nick="upstream">
        <doc xml:space="preserve">Set if the event can travel upstream.</doc>
      </member>
      <member name="downstream"
              value="2"
              c:identifier="GST_EVENT_TYPE_DOWNSTREAM"
              glib:nick="downstream">
        <doc xml:space="preserve">Set if the event can travel downstream.</doc>
      </member>
      <member name="serialized"
              value="4"
              c:identifier="GST_EVENT_TYPE_SERIALIZED"
              glib:nick="serialized">
        <doc xml:space="preserve">Set if the event should be serialized with data
                              flow.</doc>
      </member>
      <member name="sticky"
              value="8"
              c:identifier="GST_EVENT_TYPE_STICKY"
              glib:nick="sticky">
        <doc xml:space="preserve">Set if the event is sticky on the pads.</doc>
      </member>
      <member name="sticky_multi"
              value="16"
              c:identifier="GST_EVENT_TYPE_STICKY_MULTI"
              glib:nick="sticky-multi">
        <doc xml:space="preserve">Multiple sticky events can be on a pad, each
                              identified by the event name.</doc>
      </member>
    </bitfield>
    <constant name="FLAG_SET_MASK_EXACT"
              value="4294967295"
              c:type="GST_FLAG_SET_MASK_EXACT"
              version="1.6">
      <doc xml:space="preserve">A mask value with all bits set, for use as a
GstFlagSet mask where all flag bits must match
exactly</doc>
      <type name="guint" c:type="guint"/>
    </constant>
    <constant name="FORMAT_PERCENT_MAX"
              value="1000000"
              c:type="GST_FORMAT_PERCENT_MAX">
      <doc xml:space="preserve">The PERCENT format is between 0 and this value</doc>
      <type name="gint64" c:type="gint64"/>
    </constant>
    <constant name="FORMAT_PERCENT_SCALE"
              value="10000"
              c:type="GST_FORMAT_PERCENT_SCALE">
      <doc xml:space="preserve">The value used to scale down the reported PERCENT format value to
its real value.</doc>
      <type name="gint64" c:type="gint64"/>
    </constant>
    <constant name="FOURCC_FORMAT" value="c%c%c%c" c:type="GST_FOURCC_FORMAT">
      <doc xml:space="preserve">Can be used together with #GST_FOURCC_ARGS to properly output a
#guint32 fourcc value in a printf()-style text message.

|[
printf ("fourcc: %" GST_FOURCC_FORMAT "\n", GST_FOURCC_ARGS (fcc));
]|</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <class name="FlagSet"
           c:symbol-prefix="flagset"
           glib:type-name="GstFlagSet"
           glib:get-type="gst_flagset_get_type"
           glib:fundamental="1">
      <function name="register"
                c:identifier="gst_flagset_register"
                version="1.6">
        <doc xml:space="preserve">Create a new sub-class of #GST_TYPE_FLAG_SET
which will pretty-print the human-readable flags
when serializing, for easier debugging.</doc>
        <return-value transfer-ownership="none">
          <type name="GType" c:type="GType"/>
        </return-value>
        <parameters>
          <parameter name="flags_type" transfer-ownership="none">
            <doc xml:space="preserve">a #GType of a #G_TYPE_FLAGS type.</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
        </parameters>
      </function>
    </class>
    <enumeration name="FlowReturn"
                 glib:type-name="GstFlowReturn"
                 glib:get-type="gst_flow_return_get_type"
                 c:type="GstFlowReturn">
      <doc xml:space="preserve">The result of passing data to a pad.

Note that the custom return values should not be exposed outside of the
element scope.</doc>
      <member name="custom_success_2"
              value="102"
              c:identifier="GST_FLOW_CUSTOM_SUCCESS_2"
              glib:nick="custom-success-2">
        <doc xml:space="preserve">Pre-defined custom success code.</doc>
      </member>
      <member name="custom_success_1"
              value="101"
              c:identifier="GST_FLOW_CUSTOM_SUCCESS_1"
              glib:nick="custom-success-1">
        <doc xml:space="preserve">Pre-defined custom success code (define your
                              custom success code to this to avoid compiler
                              warnings).</doc>
      </member>
      <member name="custom_success"
              value="100"
              c:identifier="GST_FLOW_CUSTOM_SUCCESS"
              glib:nick="custom-success">
        <doc xml:space="preserve">Elements can use values starting from
                              this (and higher) to define custom success
                              codes.</doc>
      </member>
      <member name="ok" value="0" c:identifier="GST_FLOW_OK" glib:nick="ok">
        <doc xml:space="preserve">Data passing was ok.</doc>
      </member>
      <member name="not_linked"
              value="-1"
              c:identifier="GST_FLOW_NOT_LINKED"
              glib:nick="not-linked">
        <doc xml:space="preserve">Pad is not linked.</doc>
      </member>
      <member name="flushing"
              value="-2"
              c:identifier="GST_FLOW_FLUSHING"
              glib:nick="flushing">
        <doc xml:space="preserve">Pad is flushing.</doc>
      </member>
      <member name="eos"
              value="-3"
              c:identifier="GST_FLOW_EOS"
              glib:nick="eos">
        <doc xml:space="preserve">Pad is EOS.</doc>
      </member>
      <member name="not_negotiated"
              value="-4"
              c:identifier="GST_FLOW_NOT_NEGOTIATED"
              glib:nick="not-negotiated">
        <doc xml:space="preserve">Pad is not negotiated.</doc>
      </member>
      <member name="error"
              value="-5"
              c:identifier="GST_FLOW_ERROR"
              glib:nick="error">
        <doc xml:space="preserve">Some (fatal) error occurred. Element generating
                              this error should post an error message with more
                              details.</doc>
      </member>
      <member name="not_supported"
              value="-6"
              c:identifier="GST_FLOW_NOT_SUPPORTED"
              glib:nick="not-supported">
        <doc xml:space="preserve">This operation is not supported.</doc>
      </member>
      <member name="custom_error"
              value="-100"
              c:identifier="GST_FLOW_CUSTOM_ERROR"
              glib:nick="custom-error">
        <doc xml:space="preserve">Elements can use values starting from
                              this (and lower) to define custom error codes.</doc>
      </member>
      <member name="custom_error_1"
              value="-101"
              c:identifier="GST_FLOW_CUSTOM_ERROR_1"
              glib:nick="custom-error-1">
        <doc xml:space="preserve">Pre-defined custom error code (define your
                              custom error code to this to avoid compiler
                              warnings).</doc>
      </member>
      <member name="custom_error_2"
              value="-102"
              c:identifier="GST_FLOW_CUSTOM_ERROR_2"
              glib:nick="custom-error-2">
        <doc xml:space="preserve">Pre-defined custom error code.</doc>
      </member>
    </enumeration>
    <enumeration name="Format"
                 glib:type-name="GstFormat"
                 glib:get-type="gst_format_get_type"
                 c:type="GstFormat">
      <doc xml:space="preserve">Standard predefined formats</doc>
      <member name="undefined"
              value="0"
              c:identifier="GST_FORMAT_UNDEFINED"
              glib:nick="undefined">
        <doc xml:space="preserve">undefined format</doc>
      </member>
      <member name="default"
              value="1"
              c:identifier="GST_FORMAT_DEFAULT"
              glib:nick="default">
        <doc xml:space="preserve">the default format of the pad/element. This can be
   samples for raw audio, frames/fields for raw video (some, but not all,
   elements support this; use @GST_FORMAT_TIME if you don't have a good
   reason to query for samples/frames)</doc>
      </member>
      <member name="bytes"
              value="2"
              c:identifier="GST_FORMAT_BYTES"
              glib:nick="bytes">
        <doc xml:space="preserve">bytes</doc>
      </member>
      <member name="time"
              value="3"
              c:identifier="GST_FORMAT_TIME"
              glib:nick="time">
        <doc xml:space="preserve">time in nanoseconds</doc>
      </member>
      <member name="buffers"
              value="4"
              c:identifier="GST_FORMAT_BUFFERS"
              glib:nick="buffers">
        <doc xml:space="preserve">buffers (few, if any, elements implement this as of
    May 2009)</doc>
      </member>
      <member name="percent"
              value="5"
              c:identifier="GST_FORMAT_PERCENT"
              glib:nick="percent">
        <doc xml:space="preserve">percentage of stream (few, if any, elements implement
    this as of May 2009)</doc>
      </member>
      <function name="get_by_nick" c:identifier="gst_format_get_by_nick">
        <doc xml:space="preserve">Return the format registered with the given nick.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The format with @nick or GST_FORMAT_UNDEFINED
if the format was not registered.</doc>
          <type name="Format" c:type="GstFormat"/>
        </return-value>
        <parameters>
          <parameter name="nick" transfer-ownership="none">
            <doc xml:space="preserve">The nick of the format</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="get_details" c:identifier="gst_format_get_details">
        <doc xml:space="preserve">Get details about the given format.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">The #GstFormatDefinition for @format or %NULL
on failure.

MT safe.</doc>
          <type name="FormatDefinition" c:type="const GstFormatDefinition*"/>
        </return-value>
        <parameters>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">The format to get details of</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
        </parameters>
      </function>
      <function name="get_name" c:identifier="gst_format_get_name">
        <doc xml:space="preserve">Get a printable name for the given format. Do not modify or free.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">a reference to the static name of the format
or %NULL if the format is unknown.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">a #GstFormat</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
        </parameters>
      </function>
      <function name="iterate_definitions"
                c:identifier="gst_format_iterate_definitions">
        <doc xml:space="preserve">Iterate all the registered formats. The format definition is read
only.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a GstIterator of #GstFormatDefinition.</doc>
          <type name="Iterator" c:type="GstIterator*"/>
        </return-value>
      </function>
      <function name="register" c:identifier="gst_format_register">
        <doc xml:space="preserve">Create a new GstFormat based on the nick or return an
already registered format with that nick.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A new GstFormat or an already registered format
with the same nick.

MT safe.</doc>
          <type name="Format" c:type="GstFormat"/>
        </return-value>
        <parameters>
          <parameter name="nick" transfer-ownership="none">
            <doc xml:space="preserve">The nick of the new format</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="description" transfer-ownership="none">
            <doc xml:space="preserve">The description of the new format</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="to_quark" c:identifier="gst_format_to_quark">
        <doc xml:space="preserve">Get the unique quark for the given format.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the quark associated with the format or 0 if the format
is unknown.</doc>
          <type name="GLib.Quark" c:type="GQuark"/>
        </return-value>
        <parameters>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">a #GstFormat</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
        </parameters>
      </function>
    </enumeration>
    <record name="FormatDefinition" c:type="GstFormatDefinition">
      <doc xml:space="preserve">A format definition</doc>
      <field name="value" writable="1">
        <doc xml:space="preserve">The unique id of this format</doc>
        <type name="Format" c:type="GstFormat"/>
      </field>
      <field name="nick" writable="1">
        <doc xml:space="preserve">A short nick of the format</doc>
        <type name="utf8" c:type="const gchar*"/>
      </field>
      <field name="description" writable="1">
        <doc xml:space="preserve">A longer description of the format</doc>
        <type name="utf8" c:type="const gchar*"/>
      </field>
      <field name="quark" writable="1">
        <doc xml:space="preserve">A quark for the nick</doc>
        <type name="GLib.Quark" c:type="GQuark"/>
      </field>
    </record>
    <class name="Fraction"
           c:symbol-prefix="fraction"
           glib:type-name="GstFraction"
           glib:get-type="gst_fraction_get_type"
           glib:fundamental="1">
    </class>
    <class name="FractionRange"
           c:symbol-prefix="fraction_range"
           glib:type-name="GstFractionRange"
           glib:get-type="gst_fraction_range_get_type"
           glib:fundamental="1">
    </class>
    <constant name="GROUP_ID_INVALID"
              value="0"
              c:type="GST_GROUP_ID_INVALID"
              version="1.14">
      <doc xml:space="preserve">A value which is guaranteed to never be returned by
gst_util_group_id_next().

Can be used as a default value in variables used to store group_id.</doc>
      <type name="gint" c:type="gint"/>
    </constant>
    <class name="GhostPad"
           c:symbol-prefix="ghost_pad"
           c:type="GstGhostPad"
           parent="ProxyPad"
           glib:type-name="GstGhostPad"
           glib:get-type="gst_ghost_pad_get_type"
           glib:type-struct="GhostPadClass">
      <doc xml:space="preserve">GhostPads are useful when organizing pipelines with #GstBin like elements.
The idea here is to create hierarchical element graphs. The bin element
contains a sub-graph. Now one would like to treat the bin-element like any
other #GstElement. This is where GhostPads come into play. A GhostPad acts as
a proxy for another pad. Thus the bin can have sink and source ghost-pads
that are associated with sink and source pads of the child elements.

If the target pad is known at creation time, gst_ghost_pad_new() is the
function to use to get a ghost-pad. Otherwise one can use gst_ghost_pad_new_no_target()
to create the ghost-pad and use gst_ghost_pad_set_target() to establish the
association later on.

Note that GhostPads add overhead to the data processing of a pipeline.</doc>
      <constructor name="new" c:identifier="gst_ghost_pad_new">
        <doc xml:space="preserve">Create a new ghostpad with @target as the target. The direction will be taken
from the target pad. @target must be unlinked.

Will ref the target.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">a new #GstPad, or %NULL in
case of an error.</doc>
          <type name="Pad" c:type="GstPad*"/>
        </return-value>
        <parameters>
          <parameter name="name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the name of the new pad, or %NULL to assign a default name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="target" transfer-ownership="none">
            <doc xml:space="preserve">the pad to ghost.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_from_template"
                   c:identifier="gst_ghost_pad_new_from_template">
        <doc xml:space="preserve">Create a new ghostpad with @target as the target. The direction will be taken
from the target pad. The template used on the ghostpad will be @template.

Will ref the target.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">a new #GstPad, or %NULL in
case of an error.</doc>
          <type name="Pad" c:type="GstPad*"/>
        </return-value>
        <parameters>
          <parameter name="name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the name of the new pad, or %NULL to assign a default name.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="target" transfer-ownership="none">
            <doc xml:space="preserve">the pad to ghost.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </parameter>
          <parameter name="templ" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPadTemplate to use on the ghostpad.</doc>
            <type name="PadTemplate" c:type="GstPadTemplate*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_no_target"
                   c:identifier="gst_ghost_pad_new_no_target">
        <doc xml:space="preserve">Create a new ghostpad without a target with the given direction.
A target can be set on the ghostpad later with the
gst_ghost_pad_set_target() function.

The created ghostpad will not have a padtemplate.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">a new #GstPad, or %NULL in
case of an error.</doc>
          <type name="Pad" c:type="GstPad*"/>
        </return-value>
        <parameters>
          <parameter name="name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the name of the new pad, or %NULL to assign a default name.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="dir" transfer-ownership="none">
            <doc xml:space="preserve">the direction of the ghostpad</doc>
            <type name="PadDirection" c:type="GstPadDirection"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_no_target_from_template"
                   c:identifier="gst_ghost_pad_new_no_target_from_template">
        <doc xml:space="preserve">Create a new ghostpad based on @templ, without setting a target. The
direction will be taken from the @templ.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">a new #GstPad, or %NULL in
case of an error.</doc>
          <type name="Pad" c:type="GstPad*"/>
        </return-value>
        <parameters>
          <parameter name="name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the name of the new pad, or %NULL to assign a default name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="templ" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPadTemplate to create the ghostpad from.</doc>
            <type name="PadTemplate" c:type="GstPadTemplate*"/>
          </parameter>
        </parameters>
      </constructor>
      <function name="activate_mode_default"
                c:identifier="gst_ghost_pad_activate_mode_default">
        <doc xml:space="preserve">Invoke the default activate mode function of a ghost pad.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the operation was successful.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPad to activate or deactivate.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </parameter>
          <parameter name="parent"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the parent of @pad or %NULL</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve">the requested activation mode</doc>
            <type name="PadMode" c:type="GstPadMode"/>
          </parameter>
          <parameter name="active" transfer-ownership="none">
            <doc xml:space="preserve">whether the pad should be active or not.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </function>
      <function name="internal_activate_mode_default"
                c:identifier="gst_ghost_pad_internal_activate_mode_default">
        <doc xml:space="preserve">Invoke the default activate mode function of a proxy pad that is
owned by a ghost pad.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the operation was successful.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPad to activate or deactivate.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </parameter>
          <parameter name="parent"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the parent of @pad or %NULL</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve">the requested activation mode</doc>
            <type name="PadMode" c:type="GstPadMode"/>
          </parameter>
          <parameter name="active" transfer-ownership="none">
            <doc xml:space="preserve">whether the pad should be active or not.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </function>
      <method name="construct" c:identifier="gst_ghost_pad_construct">
        <doc xml:space="preserve">Finish initialization of a newly allocated ghost pad.

This function is most useful in language bindings and when subclassing
#GstGhostPad; plugin and application developers normally will not call this
function. Call this function directly after a call to g_object_new
(GST_TYPE_GHOST_PAD, "direction", @dir, ..., NULL).</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the construction succeeds, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="gpad" transfer-ownership="none">
            <doc xml:space="preserve">the newly allocated ghost pad</doc>
            <type name="GhostPad" c:type="GstGhostPad*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_target" c:identifier="gst_ghost_pad_get_target">
        <doc xml:space="preserve">Get the target pad of @gpad. Unref target pad after usage.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the target #GstPad, can be
%NULL if the ghostpad has no target set. Unref target pad after
usage.</doc>
          <type name="Pad" c:type="GstPad*"/>
        </return-value>
        <parameters>
          <instance-parameter name="gpad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstGhostPad</doc>
            <type name="GhostPad" c:type="GstGhostPad*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_target" c:identifier="gst_ghost_pad_set_target">
        <doc xml:space="preserve">Set the new target of the ghostpad @gpad. Any existing target
is unlinked and links to the new target are established. if @newtarget is
%NULL the target will be cleared.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the new target could be set. This function
    can return %FALSE when the internal pads could not be linked.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="gpad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstGhostPad</doc>
            <type name="GhostPad" c:type="GstGhostPad*"/>
          </instance-parameter>
          <parameter name="newtarget"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the new pad target</doc>
            <type name="Pad" c:type="GstPad*"/>
          </parameter>
        </parameters>
      </method>
      <field name="pad">
        <type name="ProxyPad" c:type="GstProxyPad"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="GhostPadPrivate" c:type="GstGhostPadPrivate*"/>
      </field>
    </class>
    <record name="GhostPadClass"
            c:type="GstGhostPadClass"
            glib:is-gtype-struct-for="GhostPad">
      <field name="parent_class">
        <type name="ProxyPadClass" c:type="GstProxyPadClass"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="GhostPadPrivate" c:type="GstGhostPadPrivate" disguised="1">
    </record>
    <class name="Int64Range"
           c:symbol-prefix="int64_range"
           glib:type-name="GstInt64Range"
           glib:get-type="gst_int64_range_get_type"
           glib:fundamental="1">
    </class>
    <class name="IntRange"
           c:symbol-prefix="int_range"
           glib:type-name="GstIntRange"
           glib:get-type="gst_int_range_get_type"
           glib:fundamental="1">
    </class>
    <record name="Iterator"
            c:type="GstIterator"
            glib:type-name="GstIterator"
            glib:get-type="gst_iterator_get_type"
            c:symbol-prefix="iterator">
      <doc xml:space="preserve">A GstIterator is used to retrieve multiple objects from another object in
a threadsafe way.

Various GStreamer objects provide access to their internal structures using
an iterator.

Note that if calling a GstIterator function results in your code receiving
a refcounted object (with, say, g_value_get_object()), the refcount for that
object will not be increased. Your code is responsible for taking a reference
if it wants to continue using it later.

The basic use pattern of an iterator is as follows:
|[&lt;!-- language="C" --&gt;
  GstIterator *it = _get_iterator(object);
  GValue item = G_VALUE_INIT;
  done = FALSE;
  while (!done) {
    switch (gst_iterator_next (it, &amp;amp;item)) {
      case GST_ITERATOR_OK:
        ...get/use/change item here...
        g_value_reset (&amp;amp;item);
        break;
      case GST_ITERATOR_RESYNC:
        ...rollback changes to items...
        gst_iterator_resync (it);
        break;
      case GST_ITERATOR_ERROR:
        ...wrong parameters were given...
        done = TRUE;
        break;
      case GST_ITERATOR_DONE:
        done = TRUE;
        break;
    }
  }
  g_value_unset (&amp;amp;item);
  gst_iterator_free (it);
]|</doc>
      <field name="copy" writable="1">
        <doc xml:space="preserve">The function to copy the iterator</doc>
        <type name="IteratorCopyFunction" c:type="GstIteratorCopyFunction"/>
      </field>
      <field name="next" writable="1">
        <doc xml:space="preserve">The function to get the next item in the iterator</doc>
        <type name="IteratorNextFunction" c:type="GstIteratorNextFunction"/>
      </field>
      <field name="item" writable="1">
        <doc xml:space="preserve">The function to be called for each item retrieved</doc>
        <type name="IteratorItemFunction" c:type="GstIteratorItemFunction"/>
      </field>
      <field name="resync" writable="1">
        <doc xml:space="preserve">The function to call when a resync is needed.</doc>
        <type name="IteratorResyncFunction"
              c:type="GstIteratorResyncFunction"/>
      </field>
      <field name="free" writable="1">
        <doc xml:space="preserve">The function to call when the iterator is freed</doc>
        <type name="IteratorFreeFunction" c:type="GstIteratorFreeFunction"/>
      </field>
      <field name="pushed" writable="1">
        <doc xml:space="preserve">The iterator that is currently pushed with gst_iterator_push()</doc>
        <type name="Iterator" c:type="GstIterator*"/>
      </field>
      <field name="type" writable="1">
        <doc xml:space="preserve">The type of the object that this iterator will return</doc>
        <type name="GType" c:type="GType"/>
      </field>
      <field name="lock" writable="1">
        <doc xml:space="preserve">The lock protecting the data structure and the cookie.</doc>
        <type name="GLib.Mutex" c:type="GMutex*"/>
      </field>
      <field name="cookie" writable="1">
        <doc xml:space="preserve">The cookie; the value of the master_cookie when this iterator was
         created.</doc>
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="master_cookie" writable="1">
        <doc xml:space="preserve">A pointer to the master cookie.</doc>
        <type name="guint32" c:type="guint32*"/>
      </field>
      <field name="size" writable="1">
        <doc xml:space="preserve">the size of the iterator</doc>
        <type name="guint" c:type="guint"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
      <constructor name="new"
                   c:identifier="gst_iterator_new"
                   introspectable="0">
        <doc xml:space="preserve">Create a new iterator. This function is mainly used for objects
implementing the next/resync/free function to iterate a data structure.

For each item retrieved, the @item function is called with the lock
held. The @free function is called when the iterator is freed.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new #GstIterator.

MT safe.</doc>
          <type name="Iterator" c:type="GstIterator*"/>
        </return-value>
        <parameters>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">the size of the iterator structure</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">#GType of children</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
          <parameter name="lock" transfer-ownership="none">
            <doc xml:space="preserve">pointer to a #GMutex.</doc>
            <type name="GLib.Mutex" c:type="GMutex*"/>
          </parameter>
          <parameter name="master_cookie" transfer-ownership="none">
            <doc xml:space="preserve">pointer to a guint32 that is changed when the items in the
   iterator changed.</doc>
            <type name="guint32" c:type="guint32*"/>
          </parameter>
          <parameter name="copy" transfer-ownership="none">
            <doc xml:space="preserve">copy function</doc>
            <type name="IteratorCopyFunction"
                  c:type="GstIteratorCopyFunction"/>
          </parameter>
          <parameter name="next" transfer-ownership="none">
            <doc xml:space="preserve">function to get next item</doc>
            <type name="IteratorNextFunction"
                  c:type="GstIteratorNextFunction"/>
          </parameter>
          <parameter name="item" transfer-ownership="none">
            <doc xml:space="preserve">function to call on each item retrieved</doc>
            <type name="IteratorItemFunction"
                  c:type="GstIteratorItemFunction"/>
          </parameter>
          <parameter name="resync" transfer-ownership="none">
            <doc xml:space="preserve">function to resync the iterator</doc>
            <type name="IteratorResyncFunction"
                  c:type="GstIteratorResyncFunction"/>
          </parameter>
          <parameter name="free" transfer-ownership="none">
            <doc xml:space="preserve">function to free the iterator</doc>
            <type name="IteratorFreeFunction"
                  c:type="GstIteratorFreeFunction"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_list"
                   c:identifier="gst_iterator_new_list"
                   introspectable="0">
        <doc xml:space="preserve">Create a new iterator designed for iterating @list.

The list you iterate is usually part of a data structure @owner and is
protected with @lock.

The iterator will use @lock to retrieve the next item of the list and it
will then call the @item function before releasing @lock again.

When a concurrent update to the list is performed, usually by @owner while
holding @lock, @master_cookie will be updated. The iterator implementation
will notice the update of the cookie and will return %GST_ITERATOR_RESYNC to
the user of the iterator in the next call to gst_iterator_next().</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new #GstIterator for @list.

MT safe.</doc>
          <type name="Iterator" c:type="GstIterator*"/>
        </return-value>
        <parameters>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">#GType of elements</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
          <parameter name="lock" transfer-ownership="none">
            <doc xml:space="preserve">pointer to a #GMutex protecting the list.</doc>
            <type name="GLib.Mutex" c:type="GMutex*"/>
          </parameter>
          <parameter name="master_cookie" transfer-ownership="none">
            <doc xml:space="preserve">pointer to a guint32 that is incremented when the list
    is changed.</doc>
            <type name="guint32" c:type="guint32*"/>
          </parameter>
          <parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">pointer to the list</doc>
            <type name="GLib.List" c:type="GList**">
              <type name="gpointer" c:type="gpointer"/>
            </type>
          </parameter>
          <parameter name="owner" transfer-ownership="none">
            <doc xml:space="preserve">object owning the list</doc>
            <type name="GObject.Object" c:type="GObject*"/>
          </parameter>
          <parameter name="item" transfer-ownership="none">
            <doc xml:space="preserve">function to call on each item retrieved</doc>
            <type name="IteratorItemFunction"
                  c:type="GstIteratorItemFunction"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_single" c:identifier="gst_iterator_new_single">
        <doc xml:space="preserve">This #GstIterator is a convenient iterator for the common
case where a #GstIterator needs to be returned but only
a single object has to be considered. This happens often
for the #GstPadIterIntLinkFunction.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new #GstIterator for @object.</doc>
          <type name="Iterator" c:type="GstIterator*"/>
        </return-value>
        <parameters>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">#GType of the passed object</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
          <parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">object that this iterator should return</doc>
            <type name="GObject.Value" c:type="const GValue*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="copy" c:identifier="gst_iterator_copy">
        <doc xml:space="preserve">Copy the iterator and its state.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new copy of @it.</doc>
          <type name="Iterator" c:type="GstIterator*"/>
        </return-value>
        <parameters>
          <instance-parameter name="it" transfer-ownership="none">
            <doc xml:space="preserve">a #GstIterator</doc>
            <type name="Iterator" c:type="const GstIterator*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="filter" c:identifier="gst_iterator_filter">
        <doc xml:space="preserve">Create a new iterator from an existing iterator. The new iterator
will only return those elements that match the given compare function @func.
The first parameter that is passed to @func is the #GValue of the current
iterator element and the second parameter is @user_data. @func should
return 0 for elements that should be included in the filtered iterator.

When this iterator is freed, @it will also be freed.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstIterator.

MT safe.</doc>
          <type name="Iterator" c:type="GstIterator*"/>
        </return-value>
        <parameters>
          <instance-parameter name="it" transfer-ownership="none">
            <doc xml:space="preserve">The #GstIterator to filter</doc>
            <type name="Iterator" c:type="GstIterator*"/>
          </instance-parameter>
          <parameter name="func" transfer-ownership="none" scope="call">
            <doc xml:space="preserve">the compare function to select elements</doc>
            <type name="GLib.CompareFunc" c:type="GCompareFunc"/>
          </parameter>
          <parameter name="user_data" transfer-ownership="none">
            <doc xml:space="preserve">user data passed to the compare function</doc>
            <type name="GObject.Value" c:type="const GValue*"/>
          </parameter>
        </parameters>
      </method>
      <method name="find_custom" c:identifier="gst_iterator_find_custom">
        <doc xml:space="preserve">Find the first element in @it that matches the compare function @func.
@func should return 0 when the element is found. The first parameter
to @func will be the current element of the iterator and the
second parameter will be @user_data.
The result will be stored in @elem if a result is found.

The iterator will not be freed.

This function will return %FALSE if an error happened to the iterator
or if the element wasn't found.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">Returns %TRUE if the element was found, else %FALSE.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="it" transfer-ownership="none">
            <doc xml:space="preserve">The #GstIterator to iterate</doc>
            <type name="Iterator" c:type="GstIterator*"/>
          </instance-parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="call"
                     closure="2">
            <doc xml:space="preserve">the compare function to use</doc>
            <type name="GLib.CompareFunc" c:type="GCompareFunc"/>
          </parameter>
          <parameter name="elem"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none">
            <doc xml:space="preserve">pointer to a #GValue where to store the result</doc>
            <type name="GObject.Value" c:type="GValue*"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user data passed to the compare function</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="fold" c:identifier="gst_iterator_fold">
        <doc xml:space="preserve">Folds @func over the elements of @iter. That is to say, @func will be called
as @func (object, @ret, @user_data) for each object in @it. The normal use
of this procedure is to accumulate the results of operating on the objects in
@ret.

This procedure can be used (and is used internally) to implement the
gst_iterator_foreach() and gst_iterator_find_custom() operations.

The fold will proceed as long as @func returns %TRUE. When the iterator has no
more arguments, %GST_ITERATOR_DONE will be returned. If @func returns %FALSE,
the fold will stop, and %GST_ITERATOR_OK will be returned. Errors or resyncs
will cause fold to return %GST_ITERATOR_ERROR or %GST_ITERATOR_RESYNC as
appropriate.

The iterator will not be freed.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A #GstIteratorResult, as described above.

MT safe.</doc>
          <type name="IteratorResult" c:type="GstIteratorResult"/>
        </return-value>
        <parameters>
          <instance-parameter name="it" transfer-ownership="none">
            <doc xml:space="preserve">The #GstIterator to fold over</doc>
            <type name="Iterator" c:type="GstIterator*"/>
          </instance-parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="call"
                     closure="2">
            <doc xml:space="preserve">the fold function</doc>
            <type name="IteratorFoldFunction"
                  c:type="GstIteratorFoldFunction"/>
          </parameter>
          <parameter name="ret" transfer-ownership="none">
            <doc xml:space="preserve">the seed value passed to the fold function</doc>
            <type name="GObject.Value" c:type="GValue*"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user data passed to the fold function</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="foreach" c:identifier="gst_iterator_foreach">
        <doc xml:space="preserve">Iterate over all element of @it and call the given function @func for
each element.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the result call to gst_iterator_fold(). The iterator will not be
freed.

MT safe.</doc>
          <type name="IteratorResult" c:type="GstIteratorResult"/>
        </return-value>
        <parameters>
          <instance-parameter name="it" transfer-ownership="none">
            <doc xml:space="preserve">The #GstIterator to iterate</doc>
            <type name="Iterator" c:type="GstIterator*"/>
          </instance-parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="call"
                     closure="1">
            <doc xml:space="preserve">the function to call for each element.</doc>
            <type name="IteratorForeachFunction"
                  c:type="GstIteratorForeachFunction"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user data passed to the function</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="free" c:identifier="gst_iterator_free">
        <doc xml:space="preserve">Free the iterator.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="it" transfer-ownership="none">
            <doc xml:space="preserve">The #GstIterator to free</doc>
            <type name="Iterator" c:type="GstIterator*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="next" c:identifier="gst_iterator_next">
        <doc xml:space="preserve">Get the next item from the iterator in @elem.

Only when this function returns %GST_ITERATOR_OK, @elem will contain a valid
value. @elem must have been initialized to the type of the iterator or
initialized to zeroes with g_value_unset(). The caller is responsible for
unsetting or resetting @elem with g_value_unset() or g_value_reset()
after usage.

When this function returns %GST_ITERATOR_DONE, no more elements can be
retrieved from @it.

A return value of %GST_ITERATOR_RESYNC indicates that the element list was
concurrently updated. The user of @it should call gst_iterator_resync() to
get the newly updated list.

A return value of %GST_ITERATOR_ERROR indicates an unrecoverable fatal error.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The result of the iteration. Unset @elem after usage.

MT safe.</doc>
          <type name="IteratorResult" c:type="GstIteratorResult"/>
        </return-value>
        <parameters>
          <instance-parameter name="it" transfer-ownership="none">
            <doc xml:space="preserve">The #GstIterator to iterate</doc>
            <type name="Iterator" c:type="GstIterator*"/>
          </instance-parameter>
          <parameter name="elem"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none">
            <doc xml:space="preserve">pointer to hold next element</doc>
            <type name="GObject.Value" c:type="GValue*"/>
          </parameter>
        </parameters>
      </method>
      <method name="push" c:identifier="gst_iterator_push">
        <doc xml:space="preserve">Pushes @other iterator onto @it. All calls performed on @it are
forwarded to @other. If @other returns %GST_ITERATOR_DONE, it is
popped again and calls are handled by @it again.

This function is mainly used by objects implementing the iterator
next function to recurse into substructures.

When gst_iterator_resync() is called on @it, @other will automatically be
popped.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="it" transfer-ownership="none">
            <doc xml:space="preserve">The #GstIterator to use</doc>
            <type name="Iterator" c:type="GstIterator*"/>
          </instance-parameter>
          <parameter name="other" transfer-ownership="none">
            <doc xml:space="preserve">The #GstIterator to push</doc>
            <type name="Iterator" c:type="GstIterator*"/>
          </parameter>
        </parameters>
      </method>
      <method name="resync" c:identifier="gst_iterator_resync">
        <doc xml:space="preserve">Resync the iterator. this function is mostly called
after gst_iterator_next() returned %GST_ITERATOR_RESYNC.

When an iterator was pushed on @it, it will automatically be popped again
with this function.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="it" transfer-ownership="none">
            <doc xml:space="preserve">The #GstIterator to resync</doc>
            <type name="Iterator" c:type="GstIterator*"/>
          </instance-parameter>
        </parameters>
      </method>
    </record>
    <callback name="IteratorCopyFunction" c:type="GstIteratorCopyFunction">
      <doc xml:space="preserve">This function will be called when creating a copy of @it and should
create a copy of all custom iterator fields or increase their
reference counts.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="it" transfer-ownership="none">
          <doc xml:space="preserve">The original iterator</doc>
          <type name="Iterator" c:type="const GstIterator*"/>
        </parameter>
        <parameter name="copy" transfer-ownership="none">
          <doc xml:space="preserve">The copied iterator</doc>
          <type name="Iterator" c:type="GstIterator*"/>
        </parameter>
      </parameters>
    </callback>
    <callback name="IteratorFoldFunction" c:type="GstIteratorFoldFunction">
      <doc xml:space="preserve">A function to be passed to gst_iterator_fold().</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the fold should continue, %FALSE if it should stop.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="item" transfer-ownership="none">
          <doc xml:space="preserve">the item to fold</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
        <parameter name="ret" transfer-ownership="none">
          <doc xml:space="preserve">a #GValue collecting the result</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="2">
          <doc xml:space="preserve">data passed to gst_iterator_fold()</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <callback name="IteratorForeachFunction"
              c:type="GstIteratorForeachFunction">
      <doc xml:space="preserve">A function that is called by gst_iterator_foreach() for every element.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="item" transfer-ownership="none">
          <doc xml:space="preserve">The item</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="1">
          <doc xml:space="preserve">User data</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <callback name="IteratorFreeFunction" c:type="GstIteratorFreeFunction">
      <doc xml:space="preserve">This function will be called when the iterator is freed.

Implementors of a #GstIterator should implement this
function and pass it to the constructor of the custom iterator.
The function will be called with the iterator lock held.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="it" transfer-ownership="none">
          <doc xml:space="preserve">the iterator</doc>
          <type name="Iterator" c:type="GstIterator*"/>
        </parameter>
      </parameters>
    </callback>
    <enumeration name="IteratorItem"
                 glib:type-name="GstIteratorItem"
                 glib:get-type="gst_iterator_item_get_type"
                 c:type="GstIteratorItem">
      <doc xml:space="preserve">The result of a #GstIteratorItemFunction.</doc>
      <member name="skip"
              value="0"
              c:identifier="GST_ITERATOR_ITEM_SKIP"
              glib:nick="skip">
        <doc xml:space="preserve">Skip this item</doc>
      </member>
      <member name="pass"
              value="1"
              c:identifier="GST_ITERATOR_ITEM_PASS"
              glib:nick="pass">
        <doc xml:space="preserve">Return item</doc>
      </member>
      <member name="end"
              value="2"
              c:identifier="GST_ITERATOR_ITEM_END"
              glib:nick="end">
        <doc xml:space="preserve">Stop after this item.</doc>
      </member>
    </enumeration>
    <callback name="IteratorItemFunction" c:type="GstIteratorItemFunction">
      <doc xml:space="preserve">The function that will be called after the next item of the iterator
has been retrieved. This function can be used to skip items or stop
the iterator.

The function will be called with the iterator lock held.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the result of the operation.</doc>
        <type name="IteratorItem" c:type="GstIteratorItem"/>
      </return-value>
      <parameters>
        <parameter name="it" transfer-ownership="none">
          <doc xml:space="preserve">the iterator</doc>
          <type name="Iterator" c:type="GstIterator*"/>
        </parameter>
        <parameter name="item" transfer-ownership="none">
          <doc xml:space="preserve">the item being retrieved.</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </callback>
    <callback name="IteratorNextFunction" c:type="GstIteratorNextFunction">
      <doc xml:space="preserve">The function that will be called when the next element of the iterator
should be retrieved.

Implementors of a #GstIterator should implement this
function and pass it to the constructor of the custom iterator.
The function will be called with the iterator lock held.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the result of the operation.</doc>
        <type name="IteratorResult" c:type="GstIteratorResult"/>
      </return-value>
      <parameters>
        <parameter name="it" transfer-ownership="none">
          <doc xml:space="preserve">the iterator</doc>
          <type name="Iterator" c:type="GstIterator*"/>
        </parameter>
        <parameter name="result" transfer-ownership="none">
          <doc xml:space="preserve">a pointer to hold the next item</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
      </parameters>
    </callback>
    <enumeration name="IteratorResult"
                 glib:type-name="GstIteratorResult"
                 glib:get-type="gst_iterator_result_get_type"
                 c:type="GstIteratorResult">
      <doc xml:space="preserve">The result of gst_iterator_next().</doc>
      <member name="done"
              value="0"
              c:identifier="GST_ITERATOR_DONE"
              glib:nick="done">
        <doc xml:space="preserve">No more items in the iterator</doc>
      </member>
      <member name="ok"
              value="1"
              c:identifier="GST_ITERATOR_OK"
              glib:nick="ok">
        <doc xml:space="preserve">An item was retrieved</doc>
      </member>
      <member name="resync"
              value="2"
              c:identifier="GST_ITERATOR_RESYNC"
              glib:nick="resync">
        <doc xml:space="preserve">Datastructure changed while iterating</doc>
      </member>
      <member name="error"
              value="3"
              c:identifier="GST_ITERATOR_ERROR"
              glib:nick="error">
        <doc xml:space="preserve">An error happened</doc>
      </member>
    </enumeration>
    <callback name="IteratorResyncFunction" c:type="GstIteratorResyncFunction">
      <doc xml:space="preserve">This function will be called whenever a concurrent update happened
to the iterated datastructure. The implementor of the iterator should
restart the iterator from the beginning and clean up any state it might
have.

Implementors of a #GstIterator should implement this
function and pass it to the constructor of the custom iterator.
The function will be called with the iterator lock held.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="it" transfer-ownership="none">
          <doc xml:space="preserve">the iterator</doc>
          <type name="Iterator" c:type="GstIterator*"/>
        </parameter>
      </parameters>
    </callback>
    <constant name="LICENSE_UNKNOWN"
              value="unknown"
              c:type="GST_LICENSE_UNKNOWN">
      <doc xml:space="preserve">To be used in GST_PLUGIN_DEFINE if unsure about the licence.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="LOCK_FLAG_READWRITE"
              value="3"
              c:type="GST_LOCK_FLAG_READWRITE">
      <doc xml:space="preserve">GstLockFlags value alias for GST_LOCK_FLAG_READ | GST_LOCK_FLAG_WRITE</doc>
      <type name="LockFlags" c:type="GstLockFlags"/>
    </constant>
    <enumeration name="LibraryError"
                 glib:type-name="GstLibraryError"
                 glib:get-type="gst_library_error_get_type"
                 c:type="GstLibraryError"
                 glib:error-domain="gst-library-error-quark">
      <doc xml:space="preserve">Library errors are for errors from the library being used by elements
(initializing, finalizing, settings, ...)</doc>
      <member name="failed"
              value="1"
              c:identifier="GST_LIBRARY_ERROR_FAILED"
              glib:nick="failed">
        <doc xml:space="preserve">a general error which doesn't fit in any other
category.  Make sure you add a custom message to the error call.</doc>
      </member>
      <member name="too_lazy"
              value="2"
              c:identifier="GST_LIBRARY_ERROR_TOO_LAZY"
              glib:nick="too-lazy">
        <doc xml:space="preserve">do not use this except as a placeholder for
deciding where to go while developing code.</doc>
      </member>
      <member name="init"
              value="3"
              c:identifier="GST_LIBRARY_ERROR_INIT"
              glib:nick="init">
        <doc xml:space="preserve">used when the library could not be opened.</doc>
      </member>
      <member name="shutdown"
              value="4"
              c:identifier="GST_LIBRARY_ERROR_SHUTDOWN"
              glib:nick="shutdown">
        <doc xml:space="preserve">used when the library could not be closed.</doc>
      </member>
      <member name="settings"
              value="5"
              c:identifier="GST_LIBRARY_ERROR_SETTINGS"
              glib:nick="settings">
        <doc xml:space="preserve">used when the library doesn't accept settings.</doc>
      </member>
      <member name="encode"
              value="6"
              c:identifier="GST_LIBRARY_ERROR_ENCODE"
              glib:nick="encode">
        <doc xml:space="preserve">used when the library generated an encoding error.</doc>
      </member>
      <member name="num_errors"
              value="7"
              c:identifier="GST_LIBRARY_ERROR_NUM_ERRORS"
              glib:nick="num-errors">
        <doc xml:space="preserve">the number of library error types.</doc>
      </member>
      <function name="quark" c:identifier="gst_library_error_quark">
        <return-value transfer-ownership="none">
          <type name="GLib.Quark" c:type="GQuark"/>
        </return-value>
      </function>
    </enumeration>
    <bitfield name="LockFlags"
              glib:type-name="GstLockFlags"
              glib:get-type="gst_lock_flags_get_type"
              c:type="GstLockFlags">
      <doc xml:space="preserve">Flags used when locking miniobjects</doc>
      <member name="read"
              value="1"
              c:identifier="GST_LOCK_FLAG_READ"
              glib:nick="read">
        <doc xml:space="preserve">lock for read access</doc>
      </member>
      <member name="write"
              value="2"
              c:identifier="GST_LOCK_FLAG_WRITE"
              glib:nick="write">
        <doc xml:space="preserve">lock for write access</doc>
      </member>
      <member name="exclusive"
              value="4"
              c:identifier="GST_LOCK_FLAG_EXCLUSIVE"
              glib:nick="exclusive">
        <doc xml:space="preserve">lock for exclusive access</doc>
      </member>
      <member name="last"
              value="256"
              c:identifier="GST_LOCK_FLAG_LAST"
              glib:nick="last">
        <doc xml:space="preserve">first flag that can be used for custom purposes</doc>
      </member>
    </bitfield>
    <callback name="LogFunction" c:type="GstLogFunction">
      <doc xml:space="preserve">Function prototype for a logging function that can be registered with
gst_debug_add_log_function().
Use G_GNUC_NO_INSTRUMENT on that function.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="category" transfer-ownership="none">
          <doc xml:space="preserve">a #GstDebugCategory</doc>
          <type name="DebugCategory" c:type="GstDebugCategory*"/>
        </parameter>
        <parameter name="level" transfer-ownership="none">
          <doc xml:space="preserve">a #GstDebugLevel</doc>
          <type name="DebugLevel" c:type="GstDebugLevel"/>
        </parameter>
        <parameter name="file" transfer-ownership="none">
          <doc xml:space="preserve">file name</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="function" transfer-ownership="none">
          <doc xml:space="preserve">function name</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="line" transfer-ownership="none">
          <doc xml:space="preserve">line number</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="object" transfer-ownership="none">
          <doc xml:space="preserve">a #GObject</doc>
          <type name="GObject.Object" c:type="GObject*"/>
        </parameter>
        <parameter name="message" transfer-ownership="none">
          <doc xml:space="preserve">the message</doc>
          <type name="DebugMessage" c:type="GstDebugMessage*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="7">
          <doc xml:space="preserve">user data for the log function</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <constant name="MAP_READWRITE" value="3" c:type="GST_MAP_READWRITE">
      <doc xml:space="preserve">GstMapFlags value alias for GST_MAP_READ | GST_MAP_WRITE</doc>
      <type name="MapFlags" c:type="GstMapFlags"/>
    </constant>
    <constant name="META_TAG_MEMORY_STR"
              value="memory"
              c:type="GST_META_TAG_MEMORY_STR"
              version="1.2">
      <doc xml:space="preserve">This metadata stays relevant as long as memory layout is unchanged.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MSECOND" value="1000000" c:type="GST_MSECOND">
      <doc xml:space="preserve">Constant that defines one GStreamer millisecond.</doc>
      <type name="ClockTimeDiff" c:type="GstClockTimeDiff"/>
    </constant>
    <bitfield name="MapFlags"
              glib:type-name="GstMapFlags"
              glib:get-type="gst_map_flags_get_type"
              c:type="GstMapFlags">
      <doc xml:space="preserve">Flags used when mapping memory</doc>
      <member name="read"
              value="1"
              c:identifier="GST_MAP_READ"
              glib:nick="read">
        <doc xml:space="preserve">map for read access</doc>
      </member>
      <member name="write"
              value="2"
              c:identifier="GST_MAP_WRITE"
              glib:nick="write">
        <doc xml:space="preserve">map for write access</doc>
      </member>
      <member name="flag_last"
              value="65536"
              c:identifier="GST_MAP_FLAG_LAST"
              glib:nick="flag-last">
        <doc xml:space="preserve">first flag that can be used for custom purposes</doc>
      </member>
    </bitfield>
    <record name="MapInfo" c:type="GstMapInfo">
      <doc xml:space="preserve">A structure containing the result of a map operation such as
gst_memory_map(). It contains the data and size.</doc>
      <field name="memory" writable="1">
        <doc xml:space="preserve">a pointer to the mapped memory</doc>
        <type name="Memory" c:type="GstMemory*"/>
      </field>
      <field name="flags" writable="1">
        <doc xml:space="preserve">flags used when mapping the memory</doc>
        <type name="MapFlags" c:type="GstMapFlags"/>
      </field>
      <field name="data" writable="1">
        <doc xml:space="preserve">a pointer to the mapped data</doc>
        <array length="3" zero-terminated="0" c:type="guint8*">
          <type name="guint8" c:type="guint8"/>
        </array>
      </field>
      <field name="size" writable="1">
        <doc xml:space="preserve">the valid size in @data</doc>
        <type name="gsize" c:type="gsize"/>
      </field>
      <field name="maxsize" writable="1">
        <doc xml:space="preserve">the maximum bytes in @data</doc>
        <type name="gsize" c:type="gsize"/>
      </field>
      <field name="user_data" writable="1">
        <doc xml:space="preserve">extra private user_data that the implementation of the memory
            can use to store extra info.</doc>
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="Memory"
            c:type="GstMemory"
            glib:type-name="GstMemory"
            glib:get-type="gst_memory_get_type"
            c:symbol-prefix="memory">
      <doc xml:space="preserve">GstMemory is a lightweight refcounted object that wraps a region of memory.
They are typically used to manage the data of a #GstBuffer.

A GstMemory object has an allocated region of memory of maxsize. The maximum
size does not change during the lifetime of the memory object. The memory
also has an offset and size property that specifies the valid range of memory
in the allocated region.

Memory is usually created by allocators with a gst_allocator_alloc()
method call. When %NULL is used as the allocator, the default allocator will
be used.

New allocators can be registered with gst_allocator_register().
Allocators are identified by name and can be retrieved with
gst_allocator_find(). gst_allocator_set_default() can be used to change the
default allocator.

New memory can be created with gst_memory_new_wrapped() that wraps the memory
allocated elsewhere.

Refcounting of the memory block is performed with gst_memory_ref() and
gst_memory_unref().

The size of the memory can be retrieved and changed with
gst_memory_get_sizes() and gst_memory_resize() respectively.

Getting access to the data of the memory is performed with gst_memory_map().
The call will return a pointer to offset bytes into the region of memory.
After the memory access is completed, gst_memory_unmap() should be called.

Memory can be copied with gst_memory_copy(), which will return a writable
copy. gst_memory_share() will create a new memory block that shares the
memory with an existing memory block at a custom offset and with a custom
size.

Memory can be efficiently merged when gst_memory_is_span() returns %TRUE.</doc>
      <field name="mini_object" writable="1">
        <doc xml:space="preserve">parent structure</doc>
        <type name="MiniObject" c:type="GstMiniObject"/>
      </field>
      <field name="allocator" writable="1">
        <doc xml:space="preserve">pointer to the #GstAllocator</doc>
        <type name="Allocator" c:type="GstAllocator*"/>
      </field>
      <field name="parent" writable="1">
        <doc xml:space="preserve">parent memory block</doc>
        <type name="Memory" c:type="GstMemory*"/>
      </field>
      <field name="maxsize" writable="1">
        <doc xml:space="preserve">the maximum size allocated</doc>
        <type name="gsize" c:type="gsize"/>
      </field>
      <field name="align" writable="1">
        <doc xml:space="preserve">the alignment of the memory</doc>
        <type name="gsize" c:type="gsize"/>
      </field>
      <field name="offset" writable="1">
        <doc xml:space="preserve">the offset where valid data starts</doc>
        <type name="gsize" c:type="gsize"/>
      </field>
      <field name="size" writable="1">
        <doc xml:space="preserve">the size of valid data</doc>
        <type name="gsize" c:type="gsize"/>
      </field>
      <constructor name="new_wrapped" c:identifier="gst_memory_new_wrapped">
        <doc xml:space="preserve">Allocate a new memory block that wraps the given @data.

The prefix/padding must be filled with 0 if @flags contains
#GST_MEMORY_FLAG_ZERO_PREFIXED and #GST_MEMORY_FLAG_ZERO_PADDED respectively.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a new #GstMemory.</doc>
          <type name="Memory" c:type="GstMemory*"/>
        </return-value>
        <parameters>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">#GstMemoryFlags</doc>
            <type name="MemoryFlags" c:type="GstMemoryFlags"/>
          </parameter>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve">data to
  wrap</doc>
            <array length="4" zero-terminated="0" c:type="gpointer">
              <type name="guint8"/>
            </array>
          </parameter>
          <parameter name="maxsize" transfer-ownership="none">
            <doc xml:space="preserve">allocated size of @data</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="offset" transfer-ownership="none">
            <doc xml:space="preserve">offset in @data</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">size of valid data</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user_data</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="5">
            <doc xml:space="preserve">called with @user_data when the memory is freed</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="copy" c:identifier="gst_memory_copy">
        <doc xml:space="preserve">Return a copy of @size bytes from @mem starting from @offset. This copy is
guaranteed to be writable. @size can be set to -1 to return a copy
from @offset to the end of the memory region.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstMemory.</doc>
          <type name="Memory" c:type="GstMemory*"/>
        </return-value>
        <parameters>
          <instance-parameter name="mem" transfer-ownership="none">
            <doc xml:space="preserve">a #GstMemory</doc>
            <type name="Memory" c:type="GstMemory*"/>
          </instance-parameter>
          <parameter name="offset" transfer-ownership="none">
            <doc xml:space="preserve">offset to copy from</doc>
            <type name="gssize" c:type="gssize"/>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">size to copy, or -1 to copy to the end of the memory region</doc>
            <type name="gssize" c:type="gssize"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_sizes" c:identifier="gst_memory_get_sizes">
        <doc xml:space="preserve">Get the current @size, @offset and @maxsize of @mem.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the current sizes of @mem</doc>
          <type name="gsize" c:type="gsize"/>
        </return-value>
        <parameters>
          <instance-parameter name="mem" transfer-ownership="none">
            <doc xml:space="preserve">a #GstMemory</doc>
            <type name="Memory" c:type="GstMemory*"/>
          </instance-parameter>
          <parameter name="offset"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">pointer to offset</doc>
            <type name="gsize" c:type="gsize*"/>
          </parameter>
          <parameter name="maxsize"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">pointer to maxsize</doc>
            <type name="gsize" c:type="gsize*"/>
          </parameter>
        </parameters>
      </method>
      <method name="init" c:identifier="gst_memory_init" introspectable="0">
        <doc xml:space="preserve">Initializes a newly allocated @mem with the given parameters. This function
will call gst_mini_object_init() with the default memory parameters.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="mem" transfer-ownership="none">
            <doc xml:space="preserve">a #GstMemory</doc>
            <type name="Memory" c:type="GstMemory*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">#GstMemoryFlags</doc>
            <type name="MemoryFlags" c:type="GstMemoryFlags"/>
          </parameter>
          <parameter name="allocator" transfer-ownership="none">
            <doc xml:space="preserve">the #GstAllocator</doc>
            <type name="Allocator" c:type="GstAllocator*"/>
          </parameter>
          <parameter name="parent" transfer-ownership="none">
            <doc xml:space="preserve">the parent of @mem</doc>
            <type name="Memory" c:type="GstMemory*"/>
          </parameter>
          <parameter name="maxsize" transfer-ownership="none">
            <doc xml:space="preserve">the total size of the memory</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="align" transfer-ownership="none">
            <doc xml:space="preserve">the alignment of the memory</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="offset" transfer-ownership="none">
            <doc xml:space="preserve">The offset in the memory</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">the size of valid data in the memory</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_span" c:identifier="gst_memory_is_span">
        <doc xml:space="preserve">Check if @mem1 and mem2 share the memory with a common parent memory object
and that the memory is contiguous.

If this is the case, the memory of @mem1 and @mem2 can be merged
efficiently by performing gst_memory_share() on the parent object from
the returned @offset.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the memory is contiguous and of a common parent.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="mem1" transfer-ownership="none">
            <doc xml:space="preserve">a #GstMemory</doc>
            <type name="Memory" c:type="GstMemory*"/>
          </instance-parameter>
          <parameter name="mem2" transfer-ownership="none">
            <doc xml:space="preserve">a #GstMemory</doc>
            <type name="Memory" c:type="GstMemory*"/>
          </parameter>
          <parameter name="offset"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">a pointer to a result offset</doc>
            <type name="gsize" c:type="gsize*"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_type" c:identifier="gst_memory_is_type" version="1.2">
        <doc xml:space="preserve">Check if @mem if allocated with an allocator for @mem_type.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @mem was allocated from an allocator for @mem_type.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="mem" transfer-ownership="none">
            <doc xml:space="preserve">a #GstMemory</doc>
            <type name="Memory" c:type="GstMemory*"/>
          </instance-parameter>
          <parameter name="mem_type" transfer-ownership="none">
            <doc xml:space="preserve">a memory type</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="make_mapped" c:identifier="gst_memory_make_mapped">
        <doc xml:space="preserve">Create a #GstMemory object that is mapped with @flags. If @mem is mappable
with @flags, this function returns the mapped @mem directly. Otherwise a
mapped copy of @mem is returned.

This function takes ownership of old @mem and returns a reference to a new
#GstMemory.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a #GstMemory object mapped
with @flags or %NULL when a mapping is not possible.</doc>
          <type name="Memory" c:type="GstMemory*"/>
        </return-value>
        <parameters>
          <instance-parameter name="mem" transfer-ownership="full">
            <doc xml:space="preserve">a #GstMemory</doc>
            <type name="Memory" c:type="GstMemory*"/>
          </instance-parameter>
          <parameter name="info"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none">
            <doc xml:space="preserve">pointer for info</doc>
            <type name="MapInfo" c:type="GstMapInfo*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">mapping flags</doc>
            <type name="MapFlags" c:type="GstMapFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="map" c:identifier="gst_memory_map">
        <doc xml:space="preserve">Fill @info with the pointer and sizes of the memory in @mem that can be
accessed according to @flags.

This function can return %FALSE for various reasons:
- the memory backed by @mem is not accessible with the given @flags.
- the memory was already mapped with a different mapping.

@info and its contents remain valid for as long as @mem is valid and
until gst_memory_unmap() is called.

For each gst_memory_map() call, a corresponding gst_memory_unmap() call
should be done.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the map operation was successful.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="mem" transfer-ownership="none">
            <doc xml:space="preserve">a #GstMemory</doc>
            <type name="Memory" c:type="GstMemory*"/>
          </instance-parameter>
          <parameter name="info"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none">
            <doc xml:space="preserve">pointer for info</doc>
            <type name="MapInfo" c:type="GstMapInfo*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">mapping flags</doc>
            <type name="MapFlags" c:type="GstMapFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="resize" c:identifier="gst_memory_resize">
        <doc xml:space="preserve">Resize the memory region. @mem should be writable and offset + size should be
less than the maxsize of @mem.

#GST_MEMORY_FLAG_ZERO_PREFIXED and #GST_MEMORY_FLAG_ZERO_PADDED will be
cleared when offset or padding is increased respectively.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="mem" transfer-ownership="none">
            <doc xml:space="preserve">a #GstMemory</doc>
            <type name="Memory" c:type="GstMemory*"/>
          </instance-parameter>
          <parameter name="offset" transfer-ownership="none">
            <doc xml:space="preserve">a new offset</doc>
            <type name="gssize" c:type="gssize"/>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">a new size</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
        </parameters>
      </method>
      <method name="share" c:identifier="gst_memory_share">
        <doc xml:space="preserve">Return a shared copy of @size bytes from @mem starting from @offset. No
memory copy is performed and the memory region is simply shared. The result
is guaranteed to be non-writable. @size can be set to -1 to return a shared
copy from @offset to the end of the memory region.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstMemory.</doc>
          <type name="Memory" c:type="GstMemory*"/>
        </return-value>
        <parameters>
          <instance-parameter name="mem" transfer-ownership="none">
            <doc xml:space="preserve">a #GstMemory</doc>
            <type name="Memory" c:type="GstMemory*"/>
          </instance-parameter>
          <parameter name="offset" transfer-ownership="none">
            <doc xml:space="preserve">offset to share from</doc>
            <type name="gssize" c:type="gssize"/>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">size to share, or -1 to share to the end of the memory region</doc>
            <type name="gssize" c:type="gssize"/>
          </parameter>
        </parameters>
      </method>
      <method name="unmap" c:identifier="gst_memory_unmap">
        <doc xml:space="preserve">Release the memory obtained with gst_memory_map()</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="mem" transfer-ownership="none">
            <doc xml:space="preserve">a #GstMemory</doc>
            <type name="Memory" c:type="GstMemory*"/>
          </instance-parameter>
          <parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">a #GstMapInfo</doc>
            <type name="MapInfo" c:type="GstMapInfo*"/>
          </parameter>
        </parameters>
      </method>
    </record>
    <callback name="MemoryCopyFunction" c:type="GstMemoryCopyFunction">
      <doc xml:space="preserve">Copy @size bytes from @mem starting at @offset and return them wrapped in a
new GstMemory object.
If @size is set to -1, all bytes starting at @offset are copied.</doc>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve">a new #GstMemory object wrapping a copy of the requested region in
@mem.</doc>
        <type name="Memory" c:type="GstMemory*"/>
      </return-value>
      <parameters>
        <parameter name="mem" transfer-ownership="none">
          <doc xml:space="preserve">a #GstMemory</doc>
          <type name="Memory" c:type="GstMemory*"/>
        </parameter>
        <parameter name="offset" transfer-ownership="none">
          <doc xml:space="preserve">an offset</doc>
          <type name="gssize" c:type="gssize"/>
        </parameter>
        <parameter name="size" transfer-ownership="none">
          <doc xml:space="preserve">a size or -1</doc>
          <type name="gssize" c:type="gssize"/>
        </parameter>
      </parameters>
    </callback>
    <bitfield name="MemoryFlags"
              glib:type-name="GstMemoryFlags"
              glib:get-type="gst_memory_flags_get_type"
              c:type="GstMemoryFlags">
      <doc xml:space="preserve">Flags for wrapped memory.</doc>
      <member name="readonly"
              value="2"
              c:identifier="GST_MEMORY_FLAG_READONLY"
              glib:nick="readonly">
        <doc xml:space="preserve">memory is readonly. It is not allowed to map the
memory with #GST_MAP_WRITE.</doc>
      </member>
      <member name="no_share"
              value="16"
              c:identifier="GST_MEMORY_FLAG_NO_SHARE"
              glib:nick="no-share">
        <doc xml:space="preserve">memory must not be shared. Copies will have to be
made when this memory needs to be shared between buffers.</doc>
      </member>
      <member name="zero_prefixed"
              value="32"
              c:identifier="GST_MEMORY_FLAG_ZERO_PREFIXED"
              glib:nick="zero-prefixed">
        <doc xml:space="preserve">the memory prefix is filled with 0 bytes</doc>
      </member>
      <member name="zero_padded"
              value="64"
              c:identifier="GST_MEMORY_FLAG_ZERO_PADDED"
              glib:nick="zero-padded">
        <doc xml:space="preserve">the memory padding is filled with 0 bytes</doc>
      </member>
      <member name="physically_contiguous"
              value="128"
              c:identifier="GST_MEMORY_FLAG_PHYSICALLY_CONTIGUOUS"
              glib:nick="physically-contiguous">
        <doc xml:space="preserve">the memory is physically contiguous. (Since 1.2)</doc>
      </member>
      <member name="not_mappable"
              value="256"
              c:identifier="GST_MEMORY_FLAG_NOT_MAPPABLE"
              glib:nick="not-mappable">
        <doc xml:space="preserve">the memory can't be mapped via gst_memory_map() without any preconditions. (Since 1.2)</doc>
      </member>
      <member name="last"
              value="1048576"
              c:identifier="GST_MEMORY_FLAG_LAST"
              glib:nick="last">
        <doc xml:space="preserve">first flag that can be used for custom purposes</doc>
      </member>
    </bitfield>
    <callback name="MemoryIsSpanFunction" c:type="GstMemoryIsSpanFunction">
      <doc xml:space="preserve">Check if @mem1 and @mem2 occupy contiguous memory and return the offset of
@mem1 in the parent buffer in @offset.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if @mem1 and @mem2 are in contiguous memory.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="mem1" transfer-ownership="none">
          <doc xml:space="preserve">a #GstMemory</doc>
          <type name="Memory" c:type="GstMemory*"/>
        </parameter>
        <parameter name="mem2" transfer-ownership="none">
          <doc xml:space="preserve">a #GstMemory</doc>
          <type name="Memory" c:type="GstMemory*"/>
        </parameter>
        <parameter name="offset" transfer-ownership="none">
          <doc xml:space="preserve">a result offset</doc>
          <type name="gsize" c:type="gsize*"/>
        </parameter>
      </parameters>
    </callback>
    <callback name="MemoryMapFullFunction" c:type="GstMemoryMapFullFunction">
      <doc xml:space="preserve">Get the memory of @mem that can be accessed according to the mode specified
in @info's flags. The function should return a pointer that contains at least
@maxsize bytes.</doc>
      <return-value transfer-ownership="none" nullable="1">
        <doc xml:space="preserve">a pointer to memory of which at least @maxsize bytes can be
accessed according to the access pattern in @info's flags.</doc>
        <type name="gpointer" c:type="gpointer"/>
      </return-value>
      <parameters>
        <parameter name="mem" transfer-ownership="none">
          <doc xml:space="preserve">a #GstMemory</doc>
          <type name="Memory" c:type="GstMemory*"/>
        </parameter>
        <parameter name="info" transfer-ownership="none">
          <doc xml:space="preserve">the #GstMapInfo to map with</doc>
          <type name="MapInfo" c:type="GstMapInfo*"/>
        </parameter>
        <parameter name="maxsize" transfer-ownership="none">
          <doc xml:space="preserve">size to map</doc>
          <type name="gsize" c:type="gsize"/>
        </parameter>
      </parameters>
    </callback>
    <callback name="MemoryMapFunction" c:type="GstMemoryMapFunction">
      <doc xml:space="preserve">Get the memory of @mem that can be accessed according to the mode specified
in @flags. The function should return a pointer that contains at least
@maxsize bytes.</doc>
      <return-value transfer-ownership="none" nullable="1">
        <doc xml:space="preserve">a pointer to memory of which at least @maxsize bytes can be
accessed according to the access pattern in @flags.</doc>
        <type name="gpointer" c:type="gpointer"/>
      </return-value>
      <parameters>
        <parameter name="mem" transfer-ownership="none">
          <doc xml:space="preserve">a #GstMemory</doc>
          <type name="Memory" c:type="GstMemory*"/>
        </parameter>
        <parameter name="maxsize" transfer-ownership="none">
          <doc xml:space="preserve">size to map</doc>
          <type name="gsize" c:type="gsize"/>
        </parameter>
        <parameter name="flags" transfer-ownership="none">
          <doc xml:space="preserve">access mode for the memory</doc>
          <type name="MapFlags" c:type="GstMapFlags"/>
        </parameter>
      </parameters>
    </callback>
    <callback name="MemoryShareFunction" c:type="GstMemoryShareFunction">
      <doc xml:space="preserve">Share @size bytes from @mem starting at @offset and return them wrapped in a
new GstMemory object. If @size is set to -1, all bytes starting at @offset are
shared. This function does not make a copy of the bytes in @mem.</doc>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve">a new #GstMemory object sharing the requested region in @mem.</doc>
        <type name="Memory" c:type="GstMemory*"/>
      </return-value>
      <parameters>
        <parameter name="mem" transfer-ownership="none">
          <doc xml:space="preserve">a #GstMemory</doc>
          <type name="Memory" c:type="GstMemory*"/>
        </parameter>
        <parameter name="offset" transfer-ownership="none">
          <doc xml:space="preserve">an offset</doc>
          <type name="gssize" c:type="gssize"/>
        </parameter>
        <parameter name="size" transfer-ownership="none">
          <doc xml:space="preserve">a size or -1</doc>
          <type name="gssize" c:type="gssize"/>
        </parameter>
      </parameters>
    </callback>
    <callback name="MemoryUnmapFullFunction"
              c:type="GstMemoryUnmapFullFunction">
      <doc xml:space="preserve">Return the pointer previously retrieved with gst_memory_map() with @info.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="mem" transfer-ownership="none">
          <doc xml:space="preserve">a #GstMemory</doc>
          <type name="Memory" c:type="GstMemory*"/>
        </parameter>
        <parameter name="info" transfer-ownership="none">
          <doc xml:space="preserve">a #GstMapInfo</doc>
          <type name="MapInfo" c:type="GstMapInfo*"/>
        </parameter>
      </parameters>
    </callback>
    <callback name="MemoryUnmapFunction" c:type="GstMemoryUnmapFunction">
      <doc xml:space="preserve">Return the pointer previously retrieved with gst_memory_map().</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="mem" transfer-ownership="none">
          <doc xml:space="preserve">a #GstMemory</doc>
          <type name="Memory" c:type="GstMemory*"/>
        </parameter>
      </parameters>
    </callback>
    <record name="Message"
            c:type="GstMessage"
            glib:type-name="GstMessage"
            glib:get-type="gst_message_get_type"
            c:symbol-prefix="message">
      <doc xml:space="preserve">Messages are implemented as a subclass of #GstMiniObject with a generic
#GstStructure as the content. This allows for writing custom messages without
requiring an API change while allowing a wide range of different types
of messages.

Messages are posted by objects in the pipeline and are passed to the
application using the #GstBus.

The basic use pattern of posting a message on a #GstBus is as follows:
|[&lt;!-- language="C" --&gt;
  gst_bus_post (bus, gst_message_new_eos());
]|

A #GstElement usually posts messages on the bus provided by the parent
container using gst_element_post_message().</doc>
      <field name="mini_object" writable="1">
        <doc xml:space="preserve">the parent structure</doc>
        <type name="MiniObject" c:type="GstMiniObject"/>
      </field>
      <field name="type" writable="1">
        <doc xml:space="preserve">the #GstMessageType of the message</doc>
        <type name="MessageType" c:type="GstMessageType"/>
      </field>
      <field name="timestamp" writable="1">
        <doc xml:space="preserve">the timestamp of the message</doc>
        <type name="guint64" c:type="guint64"/>
      </field>
      <field name="src" writable="1">
        <doc xml:space="preserve">the src of the message</doc>
        <type name="Object" c:type="GstObject*"/>
      </field>
      <field name="seqnum" writable="1">
        <doc xml:space="preserve">the sequence number of the message</doc>
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="lock" readable="0" private="1">
        <type name="GLib.Mutex" c:type="GMutex"/>
      </field>
      <field name="cond" readable="0" private="1">
        <type name="GLib.Cond" c:type="GCond"/>
      </field>
      <constructor name="new_application"
                   c:identifier="gst_message_new_application">
        <doc xml:space="preserve">Create a new application-typed message. GStreamer will never create these
messages; they are a gift from us to you. Enjoy.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">The new application message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="structure" transfer-ownership="full">
            <doc xml:space="preserve">the structure for the message. The message
    will take ownership of the structure.</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_async_done"
                   c:identifier="gst_message_new_async_done">
        <doc xml:space="preserve">The message is posted when elements completed an ASYNC state change.
@running_time contains the time of the desired running_time when this
elements goes to PLAYING. A value of #GST_CLOCK_TIME_NONE for @running_time
means that the element has no clock interaction and thus doesn't care about
the running_time of the pipeline.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The new async_done message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="running_time" transfer-ownership="none">
            <doc xml:space="preserve">the desired running_time</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_async_start"
                   c:identifier="gst_message_new_async_start">
        <doc xml:space="preserve">This message is posted by elements when they start an ASYNC state change.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The new async_start message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_buffering"
                   c:identifier="gst_message_new_buffering">
        <doc xml:space="preserve">Create a new buffering message. This message can be posted by an element that
needs to buffer data before it can continue processing. @percent should be a
value between 0 and 100. A value of 100 means that the buffering completed.

When @percent is &lt; 100 the application should PAUSE a PLAYING pipeline. When
@percent is 100, the application can set the pipeline (back) to PLAYING.
The application must be prepared to receive BUFFERING messages in the
PREROLLING state and may only set the pipeline to PLAYING after receiving a
message with @percent set to 100, which can happen after the pipeline
completed prerolling.

MT safe.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">The new buffering message.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="percent" transfer-ownership="none">
            <doc xml:space="preserve">The buffering percent</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_clock_lost"
                   c:identifier="gst_message_new_clock_lost">
        <doc xml:space="preserve">Create a clock lost message. This message is posted whenever the
clock is not valid anymore.

If this message is posted by the pipeline, the pipeline will
select a new clock again when it goes to PLAYING. It might therefore
be needed to set the pipeline to PAUSED and PLAYING again.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The new clock lost message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve">the clock that was lost</doc>
            <type name="Clock" c:type="GstClock*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_clock_provide"
                   c:identifier="gst_message_new_clock_provide">
        <doc xml:space="preserve">Create a clock provide message. This message is posted whenever an
element is ready to provide a clock or lost its ability to provide
a clock (maybe because it paused or became EOS).

This message is mainly used internally to manage the clock
selection.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new provide clock message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve">the clock it provides</doc>
            <type name="Clock" c:type="GstClock*"/>
          </parameter>
          <parameter name="ready" transfer-ownership="none">
            <doc xml:space="preserve">%TRUE if the sender can provide a clock</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_custom" c:identifier="gst_message_new_custom">
        <doc xml:space="preserve">Create a new custom-typed message. This can be used for anything not
handled by other message-specific functions to pass a message to the
app. The structure field can be %NULL.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">The new message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">The #GstMessageType to distinguish messages</doc>
            <type name="MessageType" c:type="GstMessageType"/>
          </parameter>
          <parameter name="src"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="structure"
                     transfer-ownership="full"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the structure for the
    message. The message will take ownership of the structure.</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_device_added"
                   c:identifier="gst_message_new_device_added"
                   version="1.4">
        <doc xml:space="preserve">Creates a new device-added message. The device-added message is produced by
#GstDeviceProvider or a #GstDeviceMonitor. They announce the appearance
of monitored devices.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a newly allocated #GstMessage</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve">The #GstObject that created the message</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">The new #GstDevice</doc>
            <type name="Device" c:type="GstDevice*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_device_removed"
                   c:identifier="gst_message_new_device_removed"
                   version="1.4">
        <doc xml:space="preserve">Creates a new device-removed message. The device-removed message is produced
by #GstDeviceProvider or a #GstDeviceMonitor. They announce the
disappearance of monitored devices.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a newly allocated #GstMessage</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve">The #GstObject that created the message</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">The removed #GstDevice</doc>
            <type name="Device" c:type="GstDevice*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_duration_changed"
                   c:identifier="gst_message_new_duration_changed">
        <doc xml:space="preserve">Create a new duration changed message. This message is posted by elements
that know the duration of a stream when the duration changes. This message
is received by bins and is used to calculate the total duration of a
pipeline.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The new duration-changed message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_element" c:identifier="gst_message_new_element">
        <doc xml:space="preserve">Create a new element-specific message. This is meant as a generic way of
allowing one-way communication from an element to an application, for example
"the firewire cable was unplugged". The format of the message should be
documented in the element's documentation. The structure field can be %NULL.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">The new element message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="structure" transfer-ownership="full">
            <doc xml:space="preserve">The structure for the
    message. The message will take ownership of the structure.</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_eos" c:identifier="gst_message_new_eos">
        <doc xml:space="preserve">Create a new eos message. This message is generated and posted in
the sink elements of a GstBin. The bin will only forward the EOS
message to the application if all sinks have posted an EOS message.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The new eos message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_error" c:identifier="gst_message_new_error">
        <doc xml:space="preserve">Create a new error message. The message will copy @error and
@debug. This message is posted by element when a fatal event
occurred. The pipeline will probably (partially) stop. The application
receiving this message should stop the pipeline.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new error message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="error" transfer-ownership="none">
            <doc xml:space="preserve">The GError for this message.</doc>
            <type name="GLib.Error" c:type="GError*"/>
          </parameter>
          <parameter name="debug" transfer-ownership="none">
            <doc xml:space="preserve">A debugging string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_error_with_details"
                   c:identifier="gst_message_new_error_with_details"
                   version="1.10">
        <doc xml:space="preserve">Create a new error message. The message will copy @error and
@debug. This message is posted by element when a fatal event
occurred. The pipeline will probably (partially) stop. The application
receiving this message should stop the pipeline.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the new error message.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="error" transfer-ownership="none">
            <doc xml:space="preserve">The GError for this message.</doc>
            <type name="GLib.Error" c:type="GError*"/>
          </parameter>
          <parameter name="debug" transfer-ownership="none">
            <doc xml:space="preserve">A debugging string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="details" transfer-ownership="full">
            <doc xml:space="preserve">(allow-none): A GstStructure with details</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_have_context"
                   c:identifier="gst_message_new_have_context"
                   version="1.2">
        <doc xml:space="preserve">This message is posted when an element has a new local #GstContext.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The new have-context message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="context" transfer-ownership="full">
            <doc xml:space="preserve">the context</doc>
            <type name="Context" c:type="GstContext*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_info" c:identifier="gst_message_new_info">
        <doc xml:space="preserve">Create a new info message. The message will make copies of @error and
@debug.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new info message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="error" transfer-ownership="none">
            <doc xml:space="preserve">The GError for this message.</doc>
            <type name="GLib.Error" c:type="GError*"/>
          </parameter>
          <parameter name="debug" transfer-ownership="none">
            <doc xml:space="preserve">A debugging string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_info_with_details"
                   c:identifier="gst_message_new_info_with_details"
                   version="1.10">
        <doc xml:space="preserve">Create a new info message. The message will make copies of @error and
@debug.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the new warning message.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="error" transfer-ownership="none">
            <doc xml:space="preserve">The GError for this message.</doc>
            <type name="GLib.Error" c:type="GError*"/>
          </parameter>
          <parameter name="debug" transfer-ownership="none">
            <doc xml:space="preserve">A debugging string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="details" transfer-ownership="full">
            <doc xml:space="preserve">(allow-none): A GstStructure with details</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_latency" c:identifier="gst_message_new_latency">
        <doc xml:space="preserve">This message can be posted by elements when their latency requirements have
changed.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The new latency message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_need_context"
                   c:identifier="gst_message_new_need_context"
                   version="1.2">
        <doc xml:space="preserve">This message is posted when an element needs a specific #GstContext.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The new need-context message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="context_type" transfer-ownership="none">
            <doc xml:space="preserve">The context type that is needed</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_new_clock"
                   c:identifier="gst_message_new_new_clock">
        <doc xml:space="preserve">Create a new clock message. This message is posted whenever the
pipeline selects a new clock for the pipeline.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The new new clock message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve">the new selected clock</doc>
            <type name="Clock" c:type="GstClock*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_progress" c:identifier="gst_message_new_progress">
        <doc xml:space="preserve">Progress messages are posted by elements when they use an asynchronous task
to perform actions triggered by a state change.

@code contains a well defined string describing the action.
@text should contain a user visible string detailing the current action.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">The new qos message.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">a #GstProgressType</doc>
            <type name="ProgressType" c:type="GstProgressType"/>
          </parameter>
          <parameter name="code" transfer-ownership="none">
            <doc xml:space="preserve">a progress code</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="text" transfer-ownership="none">
            <doc xml:space="preserve">free, user visible text describing the progress</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_property_notify"
                   c:identifier="gst_message_new_property_notify"
                   version="1.10">
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a newly allocated #GstMessage</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve">The #GstObject whose property changed (may or may not be a #GstElement)</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="property_name" transfer-ownership="none">
            <doc xml:space="preserve">name of the property that changed</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="val"
                     transfer-ownership="full"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">new property value, or %NULL</doc>
            <type name="GObject.Value" c:type="GValue*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_qos" c:identifier="gst_message_new_qos">
        <doc xml:space="preserve">A QOS message is posted on the bus whenever an element decides to drop a
buffer because of QoS reasons or whenever it changes its processing strategy
because of QoS reasons (quality adjustments such as processing at lower
accuracy).

This message can be posted by an element that performs synchronisation against the
clock (live) or it could be dropped by an element that performs QoS because of QOS
events received from a downstream element (!live).

@running_time, @stream_time, @timestamp, @duration should be set to the
respective running-time, stream-time, timestamp and duration of the (dropped)
buffer that generated the QoS event. Values can be left to
GST_CLOCK_TIME_NONE when unknown.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The new qos message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="live" transfer-ownership="none">
            <doc xml:space="preserve">if the message was generated by a live element</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="running_time" transfer-ownership="none">
            <doc xml:space="preserve">the running time of the buffer that generated the message</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
          <parameter name="stream_time" transfer-ownership="none">
            <doc xml:space="preserve">the stream time of the buffer that generated the message</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve">the timestamps of the buffer that generated the message</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
          <parameter name="duration" transfer-ownership="none">
            <doc xml:space="preserve">the duration of the buffer that generated the message</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_redirect"
                   c:identifier="gst_message_new_redirect"
                   version="1.10">
        <doc xml:space="preserve">Creates a new redirect message and adds a new entry to it. Redirect messages
are posted when an element detects that the actual data has to be retrieved
from a different location. This is useful if such a redirection cannot be
handled inside a source element, for example when HTTP 302/303 redirects
return a non-HTTP URL.

The redirect message can hold multiple entries. The first one is added
when the redirect message is created, with the given location, tag_list,
entry_struct arguments. Use gst_message_add_redirect_entry() to add more
entries.

Each entry has a location, a tag list, and a structure. All of these are
optional. The tag list and structure are useful for additional metadata,
such as bitrate statistics for the given location.

By default, message recipients should treat entries in the order they are
stored. The recipient should therefore try entry #0 first, and if this
entry is not acceptable or working, try entry #1 etc. Senders must make
sure that they add entries in this order. However, recipients are free to
ignore the order and pick an entry that is "best" for them. One example
would be a recipient that scans the entries for the one with the highest
bitrate tag.

The specified location string is copied. However, ownership over the tag
list and structure are transferred to the message.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a newly allocated #GstMessage</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve">The #GstObject whose property changed (may or may not be a #GstElement)</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="location" transfer-ownership="none">
            <doc xml:space="preserve">location string for the new entry</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="tag_list"
                     transfer-ownership="full"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">tag list for the new entry</doc>
            <type name="TagList" c:type="GstTagList*"/>
          </parameter>
          <parameter name="entry_struct"
                     transfer-ownership="full"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">structure for the new entry</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_request_state"
                   c:identifier="gst_message_new_request_state">
        <doc xml:space="preserve">This message can be posted by elements when they want to have their state
changed. A typical use case would be an audio server that wants to pause the
pipeline because a higher priority stream is being played.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new request state message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="state" transfer-ownership="none">
            <doc xml:space="preserve">The new requested state</doc>
            <type name="State" c:type="GstState"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_reset_time"
                   c:identifier="gst_message_new_reset_time">
        <doc xml:space="preserve">This message is posted when the pipeline running-time should be reset to
@running_time, like after a flushing seek.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The new reset_time message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="running_time" transfer-ownership="none">
            <doc xml:space="preserve">the requested running-time</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_segment_done"
                   c:identifier="gst_message_new_segment_done">
        <doc xml:space="preserve">Create a new segment done message. This message is posted by elements that
finish playback of a segment as a result of a segment seek. This message
is received by the application after all elements that posted a segment_start
have posted the segment_done.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new segment done message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">The format of the position being done</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="position" transfer-ownership="none">
            <doc xml:space="preserve">The position of the segment being done</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_segment_start"
                   c:identifier="gst_message_new_segment_start">
        <doc xml:space="preserve">Create a new segment message. This message is posted by elements that
start playback of a segment as a result of a segment seek. This message
is not received by the application but is used for maintenance reasons in
container elements.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new segment start message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">The format of the position being played</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="position" transfer-ownership="none">
            <doc xml:space="preserve">The position of the segment being played</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_state_changed"
                   c:identifier="gst_message_new_state_changed">
        <doc xml:space="preserve">Create a state change message. This message is posted whenever an element
changed its state.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new state change message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="oldstate" transfer-ownership="none">
            <doc xml:space="preserve">the previous state</doc>
            <type name="State" c:type="GstState"/>
          </parameter>
          <parameter name="newstate" transfer-ownership="none">
            <doc xml:space="preserve">the new (current) state</doc>
            <type name="State" c:type="GstState"/>
          </parameter>
          <parameter name="pending" transfer-ownership="none">
            <doc xml:space="preserve">the pending (target) state</doc>
            <type name="State" c:type="GstState"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_state_dirty"
                   c:identifier="gst_message_new_state_dirty">
        <doc xml:space="preserve">Create a state dirty message. This message is posted whenever an element
changed its state asynchronously and is used internally to update the
states of container objects.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new state dirty message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The object originating the message</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_step_done"
                   c:identifier="gst_message_new_step_done">
        <doc xml:space="preserve">This message is posted by elements when they complete a part, when @intermediate set
to %TRUE, or a complete step operation.

@duration will contain the amount of time (in GST_FORMAT_TIME) of the stepped
@amount of media in format @format.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new step_done message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the format of @amount</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="amount" transfer-ownership="none">
            <doc xml:space="preserve">the amount of stepped data</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
          <parameter name="rate" transfer-ownership="none">
            <doc xml:space="preserve">the rate of the stepped amount</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
          <parameter name="flush" transfer-ownership="none">
            <doc xml:space="preserve">is this an flushing step</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="intermediate" transfer-ownership="none">
            <doc xml:space="preserve">is this an intermediate step</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="duration" transfer-ownership="none">
            <doc xml:space="preserve">the duration of the data</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
          <parameter name="eos" transfer-ownership="none">
            <doc xml:space="preserve">the step caused EOS</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_step_start"
                   c:identifier="gst_message_new_step_start">
        <doc xml:space="preserve">This message is posted by elements when they accept or activate a new step
event for @amount in @format.

@active is set to %FALSE when the element accepted the new step event and has
queued it for execution in the streaming threads.

@active is set to %TRUE when the element has activated the step operation and
is now ready to start executing the step in the streaming thread. After this
message is emitted, the application can queue a new step operation in the
element.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The new step_start message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="active" transfer-ownership="none">
            <doc xml:space="preserve">if the step is active or queued</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the format of @amount</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="amount" transfer-ownership="none">
            <doc xml:space="preserve">the amount of stepped data</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
          <parameter name="rate" transfer-ownership="none">
            <doc xml:space="preserve">the rate of the stepped amount</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
          <parameter name="flush" transfer-ownership="none">
            <doc xml:space="preserve">is this an flushing step</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="intermediate" transfer-ownership="none">
            <doc xml:space="preserve">is this an intermediate step</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_stream_collection"
                   c:identifier="gst_message_new_stream_collection"
                   version="1.10">
        <doc xml:space="preserve">Creates a new stream-collection message. The message is used to announce new
#GstStreamCollection</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a newly allocated #GstMessage</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve">The #GstObject that created the message</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="collection" transfer-ownership="none">
            <doc xml:space="preserve">The #GstStreamCollection</doc>
            <type name="StreamCollection" c:type="GstStreamCollection*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_stream_start"
                   c:identifier="gst_message_new_stream_start">
        <doc xml:space="preserve">Create a new stream_start message. This message is generated and posted in
the sink elements of a GstBin. The bin will only forward the STREAM_START
message to the application if all sinks have posted an STREAM_START message.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The new stream_start message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_stream_status"
                   c:identifier="gst_message_new_stream_status">
        <doc xml:space="preserve">Create a new stream status message. This message is posted when a streaming
thread is created/destroyed or when the state changed.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new stream status message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">The stream status type.</doc>
            <type name="StreamStatusType" c:type="GstStreamStatusType"/>
          </parameter>
          <parameter name="owner" transfer-ownership="none">
            <doc xml:space="preserve">the owner element of @src.</doc>
            <type name="Element" c:type="GstElement*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_streams_selected"
                   c:identifier="gst_message_new_streams_selected"
                   version="1.10">
        <doc xml:space="preserve">Creates a new steams-selected message. The message is used to announce
that an array of streams has been selected. This is generally in response
to a #GST_EVENT_SELECT_STREAMS event, or when an element (such as decodebin3)
makes an initial selection of streams.

The message also contains the #GstStreamCollection to which the various streams
belong to.

Users of gst_message_new_streams_selected() can add the selected streams with
gst_message_streams_selected_add().</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a newly allocated #GstMessage</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve">The #GstObject that created the message</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="collection" transfer-ownership="none">
            <doc xml:space="preserve">The #GstStreamCollection</doc>
            <type name="StreamCollection" c:type="GstStreamCollection*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_structure_change"
                   c:identifier="gst_message_new_structure_change">
        <doc xml:space="preserve">Create a new structure change message. This message is posted when the
structure of a pipeline is in the process of being changed, for example
when pads are linked or unlinked.

@src should be the sinkpad that unlinked or linked.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new structure change message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">The change type.</doc>
            <type name="StructureChangeType" c:type="GstStructureChangeType"/>
          </parameter>
          <parameter name="owner" transfer-ownership="none">
            <doc xml:space="preserve">The owner element of @src.</doc>
            <type name="Element" c:type="GstElement*"/>
          </parameter>
          <parameter name="busy" transfer-ownership="none">
            <doc xml:space="preserve">Whether the structure change is busy.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_tag" c:identifier="gst_message_new_tag">
        <doc xml:space="preserve">Create a new tag message. The message will take ownership of the tag list.
The message is posted by elements that discovered a new taglist.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new tag message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="tag_list" transfer-ownership="full">
            <doc xml:space="preserve">the tag list for the message.</doc>
            <type name="TagList" c:type="GstTagList*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_toc" c:identifier="gst_message_new_toc">
        <doc xml:space="preserve">Create a new TOC message. The message is posted by elements
that discovered or updated a TOC.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new TOC message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve">the object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="toc" transfer-ownership="none">
            <doc xml:space="preserve">#GstToc structure for the message.</doc>
            <type name="Toc" c:type="GstToc*"/>
          </parameter>
          <parameter name="updated" transfer-ownership="none">
            <doc xml:space="preserve">whether TOC was updated or not.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_warning" c:identifier="gst_message_new_warning">
        <doc xml:space="preserve">Create a new warning message. The message will make copies of @error and
@debug.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new warning message.

MT safe.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="error" transfer-ownership="none">
            <doc xml:space="preserve">The GError for this message.</doc>
            <type name="GLib.Error" c:type="GError*"/>
          </parameter>
          <parameter name="debug" transfer-ownership="none">
            <doc xml:space="preserve">A debugging string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_warning_with_details"
                   c:identifier="gst_message_new_warning_with_details"
                   version="1.10">
        <doc xml:space="preserve">Create a new warning message. The message will make copies of @error and
@debug.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the new warning message.</doc>
          <type name="Message" c:type="GstMessage*"/>
        </return-value>
        <parameters>
          <parameter name="src"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The object originating the message.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="error" transfer-ownership="none">
            <doc xml:space="preserve">The GError for this message.</doc>
            <type name="GLib.Error" c:type="GError*"/>
          </parameter>
          <parameter name="debug" transfer-ownership="none">
            <doc xml:space="preserve">A debugging string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="details" transfer-ownership="full">
            <doc xml:space="preserve">(allow-none): A GstStructure with details</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="add_redirect_entry"
              c:identifier="gst_message_add_redirect_entry"
              version="1.10">
        <doc xml:space="preserve">Creates and appends a new entry.

The specified location string is copied. However, ownership over the tag
list and structure are transferred to the message.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">a #GstMessage of type %GST_MESSAGE_REDIRECT</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="location" transfer-ownership="none">
            <doc xml:space="preserve">location string for the new entry</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="tag_list"
                     transfer-ownership="full"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">tag list for the new entry</doc>
            <type name="TagList" c:type="GstTagList*"/>
          </parameter>
          <parameter name="entry_struct"
                     transfer-ownership="full"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">structure for the new entry</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_num_redirect_entries"
              c:identifier="gst_message_get_num_redirect_entries"
              version="1.10">
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the number of entries stored in the message</doc>
          <type name="gsize" c:type="gsize"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">a #GstMessage of type %GST_MESSAGE_REDIRECT</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_seqnum" c:identifier="gst_message_get_seqnum">
        <doc xml:space="preserve">Retrieve the sequence number of a message.

Messages have ever-incrementing sequence numbers, which may also be set
explicitly via gst_message_set_seqnum(). Sequence numbers are typically used
to indicate that a message corresponds to some other set of messages or
events, for example a SEGMENT_DONE message corresponding to a SEEK event. It
is considered good practice to make this correspondence when possible, though
it is not required.

Note that events and messages share the same sequence number incrementor;
two events or messages will never have the same sequence number unless
that correspondence was made explicitly.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The message's sequence number.

MT safe.</doc>
          <type name="guint32" c:type="guint32"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A #GstMessage.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_stream_status_object"
              c:identifier="gst_message_get_stream_status_object">
        <doc xml:space="preserve">Extracts the object managing the streaming thread from @message.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">a GValue containing the object that manages the
streaming thread. This object is usually of type GstTask but other types can
be added in the future. The object remains valid as long as @message is
valid.</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstMessage of type GST_MESSAGE_STREAM_STATUS.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_structure" c:identifier="gst_message_get_structure">
        <doc xml:space="preserve">Access the structure of the message.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">The structure of the message. The
structure is still owned by the message, which means that you should not
free it and that the pointer becomes invalid when you free the message.

MT safe.</doc>
          <type name="Structure" c:type="const GstStructure*"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">The #GstMessage.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_name" c:identifier="gst_message_has_name">
        <doc xml:space="preserve">Checks if @message has the given @name. This function is usually used to
check the name of a custom message.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @name matches the name of the message structure.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">The #GstMessage.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">name to check</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_async_done"
              c:identifier="gst_message_parse_async_done">
        <doc xml:space="preserve">Extract the running_time from the async_done message.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstMessage of type GST_MESSAGE_ASYNC_DONE.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="running_time"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">Result location for the running_time or %NULL</doc>
            <type name="ClockTime" c:type="GstClockTime*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_buffering"
              c:identifier="gst_message_parse_buffering">
        <doc xml:space="preserve">Extracts the buffering percent from the GstMessage. see also
gst_message_new_buffering().

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstMessage of type GST_MESSAGE_BUFFERING.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="percent"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">Return location for the percent.</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_buffering_stats"
              c:identifier="gst_message_parse_buffering_stats">
        <doc xml:space="preserve">Extracts the buffering stats values from @message.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstMessage of type GST_MESSAGE_BUFFERING.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="mode"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a buffering mode, or %NULL</doc>
            <type name="BufferingMode" c:type="GstBufferingMode*"/>
          </parameter>
          <parameter name="avg_in"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the average input rate, or %NULL</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="avg_out"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the average output rate, or %NULL</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="buffering_left"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">amount of buffering time left in
    milliseconds, or %NULL</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_clock_lost"
              c:identifier="gst_message_parse_clock_lost">
        <doc xml:space="preserve">Extracts the lost clock from the GstMessage.
The clock object returned remains valid until the message is freed.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstMessage of type GST_MESSAGE_CLOCK_LOST.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="clock"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a pointer to hold the lost clock</doc>
            <type name="Clock" c:type="GstClock**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_clock_provide"
              c:identifier="gst_message_parse_clock_provide">
        <doc xml:space="preserve">Extracts the clock and ready flag from the GstMessage.
The clock object returned remains valid until the message is freed.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstMessage of type GST_MESSAGE_CLOCK_PROVIDE.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="clock"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a pointer to  hold a clock
    object, or %NULL</doc>
            <type name="Clock" c:type="GstClock**"/>
          </parameter>
          <parameter name="ready"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a pointer to hold the ready flag, or %NULL</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_context_type"
              c:identifier="gst_message_parse_context_type"
              version="1.2">
        <doc xml:space="preserve">Parse a context type from an existing GST_MESSAGE_NEED_CONTEXT message.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #gboolean indicating if the parsing succeeded.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">a GST_MESSAGE_NEED_CONTEXT type message</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="context_type"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the context type, or %NULL</doc>
            <type name="utf8" c:type="const gchar**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_device_added"
              c:identifier="gst_message_parse_device_added"
              version="1.4">
        <doc xml:space="preserve">Parses a device-added message. The device-added message is produced by
#GstDeviceProvider or a #GstDeviceMonitor. It announces the appearance
of monitored devices.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">a #GstMessage of type %GST_MESSAGE_DEVICE_ADDED</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="device"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">A location where to store a
 pointer to the new #GstDevice, or %NULL</doc>
            <type name="Device" c:type="GstDevice**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_device_removed"
              c:identifier="gst_message_parse_device_removed"
              version="1.4">
        <doc xml:space="preserve">Parses a device-removed message. The device-removed message is produced by
#GstDeviceProvider or a #GstDeviceMonitor. It announces the
disappearance of monitored devices.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">a #GstMessage of type %GST_MESSAGE_DEVICE_REMOVED</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="device"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">A location where to store a
 pointer to the removed #GstDevice, or %NULL</doc>
            <type name="Device" c:type="GstDevice**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_error" c:identifier="gst_message_parse_error">
        <doc xml:space="preserve">Extracts the GError and debug string from the GstMessage. The values returned
in the output arguments are copies; the caller must free them when done.

Typical usage of this function might be:
|[&lt;!-- language="C" --&gt;
  ...
  switch (GST_MESSAGE_TYPE (msg)) {
    case GST_MESSAGE_ERROR: {
      GError *err = NULL;
      gchar *dbg_info = NULL;

      gst_message_parse_error (msg, &amp;amp;err, &amp;amp;dbg_info);
      g_printerr ("ERROR from element %s: %s\n",
          GST_OBJECT_NAME (msg-&gt;src), err-&gt;message);
      g_printerr ("Debugging info: %s\n", (dbg_info) ? dbg_info : "none");
      g_error_free (err);
      g_free (dbg_info);
      break;
    }
    ...
  }
  ...
]|

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstMessage of type GST_MESSAGE_ERROR.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="gerror"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">location for the GError</doc>
            <type name="GLib.Error" c:type="GError**"/>
          </parameter>
          <parameter name="debug"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">location for the debug message,
    or %NULL</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_error_details"
              c:identifier="gst_message_parse_error_details"
              version="1.10">
        <doc xml:space="preserve">Returns the optional details structure, may be NULL if none.
The returned structure must not be freed.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">The message object</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="structure"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none">
            <doc xml:space="preserve">A pointer to the returned details</doc>
            <type name="Structure" c:type="const GstStructure**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_group_id"
              c:identifier="gst_message_parse_group_id"
              version="1.2">
        <doc xml:space="preserve">Extract the group from the STREAM_START message.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the message had a group id set, %FALSE otherwise

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstMessage of type GST_MESSAGE_STREAM_START.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="group_id"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">Result location for the group id or
     %NULL</doc>
            <type name="guint" c:type="guint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_have_context"
              c:identifier="gst_message_parse_have_context"
              version="1.2">
        <doc xml:space="preserve">Extract the context from the HAVE_CONTEXT message.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstMessage of type GST_MESSAGE_HAVE_CONTEXT.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="context"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">Result location for the
     context or %NULL</doc>
            <type name="Context" c:type="GstContext**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_info" c:identifier="gst_message_parse_info">
        <doc xml:space="preserve">Extracts the GError and debug string from the GstMessage. The values returned
in the output arguments are copies; the caller must free them when done.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstMessage of type GST_MESSAGE_INFO.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="gerror"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">location for the GError</doc>
            <type name="GLib.Error" c:type="GError**"/>
          </parameter>
          <parameter name="debug"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">location for the debug message,
    or %NULL</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_info_details"
              c:identifier="gst_message_parse_info_details"
              version="1.10">
        <doc xml:space="preserve">Returns the optional details structure, may be NULL if none
The returned structure must not be freed.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">The message object</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="structure"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none">
            <doc xml:space="preserve">A pointer to the returned details structure</doc>
            <type name="Structure" c:type="const GstStructure**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_new_clock"
              c:identifier="gst_message_parse_new_clock">
        <doc xml:space="preserve">Extracts the new clock from the GstMessage.
The clock object returned remains valid until the message is freed.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstMessage of type GST_MESSAGE_NEW_CLOCK.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="clock"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a pointer to hold the selected
    new clock</doc>
            <type name="Clock" c:type="GstClock**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_progress" c:identifier="gst_message_parse_progress">
        <doc xml:space="preserve">Parses the progress @type, @code and @text.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstMessage of type GST_MESSAGE_PROGRESS.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="type"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">location for the type</doc>
            <type name="ProgressType" c:type="GstProgressType*"/>
          </parameter>
          <parameter name="code"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">location for the code</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
          <parameter name="text"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">location for the text</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_property_notify"
              c:identifier="gst_message_parse_property_notify"
              version="1.10">
        <doc xml:space="preserve">Parses a property-notify message. These will be posted on the bus only
when set up with gst_element_add_property_notify_watch() or
gst_element_add_property_deep_notify_watch().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">a #GstMessage of type %GST_MESSAGE_PROPERTY_NOTIFY</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="object"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">location where to store a
    pointer to the object whose property got changed, or %NULL</doc>
            <type name="Object" c:type="GstObject**"/>
          </parameter>
          <parameter name="property_name"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">return location for
    the name of the property that got changed, or %NULL</doc>
            <type name="utf8" c:type="const gchar**"/>
          </parameter>
          <parameter name="property_value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">return location for
    the new value of the property that got changed, or %NULL. This will
    only be set if the property notify watch was told to include the value
    when it was set up</doc>
            <type name="GObject.Value" c:type="const GValue**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_qos" c:identifier="gst_message_parse_qos">
        <doc xml:space="preserve">Extract the timestamps and live status from the QoS message.

The returned values give the running_time, stream_time, timestamp and
duration of the dropped buffer. Values of GST_CLOCK_TIME_NONE mean unknown
values.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstMessage of type GST_MESSAGE_QOS.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="live"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">if the message was generated by a live element</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
          <parameter name="running_time"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the running time of the buffer that
    generated the message</doc>
            <type name="guint64" c:type="guint64*"/>
          </parameter>
          <parameter name="stream_time"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the stream time of the buffer that
    generated the message</doc>
            <type name="guint64" c:type="guint64*"/>
          </parameter>
          <parameter name="timestamp"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the timestamps of the buffer that
    generated the message</doc>
            <type name="guint64" c:type="guint64*"/>
          </parameter>
          <parameter name="duration"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the duration of the buffer that
    generated the message</doc>
            <type name="guint64" c:type="guint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_qos_stats"
              c:identifier="gst_message_parse_qos_stats">
        <doc xml:space="preserve">Extract the QoS stats representing the history of the current continuous
pipeline playback period.

When @format is @GST_FORMAT_UNDEFINED both @dropped and @processed are
invalid. Values of -1 for either @processed or @dropped mean unknown values.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstMessage of type GST_MESSAGE_QOS.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="format"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">Units of the 'processed' and 'dropped' fields.
    Video sinks and video filters will use GST_FORMAT_BUFFERS (frames).
    Audio sinks and audio filters will likely use GST_FORMAT_DEFAULT
    (samples).</doc>
            <type name="Format" c:type="GstFormat*"/>
          </parameter>
          <parameter name="processed"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">Total number of units correctly processed
    since the last state change to READY or a flushing operation.</doc>
            <type name="guint64" c:type="guint64*"/>
          </parameter>
          <parameter name="dropped"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">Total number of units dropped since the last
    state change to READY or a flushing operation.</doc>
            <type name="guint64" c:type="guint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_qos_values"
              c:identifier="gst_message_parse_qos_values">
        <doc xml:space="preserve">Extract the QoS values that have been calculated/analysed from the QoS data

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstMessage of type GST_MESSAGE_QOS.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="jitter"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">The difference of the running-time against
    the deadline.</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
          <parameter name="proportion"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">Long term prediction of the ideal rate
    relative to normal rate to get optimal quality.</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
          <parameter name="quality"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">An element dependent integer value that
    specifies the current quality level of the element. The default
    maximum quality is 1000000.</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_redirect_entry"
              c:identifier="gst_message_parse_redirect_entry"
              version="1.10">
        <doc xml:space="preserve">Parses the location and/or structure from the entry with the given index.
The index must be between 0 and gst_message_get_num_redirect_entries() - 1.
Returned pointers are valid for as long as this message exists.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">a #GstMessage of type %GST_MESSAGE_REDIRECT</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="entry_index" transfer-ownership="none">
            <doc xml:space="preserve">index of the entry to parse</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="location"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">return location for
    the pointer to the entry's location string, or %NULL</doc>
            <type name="utf8" c:type="const gchar**"/>
          </parameter>
          <parameter name="tag_list"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">return location for
    the pointer to the entry's tag list, or %NULL</doc>
            <type name="TagList" c:type="GstTagList**"/>
          </parameter>
          <parameter name="entry_struct"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">return location
    for the pointer to the entry's structure, or %NULL</doc>
            <type name="Structure" c:type="const GstStructure**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_request_state"
              c:identifier="gst_message_parse_request_state">
        <doc xml:space="preserve">Extract the requested state from the request_state message.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstMessage of type GST_MESSAGE_REQUEST_STATE.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="state"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">Result location for the requested state or %NULL</doc>
            <type name="State" c:type="GstState*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_reset_time"
              c:identifier="gst_message_parse_reset_time">
        <doc xml:space="preserve">Extract the running-time from the RESET_TIME message.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstMessage of type GST_MESSAGE_RESET_TIME.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="running_time"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">Result location for the running_time or
     %NULL</doc>
            <type name="ClockTime" c:type="GstClockTime*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_segment_done"
              c:identifier="gst_message_parse_segment_done">
        <doc xml:space="preserve">Extracts the position and format from the segment done message.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstMessage of type GST_MESSAGE_SEGMENT_DONE.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="format"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">Result location for the format, or %NULL</doc>
            <type name="Format" c:type="GstFormat*"/>
          </parameter>
          <parameter name="position"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">Result location for the position, or %NULL</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_segment_start"
              c:identifier="gst_message_parse_segment_start">
        <doc xml:space="preserve">Extracts the position and format from the segment start message.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstMessage of type GST_MESSAGE_SEGMENT_START.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="format"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">Result location for the format, or %NULL</doc>
            <type name="Format" c:type="GstFormat*"/>
          </parameter>
          <parameter name="position"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">Result location for the position, or %NULL</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_state_changed"
              c:identifier="gst_message_parse_state_changed">
        <doc xml:space="preserve">Extracts the old and new states from the GstMessage.

Typical usage of this function might be:
|[&lt;!-- language="C" --&gt;
  ...
  switch (GST_MESSAGE_TYPE (msg)) {
    case GST_MESSAGE_STATE_CHANGED: {
      GstState old_state, new_state;

      gst_message_parse_state_changed (msg, &amp;amp;old_state, &amp;amp;new_state, NULL);
      g_print ("Element %s changed state from %s to %s.\n",
          GST_OBJECT_NAME (msg-&gt;src),
          gst_element_state_get_name (old_state),
          gst_element_state_get_name (new_state));
      break;
    }
    ...
  }
  ...
]|

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">a valid #GstMessage of type GST_MESSAGE_STATE_CHANGED</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="oldstate"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the previous state, or %NULL</doc>
            <type name="State" c:type="GstState*"/>
          </parameter>
          <parameter name="newstate"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the new (current) state, or %NULL</doc>
            <type name="State" c:type="GstState*"/>
          </parameter>
          <parameter name="pending"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the pending (target) state, or %NULL</doc>
            <type name="State" c:type="GstState*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_step_done"
              c:identifier="gst_message_parse_step_done">
        <doc xml:space="preserve">Extract the values the step_done message.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstMessage of type GST_MESSAGE_STEP_DONE.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="format"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">result location for the format</doc>
            <type name="Format" c:type="GstFormat*"/>
          </parameter>
          <parameter name="amount"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">result location for the amount</doc>
            <type name="guint64" c:type="guint64*"/>
          </parameter>
          <parameter name="rate"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">result location for the rate</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
          <parameter name="flush"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">result location for the flush flag</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
          <parameter name="intermediate"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">result location for the intermediate flag</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
          <parameter name="duration"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">result location for the duration</doc>
            <type name="guint64" c:type="guint64*"/>
          </parameter>
          <parameter name="eos"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">result location for the EOS flag</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_step_start"
              c:identifier="gst_message_parse_step_start">
        <doc xml:space="preserve">Extract the values from step_start message.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstMessage of type GST_MESSAGE_STEP_DONE.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="active"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">result location for the active flag</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
          <parameter name="format"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">result location for the format</doc>
            <type name="Format" c:type="GstFormat*"/>
          </parameter>
          <parameter name="amount"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">result location for the amount</doc>
            <type name="guint64" c:type="guint64*"/>
          </parameter>
          <parameter name="rate"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">result location for the rate</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
          <parameter name="flush"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">result location for the flush flag</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
          <parameter name="intermediate"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">result location for the intermediate flag</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_stream_collection"
              c:identifier="gst_message_parse_stream_collection"
              version="1.10">
        <doc xml:space="preserve">Parses a stream-collection message.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">a #GstMessage of type %GST_MESSAGE_STREAM_COLLECTION</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="collection"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">A location where to store a
 pointer to the #GstStreamCollection, or %NULL</doc>
            <type name="StreamCollection" c:type="GstStreamCollection**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_stream_status"
              c:identifier="gst_message_parse_stream_status">
        <doc xml:space="preserve">Extracts the stream status type and owner the GstMessage. The returned
owner remains valid for as long as the reference to @message is valid and
should thus not be unreffed.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstMessage of type GST_MESSAGE_STREAM_STATUS.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="type"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">A pointer to hold the status type</doc>
            <type name="StreamStatusType" c:type="GstStreamStatusType*"/>
          </parameter>
          <parameter name="owner"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none">
            <doc xml:space="preserve">The owner element of the message source</doc>
            <type name="Element" c:type="GstElement**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_streams_selected"
              c:identifier="gst_message_parse_streams_selected"
              version="1.10">
        <doc xml:space="preserve">Parses a streams-selected message.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">a #GstMessage of type %GST_MESSAGE_STREAMS_SELECTED</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="collection"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">A location where to store a
 pointer to the #GstStreamCollection, or %NULL</doc>
            <type name="StreamCollection" c:type="GstStreamCollection**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_structure_change"
              c:identifier="gst_message_parse_structure_change">
        <doc xml:space="preserve">Extracts the change type and completion status from the GstMessage.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstMessage of type GST_MESSAGE_STRUCTURE_CHANGE.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="type"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">A pointer to hold the change type</doc>
            <type name="StructureChangeType" c:type="GstStructureChangeType*"/>
          </parameter>
          <parameter name="owner"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">The owner element of the
    message source</doc>
            <type name="Element" c:type="GstElement**"/>
          </parameter>
          <parameter name="busy"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a pointer to hold whether the change is in
    progress or has been completed</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_tag" c:identifier="gst_message_parse_tag">
        <doc xml:space="preserve">Extracts the tag list from the GstMessage. The tag list returned in the
output argument is a copy; the caller must free it when done.

Typical usage of this function might be:
|[&lt;!-- language="C" --&gt;
  ...
  switch (GST_MESSAGE_TYPE (msg)) {
    case GST_MESSAGE_TAG: {
      GstTagList *tags = NULL;

      gst_message_parse_tag (msg, &amp;amp;tags);
      g_print ("Got tags from element %s\n", GST_OBJECT_NAME (msg-&gt;src));
      handle_tags (tags);
      gst_tag_list_unref (tags);
      break;
    }
    ...
  }
  ...
]|

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstMessage of type GST_MESSAGE_TAG.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="tag_list"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">return location for the tag-list.</doc>
            <type name="TagList" c:type="GstTagList**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_toc" c:identifier="gst_message_parse_toc">
        <doc xml:space="preserve">Extract the TOC from the #GstMessage. The TOC returned in the
output argument is a copy; the caller must free it with
gst_toc_unref() when done.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">a valid #GstMessage of type GST_MESSAGE_TOC.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="toc"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">return location for the TOC.</doc>
            <type name="Toc" c:type="GstToc**"/>
          </parameter>
          <parameter name="updated"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">return location for the updated flag.</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_warning" c:identifier="gst_message_parse_warning">
        <doc xml:space="preserve">Extracts the GError and debug string from the GstMessage. The values returned
in the output arguments are copies; the caller must free them when done.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstMessage of type GST_MESSAGE_WARNING.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="gerror"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">location for the GError</doc>
            <type name="GLib.Error" c:type="GError**"/>
          </parameter>
          <parameter name="debug"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">location for the debug message,
    or %NULL</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_warning_details"
              c:identifier="gst_message_parse_warning_details"
              version="1.10">
        <doc xml:space="preserve">Returns the optional details structure, may be NULL if none
The returned structure must not be freed.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">The message object</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="structure"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none">
            <doc xml:space="preserve">A pointer to the returned details structure</doc>
            <type name="Structure" c:type="const GstStructure**"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_buffering_stats"
              c:identifier="gst_message_set_buffering_stats">
        <doc xml:space="preserve">Configures the buffering stats values in @message.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstMessage of type GST_MESSAGE_BUFFERING.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve">a buffering mode</doc>
            <type name="BufferingMode" c:type="GstBufferingMode"/>
          </parameter>
          <parameter name="avg_in" transfer-ownership="none">
            <doc xml:space="preserve">the average input rate</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="avg_out" transfer-ownership="none">
            <doc xml:space="preserve">the average output rate</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="buffering_left" transfer-ownership="none">
            <doc xml:space="preserve">amount of buffering time left in milliseconds</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_group_id"
              c:identifier="gst_message_set_group_id"
              version="1.2">
        <doc xml:space="preserve">Sets the group id on the stream-start message.

All streams that have the same group id are supposed to be played
together, i.e. all streams inside a container file should have the
same group id but different stream ids. The group id should change
each time the stream is started, resulting in different group ids
each time a file is played for example.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">the message</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="group_id" transfer-ownership="none">
            <doc xml:space="preserve">the group id</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_qos_stats" c:identifier="gst_message_set_qos_stats">
        <doc xml:space="preserve">Set the QoS stats representing the history of the current continuous pipeline
playback period.

When @format is @GST_FORMAT_UNDEFINED both @dropped and @processed are
invalid. Values of -1 for either @processed or @dropped mean unknown values.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstMessage of type GST_MESSAGE_QOS.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">Units of the 'processed' and 'dropped' fields. Video sinks and video
filters will use GST_FORMAT_BUFFERS (frames). Audio sinks and audio filters
will likely use GST_FORMAT_DEFAULT (samples).</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="processed" transfer-ownership="none">
            <doc xml:space="preserve">Total number of units correctly processed since the last state
change to READY or a flushing operation.</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
          <parameter name="dropped" transfer-ownership="none">
            <doc xml:space="preserve">Total number of units dropped since the last state change to READY
or a flushing operation.</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_qos_values" c:identifier="gst_message_set_qos_values">
        <doc xml:space="preserve">Set the QoS values that have been calculated/analysed from the QoS data

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstMessage of type GST_MESSAGE_QOS.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="jitter" transfer-ownership="none">
            <doc xml:space="preserve">The difference of the running-time against the deadline.</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
          <parameter name="proportion" transfer-ownership="none">
            <doc xml:space="preserve">Long term prediction of the ideal rate relative to normal rate
to get optimal quality.</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
          <parameter name="quality" transfer-ownership="none">
            <doc xml:space="preserve">An element dependent integer value that specifies the current
quality level of the element. The default maximum quality is 1000000.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_seqnum" c:identifier="gst_message_set_seqnum">
        <doc xml:space="preserve">Set the sequence number of a message.

This function might be called by the creator of a message to indicate that
the message relates to other messages or events. See gst_message_get_seqnum()
for more information.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A #GstMessage.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="seqnum" transfer-ownership="none">
            <doc xml:space="preserve">A sequence number.</doc>
            <type name="guint32" c:type="guint32"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_stream_status_object"
              c:identifier="gst_message_set_stream_status_object">
        <doc xml:space="preserve">Configures the object handling the streaming thread. This is usually a
GstTask object but other objects might be added in the future.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstMessage of type GST_MESSAGE_STREAM_STATUS.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">the object controlling the streaming</doc>
            <type name="GObject.Value" c:type="const GValue*"/>
          </parameter>
        </parameters>
      </method>
      <method name="streams_selected_add"
              c:identifier="gst_message_streams_selected_add"
              version="1.10">
        <doc xml:space="preserve">Adds the @stream to the @message.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">a #GstMessage of type %GST_MESSAGE_STREAMS_SELECTED</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="stream" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStream to add to @message</doc>
            <type name="Stream" c:type="GstStream*"/>
          </parameter>
        </parameters>
      </method>
      <method name="streams_selected_get_size"
              c:identifier="gst_message_streams_selected_get_size"
              version="1.10">
        <doc xml:space="preserve">Returns the number of streams contained in the @message.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The number of streams contained within.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">a #GstMessage of type %GST_MESSAGE_STREAMS_SELECTED</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="streams_selected_get_stream"
              c:identifier="gst_message_streams_selected_get_stream"
              version="1.10">
        <doc xml:space="preserve">Retrieves the #GstStream with index @index from the @message.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">A #GstStream</doc>
          <type name="Stream" c:type="GstStream*"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">a #GstMessage of type %GST_MESSAGE_STREAMS_SELECTED</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
          <parameter name="idx" transfer-ownership="none">
            <doc xml:space="preserve">Index of the stream to retrieve</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="writable_structure"
              c:identifier="gst_message_writable_structure"
              version="1.14">
        <doc xml:space="preserve">Get a writable version of the structure.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The structure of the message. The structure
is still owned by the message, which means that you should not free
it and that the pointer becomes invalid when you free the message.
This function checks if @message is writable and will never return
%NULL.

MT safe.</doc>
          <type name="Structure" c:type="GstStructure*"/>
        </return-value>
        <parameters>
          <instance-parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve">The #GstMessage.</doc>
            <type name="Message" c:type="GstMessage*"/>
          </instance-parameter>
        </parameters>
      </method>
    </record>
    <bitfield name="MessageType"
              glib:type-name="GstMessageType"
              glib:get-type="gst_message_type_get_type"
              c:type="GstMessageType">
      <doc xml:space="preserve">The different message types that are available.</doc>
      <member name="unknown"
              value="0"
              c:identifier="GST_MESSAGE_UNKNOWN"
              glib:nick="unknown">
        <doc xml:space="preserve">an undefined message</doc>
      </member>
      <member name="eos"
              value="1"
              c:identifier="GST_MESSAGE_EOS"
              glib:nick="eos">
        <doc xml:space="preserve">end-of-stream reached in a pipeline. The application will
only receive this message in the PLAYING state and every time it sets a
pipeline to PLAYING that is in the EOS state. The application can perform a
flushing seek in the pipeline, which will undo the EOS state again.</doc>
      </member>
      <member name="error"
              value="2"
              c:identifier="GST_MESSAGE_ERROR"
              glib:nick="error">
        <doc xml:space="preserve">an error occurred. When the application receives an error
message it should stop playback of the pipeline and not assume that more
data will be played.</doc>
      </member>
      <member name="warning"
              value="4"
              c:identifier="GST_MESSAGE_WARNING"
              glib:nick="warning">
        <doc xml:space="preserve">a warning occurred.</doc>
      </member>
      <member name="info"
              value="8"
              c:identifier="GST_MESSAGE_INFO"
              glib:nick="info">
        <doc xml:space="preserve">an info message occurred</doc>
      </member>
      <member name="tag"
              value="16"
              c:identifier="GST_MESSAGE_TAG"
              glib:nick="tag">
        <doc xml:space="preserve">a tag was found.</doc>
      </member>
      <member name="buffering"
              value="32"
              c:identifier="GST_MESSAGE_BUFFERING"
              glib:nick="buffering">
        <doc xml:space="preserve">the pipeline is buffering. When the application
receives a buffering message in the PLAYING state for a non-live pipeline it
must PAUSE the pipeline until the buffering completes, when the percentage
field in the message is 100%. For live pipelines, no action must be
performed and the buffering percentage can be used to inform the user about
the progress.</doc>
      </member>
      <member name="state_changed"
              value="64"
              c:identifier="GST_MESSAGE_STATE_CHANGED"
              glib:nick="state-changed">
        <doc xml:space="preserve">a state change happened</doc>
      </member>
      <member name="state_dirty"
              value="128"
              c:identifier="GST_MESSAGE_STATE_DIRTY"
              glib:nick="state-dirty">
        <doc xml:space="preserve">an element changed state in a streaming thread.
This message is deprecated.</doc>
      </member>
      <member name="step_done"
              value="256"
              c:identifier="GST_MESSAGE_STEP_DONE"
              glib:nick="step-done">
        <doc xml:space="preserve">a stepping operation finished.</doc>
      </member>
      <member name="clock_provide"
              value="512"
              c:identifier="GST_MESSAGE_CLOCK_PROVIDE"
              glib:nick="clock-provide">
        <doc xml:space="preserve">an element notifies its capability of providing
                            a clock. This message is used internally and
                            never forwarded to the application.</doc>
      </member>
      <member name="clock_lost"
              value="1024"
              c:identifier="GST_MESSAGE_CLOCK_LOST"
              glib:nick="clock-lost">
        <doc xml:space="preserve">The current clock as selected by the pipeline became
                         unusable. The pipeline will select a new clock on
                         the next PLAYING state change. The application
                         should set the pipeline to PAUSED and back to
                         PLAYING when this message is received.</doc>
      </member>
      <member name="new_clock"
              value="2048"
              c:identifier="GST_MESSAGE_NEW_CLOCK"
              glib:nick="new-clock">
        <doc xml:space="preserve">a new clock was selected in the pipeline.</doc>
      </member>
      <member name="structure_change"
              value="4096"
              c:identifier="GST_MESSAGE_STRUCTURE_CHANGE"
              glib:nick="structure-change">
        <doc xml:space="preserve">the structure of the pipeline changed. This
message is used internally and never forwarded to the application.</doc>
      </member>
      <member name="stream_status"
              value="8192"
              c:identifier="GST_MESSAGE_STREAM_STATUS"
              glib:nick="stream-status">
        <doc xml:space="preserve">status about a stream, emitted when it starts,
                            stops, errors, etc..</doc>
      </member>
      <member name="application"
              value="16384"
              c:identifier="GST_MESSAGE_APPLICATION"
              glib:nick="application">
        <doc xml:space="preserve">message posted by the application, possibly
                          via an application-specific element.</doc>
      </member>
      <member name="element"
              value="32768"
              c:identifier="GST_MESSAGE_ELEMENT"
              glib:nick="element">
        <doc xml:space="preserve">element-specific message, see the specific element's
                      documentation</doc>
      </member>
      <member name="segment_start"
              value="65536"
              c:identifier="GST_MESSAGE_SEGMENT_START"
              glib:nick="segment-start">
        <doc xml:space="preserve">pipeline started playback of a segment. This
message is used internally and never forwarded to the application.</doc>
      </member>
      <member name="segment_done"
              value="131072"
              c:identifier="GST_MESSAGE_SEGMENT_DONE"
              glib:nick="segment-done">
        <doc xml:space="preserve">pipeline completed playback of a segment. This
message is forwarded to the application after all elements that posted
@GST_MESSAGE_SEGMENT_START posted a GST_MESSAGE_SEGMENT_DONE message.</doc>
      </member>
      <member name="duration_changed"
              value="262144"
              c:identifier="GST_MESSAGE_DURATION_CHANGED"
              glib:nick="duration-changed">
        <doc xml:space="preserve">The duration of a pipeline changed. The
application can get the new duration with a duration query.</doc>
      </member>
      <member name="latency"
              value="524288"
              c:identifier="GST_MESSAGE_LATENCY"
              glib:nick="latency">
        <doc xml:space="preserve">Posted by elements when their latency changes. The
application should recalculate and distribute a new latency.</doc>
      </member>
      <member name="async_start"
              value="1048576"
              c:identifier="GST_MESSAGE_ASYNC_START"
              glib:nick="async-start">
        <doc xml:space="preserve">Posted by elements when they start an ASYNC
#GstStateChange. This message is not forwarded to the application but is used
internally.</doc>
      </member>
      <member name="async_done"
              value="2097152"
              c:identifier="GST_MESSAGE_ASYNC_DONE"
              glib:nick="async-done">
        <doc xml:space="preserve">Posted by elements when they complete an ASYNC
#GstStateChange. The application will only receive this message from the toplevel
pipeline.</doc>
      </member>
      <member name="request_state"
              value="4194304"
              c:identifier="GST_MESSAGE_REQUEST_STATE"
              glib:nick="request-state">
        <doc xml:space="preserve">Posted by elements when they want the pipeline to
change state. This message is a suggestion to the application which can
decide to perform the state change on (part of) the pipeline.</doc>
      </member>
      <member name="step_start"
              value="8388608"
              c:identifier="GST_MESSAGE_STEP_START"
              glib:nick="step-start">
        <doc xml:space="preserve">A stepping operation was started.</doc>
      </member>
      <member name="qos"
              value="16777216"
              c:identifier="GST_MESSAGE_QOS"
              glib:nick="qos">
        <doc xml:space="preserve">A buffer was dropped or an element changed its processing
strategy for Quality of Service reasons.</doc>
      </member>
      <member name="progress"
              value="33554432"
              c:identifier="GST_MESSAGE_PROGRESS"
              glib:nick="progress">
        <doc xml:space="preserve">A progress message.</doc>
      </member>
      <member name="toc"
              value="67108864"
              c:identifier="GST_MESSAGE_TOC"
              glib:nick="toc">
        <doc xml:space="preserve">A new table of contents (TOC) was found or previously found TOC
was updated.</doc>
      </member>
      <member name="reset_time"
              value="134217728"
              c:identifier="GST_MESSAGE_RESET_TIME"
              glib:nick="reset-time">
        <doc xml:space="preserve">Message to request resetting the pipeline's
    running time from the pipeline. This is an internal message which
    applications will likely never receive.</doc>
      </member>
      <member name="stream_start"
              value="268435456"
              c:identifier="GST_MESSAGE_STREAM_START"
              glib:nick="stream-start">
        <doc xml:space="preserve">Message indicating start of a new stream. Useful
    e.g. when using playbin in gapless playback mode, to get notified when
    the next title actually starts playing (which will be some time after
    the URI for the next title has been set).</doc>
      </member>
      <member name="need_context"
              value="536870912"
              c:identifier="GST_MESSAGE_NEED_CONTEXT"
              glib:nick="need-context">
        <doc xml:space="preserve">Message indicating that an element wants a specific context (Since 1.2)</doc>
      </member>
      <member name="have_context"
              value="1073741824"
              c:identifier="GST_MESSAGE_HAVE_CONTEXT"
              glib:nick="have-context">
        <doc xml:space="preserve">Message indicating that an element created a context (Since 1.2)</doc>
      </member>
      <member name="extended"
              value="2147483648"
              c:identifier="GST_MESSAGE_EXTENDED"
              glib:nick="extended">
        <doc xml:space="preserve">Message is an extended message type (see below).
    These extended message IDs can't be used directly with mask-based API
    like gst_bus_poll() or gst_bus_timed_pop_filtered(), but you can still
    filter for GST_MESSAGE_EXTENDED and then check the result for the
    specific type. (Since 1.4)</doc>
      </member>
      <member name="device_added"
              value="2147483649"
              c:identifier="GST_MESSAGE_DEVICE_ADDED"
              glib:nick="device-added">
        <doc xml:space="preserve">Message indicating a #GstDevice was added to
    a #GstDeviceProvider (Since 1.4)</doc>
      </member>
      <member name="device_removed"
              value="2147483650"
              c:identifier="GST_MESSAGE_DEVICE_REMOVED"
              glib:nick="device-removed">
        <doc xml:space="preserve">Message indicating a #GstDevice was removed
    from a #GstDeviceProvider (Since 1.4)</doc>
      </member>
      <member name="property_notify"
              value="2147483651"
              c:identifier="GST_MESSAGE_PROPERTY_NOTIFY"
              glib:nick="property-notify">
        <doc xml:space="preserve">Message indicating a #GObject property has
    changed (Since 1.10)</doc>
      </member>
      <member name="stream_collection"
              value="2147483652"
              c:identifier="GST_MESSAGE_STREAM_COLLECTION"
              glib:nick="stream-collection">
        <doc xml:space="preserve">Message indicating a new #GstStreamCollection
    is available (Since 1.10)</doc>
      </member>
      <member name="streams_selected"
              value="2147483653"
              c:identifier="GST_MESSAGE_STREAMS_SELECTED"
              glib:nick="streams-selected">
        <doc xml:space="preserve">Message indicating the active selection of
    #GstStreams has changed (Since 1.10)</doc>
      </member>
      <member name="redirect"
              value="2147483654"
              c:identifier="GST_MESSAGE_REDIRECT"
              glib:nick="redirect">
        <doc xml:space="preserve">Message indicating to request the application to
    try to play the given URL(s). Useful if for example a HTTP 302/303
    response is received with a non-HTTP URL inside. (Since 1.10)</doc>
      </member>
      <member name="any"
              value="4294967295"
              c:identifier="GST_MESSAGE_ANY"
              glib:nick="any">
        <doc xml:space="preserve">mask for all of the above messages.</doc>
      </member>
      <function name="get_name" c:identifier="gst_message_type_get_name">
        <doc xml:space="preserve">Get a printable name for the given message type. Do not modify or free.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a reference to the static name of the message.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">the message type</doc>
            <type name="MessageType" c:type="GstMessageType"/>
          </parameter>
        </parameters>
      </function>
      <function name="to_quark" c:identifier="gst_message_type_to_quark">
        <doc xml:space="preserve">Get the unique quark for the given message type.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the quark associated with the message type</doc>
          <type name="GLib.Quark" c:type="GQuark"/>
        </return-value>
        <parameters>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">the message type</doc>
            <type name="MessageType" c:type="GstMessageType"/>
          </parameter>
        </parameters>
      </function>
    </bitfield>
    <record name="Meta" c:type="GstMeta">
      <doc xml:space="preserve">The #GstMeta structure should be included as the first member of a #GstBuffer
metadata structure. The structure defines the API of the metadata and should
be accessible to all elements using the metadata.

A metadata API is registered with gst_meta_api_type_register() which takes a
name for the metadata API and some tags associated with the metadata.
With gst_meta_api_type_has_tag() one can check if a certain metadata API
contains a given tag.

Multiple implementations of a metadata API can be registered.
To implement a metadata API, gst_meta_register() should be used. This
function takes all parameters needed to create, free and transform metadata
along with the size of the metadata. The function returns a #GstMetaInfo
structure that contains the information for the implementation of the API.

A specific implementation can be retrieved by name with gst_meta_get_info().

See #GstBuffer for how the metadata can be added, retrieved and removed from
buffers.</doc>
      <field name="flags" writable="1">
        <doc xml:space="preserve">extra flags for the metadata</doc>
        <type name="MetaFlags" c:type="GstMetaFlags"/>
      </field>
      <field name="info" writable="1">
        <doc xml:space="preserve">pointer to the #GstMetaInfo</doc>
        <type name="MetaInfo" c:type="const GstMetaInfo*"/>
      </field>
      <function name="api_type_get_tags"
                c:identifier="gst_meta_api_type_get_tags"
                version="1.2">
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">an array of tags as strings.</doc>
          <array c:type="gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <parameter name="api" transfer-ownership="none">
            <doc xml:space="preserve">an API</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
        </parameters>
      </function>
      <function name="api_type_has_tag"
                c:identifier="gst_meta_api_type_has_tag">
        <doc xml:space="preserve">Check if @api was registered with @tag.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @api was registered with @tag.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="api" transfer-ownership="none">
            <doc xml:space="preserve">an API</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">the tag to check</doc>
            <type name="GLib.Quark" c:type="GQuark"/>
          </parameter>
        </parameters>
      </function>
      <function name="api_type_register"
                c:identifier="gst_meta_api_type_register">
        <doc xml:space="preserve">Register and return a GType for the @api and associate it with
@tags.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a unique GType for @api.</doc>
          <type name="GType" c:type="GType"/>
        </return-value>
        <parameters>
          <parameter name="api" transfer-ownership="none">
            <doc xml:space="preserve">an API to register</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="tags" transfer-ownership="none">
            <doc xml:space="preserve">tags for @api</doc>
            <type name="utf8" c:type="const gchar**"/>
          </parameter>
        </parameters>
      </function>
      <function name="get_info" c:identifier="gst_meta_get_info">
        <doc xml:space="preserve">Lookup a previously registered meta info structure by its implementation name
@impl.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">a #GstMetaInfo with @impl, or
%NULL when no such metainfo exists.</doc>
          <type name="MetaInfo" c:type="const GstMetaInfo*"/>
        </return-value>
        <parameters>
          <parameter name="impl" transfer-ownership="none">
            <doc xml:space="preserve">the name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="register" c:identifier="gst_meta_register">
        <doc xml:space="preserve">Register a new #GstMeta implementation.

The same @info can be retrieved later with gst_meta_get_info() by using
@impl as the key.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">a #GstMetaInfo that can be used to
access metadata.</doc>
          <type name="MetaInfo" c:type="const GstMetaInfo*"/>
        </return-value>
        <parameters>
          <parameter name="api" transfer-ownership="none">
            <doc xml:space="preserve">the type of the #GstMeta API</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
          <parameter name="impl" transfer-ownership="none">
            <doc xml:space="preserve">the name of the #GstMeta implementation</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">the size of the #GstMeta structure</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="init_func" transfer-ownership="none" scope="async">
            <doc xml:space="preserve">a #GstMetaInitFunction</doc>
            <type name="MetaInitFunction" c:type="GstMetaInitFunction"/>
          </parameter>
          <parameter name="free_func" transfer-ownership="none" scope="async">
            <doc xml:space="preserve">a #GstMetaFreeFunction</doc>
            <type name="MetaFreeFunction" c:type="GstMetaFreeFunction"/>
          </parameter>
          <parameter name="transform_func"
                     transfer-ownership="none"
                     scope="async">
            <doc xml:space="preserve">a #GstMetaTransformFunction</doc>
            <type name="MetaTransformFunction"
                  c:type="GstMetaTransformFunction"/>
          </parameter>
        </parameters>
      </function>
    </record>
    <bitfield name="MetaFlags"
              glib:type-name="GstMetaFlags"
              glib:get-type="gst_meta_flags_get_type"
              c:type="GstMetaFlags">
      <doc xml:space="preserve">Extra metadata flags.</doc>
      <member name="none"
              value="0"
              c:identifier="GST_META_FLAG_NONE"
              glib:nick="none">
        <doc xml:space="preserve">no flags</doc>
      </member>
      <member name="readonly"
              value="1"
              c:identifier="GST_META_FLAG_READONLY"
              glib:nick="readonly">
        <doc xml:space="preserve">metadata should not be modified</doc>
      </member>
      <member name="pooled"
              value="2"
              c:identifier="GST_META_FLAG_POOLED"
              glib:nick="pooled">
        <doc xml:space="preserve">metadata is managed by a bufferpool</doc>
      </member>
      <member name="locked"
              value="4"
              c:identifier="GST_META_FLAG_LOCKED"
              glib:nick="locked">
        <doc xml:space="preserve">metadata should not be removed</doc>
      </member>
      <member name="last"
              value="65536"
              c:identifier="GST_META_FLAG_LAST"
              glib:nick="last">
        <doc xml:space="preserve">additional flags can be added starting from this flag.</doc>
      </member>
    </bitfield>
    <callback name="MetaFreeFunction" c:type="GstMetaFreeFunction">
      <doc xml:space="preserve">Function called when @meta is freed in @buffer.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="meta" transfer-ownership="none">
          <doc xml:space="preserve">a #GstMeta</doc>
          <type name="Meta" c:type="GstMeta*"/>
        </parameter>
        <parameter name="buffer" transfer-ownership="none">
          <doc xml:space="preserve">a #GstBuffer</doc>
          <type name="Buffer" c:type="GstBuffer*"/>
        </parameter>
      </parameters>
    </callback>
    <record name="MetaInfo" c:type="GstMetaInfo">
      <doc xml:space="preserve">The #GstMetaInfo provides information about a specific metadata
structure.</doc>
      <field name="api" writable="1">
        <doc xml:space="preserve">tag identifying the metadata structure and api</doc>
        <type name="GType" c:type="GType"/>
      </field>
      <field name="type" writable="1">
        <doc xml:space="preserve">type identifying the implementor of the api</doc>
        <type name="GType" c:type="GType"/>
      </field>
      <field name="size" writable="1">
        <doc xml:space="preserve">size of the metadata</doc>
        <type name="gsize" c:type="gsize"/>
      </field>
      <field name="init_func" writable="1">
        <doc xml:space="preserve">function for initializing the metadata</doc>
        <type name="MetaInitFunction" c:type="GstMetaInitFunction"/>
      </field>
      <field name="free_func" writable="1">
        <doc xml:space="preserve">function for freeing the metadata</doc>
        <type name="MetaFreeFunction" c:type="GstMetaFreeFunction"/>
      </field>
      <field name="transform_func" writable="1">
        <doc xml:space="preserve">function for transforming the metadata</doc>
        <type name="MetaTransformFunction" c:type="GstMetaTransformFunction"/>
      </field>
    </record>
    <callback name="MetaInitFunction" c:type="GstMetaInitFunction">
      <doc xml:space="preserve">Function called when @meta is initialized in @buffer.</doc>
      <return-value transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="meta" transfer-ownership="none">
          <doc xml:space="preserve">a #GstMeta</doc>
          <type name="Meta" c:type="GstMeta*"/>
        </parameter>
        <parameter name="params"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">parameters passed to the init function</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
        <parameter name="buffer" transfer-ownership="none">
          <doc xml:space="preserve">a #GstBuffer</doc>
          <type name="Buffer" c:type="GstBuffer*"/>
        </parameter>
      </parameters>
    </callback>
    <record name="MetaTransformCopy" c:type="GstMetaTransformCopy">
      <doc xml:space="preserve">Extra data passed to a "gst-copy" transform #GstMetaTransformFunction.</doc>
      <field name="region" writable="1">
        <doc xml:space="preserve">%TRUE if only region is copied</doc>
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="offset" writable="1">
        <doc xml:space="preserve">the offset to copy, 0 if @region is %FALSE, otherwise &gt; 0</doc>
        <type name="gsize" c:type="gsize"/>
      </field>
      <field name="size" writable="1">
        <doc xml:space="preserve">the size to copy, -1 or the buffer size when @region is %FALSE</doc>
        <type name="gsize" c:type="gsize"/>
      </field>
    </record>
    <callback name="MetaTransformFunction" c:type="GstMetaTransformFunction">
      <doc xml:space="preserve">Function called for each @meta in @buffer as a result of performing a
transformation on @transbuf. Additional @type specific transform data
is passed to the function as @data.

Implementations should check the @type of the transform and parse
additional type specific fields in @data that should be used to update
the metadata on @transbuf.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the transform could be performed</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="transbuf" transfer-ownership="none">
          <doc xml:space="preserve">a #GstBuffer</doc>
          <type name="Buffer" c:type="GstBuffer*"/>
        </parameter>
        <parameter name="meta" transfer-ownership="none">
          <doc xml:space="preserve">a #GstMeta</doc>
          <type name="Meta" c:type="GstMeta*"/>
        </parameter>
        <parameter name="buffer" transfer-ownership="none">
          <doc xml:space="preserve">a #GstBuffer</doc>
          <type name="Buffer" c:type="GstBuffer*"/>
        </parameter>
        <parameter name="type" transfer-ownership="none">
          <doc xml:space="preserve">the transform type</doc>
          <type name="GLib.Quark" c:type="GQuark"/>
        </parameter>
        <parameter name="data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">transform specific data.</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <record name="MiniObject" c:type="GstMiniObject">
      <doc xml:space="preserve">#GstMiniObject is a simple structure that can be used to implement refcounted
types.

Subclasses will include #GstMiniObject as the first member in their structure
and then call gst_mini_object_init() to initialize the #GstMiniObject fields.

gst_mini_object_ref() and gst_mini_object_unref() increment and decrement the
refcount respectively. When the refcount of a mini-object reaches 0, the
dispose function is called first and when this returns %TRUE, the free
function of the miniobject is called.

A copy can be made with gst_mini_object_copy().

gst_mini_object_is_writable() will return %TRUE when the refcount of the
object is exactly 1, meaning the current caller has the only reference to the
object. gst_mini_object_make_writable() will return a writable version of the
object, which might be a new copy when the refcount was not 1.

Opaque data can be associated with a #GstMiniObject with
gst_mini_object_set_qdata() and gst_mini_object_get_qdata(). The data is
meant to be specific to the particular object and is not automatically copied
with gst_mini_object_copy() or similar methods.

A weak reference can be added and remove with gst_mini_object_weak_ref()
and gst_mini_object_weak_unref() respectively.</doc>
      <field name="type" writable="1">
        <doc xml:space="preserve">the GType of the object</doc>
        <type name="GType" c:type="GType"/>
      </field>
      <field name="refcount" writable="1">
        <doc xml:space="preserve">atomic refcount</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="lockstate" writable="1">
        <doc xml:space="preserve">atomic state of the locks</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="flags" writable="1">
        <doc xml:space="preserve">extra flags.</doc>
        <type name="guint" c:type="guint"/>
      </field>
      <field name="copy" introspectable="0" writable="1">
        <doc xml:space="preserve">a copy function</doc>
        <type name="MiniObjectCopyFunction"
              c:type="GstMiniObjectCopyFunction"/>
      </field>
      <field name="dispose" writable="1">
        <doc xml:space="preserve">a dispose function</doc>
        <type name="MiniObjectDisposeFunction"
              c:type="GstMiniObjectDisposeFunction"/>
      </field>
      <field name="free" writable="1">
        <doc xml:space="preserve">the free function</doc>
        <type name="MiniObjectFreeFunction"
              c:type="GstMiniObjectFreeFunction"/>
      </field>
      <field name="n_qdata" readable="0" private="1">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="qdata" readable="0" private="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <method name="copy"
              c:identifier="gst_mini_object_copy"
              introspectable="0">
        <doc xml:space="preserve">Creates a copy of the mini-object.

MT safe</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the new mini-object if copying is
possible, %NULL otherwise.</doc>
          <type name="MiniObject" c:type="GstMiniObject*"/>
        </return-value>
        <parameters>
          <instance-parameter name="mini_object" transfer-ownership="none">
            <doc xml:space="preserve">the mini-object to copy</doc>
            <type name="MiniObject" c:type="const GstMiniObject*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_qdata" c:identifier="gst_mini_object_get_qdata">
        <doc xml:space="preserve">This function gets back user data pointers stored via
gst_mini_object_set_qdata().</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">The user data pointer set, or
%NULL</doc>
          <type name="gpointer" c:type="gpointer"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">The GstMiniObject to get a stored user data pointer from</doc>
            <type name="MiniObject" c:type="GstMiniObject*"/>
          </instance-parameter>
          <parameter name="quark" transfer-ownership="none">
            <doc xml:space="preserve">A #GQuark, naming the user data pointer</doc>
            <type name="GLib.Quark" c:type="GQuark"/>
          </parameter>
        </parameters>
      </method>
      <method name="init"
              c:identifier="gst_mini_object_init"
              introspectable="0">
        <doc xml:space="preserve">Initializes a mini-object with the desired type and copy/dispose/free
functions.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="mini_object" transfer-ownership="none">
            <doc xml:space="preserve">a #GstMiniObject</doc>
            <type name="MiniObject" c:type="GstMiniObject*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">initial #GstMiniObjectFlags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">the #GType of the mini-object to create</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
          <parameter name="copy_func"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the copy function, or %NULL</doc>
            <type name="MiniObjectCopyFunction"
                  c:type="GstMiniObjectCopyFunction"/>
          </parameter>
          <parameter name="dispose_func"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the dispose function, or %NULL</doc>
            <type name="MiniObjectDisposeFunction"
                  c:type="GstMiniObjectDisposeFunction"/>
          </parameter>
          <parameter name="free_func"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the free function or %NULL</doc>
            <type name="MiniObjectFreeFunction"
                  c:type="GstMiniObjectFreeFunction"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_writable" c:identifier="gst_mini_object_is_writable">
        <doc xml:space="preserve">If @mini_object has the LOCKABLE flag set, check if the current EXCLUSIVE
lock on @object is the only one, this means that changes to the object will
not be visible to any other object.

If the LOCKABLE flag is not set, check if the refcount of @mini_object is
exactly 1, meaning that no other reference exists to the object and that the
object is therefore writable.

Modification of a mini-object should only be done after verifying that it
is writable.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the object is writable.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="mini_object" transfer-ownership="none">
            <doc xml:space="preserve">the mini-object to check</doc>
            <type name="MiniObject" c:type="const GstMiniObject*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="lock" c:identifier="gst_mini_object_lock">
        <doc xml:space="preserve">Lock the mini-object with the specified access mode in @flags.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @object could be locked.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">the mini-object to lock</doc>
            <type name="MiniObject" c:type="GstMiniObject*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">#GstLockFlags</doc>
            <type name="LockFlags" c:type="GstLockFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="make_writable"
              c:identifier="gst_mini_object_make_writable"
              introspectable="0">
        <doc xml:space="preserve">Checks if a mini-object is writable.  If not, a writable copy is made and
returned.  This gives away the reference to the original mini object,
and returns a reference to the new object.

MT safe</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a mini-object (possibly the same pointer) that
    is writable.</doc>
          <type name="MiniObject" c:type="GstMiniObject*"/>
        </return-value>
        <parameters>
          <instance-parameter name="mini_object" transfer-ownership="full">
            <doc xml:space="preserve">the mini-object to make writable</doc>
            <type name="MiniObject" c:type="GstMiniObject*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="ref" c:identifier="gst_mini_object_ref" introspectable="0">
        <doc xml:space="preserve">Increase the reference count of the mini-object.

Note that the refcount affects the writability
of @mini-object, see gst_mini_object_is_writable(). It is
important to note that keeping additional references to
GstMiniObject instances can potentially increase the number
of memcpy operations in a pipeline, especially if the miniobject
is a #GstBuffer.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the mini-object.</doc>
          <type name="MiniObject" c:type="GstMiniObject*"/>
        </return-value>
        <parameters>
          <instance-parameter name="mini_object" transfer-ownership="none">
            <doc xml:space="preserve">the mini-object</doc>
            <type name="MiniObject" c:type="GstMiniObject*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_qdata" c:identifier="gst_mini_object_set_qdata">
        <doc xml:space="preserve">This sets an opaque, named pointer on a miniobject.
The name is specified through a #GQuark (retrieved e.g. via
g_quark_from_static_string()), and the pointer
can be gotten back from the @object with gst_mini_object_get_qdata()
until the @object is disposed.
Setting a previously set user data pointer, overrides (frees)
the old pointer set, using %NULL as pointer essentially
removes the data stored.

@destroy may be specified which is called with @data as argument
when the @object is disposed, or the data is being overwritten by
a call to gst_mini_object_set_qdata() with the same @quark.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">a #GstMiniObject</doc>
            <type name="MiniObject" c:type="GstMiniObject*"/>
          </instance-parameter>
          <parameter name="quark" transfer-ownership="none">
            <doc xml:space="preserve">A #GQuark, naming the user data pointer</doc>
            <type name="GLib.Quark" c:type="GQuark"/>
          </parameter>
          <parameter name="data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">An opaque user data pointer</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="destroy" transfer-ownership="none" scope="async">
            <doc xml:space="preserve">Function to invoke with @data as argument, when @data
          needs to be freed</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="steal_qdata" c:identifier="gst_mini_object_steal_qdata">
        <doc xml:space="preserve">This function gets back user data pointers stored via gst_mini_object_set_qdata()
and removes the data from @object without invoking its destroy() function (if
any was set).</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">The user data pointer set, or
%NULL</doc>
          <type name="gpointer" c:type="gpointer"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">The GstMiniObject to get a stored user data pointer from</doc>
            <type name="MiniObject" c:type="GstMiniObject*"/>
          </instance-parameter>
          <parameter name="quark" transfer-ownership="none">
            <doc xml:space="preserve">A #GQuark, naming the user data pointer</doc>
            <type name="GLib.Quark" c:type="GQuark"/>
          </parameter>
        </parameters>
      </method>
      <method name="unlock" c:identifier="gst_mini_object_unlock">
        <doc xml:space="preserve">Unlock the mini-object with the specified access mode in @flags.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">the mini-object to unlock</doc>
            <type name="MiniObject" c:type="GstMiniObject*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">#GstLockFlags</doc>
            <type name="LockFlags" c:type="GstLockFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="unref"
              c:identifier="gst_mini_object_unref"
              introspectable="0">
        <doc xml:space="preserve">Decreases the reference count of the mini-object, possibly freeing
the mini-object.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="mini_object" transfer-ownership="none">
            <doc xml:space="preserve">the mini-object</doc>
            <type name="MiniObject" c:type="GstMiniObject*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="weak_ref"
              c:identifier="gst_mini_object_weak_ref"
              introspectable="0">
        <doc xml:space="preserve">Adds a weak reference callback to a mini object. Weak references are
used for notification when a mini object is finalized. They are called
"weak references" because they allow you to safely hold a pointer
to the mini object without calling gst_mini_object_ref()
(gst_mini_object_ref() adds a strong reference, that is, forces the object
to stay alive).</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">#GstMiniObject to reference weakly</doc>
            <type name="MiniObject" c:type="GstMiniObject*"/>
          </instance-parameter>
          <parameter name="notify" transfer-ownership="none" closure="1">
            <doc xml:space="preserve">callback to invoke before the mini object is freed</doc>
            <type name="MiniObjectNotify" c:type="GstMiniObjectNotify"/>
          </parameter>
          <parameter name="data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">extra data to pass to notify</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="weak_unref"
              c:identifier="gst_mini_object_weak_unref"
              introspectable="0">
        <doc xml:space="preserve">Removes a weak reference callback from a mini object.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">#GstMiniObject to remove a weak reference from</doc>
            <type name="MiniObject" c:type="GstMiniObject*"/>
          </instance-parameter>
          <parameter name="notify" transfer-ownership="none" closure="1">
            <doc xml:space="preserve">callback to search for</doc>
            <type name="MiniObjectNotify" c:type="GstMiniObjectNotify"/>
          </parameter>
          <parameter name="data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">data to search for</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <function name="replace" c:identifier="gst_mini_object_replace">
        <doc xml:space="preserve">Atomically modifies a pointer to point to a new mini-object.
The reference count of @olddata is decreased and the reference count of
@newdata is increased.

Either @newdata and the value pointed to by @olddata may be %NULL.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @newdata was different from @olddata</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="olddata"
                     direction="inout"
                     caller-allocates="0"
                     transfer-ownership="full"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">pointer to a pointer to a
    mini-object to be replaced</doc>
            <type name="MiniObject" c:type="GstMiniObject**"/>
          </parameter>
          <parameter name="newdata"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">pointer to new mini-object</doc>
            <type name="MiniObject" c:type="GstMiniObject*"/>
          </parameter>
        </parameters>
      </function>
      <function name="steal"
                c:identifier="gst_mini_object_steal"
                introspectable="0">
        <doc xml:space="preserve">Replace the current #GstMiniObject pointer to by @olddata with %NULL and
return the old value.</doc>
        <return-value nullable="1">
          <doc xml:space="preserve">the #GstMiniObject at @oldata</doc>
          <type name="MiniObject" c:type="GstMiniObject*"/>
        </return-value>
        <parameters>
          <parameter name="olddata"
                     direction="inout"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">pointer to a pointer to a mini-object to
    be stolen</doc>
            <type name="MiniObject" c:type="GstMiniObject**"/>
          </parameter>
        </parameters>
      </function>
      <function name="take" c:identifier="gst_mini_object_take">
        <doc xml:space="preserve">Modifies a pointer to point to a new mini-object. The modification
is done atomically. This version is similar to gst_mini_object_replace()
except that it does not increase the refcount of @newdata and thus
takes ownership of @newdata.

Either @newdata and the value pointed to by @olddata may be %NULL.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @newdata was different from @olddata</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="olddata"
                     direction="inout"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">pointer to a pointer to a mini-object to
    be replaced</doc>
            <type name="MiniObject" c:type="GstMiniObject**"/>
          </parameter>
          <parameter name="newdata" transfer-ownership="none">
            <doc xml:space="preserve">pointer to new mini-object</doc>
            <type name="MiniObject" c:type="GstMiniObject*"/>
          </parameter>
        </parameters>
      </function>
    </record>
    <callback name="MiniObjectCopyFunction"
              c:type="GstMiniObjectCopyFunction"
              introspectable="0">
      <doc xml:space="preserve">Function prototype for methods to create copies of instances.</doc>
      <return-value>
        <doc xml:space="preserve">reference to cloned instance.</doc>
        <type name="MiniObject" c:type="GstMiniObject*"/>
      </return-value>
      <parameters>
        <parameter name="obj" transfer-ownership="none">
          <doc xml:space="preserve">MiniObject to copy</doc>
          <type name="MiniObject" c:type="const GstMiniObject*"/>
        </parameter>
      </parameters>
    </callback>
    <callback name="MiniObjectDisposeFunction"
              c:type="GstMiniObjectDisposeFunction">
      <doc xml:space="preserve">Function prototype for when a miniobject has lost its last refcount.
Implementation of the mini object are allowed to revive the
passed object by doing a gst_mini_object_ref(). If the object is not
revived after the dispose function, the function should return %TRUE
and the memory associated with the object is freed.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the object should be cleaned up.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="obj" transfer-ownership="none">
          <doc xml:space="preserve">MiniObject to dispose</doc>
          <type name="MiniObject" c:type="GstMiniObject*"/>
        </parameter>
      </parameters>
    </callback>
    <bitfield name="MiniObjectFlags"
              glib:type-name="GstMiniObjectFlags"
              glib:get-type="gst_mini_object_flags_get_type"
              c:type="GstMiniObjectFlags">
      <doc xml:space="preserve">Flags for the mini object</doc>
      <member name="lockable"
              value="1"
              c:identifier="GST_MINI_OBJECT_FLAG_LOCKABLE"
              glib:nick="lockable">
        <doc xml:space="preserve">the object can be locked and unlocked with
gst_mini_object_lock() and gst_mini_object_unlock().</doc>
      </member>
      <member name="lock_readonly"
              value="2"
              c:identifier="GST_MINI_OBJECT_FLAG_LOCK_READONLY"
              glib:nick="lock-readonly">
        <doc xml:space="preserve">the object is permanently locked in
READONLY mode. Only read locks can be performed on the object.</doc>
      </member>
      <member name="may_be_leaked"
              value="4"
              c:identifier="GST_MINI_OBJECT_FLAG_MAY_BE_LEAKED"
              glib:nick="may-be-leaked">
        <doc xml:space="preserve">the object is expected to stay alive
even after gst_deinit() has been called and so should be ignored by leak
detection tools. (Since 1.10)</doc>
      </member>
      <member name="last"
              value="16"
              c:identifier="GST_MINI_OBJECT_FLAG_LAST"
              glib:nick="last">
        <doc xml:space="preserve">first flag that can be used by subclasses.</doc>
      </member>
    </bitfield>
    <callback name="MiniObjectFreeFunction" c:type="GstMiniObjectFreeFunction">
      <doc xml:space="preserve">Virtual function prototype for methods to free resources used by
mini-objects.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="obj" transfer-ownership="none">
          <doc xml:space="preserve">MiniObject to free</doc>
          <type name="MiniObject" c:type="GstMiniObject*"/>
        </parameter>
      </parameters>
    </callback>
    <callback name="MiniObjectNotify" c:type="GstMiniObjectNotify">
      <doc xml:space="preserve">A #GstMiniObjectNotify function can be added to a mini object as a
callback that gets triggered when gst_mini_object_unref() drops the
last ref and @obj is about to be freed.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="0">
          <doc xml:space="preserve">data that was provided when the notify was added</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
        <parameter name="obj" transfer-ownership="none">
          <doc xml:space="preserve">the mini object</doc>
          <type name="MiniObject" c:type="GstMiniObject*"/>
        </parameter>
      </parameters>
    </callback>
    <constant name="NSECOND" value="1" c:type="GST_NSECOND">
      <doc xml:space="preserve">Constant that defines one GStreamer nanosecond</doc>
      <type name="ClockTimeDiff" c:type="GstClockTimeDiff"/>
    </constant>
    <class name="Object"
           c:symbol-prefix="object"
           c:type="GstObject"
           parent="GObject.InitiallyUnowned"
           abstract="1"
           glib:type-name="GstObject"
           glib:get-type="gst_object_get_type"
           glib:type-struct="ObjectClass">
      <doc xml:space="preserve">#GstObject provides a root for the object hierarchy tree filed in by the
GStreamer library.  It is currently a thin wrapper on top of
#GInitiallyUnowned. It is an abstract class that is not very usable on its own.

#GstObject gives us basic refcounting, parenting functionality and locking.
Most of the functions are just extended for special GStreamer needs and can be
found under the same name in the base class of #GstObject which is #GObject
(e.g. g_object_ref() becomes gst_object_ref()).

Since #GstObject derives from #GInitiallyUnowned, it also inherits the
floating reference. Be aware that functions such as gst_bin_add() and
gst_element_add_pad() take ownership of the floating reference.

In contrast to #GObject instances, #GstObject adds a name property. The functions
gst_object_set_name() and gst_object_get_name() are used to set/get the name
of the object.

## controlled properties

Controlled properties offers a lightweight way to adjust gobject properties
over stream-time. It works by using time-stamped value pairs that are queued
for element-properties. At run-time the elements continuously pull value
changes for the current stream-time.

What needs to be changed in a #GstElement?
Very little - it is just two steps to make a plugin controllable!

  * mark gobject-properties paramspecs that make sense to be controlled,
    by GST_PARAM_CONTROLLABLE.

  * when processing data (get, chain, loop function) at the beginning call
    gst_object_sync_values(element,timestamp).
    This will make the controller update all GObject properties that are
    under its control with the current values based on the timestamp.

What needs to be done in applications? Again it's not a lot to change.

  * create a #GstControlSource.
    csource = gst_interpolation_control_source_new ();
    g_object_set (csource, "mode", GST_INTERPOLATION_MODE_LINEAR, NULL);

  * Attach the #GstControlSource on the controller to a property.
    gst_object_add_control_binding (object, gst_direct_control_binding_new (object, "prop1", csource));

  * Set the control values
    gst_timed_value_control_source_set ((GstTimedValueControlSource *)csource,0 * GST_SECOND, value1);
    gst_timed_value_control_source_set ((GstTimedValueControlSource *)csource,1 * GST_SECOND, value2);

  * start your pipeline</doc>
      <function name="check_uniqueness"
                c:identifier="gst_object_check_uniqueness">
        <doc xml:space="preserve">Checks to see if there is any object named @name in @list. This function
does not do any locking of any kind. You might want to protect the
provided list with the lock of the owner of the list. This function
will lock each #GstObject in the list to compare the name, so be
careful when passing a list with a locked object.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if a #GstObject named @name does not appear in @list,
%FALSE if it does.

MT safe. Grabs and releases the LOCK of each object in the list.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a list of #GstObject to
     check through</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="Object"/>
            </type>
          </parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">the name to search for</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="default_deep_notify"
                c:identifier="gst_object_default_deep_notify">
        <doc xml:space="preserve">A default deep_notify signal callback for an object. The user data
should contain a pointer to an array of strings that should be excluded
from the notify. The default handler will print the new value of the property
using g_print.

MT safe. This function grabs and releases @object's LOCK for getting its
         path string.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">the #GObject that signalled the notify.</doc>
            <type name="GObject.Object" c:type="GObject*"/>
          </parameter>
          <parameter name="orig" transfer-ownership="none">
            <doc xml:space="preserve">a #GstObject that initiated the notify.</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="pspec" transfer-ownership="none">
            <doc xml:space="preserve">a #GParamSpec of the property.</doc>
            <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
          </parameter>
          <parameter name="excluded_props"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">
    a set of user-specified properties to exclude or %NULL to show
    all changes.</doc>
            <array c:type="gchar**">
              <type name="utf8"/>
            </array>
          </parameter>
        </parameters>
      </function>
      <function name="ref_sink"
                c:identifier="gst_object_ref_sink"
                introspectable="0">
        <doc xml:space="preserve">Increase the reference count of @object, and possibly remove the floating
reference, if @object has a floating reference.

In other words, if the object is floating, then this call "assumes ownership"
of the floating reference, converting it to a normal reference by clearing
the floating flag while leaving the reference count unchanged. If the object
is not floating, then this call adds a new normal reference increasing the
reference count by one.

For more background on "floating references" please see the #GObject
documentation.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <type name="gpointer" c:type="gpointer"/>
        </return-value>
        <parameters>
          <parameter name="object"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GstObject to sink</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </function>
      <function name="replace" c:identifier="gst_object_replace">
        <doc xml:space="preserve">Atomically modifies a pointer to point to a new object.
The reference count of @oldobj is decreased and the reference count of
@newobj is increased.

Either @newobj and the value pointed to by @oldobj may be %NULL.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @newobj was different from @oldobj</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="oldobj"
                     direction="inout"
                     caller-allocates="0"
                     transfer-ownership="full"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">pointer to a place of
    a #GstObject to replace</doc>
            <type name="Object" c:type="GstObject**"/>
          </parameter>
          <parameter name="newobj"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a new #GstObject</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
        </parameters>
      </function>
      <virtual-method name="deep_notify">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <type name="Object" c:type="GstObject*"/>
          </instance-parameter>
          <parameter name="orig" transfer-ownership="none">
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="pspec" transfer-ownership="none">
            <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="add_control_binding"
              c:identifier="gst_object_add_control_binding">
        <doc xml:space="preserve">Attach the #GstControlBinding to the object. If there already was a
#GstControlBinding for this property it will be replaced.

The object's reference count will be incremented, and any floating
reference will be removed (see gst_object_ref_sink())</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%FALSE if the given @binding has not been setup for this object or
has been setup for a non suitable property, %TRUE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">the controller object</doc>
            <type name="Object" c:type="GstObject*"/>
          </instance-parameter>
          <parameter name="binding" transfer-ownership="none">
            <doc xml:space="preserve">the #GstControlBinding that should be used</doc>
            <type name="ControlBinding" c:type="GstControlBinding*"/>
          </parameter>
        </parameters>
      </method>
      <method name="default_error" c:identifier="gst_object_default_error">
        <doc xml:space="preserve">A default error function that uses g_printerr() to display the error message
and the optional debug sting..

The default handler will simply print the error string using g_print.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="source" transfer-ownership="none">
            <doc xml:space="preserve">the #GstObject that initiated the error.</doc>
            <type name="Object" c:type="GstObject*"/>
          </instance-parameter>
          <parameter name="error" transfer-ownership="none">
            <doc xml:space="preserve">the GError.</doc>
            <type name="GLib.Error" c:type="const GError*"/>
          </parameter>
          <parameter name="debug"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">an additional debug information string, or %NULL</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_control_binding"
              c:identifier="gst_object_get_control_binding">
        <doc xml:space="preserve">Gets the corresponding #GstControlBinding for the property. This should be
unreferenced again after use.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the #GstControlBinding for
@property_name or %NULL if the property is not controlled.</doc>
          <type name="ControlBinding" c:type="GstControlBinding*"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">the object</doc>
            <type name="Object" c:type="GstObject*"/>
          </instance-parameter>
          <parameter name="property_name" transfer-ownership="none">
            <doc xml:space="preserve">name of the property</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_control_rate"
              c:identifier="gst_object_get_control_rate">
        <doc xml:space="preserve">Obtain the control-rate for this @object. Audio processing #GstElement
objects will use this rate to sub-divide their processing loop and call
gst_object_sync_values() inbetween. The length of the processing segment
should be up to @control-rate nanoseconds.

If the @object is not under property control, this will return
%GST_CLOCK_TIME_NONE. This allows the element to avoid the sub-dividing.

The control-rate is not expected to change if the element is in
%GST_STATE_PAUSED or %GST_STATE_PLAYING.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the control rate in nanoseconds</doc>
          <type name="ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">the object that has controlled properties</doc>
            <type name="Object" c:type="GstObject*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_g_value_array"
              c:identifier="gst_object_get_g_value_array">
        <doc xml:space="preserve">Gets a number of #GValues for the given controlled property starting at the
requested time. The array @values need to hold enough space for @n_values of
#GValue.

This function is useful if one wants to e.g. draw a graph of the control
curve or apply a control curve sample by sample.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the given array could be filled, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">the object that has controlled properties</doc>
            <type name="Object" c:type="GstObject*"/>
          </instance-parameter>
          <parameter name="property_name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the property to get</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve">the time that should be processed</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="interval" transfer-ownership="none">
            <doc xml:space="preserve">the time spacing between subsequent values</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="n_values" transfer-ownership="none">
            <doc xml:space="preserve">the number of values</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="values" transfer-ownership="none">
            <doc xml:space="preserve">array to put control-values in</doc>
            <array length="3" zero-terminated="0" c:type="GValue*">
              <type name="GObject.Value" c:type="GValue"/>
            </array>
          </parameter>
        </parameters>
      </method>
      <method name="get_name" c:identifier="gst_object_get_name">
        <doc xml:space="preserve">Returns a copy of the name of @object.
Caller should g_free() the return value after usage.
For a nameless object, this returns %NULL, which you can safely g_free()
as well.

Free-function: g_free</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the name of @object. g_free()
after usage.

MT safe. This function grabs and releases @object's LOCK.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">a #GstObject</doc>
            <type name="Object" c:type="GstObject*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_parent" c:identifier="gst_object_get_parent">
        <doc xml:space="preserve">Returns the parent of @object. This function increases the refcount
of the parent object so you should gst_object_unref() it after usage.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">parent of @object, this can be
  %NULL if @object has no parent. unref after usage.

MT safe. Grabs and releases @object's LOCK.</doc>
          <type name="Object" c:type="GstObject*"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">a #GstObject</doc>
            <type name="Object" c:type="GstObject*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_path_string" c:identifier="gst_object_get_path_string">
        <doc xml:space="preserve">Generates a string describing the path of @object in
the object hierarchy. Only useful (or used) for debugging.

Free-function: g_free</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a string describing the path of @object. You must
         g_free() the string after usage.

MT safe. Grabs and releases the #GstObject's LOCK for all objects
         in the hierarchy.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">a #GstObject</doc>
            <type name="Object" c:type="GstObject*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_value" c:identifier="gst_object_get_value">
        <doc xml:space="preserve">Gets the value for the given controlled property at the requested time.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the GValue of the property at the given time,
or %NULL if the property isn't controlled.</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">the object that has controlled properties</doc>
            <type name="Object" c:type="GstObject*"/>
          </instance-parameter>
          <parameter name="property_name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the property to get</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve">the time the control-change should be read from</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_value_array"
              c:identifier="gst_object_get_value_array"
              introspectable="0">
        <doc xml:space="preserve">Gets a number of values for the given controlled property starting at the
requested time. The array @values need to hold enough space for @n_values of
the same type as the objects property's type.

This function is useful if one wants to e.g. draw a graph of the control
curve or apply a control curve sample by sample.

The values are unboxed and ready to be used. The similar function
gst_object_get_g_value_array() returns the array as #GValues and is
better suites for bindings.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the given array could be filled, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">the object that has controlled properties</doc>
            <type name="Object" c:type="GstObject*"/>
          </instance-parameter>
          <parameter name="property_name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the property to get</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve">the time that should be processed</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="interval" transfer-ownership="none">
            <doc xml:space="preserve">the time spacing between subsequent values</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="n_values" transfer-ownership="none">
            <doc xml:space="preserve">the number of values</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="values"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">array to put control-values in</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="has_active_control_bindings"
              c:identifier="gst_object_has_active_control_bindings">
        <doc xml:space="preserve">Check if the @object has active controlled properties.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the object has active controlled properties</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">the object that has controlled properties</doc>
            <type name="Object" c:type="GstObject*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_ancestor"
              c:identifier="gst_object_has_ancestor"
              deprecated="1">
        <doc xml:space="preserve">Check if @object has an ancestor @ancestor somewhere up in
the hierarchy. One can e.g. check if a #GstElement is inside a #GstPipeline.</doc>
        <doc-deprecated xml:space="preserve">Use gst_object_has_as_ancestor() instead.

MT safe. Grabs and releases @object's locks.</doc-deprecated>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @ancestor is an ancestor of @object.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">a #GstObject to check</doc>
            <type name="Object" c:type="GstObject*"/>
          </instance-parameter>
          <parameter name="ancestor" transfer-ownership="none">
            <doc xml:space="preserve">a #GstObject to check as ancestor</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
        </parameters>
      </method>
      <method name="has_as_ancestor" c:identifier="gst_object_has_as_ancestor">
        <doc xml:space="preserve">Check if @object has an ancestor @ancestor somewhere up in
the hierarchy. One can e.g. check if a #GstElement is inside a #GstPipeline.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @ancestor is an ancestor of @object.

MT safe. Grabs and releases @object's locks.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">a #GstObject to check</doc>
            <type name="Object" c:type="GstObject*"/>
          </instance-parameter>
          <parameter name="ancestor" transfer-ownership="none">
            <doc xml:space="preserve">a #GstObject to check as ancestor</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
        </parameters>
      </method>
      <method name="has_as_parent"
              c:identifier="gst_object_has_as_parent"
              version="1.6">
        <doc xml:space="preserve">Check if @parent is the parent of @object.
E.g. a #GstElement can check if it owns a given #GstPad.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%FALSE if either @object or @parent is %NULL. %TRUE if @parent is
         the parent of @object. Otherwise %FALSE.

MT safe. Grabs and releases @object's locks.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">a #GstObject to check</doc>
            <type name="Object" c:type="GstObject*"/>
          </instance-parameter>
          <parameter name="parent" transfer-ownership="none">
            <doc xml:space="preserve">a #GstObject to check as parent</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
        </parameters>
      </method>
      <method name="ref" c:identifier="gst_object_ref">
        <doc xml:space="preserve">Increments the reference count on @object. This function
does not take the lock on @object because it relies on
atomic refcounting.

This object returns the input parameter to ease writing
constructs like :
 result = gst_object_ref (object-&gt;parent);</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A pointer to @object</doc>
          <type name="Object" c:type="gpointer"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">a #GstObject to reference</doc>
            <type name="Object" c:type="gpointer"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="remove_control_binding"
              c:identifier="gst_object_remove_control_binding">
        <doc xml:space="preserve">Removes the corresponding #GstControlBinding. If it was the
last ref of the binding, it will be disposed.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the binding could be removed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">the object</doc>
            <type name="Object" c:type="GstObject*"/>
          </instance-parameter>
          <parameter name="binding" transfer-ownership="none">
            <doc xml:space="preserve">the binding</doc>
            <type name="ControlBinding" c:type="GstControlBinding*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_control_binding_disabled"
              c:identifier="gst_object_set_control_binding_disabled">
        <doc xml:space="preserve">This function is used to disable the control bindings on a property for
some time, i.e. gst_object_sync_values() will do nothing for the
property.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">the object that has controlled properties</doc>
            <type name="Object" c:type="GstObject*"/>
          </instance-parameter>
          <parameter name="property_name" transfer-ownership="none">
            <doc xml:space="preserve">property to disable</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="disabled" transfer-ownership="none">
            <doc xml:space="preserve">boolean that specifies whether to disable the controller
or not.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_control_bindings_disabled"
              c:identifier="gst_object_set_control_bindings_disabled">
        <doc xml:space="preserve">This function is used to disable all controlled properties of the @object for
some time, i.e. gst_object_sync_values() will do nothing.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">the object that has controlled properties</doc>
            <type name="Object" c:type="GstObject*"/>
          </instance-parameter>
          <parameter name="disabled" transfer-ownership="none">
            <doc xml:space="preserve">boolean that specifies whether to disable the controller
or not.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_control_rate"
              c:identifier="gst_object_set_control_rate">
        <doc xml:space="preserve">Change the control-rate for this @object. Audio processing #GstElement
objects will use this rate to sub-divide their processing loop and call
gst_object_sync_values() inbetween. The length of the processing segment
should be up to @control-rate nanoseconds.

The control-rate should not change if the element is in %GST_STATE_PAUSED or
%GST_STATE_PLAYING.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">the object that has controlled properties</doc>
            <type name="Object" c:type="GstObject*"/>
          </instance-parameter>
          <parameter name="control_rate" transfer-ownership="none">
            <doc xml:space="preserve">the new control-rate in nanoseconds.</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_name" c:identifier="gst_object_set_name">
        <doc xml:space="preserve">Sets the name of @object, or gives @object a guaranteed unique
name (if @name is %NULL).
This function makes a copy of the provided name, so the caller
retains ownership of the name it sent.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the name could be set. Since Objects that have
a parent cannot be renamed, this function returns %FALSE in those
cases.

MT safe.  This function grabs and releases @object's LOCK.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">a #GstObject</doc>
            <type name="Object" c:type="GstObject*"/>
          </instance-parameter>
          <parameter name="name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">new name of object</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_parent" c:identifier="gst_object_set_parent">
        <doc xml:space="preserve">Sets the parent of @object to @parent. The object's reference count will
be incremented, and any floating reference will be removed (see gst_object_ref_sink()).</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @parent could be set or %FALSE when @object
already had a parent or @object and @parent are the same.

MT safe. Grabs and releases @object's LOCK.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">a #GstObject</doc>
            <type name="Object" c:type="GstObject*"/>
          </instance-parameter>
          <parameter name="parent" transfer-ownership="none">
            <doc xml:space="preserve">new parent of object</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
        </parameters>
      </method>
      <method name="suggest_next_sync"
              c:identifier="gst_object_suggest_next_sync">
        <doc xml:space="preserve">Returns a suggestion for timestamps where buffers should be split
to get best controller results.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">Returns the suggested timestamp or %GST_CLOCK_TIME_NONE
if no control-rate was set.</doc>
          <type name="ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">the object that has controlled properties</doc>
            <type name="Object" c:type="GstObject*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="sync_values" c:identifier="gst_object_sync_values">
        <doc xml:space="preserve">Sets the properties of the object, according to the #GstControlSources that
(maybe) handle them and for the given timestamp.

If this function fails, it is most likely the application developers fault.
Most probably the control sources are not setup correctly.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the controller values could be applied to the object
properties, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">the object that has controlled properties</doc>
            <type name="Object" c:type="GstObject*"/>
          </instance-parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve">the time that should be processed</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="unparent" c:identifier="gst_object_unparent">
        <doc xml:space="preserve">Clear the parent of @object, removing the associated reference.
This function decreases the refcount of @object.

MT safe. Grabs and releases @object's lock.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">a #GstObject to unparent</doc>
            <type name="Object" c:type="GstObject*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="unref" c:identifier="gst_object_unref">
        <doc xml:space="preserve">Decrements the reference count on @object.  If reference count hits
zero, destroy @object. This function does not take the lock
on @object as it relies on atomic refcounting.

The unref method should never be called with the LOCK held since
this might deadlock the dispose function.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve">a #GstObject to unreference</doc>
            <type name="Object" c:type="gpointer"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="name"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="parent" writable="1" transfer-ownership="none">
        <doc xml:space="preserve">The parent of the object. Please note, that when changing the 'parent'
property, we don't emit #GObject::notify and #GstObject::deep-notify
signals due to locking issues. In some cases one can use
#GstBin::element-added or #GstBin::element-removed signals on the parent to
achieve a similar effect.</doc>
        <type name="Object"/>
      </property>
      <field name="object">
        <type name="GObject.InitiallyUnowned" c:type="GInitiallyUnowned"/>
      </field>
      <field name="lock">
        <doc xml:space="preserve">object LOCK</doc>
        <type name="GLib.Mutex" c:type="GMutex"/>
      </field>
      <field name="name">
        <doc xml:space="preserve">The name of the object</doc>
        <type name="utf8" c:type="gchar*"/>
      </field>
      <field name="parent">
        <doc xml:space="preserve">this object's parent, weak ref</doc>
        <type name="Object" c:type="GstObject*"/>
      </field>
      <field name="flags">
        <doc xml:space="preserve">flags for this object</doc>
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="control_bindings" readable="0" private="1">
        <type name="GLib.List" c:type="GList*">
          <type name="gpointer" c:type="gpointer"/>
        </type>
      </field>
      <field name="control_rate" readable="0" private="1">
        <type name="guint64" c:type="guint64"/>
      </field>
      <field name="last_sync" readable="0" private="1">
        <type name="guint64" c:type="guint64"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <glib:signal name="deep-notify"
                   when="first"
                   no-recurse="1"
                   detailed="1"
                   no-hooks="1">
        <doc xml:space="preserve">The deep notify signal is used to be notified of property changes. It is
typically attached to the toplevel bin to receive notifications from all
the elements contained in that bin.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="prop_object" transfer-ownership="none">
            <doc xml:space="preserve">the object that originated the signal</doc>
            <type name="Object"/>
          </parameter>
          <parameter name="prop" transfer-ownership="none">
            <doc xml:space="preserve">the property that changed</doc>
            <type name="GObject.ParamSpec"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="ObjectClass"
            c:type="GstObjectClass"
            glib:is-gtype-struct-for="Object">
      <doc xml:space="preserve">GStreamer base object class.</doc>
      <field name="parent_class">
        <doc xml:space="preserve">parent</doc>
        <type name="GObject.InitiallyUnownedClass"
              c:type="GInitiallyUnownedClass"/>
      </field>
      <field name="path_string_separator">
        <doc xml:space="preserve">separator used by gst_object_get_path_string()</doc>
        <type name="utf8" c:type="const gchar*"/>
      </field>
      <field name="deep_notify">
        <callback name="deep_notify">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="object" transfer-ownership="none">
              <type name="Object" c:type="GstObject*"/>
            </parameter>
            <parameter name="orig" transfer-ownership="none">
              <type name="Object" c:type="GstObject*"/>
            </parameter>
            <parameter name="pspec" transfer-ownership="none">
              <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <bitfield name="ObjectFlags"
              glib:type-name="GstObjectFlags"
              glib:get-type="gst_object_flags_get_type"
              c:type="GstObjectFlags">
      <doc xml:space="preserve">The standard flags that an gstobject may have.</doc>
      <member name="may_be_leaked"
              value="1"
              c:identifier="GST_OBJECT_FLAG_MAY_BE_LEAKED"
              glib:nick="may-be-leaked">
        <doc xml:space="preserve">the object is expected to stay alive even
after gst_deinit() has been called and so should be ignored by leak
detection tools. (Since 1.10)</doc>
      </member>
      <member name="last"
              value="16"
              c:identifier="GST_OBJECT_FLAG_LAST"
              glib:nick="last">
        <doc xml:space="preserve">subclasses can add additional flags starting from this flag</doc>
      </member>
    </bitfield>
    <constant name="PARAM_CONTROLLABLE"
              value="2"
              c:type="GST_PARAM_CONTROLLABLE">
      <doc xml:space="preserve">Use this flag on GObject properties to signal they can make sense to be.
controlled over time. This hint is used by the GstController.</doc>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="PARAM_MUTABLE_PAUSED"
              value="8"
              c:type="GST_PARAM_MUTABLE_PAUSED">
      <doc xml:space="preserve">Use this flag on GObject properties of GstElements to indicate that
they can be changed when the element is in the PAUSED or lower state.
This flag implies GST_PARAM_MUTABLE_READY.</doc>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="PARAM_MUTABLE_PLAYING"
              value="16"
              c:type="GST_PARAM_MUTABLE_PLAYING">
      <doc xml:space="preserve">Use this flag on GObject properties of GstElements to indicate that
they can be changed when the element is in the PLAYING or lower state.
This flag implies GST_PARAM_MUTABLE_PAUSED.</doc>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="PARAM_MUTABLE_READY"
              value="4"
              c:type="GST_PARAM_MUTABLE_READY">
      <doc xml:space="preserve">Use this flag on GObject properties of GstElements to indicate that
they can be changed when the element is in the READY or lower state.</doc>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="PARAM_USER_SHIFT"
              value="256"
              c:type="GST_PARAM_USER_SHIFT">
      <doc xml:space="preserve">Bits based on GST_PARAM_USER_SHIFT can be used by 3rd party applications.</doc>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="PROTECTION_SYSTEM_ID_CAPS_FIELD"
              value="protection-system"
              c:type="GST_PROTECTION_SYSTEM_ID_CAPS_FIELD"
              version="1.6">
      <doc xml:space="preserve">The field name in a GstCaps that is used to signal the UUID of the protection
system.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="PTR_FORMAT" value="paA" c:type="GST_PTR_FORMAT">
      <doc xml:space="preserve">printf format type used to debug GStreamer types. You can use this in
combination with GStreamer's debug logging system as well as the functions
gst_info_vasprintf(), gst_info_strdup_vprintf() and gst_info_strdup_printf()
to pretty-print the following types: #GstCaps, #GstStructure,
#GstCapsFeatures, #GstTagList, #GstDateTime, #GstBuffer, #GstBufferList,
#GstMessage, #GstEvent, #GstQuery, #GstContext, #GstPad, #GstObject. All
#GObject types will be printed as typename plus pointer, and everything
else will simply be printed as pointer address.

This can only be used on types whose size is &gt;= sizeof(gpointer).</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <class name="Pad"
           c:symbol-prefix="pad"
           c:type="GstPad"
           parent="Object"
           glib:type-name="GstPad"
           glib:get-type="gst_pad_get_type"
           glib:type-struct="PadClass">
      <doc xml:space="preserve">A #GstElement is linked to other elements via "pads", which are extremely
light-weight generic link points.

Pads have a #GstPadDirection, source pads produce data, sink pads consume
data.

Pads are typically created from a #GstPadTemplate with
gst_pad_new_from_template() and are then added to a #GstElement. This usually
happens when the element is created but it can also happen dynamically based
on the data that the element is processing or based on the pads that the
application requests.

Pads without pad templates can be created with gst_pad_new(),
which takes a direction and a name as an argument.  If the name is %NULL,
then a guaranteed unique name will be assigned to it.

A #GstElement creating a pad will typically use the various
gst_pad_set_*_function() calls to register callbacks for events, queries or
dataflow on the pads.

gst_pad_get_parent() will retrieve the #GstElement that owns the pad.

After two pads are retrieved from an element by gst_element_get_static_pad(),
the pads can be linked with gst_pad_link(). (For quick links,
you can also use gst_element_link(), which will make the obvious
link for you if it's straightforward.). Pads can be unlinked again with
gst_pad_unlink(). gst_pad_get_peer() can be used to check what the pad is
linked to.

Before dataflow is possible on the pads, they need to be activated with
gst_pad_set_active().

gst_pad_query() and gst_pad_peer_query() can be used to query various
properties of the pad and the stream.

To send a #GstEvent on a pad, use gst_pad_send_event() and
gst_pad_push_event(). Some events will be sticky on the pad, meaning that
after they pass on the pad they can be queried later with
gst_pad_get_sticky_event() and gst_pad_sticky_events_foreach().
gst_pad_get_current_caps() and gst_pad_has_current_caps() are convenience
functions to query the current sticky CAPS event on a pad.

GstElements will use gst_pad_push() and gst_pad_pull_range() to push out
or pull in a buffer.

The dataflow, events and queries that happen on a pad can be monitored with
probes that can be installed with gst_pad_add_probe(). gst_pad_is_blocked()
can be used to check if a block probe is installed on the pad.
gst_pad_is_blocking() checks if the blocking probe is currently blocking the
pad. gst_pad_remove_probe() is used to remove a previously installed probe
and unblock blocking probes if any.

Pad have an offset that can be retrieved with gst_pad_get_offset(). This
offset will be applied to the running_time of all data passing over the pad.
gst_pad_set_offset() can be used to change the offset.

Convenience functions exist to start, pause and stop the task on a pad with
gst_pad_start_task(), gst_pad_pause_task() and gst_pad_stop_task()
respectively.</doc>
      <constructor name="new" c:identifier="gst_pad_new">
        <doc xml:space="preserve">Creates a new pad with the given name in the given direction.
If name is %NULL, a guaranteed unique name (across all pads)
will be assigned.
This function makes a copy of the name so you can safely free the name.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">a new #GstPad, or %NULL in
case of an error.

MT safe.</doc>
          <type name="Pad" c:type="GstPad*"/>
        </return-value>
        <parameters>
          <parameter name="name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the name of the new pad.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="direction" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPadDirection of the pad.</doc>
            <type name="PadDirection" c:type="GstPadDirection"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_from_static_template"
                   c:identifier="gst_pad_new_from_static_template">
        <doc xml:space="preserve">Creates a new pad with the given name from the given static template.
If name is %NULL, a guaranteed unique name (across all pads)
will be assigned.
This function makes a copy of the name so you can safely free the name.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">a new #GstPad, or %NULL in
case of an error.</doc>
          <type name="Pad" c:type="GstPad*"/>
        </return-value>
        <parameters>
          <parameter name="templ" transfer-ownership="none">
            <doc xml:space="preserve">the #GstStaticPadTemplate to use</doc>
            <type name="StaticPadTemplate" c:type="GstStaticPadTemplate*"/>
          </parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the pad</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_from_template"
                   c:identifier="gst_pad_new_from_template">
        <doc xml:space="preserve">Creates a new pad with the given name from the given template.
If name is %NULL, a guaranteed unique name (across all pads)
will be assigned.
This function makes a copy of the name so you can safely free the name.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">a new #GstPad, or %NULL in
case of an error.</doc>
          <type name="Pad" c:type="GstPad*"/>
        </return-value>
        <parameters>
          <parameter name="templ" transfer-ownership="none">
            <doc xml:space="preserve">the pad template to use</doc>
            <type name="PadTemplate" c:type="GstPadTemplate*"/>
          </parameter>
          <parameter name="name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the name of the pad</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <function name="link_get_name"
                c:identifier="gst_pad_link_get_name"
                version="1.4">
        <doc xml:space="preserve">Gets a string representing the given pad-link return.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a static string with the name of the pad-link return.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="ret" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPadLinkReturn to get the name of.</doc>
            <type name="PadLinkReturn" c:type="GstPadLinkReturn"/>
          </parameter>
        </parameters>
      </function>
      <virtual-method name="linked">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="peer" transfer-ownership="none">
            <type name="Pad" c:type="GstPad*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="unlinked">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="peer" transfer-ownership="none">
            <type name="Pad" c:type="GstPad*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="activate_mode" c:identifier="gst_pad_activate_mode">
        <doc xml:space="preserve">Activates or deactivates the given pad in @mode via dispatching to the
pad's activatemodefunc. For use from within pad activation functions only.

If you don't know what this is, you probably don't want to call it.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the operation was successful.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPad to activate or deactivate.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve">the requested activation mode</doc>
            <type name="PadMode" c:type="GstPadMode"/>
          </parameter>
          <parameter name="active" transfer-ownership="none">
            <doc xml:space="preserve">whether or not the pad should be active.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_probe" c:identifier="gst_pad_add_probe">
        <doc xml:space="preserve">Be notified of different states of pads. The provided callback is called for
every state that matches @mask.

Probes are called in groups: First GST_PAD_PROBE_TYPE_BLOCK probes are
called, then others, then finally GST_PAD_PROBE_TYPE_IDLE. The only
exception here are GST_PAD_PROBE_TYPE_IDLE probes that are called
immediately if the pad is already idle while calling gst_pad_add_probe().
In each of the groups, probes are called in the order in which they were
added.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">an id or 0 if no probe is pending. The id can be used to remove the
probe with gst_pad_remove_probe(). When using GST_PAD_PROBE_TYPE_IDLE it can
happen that the probe can be run immediately and if the probe returns
GST_PAD_PROBE_REMOVE this functions returns 0.

MT safe.</doc>
          <type name="gulong" c:type="gulong"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPad to add the probe to</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="mask" transfer-ownership="none">
            <doc xml:space="preserve">the probe mask</doc>
            <type name="PadProbeType" c:type="GstPadProbeType"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     scope="notified"
                     closure="2"
                     destroy="3">
            <doc xml:space="preserve">#GstPadProbeCallback that will be called with notifications of
          the pad state</doc>
            <type name="PadProbeCallback" c:type="GstPadProbeCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user data passed to the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="destroy_data"
                     transfer-ownership="none"
                     scope="async">
            <doc xml:space="preserve">#GDestroyNotify for user_data</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="can_link" c:identifier="gst_pad_can_link">
        <doc xml:space="preserve">Checks if the source pad and the sink pad are compatible so they can be
linked.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the pads can be linked.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="srcpad" transfer-ownership="none">
            <doc xml:space="preserve">the source #GstPad.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="sinkpad" transfer-ownership="none">
            <doc xml:space="preserve">the sink #GstPad.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </parameter>
        </parameters>
      </method>
      <method name="chain" c:identifier="gst_pad_chain">
        <doc xml:space="preserve">Chain a buffer to @pad.

The function returns #GST_FLOW_FLUSHING if the pad was flushing.

If the buffer type is not acceptable for @pad (as negotiated with a
preceding GST_EVENT_CAPS event), this function returns
#GST_FLOW_NOT_NEGOTIATED.

The function proceeds calling the chain function installed on @pad (see
gst_pad_set_chain_function()) and the return value of that function is
returned to the caller. #GST_FLOW_NOT_SUPPORTED is returned if @pad has no
chain function.

In all cases, success or failure, the caller loses its reference to @buffer
after calling this function.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GstFlowReturn from the pad.

MT safe.</doc>
          <type name="FlowReturn" c:type="GstFlowReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a sink #GstPad, returns GST_FLOW_ERROR if not.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="buffer" transfer-ownership="full">
            <doc xml:space="preserve">the #GstBuffer to send, return GST_FLOW_ERROR
    if not.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </parameter>
        </parameters>
      </method>
      <method name="chain_list" c:identifier="gst_pad_chain_list">
        <doc xml:space="preserve">Chain a bufferlist to @pad.

The function returns #GST_FLOW_FLUSHING if the pad was flushing.

If @pad was not negotiated properly with a CAPS event, this function
returns #GST_FLOW_NOT_NEGOTIATED.

The function proceeds calling the chainlist function installed on @pad (see
gst_pad_set_chain_list_function()) and the return value of that function is
returned to the caller. #GST_FLOW_NOT_SUPPORTED is returned if @pad has no
chainlist function.

In all cases, success or failure, the caller loses its reference to @list
after calling this function.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GstFlowReturn from the pad.</doc>
          <type name="FlowReturn" c:type="GstFlowReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a sink #GstPad, returns GST_FLOW_ERROR if not.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="list" transfer-ownership="full">
            <doc xml:space="preserve">the #GstBufferList to send, return GST_FLOW_ERROR
    if not.</doc>
            <type name="BufferList" c:type="GstBufferList*"/>
          </parameter>
        </parameters>
      </method>
      <method name="check_reconfigure"
              c:identifier="gst_pad_check_reconfigure">
        <doc xml:space="preserve">Check and clear the #GST_PAD_FLAG_NEED_RECONFIGURE flag on @pad and return %TRUE
if the flag was set.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE is the GST_PAD_FLAG_NEED_RECONFIGURE flag was set on @pad.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPad to check</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="create_stream_id" c:identifier="gst_pad_create_stream_id">
        <doc xml:space="preserve">Creates a stream-id for the source #GstPad @pad by combining the
upstream information with the optional @stream_id of the stream
of @pad. @pad must have a parent #GstElement and which must have zero
or one sinkpad. @stream_id can only be %NULL if the parent element
of @pad has only a single source pad.

This function generates an unique stream-id by getting the upstream
stream-start event stream ID and appending @stream_id to it. If the
element has no sinkpad it will generate an upstream stream-id by
doing an URI query on the element and in the worst case just uses
a random number. Source elements that don't implement the URI
handler interface should ideally generate a unique, deterministic
stream-id manually instead.

Since stream IDs are sorted alphabetically, any numbers in the
stream ID should be printed with a fixed number of characters,
preceded by 0's, such as by using the format \%03u instead of \%u.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A stream-id for @pad. g_free() after usage.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">A source #GstPad</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="parent" transfer-ownership="none">
            <doc xml:space="preserve">Parent #GstElement of @pad</doc>
            <type name="Element" c:type="GstElement*"/>
          </parameter>
          <parameter name="stream_id"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The stream-id</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="create_stream_id_printf"
              c:identifier="gst_pad_create_stream_id_printf"
              introspectable="0">
        <doc xml:space="preserve">Creates a stream-id for the source #GstPad @pad by combining the
upstream information with the optional @stream_id of the stream
of @pad. @pad must have a parent #GstElement and which must have zero
or one sinkpad. @stream_id can only be %NULL if the parent element
of @pad has only a single source pad.

This function generates an unique stream-id by getting the upstream
stream-start event stream ID and appending @stream_id to it. If the
element has no sinkpad it will generate an upstream stream-id by
doing an URI query on the element and in the worst case just uses
a random number. Source elements that don't implement the URI
handler interface should ideally generate a unique, deterministic
stream-id manually instead.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A stream-id for @pad. g_free() after usage.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">A source #GstPad</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="parent" transfer-ownership="none">
            <doc xml:space="preserve">Parent #GstElement of @pad</doc>
            <type name="Element" c:type="GstElement*"/>
          </parameter>
          <parameter name="stream_id"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The stream-id</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">parameters for the @stream_id format string</doc>
            <varargs/>
          </parameter>
        </parameters>
      </method>
      <method name="create_stream_id_printf_valist"
              c:identifier="gst_pad_create_stream_id_printf_valist"
              introspectable="0">
        <doc xml:space="preserve">Creates a stream-id for the source #GstPad @pad by combining the
upstream information with the optional @stream_id of the stream
of @pad. @pad must have a parent #GstElement and which must have zero
or one sinkpad. @stream_id can only be %NULL if the parent element
of @pad has only a single source pad.

This function generates an unique stream-id by getting the upstream
stream-start event stream ID and appending @stream_id to it. If the
element has no sinkpad it will generate an upstream stream-id by
doing an URI query on the element and in the worst case just uses
a random number. Source elements that don't implement the URI
handler interface should ideally generate a unique, deterministic
stream-id manually instead.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A stream-id for @pad. g_free() after usage.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">A source #GstPad</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="parent" transfer-ownership="none">
            <doc xml:space="preserve">Parent #GstElement of @pad</doc>
            <type name="Element" c:type="GstElement*"/>
          </parameter>
          <parameter name="stream_id"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The stream-id</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="var_args" transfer-ownership="none">
            <doc xml:space="preserve">parameters for the @stream_id format string</doc>
            <type name="va_list" c:type="va_list"/>
          </parameter>
        </parameters>
      </method>
      <method name="event_default" c:identifier="gst_pad_event_default">
        <doc xml:space="preserve">Invokes the default event handler for the given pad.

The EOS event will pause the task associated with @pad before it is forwarded
to all internally linked pads,

The event is sent to all pads internally linked to @pad. This function
takes ownership of @event.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the event was sent successfully.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad to call the default event handler on.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="parent"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the parent of @pad or %NULL</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="event" transfer-ownership="full">
            <doc xml:space="preserve">the #GstEvent to handle.</doc>
            <type name="Event" c:type="GstEvent*"/>
          </parameter>
        </parameters>
      </method>
      <method name="forward" c:identifier="gst_pad_forward">
        <doc xml:space="preserve">Calls @forward for all internally linked pads of @pad. This function deals with
dynamically changing internal pads and will make sure that the @forward
function is only called once for each pad.

When @forward returns %TRUE, no further pads will be processed.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if one of the dispatcher functions returned %TRUE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="forward"
                     transfer-ownership="none"
                     scope="call"
                     closure="1">
            <doc xml:space="preserve">a #GstPadForwardFunction</doc>
            <type name="PadForwardFunction" c:type="GstPadForwardFunction"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user data passed to @forward</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_allowed_caps" c:identifier="gst_pad_get_allowed_caps">
        <doc xml:space="preserve">Gets the capabilities of the allowed media types that can flow through
@pad and its peer.

The allowed capabilities is calculated as the intersection of the results of
calling gst_pad_query_caps() on @pad and its peer. The caller owns a reference
on the resulting caps.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the allowed #GstCaps of the
    pad link. Unref the caps when you no longer need it. This
    function returns %NULL when @pad has no peer.

MT safe.</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_current_caps" c:identifier="gst_pad_get_current_caps">
        <doc xml:space="preserve">Gets the capabilities currently configured on @pad with the last
#GST_EVENT_CAPS event.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the current caps of the pad with
incremented ref-count or %NULL when pad has no caps. Unref after usage.</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a  #GstPad to get the current capabilities of.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_direction" c:identifier="gst_pad_get_direction">
        <doc xml:space="preserve">Gets the direction of the pad. The direction of the pad is
decided at construction time so this function does not take
the LOCK.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #GstPadDirection of the pad.

MT safe.</doc>
          <type name="PadDirection" c:type="GstPadDirection"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad to get the direction of.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_element_private"
              c:identifier="gst_pad_get_element_private">
        <doc xml:space="preserve">Gets the private data of a pad.
No locking is performed in this function.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">a #gpointer to the private data.</doc>
          <type name="gpointer" c:type="gpointer"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPad to get the private data of.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_last_flow_return"
              c:identifier="gst_pad_get_last_flow_return"
              version="1.4">
        <doc xml:space="preserve">Gets the #GstFlowReturn return from the last data passed by this pad.</doc>
        <return-value transfer-ownership="none">
          <type name="FlowReturn" c:type="GstFlowReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPad</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_offset" c:identifier="gst_pad_get_offset">
        <doc xml:space="preserve">Get the offset applied to the running time of @pad. @pad has to be a source
pad.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the offset.</doc>
          <type name="gint64" c:type="gint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_pad_template" c:identifier="gst_pad_get_pad_template">
        <doc xml:space="preserve">Gets the template for @pad.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the #GstPadTemplate from which
    this pad was instantiated, or %NULL if this pad has no
    template. Unref after usage.</doc>
          <type name="PadTemplate" c:type="GstPadTemplate*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_pad_template_caps"
              c:identifier="gst_pad_get_pad_template_caps">
        <doc xml:space="preserve">Gets the capabilities for @pad's template.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the #GstCaps of this pad template.
Unref after usage.</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad to get the template capabilities from.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_parent_element"
              c:identifier="gst_pad_get_parent_element">
        <doc xml:space="preserve">Gets the parent of @pad, cast to a #GstElement. If a @pad has no parent or
its parent is not an element, return %NULL.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the parent of the pad. The
caller has a reference on the parent, so unref when you're finished
with it.

MT safe.</doc>
          <type name="Element" c:type="GstElement*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a pad</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_peer" c:identifier="gst_pad_get_peer">
        <doc xml:space="preserve">Gets the peer of @pad. This function refs the peer pad so
you need to unref it after use.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the peer #GstPad. Unref after usage.

MT safe.</doc>
          <type name="Pad" c:type="GstPad*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad to get the peer of.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_range" c:identifier="gst_pad_get_range">
        <doc xml:space="preserve">When @pad is flushing this function returns #GST_FLOW_FLUSHING
immediately and @buffer is %NULL.

Calls the getrange function of @pad, see #GstPadGetRangeFunction for a
description of a getrange function. If @pad has no getrange function
installed (see gst_pad_set_getrange_function()) this function returns
#GST_FLOW_NOT_SUPPORTED.

If @buffer points to a variable holding %NULL, a valid new #GstBuffer will be
placed in @buffer when this function returns #GST_FLOW_OK. The new buffer
must be freed with gst_buffer_unref() after usage.

When @buffer points to a variable that points to a valid #GstBuffer, the
buffer will be filled with the result data when this function returns
#GST_FLOW_OK. If the provided buffer is larger than @size, only
@size bytes will be filled in the result buffer and its size will be updated
accordingly.

Note that less than @size bytes can be returned in @buffer when, for example,
an EOS condition is near or when @buffer is not large enough to hold @size
bytes. The caller should check the result buffer size to get the result size.

When this function returns any other result value than #GST_FLOW_OK, @buffer
will be unchanged.

This is a lowlevel function. Usually gst_pad_pull_range() is used.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GstFlowReturn from the pad.

MT safe.</doc>
          <type name="FlowReturn" c:type="GstFlowReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a src #GstPad, returns #GST_FLOW_ERROR if not.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="offset" transfer-ownership="none">
            <doc xml:space="preserve">The start offset of the buffer</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">The length of the buffer</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="buffer"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">a pointer to hold the #GstBuffer,
    returns #GST_FLOW_ERROR if %NULL.</doc>
            <type name="Buffer" c:type="GstBuffer**"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_sticky_event" c:identifier="gst_pad_get_sticky_event">
        <doc xml:space="preserve">Returns a new reference of the sticky event of type @event_type
from the event.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a #GstEvent of type
@event_type or %NULL when no event of @event_type was on
@pad. Unref after usage.</doc>
          <type name="Event" c:type="GstEvent*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPad to get the event from.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="event_type" transfer-ownership="none">
            <doc xml:space="preserve">the #GstEventType that should be retrieved.</doc>
            <type name="EventType" c:type="GstEventType"/>
          </parameter>
          <parameter name="idx" transfer-ownership="none">
            <doc xml:space="preserve">the index of the event</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_stream"
              c:identifier="gst_pad_get_stream"
              version="1.10">
        <doc xml:space="preserve">Returns the current #GstStream for the @pad, or %NULL if none has been
set yet, i.e. the pad has not received a stream-start event yet.

This is a convenience wrapper around gst_pad_get_sticky_event() and
gst_event_parse_stream().</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the current #GstStream for @pad, or %NULL.
    unref the returned stream when no longer needed.</doc>
          <type name="Stream" c:type="GstStream*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">A source #GstPad</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_stream_id"
              c:identifier="gst_pad_get_stream_id"
              version="1.2">
        <doc xml:space="preserve">Returns the current stream-id for the @pad, or %NULL if none has been
set yet, i.e. the pad has not received a stream-start event yet.

This is a convenience wrapper around gst_pad_get_sticky_event() and
gst_event_parse_stream_start().

The returned stream-id string should be treated as an opaque string, its
contents should not be interpreted.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a newly-allocated copy of the stream-id for
    @pad, or %NULL.  g_free() the returned string when no longer
    needed.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">A source #GstPad</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_task_state"
              c:identifier="gst_pad_get_task_state"
              version="1.12">
        <doc xml:space="preserve">Get @pad task state. If no task is currently
set, #GST_TASK_STOPPED is returned.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The current state of @pad's task.</doc>
          <type name="TaskState" c:type="GstTaskState"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPad to get task state from</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_current_caps" c:identifier="gst_pad_has_current_caps">
        <doc xml:space="preserve">Check if @pad has caps set on it with a #GST_EVENT_CAPS event.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE when @pad has caps associated with it.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a  #GstPad to check</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_active" c:identifier="gst_pad_is_active">
        <doc xml:space="preserve">Query if a pad is active</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the pad is active.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPad to query</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_blocked" c:identifier="gst_pad_is_blocked">
        <doc xml:space="preserve">Checks if the pad is blocked or not. This function returns the
last requested state of the pad. It is not certain that the pad
is actually blocking at this point (see gst_pad_is_blocking()).</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the pad is blocked.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPad to query</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_blocking" c:identifier="gst_pad_is_blocking">
        <doc xml:space="preserve">Checks if the pad is blocking or not. This is a guaranteed state
of whether the pad is actually blocking on a #GstBuffer or a #GstEvent.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the pad is blocking.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPad to query</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_linked" c:identifier="gst_pad_is_linked">
        <doc xml:space="preserve">Checks if a @pad is linked to another pad or not.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the pad is linked, %FALSE otherwise.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">pad to check</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="iterate_internal_links"
              c:identifier="gst_pad_iterate_internal_links">
        <doc xml:space="preserve">Gets an iterator for the pads to which the given pad is linked to inside
of the parent element.

Each #GstPad element yielded by the iterator will have its refcount increased,
so unref after use.

Free-function: gst_iterator_free</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a new #GstIterator of #GstPad
    or %NULL when the pad does not have an iterator function
    configured. Use gst_iterator_free() after usage.</doc>
          <type name="Iterator" c:type="GstIterator*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the GstPad to get the internal links of.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="iterate_internal_links_default"
              c:identifier="gst_pad_iterate_internal_links_default">
        <doc xml:space="preserve">Iterate the list of pads to which the given pad is linked to inside of
the parent element.
This is the default handler, and thus returns an iterator of all of the
pads inside the parent element with opposite direction.

The caller must free this iterator after use with gst_iterator_free().</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a #GstIterator of #GstPad, or %NULL if @pad
has no parent. Unref each returned pad with gst_object_unref().</doc>
          <type name="Iterator" c:type="GstIterator*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPad to get the internal links of.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="parent"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the parent of @pad or %NULL</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
        </parameters>
      </method>
      <method name="link" c:identifier="gst_pad_link">
        <doc xml:space="preserve">Links the source pad and the sink pad.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A result code indicating if the connection worked or
         what went wrong.

MT Safe.</doc>
          <type name="PadLinkReturn" c:type="GstPadLinkReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="srcpad" transfer-ownership="none">
            <doc xml:space="preserve">the source #GstPad to link.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="sinkpad" transfer-ownership="none">
            <doc xml:space="preserve">the sink #GstPad to link.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </parameter>
        </parameters>
      </method>
      <method name="link_full" c:identifier="gst_pad_link_full">
        <doc xml:space="preserve">Links the source pad and the sink pad.

This variant of #gst_pad_link provides a more granular control on the
checks being done when linking. While providing some considerable speedups
the caller of this method must be aware that wrong usage of those flags
can cause severe issues. Refer to the documentation of #GstPadLinkCheck
for more information.

MT Safe.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A result code indicating if the connection worked or
         what went wrong.</doc>
          <type name="PadLinkReturn" c:type="GstPadLinkReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="srcpad" transfer-ownership="none">
            <doc xml:space="preserve">the source #GstPad to link.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="sinkpad" transfer-ownership="none">
            <doc xml:space="preserve">the sink #GstPad to link.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">the checks to validate when linking</doc>
            <type name="PadLinkCheck" c:type="GstPadLinkCheck"/>
          </parameter>
        </parameters>
      </method>
      <method name="link_maybe_ghosting"
              c:identifier="gst_pad_link_maybe_ghosting"
              version="1.10">
        <doc xml:space="preserve">Links @src to @sink, creating any #GstGhostPad's in between as necessary.

This is a convenience function to save having to create and add intermediate
#GstGhostPad's as required for linking across #GstBin boundaries.

If @src or @sink pads don't have parent elements or do not share a common
ancestor, the link will fail.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">whether the link succeeded.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="sink" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad</doc>
            <type name="Pad" c:type="GstPad*"/>
          </parameter>
        </parameters>
      </method>
      <method name="link_maybe_ghosting_full"
              c:identifier="gst_pad_link_maybe_ghosting_full"
              version="1.10">
        <doc xml:space="preserve">Links @src to @sink, creating any #GstGhostPad's in between as necessary.

This is a convenience function to save having to create and add intermediate
#GstGhostPad's as required for linking across #GstBin boundaries.

If @src or @sink pads don't have parent elements or do not share a common
ancestor, the link will fail.

Calling gst_pad_link_maybe_ghosting_full() with
@flags == %GST_PAD_LINK_CHECK_DEFAULT is the recommended way of linking
pads with safety checks applied.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">whether the link succeeded.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="sink" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad</doc>
            <type name="Pad" c:type="GstPad*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">some #GstPadLinkCheck flags</doc>
            <type name="PadLinkCheck" c:type="GstPadLinkCheck"/>
          </parameter>
        </parameters>
      </method>
      <method name="mark_reconfigure" c:identifier="gst_pad_mark_reconfigure">
        <doc xml:space="preserve">Mark a pad for needing reconfiguration. The next call to
gst_pad_check_reconfigure() will return %TRUE after this call.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPad to mark</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="needs_reconfigure"
              c:identifier="gst_pad_needs_reconfigure">
        <doc xml:space="preserve">Check the #GST_PAD_FLAG_NEED_RECONFIGURE flag on @pad and return %TRUE
if the flag was set.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE is the GST_PAD_FLAG_NEED_RECONFIGURE flag is set on @pad.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPad to check</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="pause_task" c:identifier="gst_pad_pause_task">
        <doc xml:space="preserve">Pause the task of @pad. This function will also wait until the
function executed by the task is finished if this function is not
called from the task function.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a %TRUE if the task could be paused or %FALSE when the pad
has no task.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPad to pause the task of</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="peer_query" c:identifier="gst_pad_peer_query">
        <doc xml:space="preserve">Performs gst_pad_query() on the peer of @pad.

The caller is responsible for both the allocation and deallocation of
the query structure.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the query could be performed. This function returns %FALSE
if @pad has no peer.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad to invoke the peer query on.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">the #GstQuery to perform.</doc>
            <type name="Query" c:type="GstQuery*"/>
          </parameter>
        </parameters>
      </method>
      <method name="peer_query_accept_caps"
              c:identifier="gst_pad_peer_query_accept_caps">
        <doc xml:space="preserve">Check if the peer of @pad accepts @caps. If @pad has no peer, this function
returns %TRUE.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the peer of @pad can accept the caps or @pad has no peer.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a  #GstPad to check the peer of</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCaps to check on the pad</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="peer_query_caps" c:identifier="gst_pad_peer_query_caps">
        <doc xml:space="preserve">Gets the capabilities of the peer connected to this pad. Similar to
gst_pad_query_caps().

When called on srcpads @filter contains the caps that
upstream could produce in the order preferred by upstream. When
called on sinkpads @filter contains the caps accepted by
downstream in the preferred order. @filter might be %NULL but
if it is not %NULL the returned caps will be a subset of @filter.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the caps of the peer pad with incremented
ref-count. When there is no peer pad, this function returns @filter or,
when @filter is %NULL, ANY caps.</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a  #GstPad to get the capabilities of.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="filter"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GstCaps filter, or %NULL.</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="peer_query_convert"
              c:identifier="gst_pad_peer_query_convert">
        <doc xml:space="preserve">Queries the peer pad of a given sink pad to convert @src_val in @src_format
to @dest_format.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the query could be performed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad, on whose peer pad to invoke the convert query on.
      Must be a sink pad.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="src_format" transfer-ownership="none">
            <doc xml:space="preserve">a #GstFormat to convert from.</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="src_val" transfer-ownership="none">
            <doc xml:space="preserve">a value to convert.</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
          <parameter name="dest_format" transfer-ownership="none">
            <doc xml:space="preserve">the #GstFormat to convert to.</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="dest_val"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">a pointer to the result.</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="peer_query_duration"
              c:identifier="gst_pad_peer_query_duration">
        <doc xml:space="preserve">Queries the peer pad of a given sink pad for the total stream duration.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the query could be performed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad on whose peer pad to invoke the duration query on.
      Must be a sink pad.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the #GstFormat requested</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="duration"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a location in which to store the total
    duration, or %NULL.</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="peer_query_position"
              c:identifier="gst_pad_peer_query_position">
        <doc xml:space="preserve">Queries the peer of a given sink pad for the stream position.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the query could be performed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad on whose peer to invoke the position query on.
      Must be a sink pad.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the #GstFormat requested</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="cur"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a location in which to store the current
    position, or %NULL.</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="proxy_query_accept_caps"
              c:identifier="gst_pad_proxy_query_accept_caps">
        <doc xml:space="preserve">Checks if all internally linked pads of @pad accepts the caps in @query and
returns the intersection of the results.

This function is useful as a default accept caps query function for an element
that can handle any stream format, but requires caps that are acceptable for
all opposite pads.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @query could be executed</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad to proxy.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">an ACCEPT_CAPS #GstQuery.</doc>
            <type name="Query" c:type="GstQuery*"/>
          </parameter>
        </parameters>
      </method>
      <method name="proxy_query_caps" c:identifier="gst_pad_proxy_query_caps">
        <doc xml:space="preserve">Calls gst_pad_query_caps() for all internally linked pads of @pad and returns
the intersection of the results.

This function is useful as a default caps query function for an element
that can handle any stream format, but requires all its pads to have
the same caps.  Two such elements are tee and adder.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @query could be executed</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad to proxy.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a CAPS #GstQuery.</doc>
            <type name="Query" c:type="GstQuery*"/>
          </parameter>
        </parameters>
      </method>
      <method name="pull_range" c:identifier="gst_pad_pull_range">
        <doc xml:space="preserve">Pulls a @buffer from the peer pad or fills up a provided buffer.

This function will first trigger the pad block signal if it was
installed.

When @pad is not linked #GST_FLOW_NOT_LINKED is returned else this
function returns the result of gst_pad_get_range() on the peer pad.
See gst_pad_get_range() for a list of return values and for the
semantics of the arguments of this function.

If @buffer points to a variable holding %NULL, a valid new #GstBuffer will be
placed in @buffer when this function returns #GST_FLOW_OK. The new buffer
must be freed with gst_buffer_unref() after usage. When this function
returns any other result value, @buffer will still point to %NULL.

When @buffer points to a variable that points to a valid #GstBuffer, the
buffer will be filled with the result data when this function returns
#GST_FLOW_OK. When this function returns any other result value,
@buffer will be unchanged. If the provided buffer is larger than @size, only
@size bytes will be filled in the result buffer and its size will be updated
accordingly.

Note that less than @size bytes can be returned in @buffer when, for example,
an EOS condition is near or when @buffer is not large enough to hold @size
bytes. The caller should check the result buffer size to get the result size.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GstFlowReturn from the peer pad.

MT safe.</doc>
          <type name="FlowReturn" c:type="GstFlowReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a sink #GstPad, returns GST_FLOW_ERROR if not.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="offset" transfer-ownership="none">
            <doc xml:space="preserve">The start offset of the buffer</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">The length of the buffer</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="buffer"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">a pointer to hold the #GstBuffer, returns
    GST_FLOW_ERROR if %NULL.</doc>
            <type name="Buffer" c:type="GstBuffer**"/>
          </parameter>
        </parameters>
      </method>
      <method name="push" c:identifier="gst_pad_push">
        <doc xml:space="preserve">Pushes a buffer to the peer of @pad.

This function will call installed block probes before triggering any
installed data probes.

The function proceeds calling gst_pad_chain() on the peer pad and returns
the value from that function. If @pad has no peer, #GST_FLOW_NOT_LINKED will
be returned.

In all cases, success or failure, the caller loses its reference to @buffer
after calling this function.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GstFlowReturn from the peer pad.

MT safe.</doc>
          <type name="FlowReturn" c:type="GstFlowReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a source #GstPad, returns #GST_FLOW_ERROR if not.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="buffer" transfer-ownership="full">
            <doc xml:space="preserve">the #GstBuffer to push returns GST_FLOW_ERROR
    if not.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </parameter>
        </parameters>
      </method>
      <method name="push_event" c:identifier="gst_pad_push_event">
        <doc xml:space="preserve">Sends the event to the peer of the given pad. This function is
mainly used by elements to send events to their peer
elements.

This function takes ownership of the provided event so you should
gst_event_ref() it if you want to reuse the event after this call.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the event was handled.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad to push the event to.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="event" transfer-ownership="full">
            <doc xml:space="preserve">the #GstEvent to send to the pad.</doc>
            <type name="Event" c:type="GstEvent*"/>
          </parameter>
        </parameters>
      </method>
      <method name="push_list" c:identifier="gst_pad_push_list">
        <doc xml:space="preserve">Pushes a buffer list to the peer of @pad.

This function will call installed block probes before triggering any
installed data probes.

The function proceeds calling the chain function on the peer pad and returns
the value from that function. If @pad has no peer, #GST_FLOW_NOT_LINKED will
be returned. If the peer pad does not have any installed chainlist function
every group buffer of the list will be merged into a normal #GstBuffer and
chained via gst_pad_chain().

In all cases, success or failure, the caller loses its reference to @list
after calling this function.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GstFlowReturn from the peer pad.

MT safe.</doc>
          <type name="FlowReturn" c:type="GstFlowReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a source #GstPad, returns #GST_FLOW_ERROR if not.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="list" transfer-ownership="full">
            <doc xml:space="preserve">the #GstBufferList to push returns GST_FLOW_ERROR
    if not.</doc>
            <type name="BufferList" c:type="GstBufferList*"/>
          </parameter>
        </parameters>
      </method>
      <method name="query" c:identifier="gst_pad_query">
        <doc xml:space="preserve">Dispatches a query to a pad. The query should have been allocated by the
caller via one of the type-specific allocation functions. The element that
the pad belongs to is responsible for filling the query with an appropriate
response, which should then be parsed with a type-specific query parsing
function.

Again, the caller is responsible for both the allocation and deallocation of
the query structure.

Please also note that some queries might need a running pipeline to work.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the query could be performed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad to invoke the default query on.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">the #GstQuery to perform.</doc>
            <type name="Query" c:type="GstQuery*"/>
          </parameter>
        </parameters>
      </method>
      <method name="query_accept_caps"
              c:identifier="gst_pad_query_accept_caps">
        <doc xml:space="preserve">Check if the given pad accepts the caps.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the pad can accept the caps.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad to check</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCaps to check on the pad</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="query_caps" c:identifier="gst_pad_query_caps">
        <doc xml:space="preserve">Gets the capabilities this pad can produce or consume.
Note that this method doesn't necessarily return the caps set by sending a
gst_event_new_caps() - use gst_pad_get_current_caps() for that instead.
gst_pad_query_caps returns all possible caps a pad can operate with, using
the pad's CAPS query function, If the query fails, this function will return
@filter, if not %NULL, otherwise ANY.

When called on sinkpads @filter contains the caps that
upstream could produce in the order preferred by upstream. When
called on srcpads @filter contains the caps accepted by
downstream in the preferred order. @filter might be %NULL but
if it is not %NULL the returned caps will be a subset of @filter.

Note that this function does not return writable #GstCaps, use
gst_caps_make_writable() before modifying the caps.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the caps of the pad with incremented ref-count.</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a  #GstPad to get the capabilities of.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="filter"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">suggested #GstCaps, or %NULL</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="query_convert" c:identifier="gst_pad_query_convert">
        <doc xml:space="preserve">Queries a pad to convert @src_val in @src_format to @dest_format.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the query could be performed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad to invoke the convert query on.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="src_format" transfer-ownership="none">
            <doc xml:space="preserve">a #GstFormat to convert from.</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="src_val" transfer-ownership="none">
            <doc xml:space="preserve">a value to convert.</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
          <parameter name="dest_format" transfer-ownership="none">
            <doc xml:space="preserve">the #GstFormat to convert to.</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="dest_val"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">a pointer to the result.</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="query_default" c:identifier="gst_pad_query_default">
        <doc xml:space="preserve">Invokes the default query handler for the given pad.
The query is sent to all pads internally linked to @pad. Note that
if there are many possible sink pads that are internally linked to
@pad, only one will be sent the query.
Multi-sinkpad elements should implement custom query handlers.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the query was performed successfully.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad to call the default query handler on.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="parent"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the parent of @pad or %NULL</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">the #GstQuery to handle.</doc>
            <type name="Query" c:type="GstQuery*"/>
          </parameter>
        </parameters>
      </method>
      <method name="query_duration" c:identifier="gst_pad_query_duration">
        <doc xml:space="preserve">Queries a pad for the total stream duration.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the query could be performed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad to invoke the duration query on.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the #GstFormat requested</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="duration"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a location in which to store the total
    duration, or %NULL.</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="query_position" c:identifier="gst_pad_query_position">
        <doc xml:space="preserve">Queries a pad for the stream position.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the query could be performed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad to invoke the position query on.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the #GstFormat requested</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="cur"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">A location in which to store the current position, or %NULL.</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_probe" c:identifier="gst_pad_remove_probe">
        <doc xml:space="preserve">Remove the probe with @id from @pad.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPad with the probe</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="id" transfer-ownership="none">
            <doc xml:space="preserve">the probe id to remove</doc>
            <type name="gulong" c:type="gulong"/>
          </parameter>
        </parameters>
      </method>
      <method name="send_event" c:identifier="gst_pad_send_event">
        <doc xml:space="preserve">Sends the event to the pad. This function can be used
by applications to send events in the pipeline.

If @pad is a source pad, @event should be an upstream event. If @pad is a
sink pad, @event should be a downstream event. For example, you would not
send a #GST_EVENT_EOS on a src pad; EOS events only propagate downstream.
Furthermore, some downstream events have to be serialized with data flow,
like EOS, while some can travel out-of-band, like #GST_EVENT_FLUSH_START. If
the event needs to be serialized with data flow, this function will take the
pad's stream lock while calling its event function.

To find out whether an event type is upstream, downstream, or downstream and
serialized, see #GstEventTypeFlags, gst_event_type_get_flags(),
#GST_EVENT_IS_UPSTREAM, #GST_EVENT_IS_DOWNSTREAM, and
#GST_EVENT_IS_SERIALIZED. Note that in practice that an application or
plugin doesn't need to bother itself with this information; the core handles
all necessary locks and checks.

This function takes ownership of the provided event so you should
gst_event_ref() it if you want to reuse the event after this call.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the event was handled.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad to send the event to.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="event" transfer-ownership="full">
            <doc xml:space="preserve">the #GstEvent to send to the pad.</doc>
            <type name="Event" c:type="GstEvent*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_activate_function_full"
              c:identifier="gst_pad_set_activate_function_full">
        <doc xml:space="preserve">Sets the given activate function for @pad. The activate function will
dispatch to gst_pad_activate_mode() to perform the actual activation.
Only makes sense to set on sink pads.

Call this function if your sink pad can start a pull-based task.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="activate"
                     transfer-ownership="none"
                     scope="notified"
                     closure="1"
                     destroy="2">
            <doc xml:space="preserve">the #GstPadActivateFunction to set.</doc>
            <type name="PadActivateFunction" c:type="GstPadActivateFunction"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user_data passed to @notify</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify" transfer-ownership="none" scope="async">
            <doc xml:space="preserve">notify called when @activate will not be used anymore.</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_activatemode_function_full"
              c:identifier="gst_pad_set_activatemode_function_full">
        <doc xml:space="preserve">Sets the given activate_mode function for the pad. An activate_mode function
prepares the element for data passing.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="activatemode"
                     transfer-ownership="none"
                     scope="notified"
                     closure="1"
                     destroy="2">
            <doc xml:space="preserve">the #GstPadActivateModeFunction to set.</doc>
            <type name="PadActivateModeFunction"
                  c:type="GstPadActivateModeFunction"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user_data passed to @notify</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify" transfer-ownership="none" scope="async">
            <doc xml:space="preserve">notify called when @activatemode will not be used anymore.</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_active" c:identifier="gst_pad_set_active">
        <doc xml:space="preserve">Activates or deactivates the given pad.
Normally called from within core state change functions.

If @active, makes sure the pad is active. If it is already active, either in
push or pull mode, just return. Otherwise dispatches to the pad's activate
function to perform the actual activation.

If not @active, calls gst_pad_activate_mode() with the pad's current mode
and a %FALSE argument.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the operation was successful.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPad to activate or deactivate.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="active" transfer-ownership="none">
            <doc xml:space="preserve">whether or not the pad should be active.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_chain_function_full"
              c:identifier="gst_pad_set_chain_function_full">
        <doc xml:space="preserve">Sets the given chain function for the pad. The chain function is called to
process a #GstBuffer input buffer. see #GstPadChainFunction for more details.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a sink #GstPad.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="chain"
                     transfer-ownership="none"
                     scope="notified"
                     closure="1"
                     destroy="2">
            <doc xml:space="preserve">the #GstPadChainFunction to set.</doc>
            <type name="PadChainFunction" c:type="GstPadChainFunction"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user_data passed to @notify</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify" transfer-ownership="none" scope="async">
            <doc xml:space="preserve">notify called when @chain will not be used anymore.</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_chain_list_function_full"
              c:identifier="gst_pad_set_chain_list_function_full">
        <doc xml:space="preserve">Sets the given chain list function for the pad. The chainlist function is
called to process a #GstBufferList input buffer list. See
#GstPadChainListFunction for more details.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a sink #GstPad.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="chainlist"
                     transfer-ownership="none"
                     scope="notified"
                     closure="1"
                     destroy="2">
            <doc xml:space="preserve">the #GstPadChainListFunction to set.</doc>
            <type name="PadChainListFunction"
                  c:type="GstPadChainListFunction"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user_data passed to @notify</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify" transfer-ownership="none" scope="async">
            <doc xml:space="preserve">notify called when @chainlist will not be used anymore.</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_element_private"
              c:identifier="gst_pad_set_element_private">
        <doc xml:space="preserve">Set the given private data gpointer on the pad.
This function can only be used by the element that owns the pad.
No locking is performed in this function.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPad to set the private data of.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="priv"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The private data to attach to the pad.</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_event_full_function_full"
              c:identifier="gst_pad_set_event_full_function_full"
              version="1.8">
        <doc xml:space="preserve">Sets the given event handler for the pad.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad of either direction.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="event"
                     transfer-ownership="none"
                     scope="notified"
                     closure="1"
                     destroy="2">
            <doc xml:space="preserve">the #GstPadEventFullFunction to set.</doc>
            <type name="PadEventFullFunction"
                  c:type="GstPadEventFullFunction"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user_data passed to @notify</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify" transfer-ownership="none" scope="async">
            <doc xml:space="preserve">notify called when @event will not be used anymore.</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_event_function_full"
              c:identifier="gst_pad_set_event_function_full">
        <doc xml:space="preserve">Sets the given event handler for the pad.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad of either direction.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="event"
                     transfer-ownership="none"
                     scope="notified"
                     closure="1"
                     destroy="2">
            <doc xml:space="preserve">the #GstPadEventFunction to set.</doc>
            <type name="PadEventFunction" c:type="GstPadEventFunction"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user_data passed to @notify</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify" transfer-ownership="none" scope="async">
            <doc xml:space="preserve">notify called when @event will not be used anymore.</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_getrange_function_full"
              c:identifier="gst_pad_set_getrange_function_full">
        <doc xml:space="preserve">Sets the given getrange function for the pad. The getrange function is
called to produce a new #GstBuffer to start the processing pipeline. see
#GstPadGetRangeFunction for a description of the getrange function.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a source #GstPad.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="get"
                     transfer-ownership="none"
                     scope="notified"
                     closure="1"
                     destroy="2">
            <doc xml:space="preserve">the #GstPadGetRangeFunction to set.</doc>
            <type name="PadGetRangeFunction" c:type="GstPadGetRangeFunction"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user_data passed to @notify</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify" transfer-ownership="none" scope="async">
            <doc xml:space="preserve">notify called when @get will not be used anymore.</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_iterate_internal_links_function_full"
              c:identifier="gst_pad_set_iterate_internal_links_function_full">
        <doc xml:space="preserve">Sets the given internal link iterator function for the pad.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad of either direction.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="iterintlink"
                     transfer-ownership="none"
                     scope="notified"
                     closure="1"
                     destroy="2">
            <doc xml:space="preserve">the #GstPadIterIntLinkFunction to set.</doc>
            <type name="PadIterIntLinkFunction"
                  c:type="GstPadIterIntLinkFunction"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user_data passed to @notify</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify" transfer-ownership="none" scope="async">
            <doc xml:space="preserve">notify called when @iterintlink will not be used anymore.</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_link_function_full"
              c:identifier="gst_pad_set_link_function_full">
        <doc xml:space="preserve">Sets the given link function for the pad. It will be called when
the pad is linked with another pad.

The return value #GST_PAD_LINK_OK should be used when the connection can be
made.

The return value #GST_PAD_LINK_REFUSED should be used when the connection
cannot be made for some reason.

If @link is installed on a source pad, it should call the #GstPadLinkFunction
of the peer sink pad, if present.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="link"
                     transfer-ownership="none"
                     scope="notified"
                     closure="1"
                     destroy="2">
            <doc xml:space="preserve">the #GstPadLinkFunction to set.</doc>
            <type name="PadLinkFunction" c:type="GstPadLinkFunction"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user_data passed to @notify</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify" transfer-ownership="none" scope="async">
            <doc xml:space="preserve">notify called when @link will not be used anymore.</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_offset" c:identifier="gst_pad_set_offset">
        <doc xml:space="preserve">Set the offset that will be applied to the running time of @pad.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="offset" transfer-ownership="none">
            <doc xml:space="preserve">the offset</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_query_function_full"
              c:identifier="gst_pad_set_query_function_full">
        <doc xml:space="preserve">Set the given query function for the pad.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad of either direction.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="query"
                     transfer-ownership="none"
                     scope="notified"
                     closure="1"
                     destroy="2">
            <doc xml:space="preserve">the #GstPadQueryFunction to set.</doc>
            <type name="PadQueryFunction" c:type="GstPadQueryFunction"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user_data passed to @notify</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify" transfer-ownership="none" scope="async">
            <doc xml:space="preserve">notify called when @query will not be used anymore.</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_unlink_function_full"
              c:identifier="gst_pad_set_unlink_function_full">
        <doc xml:space="preserve">Sets the given unlink function for the pad. It will be called
when the pad is unlinked.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="unlink"
                     transfer-ownership="none"
                     scope="notified"
                     closure="1"
                     destroy="2">
            <doc xml:space="preserve">the #GstPadUnlinkFunction to set.</doc>
            <type name="PadUnlinkFunction" c:type="GstPadUnlinkFunction"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user_data passed to @notify</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify" transfer-ownership="none" scope="async">
            <doc xml:space="preserve">notify called when @unlink will not be used anymore.</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="start_task" c:identifier="gst_pad_start_task">
        <doc xml:space="preserve">Starts a task that repeatedly calls @func with @user_data. This function
is mostly used in pad activation functions to start the dataflow.
The #GST_PAD_STREAM_LOCK of @pad will automatically be acquired
before @func is called.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a %TRUE if the task could be started.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPad to start the task of</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="notified"
                     closure="1"
                     destroy="2">
            <doc xml:space="preserve">the task function to call</doc>
            <type name="TaskFunction" c:type="GstTaskFunction"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user data passed to the task function</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify" transfer-ownership="none" scope="async">
            <doc xml:space="preserve">called when @user_data is no longer referenced</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="sticky_events_foreach"
              c:identifier="gst_pad_sticky_events_foreach">
        <doc xml:space="preserve">Iterates all sticky events on @pad and calls @foreach_func for every
event. If @foreach_func returns %FALSE the iteration is immediately stopped.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPad that should be used for iteration.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="foreach_func"
                     transfer-ownership="none"
                     scope="call"
                     closure="1">
            <doc xml:space="preserve">the #GstPadStickyEventsForeachFunction that
               should be called for every event.</doc>
            <type name="PadStickyEventsForeachFunction"
                  c:type="GstPadStickyEventsForeachFunction"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the optional user data.</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="stop_task" c:identifier="gst_pad_stop_task">
        <doc xml:space="preserve">Stop the task of @pad. This function will also make sure that the
function executed by the task will effectively stop if not called
from the GstTaskFunction.

This function will deadlock if called from the GstTaskFunction of
the task. Use gst_task_pause() instead.

Regardless of whether the pad has a task, the stream lock is acquired and
released so as to ensure that streaming through this pad has finished.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a %TRUE if the task could be stopped or %FALSE on error.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPad to stop the task of</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="store_sticky_event"
              c:identifier="gst_pad_store_sticky_event"
              version="1.2">
        <doc xml:space="preserve">Store the sticky @event on @pad</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">#GST_FLOW_OK on success, #GST_FLOW_FLUSHING when the pad
was flushing or #GST_FLOW_EOS when the pad was EOS.</doc>
          <type name="FlowReturn" c:type="GstFlowReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPad</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">a #GstEvent</doc>
            <type name="Event" c:type="GstEvent*"/>
          </parameter>
        </parameters>
      </method>
      <method name="unlink" c:identifier="gst_pad_unlink">
        <doc xml:space="preserve">Unlinks the source pad from the sink pad. Will emit the #GstPad::unlinked
signal on both pads.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the pads were unlinked. This function returns %FALSE if
the pads were not linked together.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="srcpad" transfer-ownership="none">
            <doc xml:space="preserve">the source #GstPad to unlink.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
          <parameter name="sinkpad" transfer-ownership="none">
            <doc xml:space="preserve">the sink #GstPad to unlink.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </parameter>
        </parameters>
      </method>
      <method name="use_fixed_caps" c:identifier="gst_pad_use_fixed_caps">
        <doc xml:space="preserve">A helper function you can use that sets the FIXED_CAPS flag
This way the default CAPS query will always return the negotiated caps
or in case the pad is not negotiated, the padtemplate caps.

The negotiated caps are the caps of the last CAPS event that passed on the
pad. Use this function on a pad that, once it negotiated to a CAPS, cannot
be renegotiated to something else.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the pad to use</doc>
            <type name="Pad" c:type="GstPad*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="caps" transfer-ownership="none">
        <type name="Caps"/>
      </property>
      <property name="direction"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="PadDirection"/>
      </property>
      <property name="offset"
                version="1.6"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The offset that will be applied to the running time of the pad.</doc>
        <type name="gint64" c:type="gint64"/>
      </property>
      <property name="template" writable="1" transfer-ownership="none">
        <type name="PadTemplate"/>
      </property>
      <field name="object">
        <type name="Object" c:type="GstObject"/>
      </field>
      <field name="element_private">
        <doc xml:space="preserve">private data owned by the parent element</doc>
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="padtemplate">
        <doc xml:space="preserve">padtemplate for this pad</doc>
        <type name="PadTemplate" c:type="GstPadTemplate*"/>
      </field>
      <field name="direction">
        <doc xml:space="preserve">the direction of the pad, cannot change after creating
            the pad.</doc>
        <type name="PadDirection" c:type="GstPadDirection"/>
      </field>
      <field name="stream_rec_lock" readable="0" private="1">
        <type name="GLib.RecMutex" c:type="GRecMutex"/>
      </field>
      <field name="task" readable="0" private="1">
        <type name="Task" c:type="GstTask*"/>
      </field>
      <field name="block_cond" readable="0" private="1">
        <type name="GLib.Cond" c:type="GCond"/>
      </field>
      <field name="probes" readable="0" private="1">
        <type name="GLib.HookList" c:type="GHookList"/>
      </field>
      <field name="mode" readable="0" private="1">
        <type name="PadMode" c:type="GstPadMode"/>
      </field>
      <field name="activatefunc" readable="0" private="1">
        <type name="PadActivateFunction" c:type="GstPadActivateFunction"/>
      </field>
      <field name="activatedata" readable="0" private="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="activatenotify" readable="0" private="1">
        <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
      </field>
      <field name="activatemodefunc" readable="0" private="1">
        <type name="PadActivateModeFunction"
              c:type="GstPadActivateModeFunction"/>
      </field>
      <field name="activatemodedata" readable="0" private="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="activatemodenotify" readable="0" private="1">
        <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
      </field>
      <field name="peer" readable="0" private="1">
        <type name="Pad" c:type="GstPad*"/>
      </field>
      <field name="linkfunc" readable="0" private="1">
        <type name="PadLinkFunction" c:type="GstPadLinkFunction"/>
      </field>
      <field name="linkdata" readable="0" private="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="linknotify" readable="0" private="1">
        <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
      </field>
      <field name="unlinkfunc" readable="0" private="1">
        <type name="PadUnlinkFunction" c:type="GstPadUnlinkFunction"/>
      </field>
      <field name="unlinkdata" readable="0" private="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="unlinknotify" readable="0" private="1">
        <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
      </field>
      <field name="chainfunc" readable="0" private="1">
        <type name="PadChainFunction" c:type="GstPadChainFunction"/>
      </field>
      <field name="chaindata" readable="0" private="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="chainnotify" readable="0" private="1">
        <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
      </field>
      <field name="chainlistfunc" readable="0" private="1">
        <type name="PadChainListFunction" c:type="GstPadChainListFunction"/>
      </field>
      <field name="chainlistdata" readable="0" private="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="chainlistnotify" readable="0" private="1">
        <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
      </field>
      <field name="getrangefunc" readable="0" private="1">
        <type name="PadGetRangeFunction" c:type="GstPadGetRangeFunction"/>
      </field>
      <field name="getrangedata" readable="0" private="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="getrangenotify" readable="0" private="1">
        <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
      </field>
      <field name="eventfunc" readable="0" private="1">
        <type name="PadEventFunction" c:type="GstPadEventFunction"/>
      </field>
      <field name="eventdata" readable="0" private="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="eventnotify" readable="0" private="1">
        <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
      </field>
      <field name="offset" readable="0" private="1">
        <type name="gint64" c:type="gint64"/>
      </field>
      <field name="queryfunc" readable="0" private="1">
        <type name="PadQueryFunction" c:type="GstPadQueryFunction"/>
      </field>
      <field name="querydata" readable="0" private="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="querynotify" readable="0" private="1">
        <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
      </field>
      <field name="iterintlinkfunc" readable="0" private="1">
        <type name="PadIterIntLinkFunction"
              c:type="GstPadIterIntLinkFunction"/>
      </field>
      <field name="iterintlinkdata" readable="0" private="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="iterintlinknotify" readable="0" private="1">
        <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
      </field>
      <field name="num_probes" readable="0" private="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="num_blocked" readable="0" private="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="PadPrivate" c:type="GstPadPrivate*"/>
      </field>
      <union name="ABI" c:type="ABI">
        <field name="_gst_reserved" writable="1">
          <array zero-terminated="0" c:type="gpointer" fixed-size="4">
            <type name="gpointer" c:type="gpointer"/>
          </array>
        </field>
        <record name="abi" c:type="abi">
          <field name="last_flowret" writable="1">
            <type name="FlowReturn" c:type="GstFlowReturn"/>
          </field>
          <field name="eventfullfunc" writable="1">
            <type name="PadEventFullFunction"
                  c:type="GstPadEventFullFunction"/>
          </field>
        </record>
      </union>
      <glib:signal name="linked" when="last">
        <doc xml:space="preserve">Signals that a pad has been linked to the peer pad.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="peer" transfer-ownership="none">
            <doc xml:space="preserve">the peer pad that has been connected</doc>
            <type name="Pad"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="unlinked" when="last">
        <doc xml:space="preserve">Signals that a pad has been unlinked from the peer pad.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="peer" transfer-ownership="none">
            <doc xml:space="preserve">the peer pad that has been disconnected</doc>
            <type name="Pad"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <callback name="PadActivateFunction" c:type="GstPadActivateFunction">
      <doc xml:space="preserve">This function is called when the pad is activated during the element
READY to PAUSED state change. By default this function will call the
activate function that puts the pad in push mode but elements can
override this function to activate the pad in pull mode if they wish.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the pad could be activated.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="pad" transfer-ownership="none">
          <doc xml:space="preserve">a #GstPad</doc>
          <type name="Pad" c:type="GstPad*"/>
        </parameter>
        <parameter name="parent" transfer-ownership="none">
          <doc xml:space="preserve">the parent of @pad</doc>
          <type name="Object" c:type="GstObject*"/>
        </parameter>
      </parameters>
    </callback>
    <callback name="PadActivateModeFunction"
              c:type="GstPadActivateModeFunction">
      <doc xml:space="preserve">The prototype of the push and pull activate functions.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the pad could be activated or deactivated.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="pad" transfer-ownership="none">
          <doc xml:space="preserve">a #GstPad</doc>
          <type name="Pad" c:type="GstPad*"/>
        </parameter>
        <parameter name="parent" transfer-ownership="none">
          <doc xml:space="preserve">the parent of @pad</doc>
          <type name="Object" c:type="GstObject*"/>
        </parameter>
        <parameter name="mode" transfer-ownership="none">
          <doc xml:space="preserve">the requested activation mode of @pad</doc>
          <type name="PadMode" c:type="GstPadMode"/>
        </parameter>
        <parameter name="active" transfer-ownership="none">
          <doc xml:space="preserve">activate or deactivate the pad.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
      </parameters>
    </callback>
    <callback name="PadChainFunction" c:type="GstPadChainFunction">
      <doc xml:space="preserve">A function that will be called on sinkpads when chaining buffers.
The function typically processes the data contained in the buffer and
either consumes the data or passes it on to the internally linked pad(s).

The implementer of this function receives a refcount to @buffer and should
gst_buffer_unref() when the buffer is no longer needed.

When a chain function detects an error in the data stream, it must post an
error on the bus and return an appropriate #GstFlowReturn value.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">#GST_FLOW_OK for success</doc>
        <type name="FlowReturn" c:type="GstFlowReturn"/>
      </return-value>
      <parameters>
        <parameter name="pad" transfer-ownership="none">
          <doc xml:space="preserve">the sink #GstPad that performed the chain.</doc>
          <type name="Pad" c:type="GstPad*"/>
        </parameter>
        <parameter name="parent"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">the parent of @pad. If the #GST_PAD_FLAG_NEED_PARENT
         flag is set, @parent is guaranteed to be not-%NULL and remain valid
         during the execution of this function.</doc>
          <type name="Object" c:type="GstObject*"/>
        </parameter>
        <parameter name="buffer" transfer-ownership="full">
          <doc xml:space="preserve">the #GstBuffer that is chained, not %NULL.</doc>
          <type name="Buffer" c:type="GstBuffer*"/>
        </parameter>
      </parameters>
    </callback>
    <callback name="PadChainListFunction" c:type="GstPadChainListFunction">
      <doc xml:space="preserve">A function that will be called on sinkpads when chaining buffer lists.
The function typically processes the data contained in the buffer list and
either consumes the data or passes it on to the internally linked pad(s).

The implementer of this function receives a refcount to @list and
should gst_buffer_list_unref() when the list is no longer needed.

When a chainlist function detects an error in the data stream, it must
post an error on the bus and return an appropriate #GstFlowReturn value.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">#GST_FLOW_OK for success</doc>
        <type name="FlowReturn" c:type="GstFlowReturn"/>
      </return-value>
      <parameters>
        <parameter name="pad" transfer-ownership="none">
          <doc xml:space="preserve">the sink #GstPad that performed the chain.</doc>
          <type name="Pad" c:type="GstPad*"/>
        </parameter>
        <parameter name="parent"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">the parent of @pad. If the #GST_PAD_FLAG_NEED_PARENT
         flag is set, @parent is guaranteed to be not-%NULL and remain valid
         during the execution of this function.</doc>
          <type name="Object" c:type="GstObject*"/>
        </parameter>
        <parameter name="list" transfer-ownership="full">
          <doc xml:space="preserve">the #GstBufferList that is chained, not %NULL.</doc>
          <type name="BufferList" c:type="GstBufferList*"/>
        </parameter>
      </parameters>
    </callback>
    <record name="PadClass"
            c:type="GstPadClass"
            glib:is-gtype-struct-for="Pad">
      <field name="parent_class">
        <type name="ObjectClass" c:type="GstObjectClass"/>
      </field>
      <field name="linked">
        <callback name="linked">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="pad" transfer-ownership="none">
              <type name="Pad" c:type="GstPad*"/>
            </parameter>
            <parameter name="peer" transfer-ownership="none">
              <type name="Pad" c:type="GstPad*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="unlinked">
        <callback name="unlinked">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="pad" transfer-ownership="none">
              <type name="Pad" c:type="GstPad*"/>
            </parameter>
            <parameter name="peer" transfer-ownership="none">
              <type name="Pad" c:type="GstPad*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <enumeration name="PadDirection"
                 glib:type-name="GstPadDirection"
                 glib:get-type="gst_pad_direction_get_type"
                 c:type="GstPadDirection">
      <doc xml:space="preserve">The direction of a pad.</doc>
      <member name="unknown"
              value="0"
              c:identifier="GST_PAD_UNKNOWN"
              glib:nick="unknown">
        <doc xml:space="preserve">direction is unknown.</doc>
      </member>
      <member name="src" value="1" c:identifier="GST_PAD_SRC" glib:nick="src">
        <doc xml:space="preserve">the pad is a source pad.</doc>
      </member>
      <member name="sink"
              value="2"
              c:identifier="GST_PAD_SINK"
              glib:nick="sink">
        <doc xml:space="preserve">the pad is a sink pad.</doc>
      </member>
    </enumeration>
    <callback name="PadEventFullFunction"
              c:type="GstPadEventFullFunction"
              version="1.8">
      <doc xml:space="preserve">Function signature to handle an event for the pad.

This variant is for specific elements that will take into account the
last downstream flow return (from a pad push), in which case they can
return it.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%GST_FLOW_OK if the event was handled properly, or any other
#GstFlowReturn dependent on downstream state.</doc>
        <type name="FlowReturn" c:type="GstFlowReturn"/>
      </return-value>
      <parameters>
        <parameter name="pad" transfer-ownership="none">
          <doc xml:space="preserve">the #GstPad to handle the event.</doc>
          <type name="Pad" c:type="GstPad*"/>
        </parameter>
        <parameter name="parent"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">the parent of @pad. If the #GST_PAD_FLAG_NEED_PARENT
         flag is set, @parent is guaranteed to be not-%NULL and remain valid
         during the execution of this function.</doc>
          <type name="Object" c:type="GstObject*"/>
        </parameter>
        <parameter name="event" transfer-ownership="full">
          <doc xml:space="preserve">the #GstEvent to handle.</doc>
          <type name="Event" c:type="GstEvent*"/>
        </parameter>
      </parameters>
    </callback>
    <callback name="PadEventFunction" c:type="GstPadEventFunction">
      <doc xml:space="preserve">Function signature to handle an event for the pad.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the pad could handle the event.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="pad" transfer-ownership="none">
          <doc xml:space="preserve">the #GstPad to handle the event.</doc>
          <type name="Pad" c:type="GstPad*"/>
        </parameter>
        <parameter name="parent"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">the parent of @pad. If the #GST_PAD_FLAG_NEED_PARENT
         flag is set, @parent is guaranteed to be not-%NULL and remain valid
         during the execution of this function.</doc>
          <type name="Object" c:type="GstObject*"/>
        </parameter>
        <parameter name="event" transfer-ownership="full">
          <doc xml:space="preserve">the #GstEvent to handle.</doc>
          <type name="Event" c:type="GstEvent*"/>
        </parameter>
      </parameters>
    </callback>
    <bitfield name="PadFlags"
              glib:type-name="GstPadFlags"
              glib:get-type="gst_pad_flags_get_type"
              c:type="GstPadFlags">
      <doc xml:space="preserve">Pad state flags</doc>
      <member name="blocked"
              value="16"
              c:identifier="GST_PAD_FLAG_BLOCKED"
              glib:nick="blocked">
        <doc xml:space="preserve">is dataflow on a pad blocked</doc>
      </member>
      <member name="flushing"
              value="32"
              c:identifier="GST_PAD_FLAG_FLUSHING"
              glib:nick="flushing">
        <doc xml:space="preserve">is pad flushing</doc>
      </member>
      <member name="eos"
              value="64"
              c:identifier="GST_PAD_FLAG_EOS"
              glib:nick="eos">
        <doc xml:space="preserve">is pad in EOS state</doc>
      </member>
      <member name="blocking"
              value="128"
              c:identifier="GST_PAD_FLAG_BLOCKING"
              glib:nick="blocking">
        <doc xml:space="preserve">is pad currently blocking on a buffer or event</doc>
      </member>
      <member name="need_parent"
              value="256"
              c:identifier="GST_PAD_FLAG_NEED_PARENT"
              glib:nick="need-parent">
        <doc xml:space="preserve">ensure that there is a parent object before calling
                      into the pad callbacks.</doc>
      </member>
      <member name="need_reconfigure"
              value="512"
              c:identifier="GST_PAD_FLAG_NEED_RECONFIGURE"
              glib:nick="need-reconfigure">
        <doc xml:space="preserve">the pad should be reconfigured/renegotiated.
                           The flag has to be unset manually after
                           reconfiguration happened.</doc>
      </member>
      <member name="pending_events"
              value="1024"
              c:identifier="GST_PAD_FLAG_PENDING_EVENTS"
              glib:nick="pending-events">
        <doc xml:space="preserve">the pad has pending events</doc>
      </member>
      <member name="fixed_caps"
              value="2048"
              c:identifier="GST_PAD_FLAG_FIXED_CAPS"
              glib:nick="fixed-caps">
        <doc xml:space="preserve">the pad is using fixed caps. This means that
    once the caps are set on the pad, the default caps query function
    will only return those caps.</doc>
      </member>
      <member name="proxy_caps"
              value="4096"
              c:identifier="GST_PAD_FLAG_PROXY_CAPS"
              glib:nick="proxy-caps">
        <doc xml:space="preserve">the default event and query handler will forward
                     all events and queries to the internally linked pads
                     instead of discarding them.</doc>
      </member>
      <member name="proxy_allocation"
              value="8192"
              c:identifier="GST_PAD_FLAG_PROXY_ALLOCATION"
              glib:nick="proxy-allocation">
        <doc xml:space="preserve">the default query handler will forward
                     allocation queries to the internally linked pads
                     instead of discarding them.</doc>
      </member>
      <member name="proxy_scheduling"
              value="16384"
              c:identifier="GST_PAD_FLAG_PROXY_SCHEDULING"
              glib:nick="proxy-scheduling">
        <doc xml:space="preserve">the default query handler will forward
                     scheduling queries to the internally linked pads
                     instead of discarding them.</doc>
      </member>
      <member name="accept_intersect"
              value="32768"
              c:identifier="GST_PAD_FLAG_ACCEPT_INTERSECT"
              glib:nick="accept-intersect">
        <doc xml:space="preserve">the default accept-caps handler will check
                     it the caps intersect the query-caps result instead
                     of checking for a subset. This is interesting for
                     parsers that can accept incompletely specified caps.</doc>
      </member>
      <member name="accept_template"
              value="65536"
              c:identifier="GST_PAD_FLAG_ACCEPT_TEMPLATE"
              glib:nick="accept-template">
        <doc xml:space="preserve">the default accept-caps handler will use
                     the template pad caps instead of query caps to
                     compare with the accept caps. Use this in combination
                     with %GST_PAD_FLAG_ACCEPT_INTERSECT. (Since 1.6)</doc>
      </member>
      <member name="last"
              value="1048576"
              c:identifier="GST_PAD_FLAG_LAST"
              glib:nick="last">
        <doc xml:space="preserve">offset to define more flags</doc>
      </member>
    </bitfield>
    <callback name="PadForwardFunction" c:type="GstPadForwardFunction">
      <doc xml:space="preserve">A forward function is called for all internally linked pads, see
gst_pad_forward().</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the dispatching procedure has to be stopped.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="pad" transfer-ownership="none">
          <doc xml:space="preserve">the #GstPad that is forwarded.</doc>
          <type name="Pad" c:type="GstPad*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="1">
          <doc xml:space="preserve">the gpointer to optional user data.</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <callback name="PadGetRangeFunction" c:type="GstPadGetRangeFunction">
      <doc xml:space="preserve">This function will be called on source pads when a peer element
request a buffer at the specified @offset and @length. If this function
returns #GST_FLOW_OK, the result buffer will be stored in @buffer. The
contents of @buffer is invalid for any other return value.

This function is installed on a source pad with
gst_pad_set_getrange_function() and can only be called on source pads after
they are successfully activated with gst_pad_activate_mode() with the
#GST_PAD_MODE_PULL.

@offset and @length are always given in byte units. @offset must normally be a value
between 0 and the length in bytes of the data available on @pad. The
length (duration in bytes) can be retrieved with a #GST_QUERY_DURATION or with a
#GST_QUERY_SEEKING.

Any @offset larger or equal than the length will make the function return
#GST_FLOW_EOS, which corresponds to EOS. In this case @buffer does not
contain a valid buffer.

The buffer size of @buffer will only be smaller than @length when @offset is
near the end of the stream. In all other cases, the size of @buffer must be
exactly the requested size.

It is allowed to call this function with a 0 @length and valid @offset, in
which case @buffer will contain a 0-sized buffer and the function returns
#GST_FLOW_OK.

When this function is called with a -1 @offset, the sequentially next buffer
of length @length in the stream is returned.

When this function is called with a -1 @length, a buffer with a default
optimal length is returned in @buffer. The length might depend on the value
of @offset.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">#GST_FLOW_OK for success and a valid buffer in @buffer. Any other
return value leaves @buffer undefined.</doc>
        <type name="FlowReturn" c:type="GstFlowReturn"/>
      </return-value>
      <parameters>
        <parameter name="pad" transfer-ownership="none">
          <doc xml:space="preserve">the src #GstPad to perform the getrange on.</doc>
          <type name="Pad" c:type="GstPad*"/>
        </parameter>
        <parameter name="parent"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">the parent of @pad. If the #GST_PAD_FLAG_NEED_PARENT
         flag is set, @parent is guaranteed to be not-%NULL and remain valid
         during the execution of this function.</doc>
          <type name="Object" c:type="GstObject*"/>
        </parameter>
        <parameter name="offset" transfer-ownership="none">
          <doc xml:space="preserve">the offset of the range</doc>
          <type name="guint64" c:type="guint64"/>
        </parameter>
        <parameter name="length" transfer-ownership="none">
          <doc xml:space="preserve">the length of the range</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
        <parameter name="buffer" transfer-ownership="none">
          <doc xml:space="preserve">a memory location to hold the result buffer, cannot be %NULL.</doc>
          <type name="Buffer" c:type="GstBuffer**"/>
        </parameter>
      </parameters>
    </callback>
    <callback name="PadIterIntLinkFunction" c:type="GstPadIterIntLinkFunction">
      <doc xml:space="preserve">The signature of the internal pad link iterator function.</doc>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve">a new #GstIterator that will iterate over all pads that are
linked to the given pad on the inside of the parent element.

the caller must call gst_iterator_free() after usage.</doc>
        <type name="Iterator" c:type="GstIterator*"/>
      </return-value>
      <parameters>
        <parameter name="pad" transfer-ownership="none">
          <doc xml:space="preserve">The #GstPad to query.</doc>
          <type name="Pad" c:type="GstPad*"/>
        </parameter>
        <parameter name="parent"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">the parent of @pad. If the #GST_PAD_FLAG_NEED_PARENT
         flag is set, @parent is guaranteed to be not-%NULL and remain valid
         during the execution of this function.</doc>
          <type name="Object" c:type="GstObject*"/>
        </parameter>
      </parameters>
    </callback>
    <bitfield name="PadLinkCheck"
              glib:type-name="GstPadLinkCheck"
              glib:get-type="gst_pad_link_check_get_type"
              c:type="GstPadLinkCheck">
      <doc xml:space="preserve">The amount of checking to be done when linking pads. @GST_PAD_LINK_CHECK_CAPS
and @GST_PAD_LINK_CHECK_TEMPLATE_CAPS are mutually exclusive. If both are
specified, expensive but safe @GST_PAD_LINK_CHECK_CAPS are performed.

&gt; Only disable some of the checks if you are 100% certain you know the link
&gt; will not fail because of hierarchy/caps compatibility failures. If uncertain,
&gt; use the default checks (%GST_PAD_LINK_CHECK_DEFAULT) or the regular methods
&gt; for linking the pads.</doc>
      <member name="nothing"
              value="0"
              c:identifier="GST_PAD_LINK_CHECK_NOTHING"
              glib:nick="nothing">
        <doc xml:space="preserve">Don't check hierarchy or caps compatibility.</doc>
      </member>
      <member name="hierarchy"
              value="1"
              c:identifier="GST_PAD_LINK_CHECK_HIERARCHY"
              glib:nick="hierarchy">
        <doc xml:space="preserve">Check the pads have same parents/grandparents.
  Could be omitted if it is already known that the two elements that own the
  pads are in the same bin.</doc>
      </member>
      <member name="template_caps"
              value="2"
              c:identifier="GST_PAD_LINK_CHECK_TEMPLATE_CAPS"
              glib:nick="template-caps">
        <doc xml:space="preserve">Check if the pads are compatible by using
  their template caps. This is much faster than @GST_PAD_LINK_CHECK_CAPS, but
  would be unsafe e.g. if one pad has %GST_CAPS_ANY.</doc>
      </member>
      <member name="caps"
              value="4"
              c:identifier="GST_PAD_LINK_CHECK_CAPS"
              glib:nick="caps">
        <doc xml:space="preserve">Check if the pads are compatible by comparing the
  caps returned by gst_pad_query_caps().</doc>
      </member>
      <member name="no_reconfigure"
              value="8"
              c:identifier="GST_PAD_LINK_CHECK_NO_RECONFIGURE"
              glib:nick="no-reconfigure">
        <doc xml:space="preserve">Disables pushing a reconfigure event when pads are
  linked.</doc>
      </member>
      <member name="default"
              value="5"
              c:identifier="GST_PAD_LINK_CHECK_DEFAULT"
              glib:nick="default">
        <doc xml:space="preserve">The default checks done when linking
  pads (i.e. the ones used by gst_pad_link()).</doc>
      </member>
    </bitfield>
    <callback name="PadLinkFunction" c:type="GstPadLinkFunction">
      <doc xml:space="preserve">Function signature to handle a new link on the pad.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the result of the link with the specified peer.</doc>
        <type name="PadLinkReturn" c:type="GstPadLinkReturn"/>
      </return-value>
      <parameters>
        <parameter name="pad" transfer-ownership="none">
          <doc xml:space="preserve">the #GstPad that is linked.</doc>
          <type name="Pad" c:type="GstPad*"/>
        </parameter>
        <parameter name="parent"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">the parent of @pad. If the #GST_PAD_FLAG_NEED_PARENT
         flag is set, @parent is guaranteed to be not-%NULL and remain valid
         during the execution of this function.</doc>
          <type name="Object" c:type="GstObject*"/>
        </parameter>
        <parameter name="peer" transfer-ownership="none">
          <doc xml:space="preserve">the peer #GstPad of the link</doc>
          <type name="Pad" c:type="GstPad*"/>
        </parameter>
      </parameters>
    </callback>
    <enumeration name="PadLinkReturn"
                 glib:type-name="GstPadLinkReturn"
                 glib:get-type="gst_pad_link_return_get_type"
                 c:type="GstPadLinkReturn">
      <doc xml:space="preserve">Result values from gst_pad_link and friends.</doc>
      <member name="ok"
              value="0"
              c:identifier="GST_PAD_LINK_OK"
              glib:nick="ok">
        <doc xml:space="preserve">link succeeded</doc>
      </member>
      <member name="wrong_hierarchy"
              value="-1"
              c:identifier="GST_PAD_LINK_WRONG_HIERARCHY"
              glib:nick="wrong-hierarchy">
        <doc xml:space="preserve">pads have no common grandparent</doc>
      </member>
      <member name="was_linked"
              value="-2"
              c:identifier="GST_PAD_LINK_WAS_LINKED"
              glib:nick="was-linked">
        <doc xml:space="preserve">pad was already linked</doc>
      </member>
      <member name="wrong_direction"
              value="-3"
              c:identifier="GST_PAD_LINK_WRONG_DIRECTION"
              glib:nick="wrong-direction">
        <doc xml:space="preserve">pads have wrong direction</doc>
      </member>
      <member name="noformat"
              value="-4"
              c:identifier="GST_PAD_LINK_NOFORMAT"
              glib:nick="noformat">
        <doc xml:space="preserve">pads do not have common format</doc>
      </member>
      <member name="nosched"
              value="-5"
              c:identifier="GST_PAD_LINK_NOSCHED"
              glib:nick="nosched">
        <doc xml:space="preserve">pads cannot cooperate in scheduling</doc>
      </member>
      <member name="refused"
              value="-6"
              c:identifier="GST_PAD_LINK_REFUSED"
              glib:nick="refused">
        <doc xml:space="preserve">refused for some reason</doc>
      </member>
    </enumeration>
    <enumeration name="PadMode"
                 glib:type-name="GstPadMode"
                 glib:get-type="gst_pad_mode_get_type"
                 c:type="GstPadMode">
      <doc xml:space="preserve">The status of a GstPad. After activating a pad, which usually happens when the
parent element goes from READY to PAUSED, the GstPadMode defines if the
pad operates in push or pull mode.</doc>
      <member name="none"
              value="0"
              c:identifier="GST_PAD_MODE_NONE"
              glib:nick="none">
        <doc xml:space="preserve">Pad will not handle dataflow</doc>
      </member>
      <member name="push"
              value="1"
              c:identifier="GST_PAD_MODE_PUSH"
              glib:nick="push">
        <doc xml:space="preserve">Pad handles dataflow in downstream push mode</doc>
      </member>
      <member name="pull"
              value="2"
              c:identifier="GST_PAD_MODE_PULL"
              glib:nick="pull">
        <doc xml:space="preserve">Pad handles dataflow in upstream pull mode</doc>
      </member>
      <function name="get_name" c:identifier="gst_pad_mode_get_name">
        <doc xml:space="preserve">Return the name of a pad mode, for use in debug messages mostly.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">short mnemonic for pad mode @mode</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve">the pad mode</doc>
            <type name="PadMode" c:type="GstPadMode"/>
          </parameter>
        </parameters>
      </function>
    </enumeration>
    <enumeration name="PadPresence"
                 glib:type-name="GstPadPresence"
                 glib:get-type="gst_pad_presence_get_type"
                 c:type="GstPadPresence">
      <doc xml:space="preserve">Indicates when this pad will become available.</doc>
      <member name="always"
              value="0"
              c:identifier="GST_PAD_ALWAYS"
              glib:nick="always">
        <doc xml:space="preserve">the pad is always available</doc>
      </member>
      <member name="sometimes"
              value="1"
              c:identifier="GST_PAD_SOMETIMES"
              glib:nick="sometimes">
        <doc xml:space="preserve">the pad will become available depending on the media stream</doc>
      </member>
      <member name="request"
              value="2"
              c:identifier="GST_PAD_REQUEST"
              glib:nick="request">
        <doc xml:space="preserve">the pad is only available on request with
 gst_element_request_pad().</doc>
      </member>
    </enumeration>
    <record name="PadPrivate" c:type="GstPadPrivate" disguised="1">
    </record>
    <callback name="PadProbeCallback" c:type="GstPadProbeCallback">
      <doc xml:space="preserve">Callback used by gst_pad_add_probe(). Gets called to notify about the current
blocking type.

The callback is allowed to modify the data pointer in @info.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">a #GstPadProbeReturn</doc>
        <type name="PadProbeReturn" c:type="GstPadProbeReturn"/>
      </return-value>
      <parameters>
        <parameter name="pad" transfer-ownership="none">
          <doc xml:space="preserve">the #GstPad that is blocked</doc>
          <type name="Pad" c:type="GstPad*"/>
        </parameter>
        <parameter name="info" transfer-ownership="none">
          <doc xml:space="preserve">#GstPadProbeInfo</doc>
          <type name="PadProbeInfo" c:type="GstPadProbeInfo*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="2">
          <doc xml:space="preserve">the gpointer to optional user data.</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <record name="PadProbeInfo" c:type="GstPadProbeInfo">
      <doc xml:space="preserve">Info passed in the #GstPadProbeCallback.</doc>
      <field name="type" writable="1">
        <doc xml:space="preserve">the current probe type</doc>
        <type name="PadProbeType" c:type="GstPadProbeType"/>
      </field>
      <field name="id" writable="1">
        <doc xml:space="preserve">the id of the probe</doc>
        <type name="gulong" c:type="gulong"/>
      </field>
      <field name="data" writable="1">
        <doc xml:space="preserve">type specific data, check the @type field to know the
   datatype.  This field can be %NULL.</doc>
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="offset" writable="1">
        <doc xml:space="preserve">offset of pull probe, this field is valid when @type contains
   #GST_PAD_PROBE_TYPE_PULL</doc>
        <type name="guint64" c:type="guint64"/>
      </field>
      <field name="size" writable="1">
        <doc xml:space="preserve">size of pull probe, this field is valid when @type contains
   #GST_PAD_PROBE_TYPE_PULL</doc>
        <type name="guint" c:type="guint"/>
      </field>
      <union name="ABI" c:type="ABI">
        <field name="_gst_reserved" writable="1">
          <array zero-terminated="0" c:type="gpointer" fixed-size="4">
            <type name="gpointer" c:type="gpointer"/>
          </array>
        </field>
        <record name="abi" c:type="abi">
          <field name="flow_ret" writable="1">
            <type name="FlowReturn" c:type="GstFlowReturn"/>
          </field>
        </record>
      </union>
      <method name="get_buffer" c:identifier="gst_pad_probe_info_get_buffer">
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">The #GstBuffer from the probe</doc>
          <type name="Buffer" c:type="GstBuffer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPadProbeInfo</doc>
            <type name="PadProbeInfo" c:type="GstPadProbeInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_buffer_list"
              c:identifier="gst_pad_probe_info_get_buffer_list">
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">The #GstBufferList from the probe</doc>
          <type name="BufferList" c:type="GstBufferList*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPadProbeInfo</doc>
            <type name="PadProbeInfo" c:type="GstPadProbeInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_event" c:identifier="gst_pad_probe_info_get_event">
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">The #GstEvent from the probe</doc>
          <type name="Event" c:type="GstEvent*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPadProbeInfo</doc>
            <type name="PadProbeInfo" c:type="GstPadProbeInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_query" c:identifier="gst_pad_probe_info_get_query">
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">The #GstQuery from the probe</doc>
          <type name="Query" c:type="GstQuery*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPadProbeInfo</doc>
            <type name="PadProbeInfo" c:type="GstPadProbeInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
    </record>
    <enumeration name="PadProbeReturn"
                 glib:type-name="GstPadProbeReturn"
                 glib:get-type="gst_pad_probe_return_get_type"
                 c:type="GstPadProbeReturn">
      <doc xml:space="preserve">Different return values for the #GstPadProbeCallback.</doc>
      <member name="drop"
              value="0"
              c:identifier="GST_PAD_PROBE_DROP"
              glib:nick="drop">
        <doc xml:space="preserve">drop data in data probes. For push mode this means that
       the data item is not sent downstream. For pull mode, it means that
       the data item is not passed upstream. In both cases, no other probes
       are called for this item and %GST_FLOW_OK or %TRUE is returned to the
       caller.</doc>
      </member>
      <member name="ok"
              value="1"
              c:identifier="GST_PAD_PROBE_OK"
              glib:nick="ok">
        <doc xml:space="preserve">normal probe return value. This leaves the probe in
       place, and defers decisions about dropping or passing data to other
       probes, if any. If there are no other probes, the default behaviour
       for the probe type applies ('block' for blocking probes,
       and 'pass' for non-blocking probes).</doc>
      </member>
      <member name="remove"
              value="2"
              c:identifier="GST_PAD_PROBE_REMOVE"
              glib:nick="remove">
        <doc xml:space="preserve">remove this probe.</doc>
      </member>
      <member name="pass"
              value="3"
              c:identifier="GST_PAD_PROBE_PASS"
              glib:nick="pass">
        <doc xml:space="preserve">pass the data item in the block probe and block on the
       next item.</doc>
      </member>
      <member name="handled"
              value="4"
              c:identifier="GST_PAD_PROBE_HANDLED"
              glib:nick="handled">
        <doc xml:space="preserve">Data has been handled in the probe and will not be
       forwarded further. For events and buffers this is the same behaviour as
       %GST_PAD_PROBE_DROP (except that in this case you need to unref the buffer
       or event yourself). For queries it will also return %TRUE to the caller.
       The probe can also modify the #GstFlowReturn value by using the
       #GST_PAD_PROBE_INFO_FLOW_RETURN() accessor.
       Note that the resulting query must contain valid entries.
       Since: 1.6</doc>
      </member>
    </enumeration>
    <bitfield name="PadProbeType"
              glib:type-name="GstPadProbeType"
              glib:get-type="gst_pad_probe_type_get_type"
              c:type="GstPadProbeType">
      <doc xml:space="preserve">The different probing types that can occur. When either one of
@GST_PAD_PROBE_TYPE_IDLE or @GST_PAD_PROBE_TYPE_BLOCK is used, the probe will be a
blocking probe.</doc>
      <member name="invalid"
              value="0"
              c:identifier="GST_PAD_PROBE_TYPE_INVALID"
              glib:nick="invalid">
        <doc xml:space="preserve">invalid probe type</doc>
      </member>
      <member name="idle"
              value="1"
              c:identifier="GST_PAD_PROBE_TYPE_IDLE"
              glib:nick="idle">
        <doc xml:space="preserve">probe idle pads and block while the callback is called</doc>
      </member>
      <member name="block"
              value="2"
              c:identifier="GST_PAD_PROBE_TYPE_BLOCK"
              glib:nick="block">
        <doc xml:space="preserve">probe and block pads</doc>
      </member>
      <member name="buffer"
              value="16"
              c:identifier="GST_PAD_PROBE_TYPE_BUFFER"
              glib:nick="buffer">
        <doc xml:space="preserve">probe buffers</doc>
      </member>
      <member name="buffer_list"
              value="32"
              c:identifier="GST_PAD_PROBE_TYPE_BUFFER_LIST"
              glib:nick="buffer-list">
        <doc xml:space="preserve">probe buffer lists</doc>
      </member>
      <member name="event_downstream"
              value="64"
              c:identifier="GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM"
              glib:nick="event-downstream">
        <doc xml:space="preserve">probe downstream events</doc>
      </member>
      <member name="event_upstream"
              value="128"
              c:identifier="GST_PAD_PROBE_TYPE_EVENT_UPSTREAM"
              glib:nick="event-upstream">
        <doc xml:space="preserve">probe upstream events</doc>
      </member>
      <member name="event_flush"
              value="256"
              c:identifier="GST_PAD_PROBE_TYPE_EVENT_FLUSH"
              glib:nick="event-flush">
        <doc xml:space="preserve">probe flush events. This probe has to be
    explicitly enabled and is not included in the
    @@GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM or
    @@GST_PAD_PROBE_TYPE_EVENT_UPSTREAM probe types.</doc>
      </member>
      <member name="query_downstream"
              value="512"
              c:identifier="GST_PAD_PROBE_TYPE_QUERY_DOWNSTREAM"
              glib:nick="query-downstream">
        <doc xml:space="preserve">probe downstream queries</doc>
      </member>
      <member name="query_upstream"
              value="1024"
              c:identifier="GST_PAD_PROBE_TYPE_QUERY_UPSTREAM"
              glib:nick="query-upstream">
        <doc xml:space="preserve">probe upstream queries</doc>
      </member>
      <member name="push"
              value="4096"
              c:identifier="GST_PAD_PROBE_TYPE_PUSH"
              glib:nick="push">
        <doc xml:space="preserve">probe push</doc>
      </member>
      <member name="pull"
              value="8192"
              c:identifier="GST_PAD_PROBE_TYPE_PULL"
              glib:nick="pull">
        <doc xml:space="preserve">probe pull</doc>
      </member>
      <member name="blocking"
              value="3"
              c:identifier="GST_PAD_PROBE_TYPE_BLOCKING"
              glib:nick="blocking">
        <doc xml:space="preserve">probe and block at the next opportunity, at data flow or when idle</doc>
      </member>
      <member name="data_downstream"
              value="112"
              c:identifier="GST_PAD_PROBE_TYPE_DATA_DOWNSTREAM"
              glib:nick="data-downstream">
        <doc xml:space="preserve">probe downstream data (buffers, buffer lists, and events)</doc>
      </member>
      <member name="data_upstream"
              value="128"
              c:identifier="GST_PAD_PROBE_TYPE_DATA_UPSTREAM"
              glib:nick="data-upstream">
        <doc xml:space="preserve">probe upstream data (events)</doc>
      </member>
      <member name="data_both"
              value="240"
              c:identifier="GST_PAD_PROBE_TYPE_DATA_BOTH"
              glib:nick="data-both">
        <doc xml:space="preserve">probe upstream and downstream data (buffers, buffer lists, and events)</doc>
      </member>
      <member name="block_downstream"
              value="114"
              c:identifier="GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM"
              glib:nick="block-downstream">
        <doc xml:space="preserve">probe and block downstream data (buffers, buffer lists, and events)</doc>
      </member>
      <member name="block_upstream"
              value="130"
              c:identifier="GST_PAD_PROBE_TYPE_BLOCK_UPSTREAM"
              glib:nick="block-upstream">
        <doc xml:space="preserve">probe and block upstream data (events)</doc>
      </member>
      <member name="event_both"
              value="192"
              c:identifier="GST_PAD_PROBE_TYPE_EVENT_BOTH"
              glib:nick="event-both">
        <doc xml:space="preserve">probe upstream and downstream events</doc>
      </member>
      <member name="query_both"
              value="1536"
              c:identifier="GST_PAD_PROBE_TYPE_QUERY_BOTH"
              glib:nick="query-both">
        <doc xml:space="preserve">probe upstream and downstream queries</doc>
      </member>
      <member name="all_both"
              value="1776"
              c:identifier="GST_PAD_PROBE_TYPE_ALL_BOTH"
              glib:nick="all-both">
        <doc xml:space="preserve">probe upstream events and queries and downstream buffers, buffer lists, events and queries</doc>
      </member>
      <member name="scheduling"
              value="12288"
              c:identifier="GST_PAD_PROBE_TYPE_SCHEDULING"
              glib:nick="scheduling">
        <doc xml:space="preserve">probe push and pull</doc>
      </member>
    </bitfield>
    <callback name="PadQueryFunction" c:type="GstPadQueryFunction">
      <doc xml:space="preserve">The signature of the query function.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the query could be performed.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="pad" transfer-ownership="none">
          <doc xml:space="preserve">the #GstPad to query.</doc>
          <type name="Pad" c:type="GstPad*"/>
        </parameter>
        <parameter name="parent"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">the parent of @pad. If the #GST_PAD_FLAG_NEED_PARENT
         flag is set, @parent is guaranteed to be not-%NULL and remain valid
         during the execution of this function.</doc>
          <type name="Object" c:type="GstObject*"/>
        </parameter>
        <parameter name="query" transfer-ownership="none">
          <doc xml:space="preserve">the #GstQuery object to execute</doc>
          <type name="Query" c:type="GstQuery*"/>
        </parameter>
      </parameters>
    </callback>
    <callback name="PadStickyEventsForeachFunction"
              c:type="GstPadStickyEventsForeachFunction">
      <doc xml:space="preserve">Callback used by gst_pad_sticky_events_foreach().

When this function returns %TRUE, the next event will be
returned. When %FALSE is returned, gst_pad_sticky_events_foreach() will return.

When @event is set to %NULL, the item will be removed from the list of sticky events.
@event can be replaced by assigning a new reference to it.
This function is responsible for unreffing the old event when
removing or modifying.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the iteration should continue</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="pad" transfer-ownership="none">
          <doc xml:space="preserve">the #GstPad.</doc>
          <type name="Pad" c:type="GstPad*"/>
        </parameter>
        <parameter name="event"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">a sticky #GstEvent.</doc>
          <type name="Event" c:type="GstEvent**"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="2">
          <doc xml:space="preserve">the #gpointer to optional user data.</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <class name="PadTemplate"
           c:symbol-prefix="pad_template"
           c:type="GstPadTemplate"
           parent="Object"
           glib:type-name="GstPadTemplate"
           glib:get-type="gst_pad_template_get_type"
           glib:type-struct="PadTemplateClass">
      <doc xml:space="preserve">Padtemplates describe the possible media types a pad or an elementfactory can
handle. This allows for both inspection of handled types before loading the
element plugin as well as identifying pads on elements that are not yet
created (request or sometimes pads).

Pad and PadTemplates have #GstCaps attached to it to describe the media type
they are capable of dealing with. gst_pad_template_get_caps() or
GST_PAD_TEMPLATE_CAPS() are used to get the caps of a padtemplate. It's not
possible to modify the caps of a padtemplate after creation.

PadTemplates have a #GstPadPresence property which identifies the lifetime
of the pad and that can be retrieved with GST_PAD_TEMPLATE_PRESENCE(). Also
the direction of the pad can be retrieved from the #GstPadTemplate with
GST_PAD_TEMPLATE_DIRECTION().

The GST_PAD_TEMPLATE_NAME_TEMPLATE () is important for GST_PAD_REQUEST pads
because it has to be used as the name in the gst_element_get_request_pad()
call to instantiate a pad from this template.

Padtemplates can be created with gst_pad_template_new() or with
gst_static_pad_template_get (), which creates a #GstPadTemplate from a
#GstStaticPadTemplate that can be filled with the
convenient GST_STATIC_PAD_TEMPLATE() macro.

A padtemplate can be used to create a pad (see gst_pad_new_from_template()
or gst_pad_new_from_static_template ()) or to add to an element class
(see gst_element_class_add_static_pad_template ()).

The following code example shows the code to create a pad from a padtemplate.
|[&lt;!-- language="C" --&gt;
  GstStaticPadTemplate my_template =
  GST_STATIC_PAD_TEMPLATE (
    "sink",          // the name of the pad
    GST_PAD_SINK,    // the direction of the pad
    GST_PAD_ALWAYS,  // when this pad will be present
    GST_STATIC_CAPS (        // the capabilities of the padtemplate
      "audio/x-raw, "
        "channels = (int) [ 1, 6 ]"
    )
  );
  void
  my_method (void)
  {
    GstPad *pad;
    pad = gst_pad_new_from_static_template (&amp;amp;my_template, "sink");
    ...
  }
]|

The following example shows you how to add the padtemplate to an
element class, this is usually done in the class_init of the class:
|[&lt;!-- language="C" --&gt;
  static void
  my_element_class_init (GstMyElementClass *klass)
  {
    GstElementClass *gstelement_class = GST_ELEMENT_CLASS (klass);

    gst_element_class_add_static_pad_template (gstelement_class, &amp;amp;my_template);
  }
]|</doc>
      <constructor name="new" c:identifier="gst_pad_template_new">
        <doc xml:space="preserve">Creates a new pad template with a name according to the given template
and with the given arguments.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">a new #GstPadTemplate.</doc>
          <type name="PadTemplate" c:type="GstPadTemplate*"/>
        </return-value>
        <parameters>
          <parameter name="name_template" transfer-ownership="none">
            <doc xml:space="preserve">the name template.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="direction" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPadDirection of the template.</doc>
            <type name="PadDirection" c:type="GstPadDirection"/>
          </parameter>
          <parameter name="presence" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPadPresence of the pad.</doc>
            <type name="PadPresence" c:type="GstPadPresence"/>
          </parameter>
          <parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCaps set for the template.</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_from_static_pad_template_with_gtype"
                   c:identifier="gst_pad_template_new_from_static_pad_template_with_gtype"
                   version="1.14">
        <doc xml:space="preserve">Converts a #GstStaticPadTemplate into a #GstPadTemplate with a type.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a new #GstPadTemplate.</doc>
          <type name="PadTemplate" c:type="GstPadTemplate*"/>
        </return-value>
        <parameters>
          <parameter name="pad_template" transfer-ownership="none">
            <doc xml:space="preserve">the static pad template</doc>
            <type name="StaticPadTemplate" c:type="GstStaticPadTemplate*"/>
          </parameter>
          <parameter name="pad_type" transfer-ownership="none">
            <doc xml:space="preserve">The #GType of the pad to create</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_with_gtype"
                   c:identifier="gst_pad_template_new_with_gtype"
                   version="1.14">
        <doc xml:space="preserve">Creates a new pad template with a name according to the given template
and with the given arguments.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a new #GstPadTemplate.</doc>
          <type name="PadTemplate" c:type="GstPadTemplate*"/>
        </return-value>
        <parameters>
          <parameter name="name_template" transfer-ownership="none">
            <doc xml:space="preserve">the name template.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="direction" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPadDirection of the template.</doc>
            <type name="PadDirection" c:type="GstPadDirection"/>
          </parameter>
          <parameter name="presence" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPadPresence of the pad.</doc>
            <type name="PadPresence" c:type="GstPadPresence"/>
          </parameter>
          <parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">a #GstCaps set for the template.</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </parameter>
          <parameter name="pad_type" transfer-ownership="none">
            <doc xml:space="preserve">The #GType of the pad to create</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
        </parameters>
      </constructor>
      <virtual-method name="pad_created" invoker="pad_created">
        <doc xml:space="preserve">Emit the pad-created signal for this template when created by this pad.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="templ" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPadTemplate that has been created</doc>
            <type name="PadTemplate" c:type="GstPadTemplate*"/>
          </instance-parameter>
          <parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPad that created it</doc>
            <type name="Pad" c:type="GstPad*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="get_caps" c:identifier="gst_pad_template_get_caps">
        <doc xml:space="preserve">Gets the capabilities of the pad template.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the #GstCaps of the pad template.
Unref after usage.</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="templ" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPadTemplate to get capabilities of.</doc>
            <type name="PadTemplate" c:type="GstPadTemplate*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="pad_created" c:identifier="gst_pad_template_pad_created">
        <doc xml:space="preserve">Emit the pad-created signal for this template when created by this pad.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="templ" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPadTemplate that has been created</doc>
            <type name="PadTemplate" c:type="GstPadTemplate*"/>
          </instance-parameter>
          <parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPad that created it</doc>
            <type name="Pad" c:type="GstPad*"/>
          </parameter>
        </parameters>
      </method>
      <property name="caps"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The capabilities of the pad described by the pad template.</doc>
        <type name="Caps"/>
      </property>
      <property name="direction"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The direction of the pad described by the pad template.</doc>
        <type name="PadDirection"/>
      </property>
      <property name="gtype"
                version="1.14"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The type of the pad described by the pad template.</doc>
        <type name="GType" c:type="GType"/>
      </property>
      <property name="name-template"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The name template of the pad template.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="presence"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">When the pad described by the pad template will become available.</doc>
        <type name="PadPresence"/>
      </property>
      <field name="object">
        <type name="Object" c:type="GstObject"/>
      </field>
      <field name="name_template">
        <type name="utf8" c:type="gchar*"/>
      </field>
      <field name="direction">
        <type name="PadDirection" c:type="GstPadDirection"/>
      </field>
      <field name="presence">
        <type name="PadPresence" c:type="GstPadPresence"/>
      </field>
      <field name="caps">
        <type name="Caps" c:type="GstCaps*"/>
      </field>
      <union name="ABI" c:type="ABI">
        <field name="_gst_reserved" writable="1">
          <array zero-terminated="0" c:type="gpointer" fixed-size="4">
            <type name="gpointer" c:type="gpointer"/>
          </array>
        </field>
        <record name="abi" c:type="abi">
          <field name="gtype" writable="1">
            <type name="GType" c:type="GType"/>
          </field>
        </record>
      </union>
      <glib:signal name="pad-created" when="last">
        <doc xml:space="preserve">This signal is fired when an element creates a pad from this template.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the pad that was created.</doc>
            <type name="Pad"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="PadTemplateClass"
            c:type="GstPadTemplateClass"
            glib:is-gtype-struct-for="PadTemplate">
      <field name="parent_class">
        <type name="ObjectClass" c:type="GstObjectClass"/>
      </field>
      <field name="pad_created">
        <callback name="pad_created">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="templ" transfer-ownership="none">
              <doc xml:space="preserve">a #GstPadTemplate that has been created</doc>
              <type name="PadTemplate" c:type="GstPadTemplate*"/>
            </parameter>
            <parameter name="pad" transfer-ownership="none">
              <doc xml:space="preserve">the #GstPad that created it</doc>
              <type name="Pad" c:type="GstPad*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <bitfield name="PadTemplateFlags"
              glib:type-name="GstPadTemplateFlags"
              glib:get-type="gst_pad_template_flags_get_type"
              c:type="GstPadTemplateFlags">
      <doc xml:space="preserve">Flags for the padtemplate</doc>
      <member name="last"
              value="256"
              c:identifier="GST_PAD_TEMPLATE_FLAG_LAST"
              glib:nick="last">
        <doc xml:space="preserve">first flag that can be used by subclasses.</doc>
      </member>
    </bitfield>
    <callback name="PadUnlinkFunction" c:type="GstPadUnlinkFunction">
      <doc xml:space="preserve">Function signature to handle a unlinking the pad prom its peer.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="pad" transfer-ownership="none">
          <doc xml:space="preserve">the #GstPad that is linked.</doc>
          <type name="Pad" c:type="GstPad*"/>
        </parameter>
        <parameter name="parent"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">the parent of @pad. If the #GST_PAD_FLAG_NEED_PARENT
         flag is set, @parent is guaranteed to be not-%NULL and remain valid
         during the execution of this function.</doc>
          <type name="Object" c:type="GstObject*"/>
        </parameter>
      </parameters>
    </callback>
    <class name="ParamArray"
           c:symbol-prefix="param_spec_array"
           parent="GObject.ParamSpec"
           glib:type-name="GstParamArray"
           glib:get-type="gst_param_spec_array_get_type"
           glib:fundamental="1">
    </class>
    <class name="ParamFraction"
           c:symbol-prefix="param_spec_fraction"
           parent="GObject.ParamSpec"
           glib:type-name="GstParamFraction"
           glib:get-type="gst_param_spec_fraction_get_type"
           glib:fundamental="1">
    </class>
    <record name="ParamSpecArray" c:type="GstParamSpecArray">
      <doc xml:space="preserve">A GParamSpec derived structure that contains the meta data for fractional
properties.</doc>
      <field name="parent_instance" writable="1">
        <doc xml:space="preserve">super class</doc>
        <type name="GObject.ParamSpec" c:type="GParamSpec"/>
      </field>
      <field name="element_spec" writable="1">
        <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
      </field>
    </record>
    <record name="ParamSpecFraction" c:type="GstParamSpecFraction">
      <doc xml:space="preserve">A GParamSpec derived structure that contains the meta data for fractional
properties.</doc>
      <field name="parent_instance" writable="1">
        <doc xml:space="preserve">super class</doc>
        <type name="GObject.ParamSpec" c:type="GParamSpec"/>
      </field>
      <field name="min_num" writable="1">
        <doc xml:space="preserve">minimal numerator</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="min_den" writable="1">
        <doc xml:space="preserve">minimal denominator</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="max_num" writable="1">
        <doc xml:space="preserve">maximal numerator</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="max_den" writable="1">
        <doc xml:space="preserve">maximal denominator</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="def_num" writable="1">
        <doc xml:space="preserve">default numerator</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="def_den" writable="1">
        <doc xml:space="preserve">default denominator</doc>
        <type name="gint" c:type="gint"/>
      </field>
    </record>
    <record name="ParentBufferMeta" c:type="GstParentBufferMeta" version="1.6">
      <doc xml:space="preserve">The #GstParentBufferMeta is a #GstMeta which can be attached to a #GstBuffer
to hold a reference to another buffer that is only released when the child
#GstBuffer is released.

Typically, #GstParentBufferMeta is used when the child buffer is directly
using the #GstMemory of the parent buffer, and wants to prevent the parent
buffer from being returned to a buffer pool until the #GstMemory is available
for re-use.</doc>
      <field name="parent" writable="1">
        <doc xml:space="preserve">the parent #GstMeta structure</doc>
        <type name="Meta" c:type="GstMeta"/>
      </field>
      <field name="buffer" writable="1">
        <doc xml:space="preserve">the #GstBuffer on which a reference is being held.</doc>
        <type name="Buffer" c:type="GstBuffer*"/>
      </field>
      <function name="get_info"
                c:identifier="gst_parent_buffer_meta_get_info"
                version="1.6">
        <doc xml:space="preserve">Get the global #GstMetaInfo describing  the #GstParentBufferMeta meta.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The #GstMetaInfo</doc>
          <type name="MetaInfo" c:type="const GstMetaInfo*"/>
        </return-value>
      </function>
    </record>
    <record name="ParseContext"
            c:type="GstParseContext"
            glib:type-name="GstParseContext"
            glib:get-type="gst_parse_context_get_type"
            c:symbol-prefix="parse_context">
      <doc xml:space="preserve">Opaque structure.</doc>
      <constructor name="new" c:identifier="gst_parse_context_new">
        <doc xml:space="preserve">Allocates a parse context for use with gst_parse_launch_full() or
gst_parse_launchv_full().

Free-function: gst_parse_context_free</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a newly-allocated parse context. Free
    with gst_parse_context_free() when no longer needed.</doc>
          <type name="ParseContext" c:type="GstParseContext*"/>
        </return-value>
      </constructor>
      <method name="copy" c:identifier="gst_parse_context_copy">
        <doc xml:space="preserve">Copies the @context.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">A copied #GstParseContext</doc>
          <type name="ParseContext" c:type="GstParseContext*"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">a #GstParseContext</doc>
            <type name="ParseContext" c:type="const GstParseContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="free" c:identifier="gst_parse_context_free">
        <doc xml:space="preserve">Frees a parse context previously allocated with gst_parse_context_new().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="full">
            <doc xml:space="preserve">a #GstParseContext</doc>
            <type name="ParseContext" c:type="GstParseContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_missing_elements"
              c:identifier="gst_parse_context_get_missing_elements">
        <doc xml:space="preserve">Retrieve missing elements from a previous run of gst_parse_launch_full()
or gst_parse_launchv_full(). Will only return results if an error code
of %GST_PARSE_ERROR_NO_SUCH_ELEMENT was returned.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a
    %NULL-terminated array of element factory name strings of missing
    elements. Free with g_strfreev() when no longer needed.</doc>
          <array c:type="gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">a #GstParseContext</doc>
            <type name="ParseContext" c:type="GstParseContext*"/>
          </instance-parameter>
        </parameters>
      </method>
    </record>
    <enumeration name="ParseError"
                 glib:type-name="GstParseError"
                 glib:get-type="gst_parse_error_get_type"
                 c:type="GstParseError"
                 glib:error-domain="gst_parse_error">
      <doc xml:space="preserve">The different parsing errors that can occur.</doc>
      <member name="syntax"
              value="0"
              c:identifier="GST_PARSE_ERROR_SYNTAX"
              glib:nick="syntax">
        <doc xml:space="preserve">A syntax error occurred.</doc>
      </member>
      <member name="no_such_element"
              value="1"
              c:identifier="GST_PARSE_ERROR_NO_SUCH_ELEMENT"
              glib:nick="no-such-element">
        <doc xml:space="preserve">The description contained an unknown element</doc>
      </member>
      <member name="no_such_property"
              value="2"
              c:identifier="GST_PARSE_ERROR_NO_SUCH_PROPERTY"
              glib:nick="no-such-property">
        <doc xml:space="preserve">An element did not have a specified property</doc>
      </member>
      <member name="link"
              value="3"
              c:identifier="GST_PARSE_ERROR_LINK"
              glib:nick="link">
        <doc xml:space="preserve">There was an error linking two pads.</doc>
      </member>
      <member name="could_not_set_property"
              value="4"
              c:identifier="GST_PARSE_ERROR_COULD_NOT_SET_PROPERTY"
              glib:nick="could-not-set-property">
        <doc xml:space="preserve">There was an error setting a property</doc>
      </member>
      <member name="empty_bin"
              value="5"
              c:identifier="GST_PARSE_ERROR_EMPTY_BIN"
              glib:nick="empty-bin">
        <doc xml:space="preserve">An empty bin was specified.</doc>
      </member>
      <member name="empty"
              value="6"
              c:identifier="GST_PARSE_ERROR_EMPTY"
              glib:nick="empty">
        <doc xml:space="preserve">An empty description was specified</doc>
      </member>
      <member name="delayed_link"
              value="7"
              c:identifier="GST_PARSE_ERROR_DELAYED_LINK"
              glib:nick="delayed-link">
        <doc xml:space="preserve">A delayed link did not get resolved.</doc>
      </member>
      <function name="quark" c:identifier="gst_parse_error_quark">
        <doc xml:space="preserve">Get the error quark used by the parsing subsystem.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the quark of the parse errors.</doc>
          <type name="GLib.Quark" c:type="GQuark"/>
        </return-value>
      </function>
    </enumeration>
    <bitfield name="ParseFlags"
              glib:type-name="GstParseFlags"
              glib:get-type="gst_parse_flags_get_type"
              c:type="GstParseFlags">
      <doc xml:space="preserve">Parsing options.</doc>
      <member name="none"
              value="0"
              c:identifier="GST_PARSE_FLAG_NONE"
              glib:nick="none">
        <doc xml:space="preserve">Do not use any special parsing options.</doc>
      </member>
      <member name="fatal_errors"
              value="1"
              c:identifier="GST_PARSE_FLAG_FATAL_ERRORS"
              glib:nick="fatal-errors">
        <doc xml:space="preserve">Always return %NULL when an error occurs
    (default behaviour is to return partially constructed bins or elements
     in some cases)</doc>
      </member>
      <member name="no_single_element_bins"
              value="2"
              c:identifier="GST_PARSE_FLAG_NO_SINGLE_ELEMENT_BINS"
              glib:nick="no-single-element-bins">
        <doc xml:space="preserve">If a bin only has a single element,
    just return the element.</doc>
      </member>
      <member name="place_in_bin"
              value="4"
              c:identifier="GST_PARSE_FLAG_PLACE_IN_BIN"
              glib:nick="place-in-bin">
        <doc xml:space="preserve">If more than one toplevel element is described
    by the pipeline description string, put them in a #GstBin instead of a
    #GstPipeline. (Since 1.10)</doc>
      </member>
    </bitfield>
    <class name="Pipeline"
           c:symbol-prefix="pipeline"
           c:type="GstPipeline"
           parent="Bin"
           glib:type-name="GstPipeline"
           glib:get-type="gst_pipeline_get_type"
           glib:type-struct="PipelineClass">
      <doc xml:space="preserve">A #GstPipeline is a special #GstBin used as the toplevel container for
the filter graph. The #GstPipeline will manage the selection and
distribution of a global #GstClock as well as provide a #GstBus to the
application.

gst_pipeline_new() is used to create a pipeline. when you are done with
the pipeline, use gst_object_unref() to free its resources including all
added #GstElement objects (if not otherwise referenced).

Elements are added and removed from the pipeline using the #GstBin
methods like gst_bin_add() and gst_bin_remove() (see #GstBin).

Before changing the state of the #GstPipeline (see #GstElement) a #GstBus
can be retrieved with gst_pipeline_get_bus(). This bus can then be
used to receive #GstMessage from the elements in the pipeline.

By default, a #GstPipeline will automatically flush the pending #GstBus
messages when going to the NULL state to ensure that no circular
references exist when no messages are read from the #GstBus. This
behaviour can be changed with gst_pipeline_set_auto_flush_bus().

When the #GstPipeline performs the PAUSED to PLAYING state change it will
select a clock for the elements. The clock selection algorithm will by
default select a clock provided by an element that is most upstream
(closest to the source). For live pipelines (ones that return
#GST_STATE_CHANGE_NO_PREROLL from the gst_element_set_state() call) this
will select the clock provided by the live source. For normal pipelines
this will select a clock provided by the sinks (most likely the audio
sink). If no element provides a clock, a default #GstSystemClock is used.

The clock selection can be controlled with the gst_pipeline_use_clock()
method, which will enforce a given clock on the pipeline. With
gst_pipeline_auto_clock() the default clock selection algorithm can be
restored.

A #GstPipeline maintains a running time for the elements. The running
time is defined as the difference between the current clock time and
the base time. When the pipeline goes to READY or a flushing seek is
performed on it, the running time is reset to 0. When the pipeline is
set from PLAYING to PAUSED, the current clock time is sampled and used to
configure the base time for the elements when the pipeline is set
to PLAYING again. The effect is that the running time (as the difference
between the clock time and the base time) will count how much time was spent
in the PLAYING state. This default behaviour can be changed with the
gst_element_set_start_time() method.</doc>
      <implements name="ChildProxy"/>
      <constructor name="new" c:identifier="gst_pipeline_new">
        <doc xml:space="preserve">Create a new pipeline with the given name.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">newly created GstPipeline

MT safe.</doc>
          <type name="Element" c:type="GstElement*"/>
        </return-value>
        <parameters>
          <parameter name="name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">name of new pipeline</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="auto_clock" c:identifier="gst_pipeline_auto_clock">
        <doc xml:space="preserve">Let @pipeline select a clock automatically. This is the default
behaviour.

Use this function if you previous forced a fixed clock with
gst_pipeline_use_clock() and want to restore the default
pipeline clock selection algorithm.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pipeline" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPipeline</doc>
            <type name="Pipeline" c:type="GstPipeline*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_auto_flush_bus"
              c:identifier="gst_pipeline_get_auto_flush_bus">
        <doc xml:space="preserve">Check if @pipeline will automatically flush messages when going to
the NULL state.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">whether the pipeline will automatically flush its bus when
going from READY to NULL state or not.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pipeline" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPipeline</doc>
            <type name="Pipeline" c:type="GstPipeline*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_bus" c:identifier="gst_pipeline_get_bus">
        <doc xml:space="preserve">Gets the #GstBus of @pipeline. The bus allows applications to receive
#GstMessage packets.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GstBus, unref after usage.

MT safe.</doc>
          <type name="Bus" c:type="GstBus*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pipeline" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPipeline</doc>
            <type name="Pipeline" c:type="GstPipeline*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_clock"
              c:identifier="gst_pipeline_get_clock"
              introspectable="0">
        <doc xml:space="preserve">Gets the current clock used by @pipeline. Users of object
oriented languages should use gst_pipeline_get_pipeline_clock()
to avoid confusion with gst_element_get_clock() which has a different behavior.

Unlike gst_element_get_clock(), this function will always return a
clock, even if the pipeline is not in the PLAYING state.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GstClock, unref after usage.</doc>
          <type name="Clock" c:type="GstClock*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pipeline" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPipeline</doc>
            <type name="Pipeline" c:type="GstPipeline*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_delay" c:identifier="gst_pipeline_get_delay">
        <doc xml:space="preserve">Get the configured delay (see gst_pipeline_set_delay()).</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The configured delay.

MT safe.</doc>
          <type name="ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <instance-parameter name="pipeline" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPipeline</doc>
            <type name="Pipeline" c:type="GstPipeline*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_latency"
              c:identifier="gst_pipeline_get_latency"
              version="1.6">
        <doc xml:space="preserve">Gets the latency that should be configured on the pipeline. See
gst_pipeline_set_latency().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">Latency to configure on the pipeline or GST_CLOCK_TIME_NONE</doc>
          <type name="ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <instance-parameter name="pipeline" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPipeline</doc>
            <type name="Pipeline" c:type="GstPipeline*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_pipeline_clock"
              c:identifier="gst_pipeline_get_pipeline_clock"
              version="1.6">
        <doc xml:space="preserve">Gets the current clock used by @pipeline.

Unlike gst_element_get_clock(), this function will always return a
clock, even if the pipeline is not in the PLAYING state.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GstClock, unref after usage.</doc>
          <type name="Clock" c:type="GstClock*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pipeline" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPipeline</doc>
            <type name="Pipeline" c:type="GstPipeline*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_auto_flush_bus"
              c:identifier="gst_pipeline_set_auto_flush_bus">
        <doc xml:space="preserve">Usually, when a pipeline goes from READY to NULL state, it automatically
flushes all pending messages on the bus, which is done for refcounting
purposes, to break circular references.

This means that applications that update state using (async) bus messages
(e.g. do certain things when a pipeline goes from PAUSED to READY) might
not get to see messages when the pipeline is shut down, because they might
be flushed before they can be dispatched in the main thread. This behaviour
can be disabled using this function.

It is important that all messages on the bus are handled when the
automatic flushing is disabled else memory leaks will be introduced.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pipeline" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPipeline</doc>
            <type name="Pipeline" c:type="GstPipeline*"/>
          </instance-parameter>
          <parameter name="auto_flush" transfer-ownership="none">
            <doc xml:space="preserve">whether or not to automatically flush the bus when
the pipeline goes from READY to NULL state</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_clock"
              c:identifier="gst_pipeline_set_clock"
              introspectable="0">
        <doc xml:space="preserve">Set the clock for @pipeline. The clock will be distributed
to all the elements managed by the pipeline.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the clock could be set on the pipeline. %FALSE if
  some element did not accept the clock.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pipeline" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPipeline</doc>
            <type name="Pipeline" c:type="GstPipeline*"/>
          </instance-parameter>
          <parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve">the clock to set</doc>
            <type name="Clock" c:type="GstClock*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_delay" c:identifier="gst_pipeline_set_delay">
        <doc xml:space="preserve">Set the expected delay needed for all elements to perform the
PAUSED to PLAYING state change. @delay will be added to the
base time of the elements so that they wait an additional @delay
amount of time before starting to process buffers and cannot be
#GST_CLOCK_TIME_NONE.

This option is used for tuning purposes and should normally not be
used.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pipeline" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPipeline</doc>
            <type name="Pipeline" c:type="GstPipeline*"/>
          </instance-parameter>
          <parameter name="delay" transfer-ownership="none">
            <doc xml:space="preserve">the delay</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_latency"
              c:identifier="gst_pipeline_set_latency"
              version="1.6">
        <doc xml:space="preserve">Sets the latency that should be configured on the pipeline. Setting
GST_CLOCK_TIME_NONE will restore the default behaviour of using the minimum
latency from the LATENCY query. Setting this is usually not required and
the pipeline will figure out an appropriate latency automatically.

Setting a too low latency, especially lower than the minimum latency from
the LATENCY query, will most likely cause the pipeline to fail.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pipeline" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPipeline</doc>
            <type name="Pipeline" c:type="GstPipeline*"/>
          </instance-parameter>
          <parameter name="latency" transfer-ownership="none">
            <doc xml:space="preserve">latency to configure</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="use_clock" c:identifier="gst_pipeline_use_clock">
        <doc xml:space="preserve">Force @pipeline to use the given @clock. The pipeline will
always use the given clock even if new clock providers are added
to this pipeline.

If @clock is %NULL all clocking will be disabled which will make
the pipeline run as fast as possible.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pipeline" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPipeline</doc>
            <type name="Pipeline" c:type="GstPipeline*"/>
          </instance-parameter>
          <parameter name="clock"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the clock to use</doc>
            <type name="Clock" c:type="GstClock*"/>
          </parameter>
        </parameters>
      </method>
      <property name="auto-flush-bus" writable="1" transfer-ownership="none">
        <doc xml:space="preserve">Whether or not to automatically flush all messages on the
pipeline's bus when going from READY to NULL state. Please see
gst_pipeline_set_auto_flush_bus() for more information on this option.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="delay" writable="1" transfer-ownership="none">
        <doc xml:space="preserve">The expected delay needed for elements to spin up to the
PLAYING state expressed in nanoseconds.
see gst_pipeline_set_delay() for more information on this option.</doc>
        <type name="guint64" c:type="guint64"/>
      </property>
      <property name="latency"
                version="1.6"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve">Latency to configure on the pipeline. See gst_pipeline_set_latency().</doc>
        <type name="guint64" c:type="guint64"/>
      </property>
      <field name="bin">
        <type name="Bin" c:type="GstBin"/>
      </field>
      <field name="fixed_clock">
        <doc xml:space="preserve">The fixed clock of the pipeline, used when
              GST_PIPELINE_FLAG_FIXED_CLOCK is set.</doc>
        <type name="Clock" c:type="GstClock*"/>
      </field>
      <field name="stream_time">
        <doc xml:space="preserve">The stream time of the pipeline. A better name for this
        property would be the running_time, the total time spent in the
        PLAYING state without being flushed. (deprecated, use the start_time
        on GstElement).</doc>
        <type name="ClockTime" c:type="GstClockTime"/>
      </field>
      <field name="delay">
        <doc xml:space="preserve">Extra delay added to base_time to compensate for computing delays
        when setting elements to PLAYING.</doc>
        <type name="ClockTime" c:type="GstClockTime"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="PipelinePrivate" c:type="GstPipelinePrivate*"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </class>
    <record name="PipelineClass"
            c:type="GstPipelineClass"
            glib:is-gtype-struct-for="Pipeline">
      <field name="parent_class">
        <type name="BinClass" c:type="GstBinClass"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <bitfield name="PipelineFlags"
              glib:type-name="GstPipelineFlags"
              glib:get-type="gst_pipeline_flags_get_type"
              c:type="GstPipelineFlags">
      <doc xml:space="preserve">Pipeline flags</doc>
      <member name="fixed_clock"
              value="524288"
              c:identifier="GST_PIPELINE_FLAG_FIXED_CLOCK"
              glib:nick="fixed-clock">
        <doc xml:space="preserve">this pipeline works with a fixed clock</doc>
      </member>
      <member name="last"
              value="8388608"
              c:identifier="GST_PIPELINE_FLAG_LAST"
              glib:nick="last">
        <doc xml:space="preserve">offset to define more flags</doc>
      </member>
    </bitfield>
    <record name="PipelinePrivate" c:type="GstPipelinePrivate" disguised="1">
    </record>
    <class name="Plugin"
           c:symbol-prefix="plugin"
           c:type="GstPlugin"
           parent="Object"
           glib:type-name="GstPlugin"
           glib:get-type="gst_plugin_get_type"
           glib:type-struct="PluginClass">
      <doc xml:space="preserve">GStreamer is extensible, so #GstElement instances can be loaded at runtime.
A plugin system can provide one or more of the basic
&lt;application&gt;GStreamer&lt;/application&gt; #GstPluginFeature subclasses.

A plugin should export a symbol &lt;symbol&gt;gst_plugin_desc&lt;/symbol&gt; that is a
struct of type #GstPluginDesc.
the plugin loader will check the version of the core library the plugin was
linked against and will create a new #GstPlugin. It will then call the
#GstPluginInitFunc function that was provided in the
&lt;symbol&gt;gst_plugin_desc&lt;/symbol&gt;.

Once you have a handle to a #GstPlugin (e.g. from the #GstRegistry), you
can add any object that subclasses #GstPluginFeature.

Usually plugins are always automatically loaded so you don't need to call
gst_plugin_load() explicitly to bring it into memory. There are options to
statically link plugins to an app or even use GStreamer without a plugin
repository in which case gst_plugin_load() can be needed to bring the plugin
into memory.</doc>
      <function name="list_free" c:identifier="gst_plugin_list_free">
        <doc xml:space="preserve">Unrefs each member of @list, then frees the list.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="list" transfer-ownership="full">
            <doc xml:space="preserve">list of #GstPlugin</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="Plugin"/>
            </type>
          </parameter>
        </parameters>
      </function>
      <function name="load_by_name" c:identifier="gst_plugin_load_by_name">
        <doc xml:space="preserve">Load the named plugin. Refs the plugin.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a reference to a loaded plugin, or
%NULL on error.</doc>
          <type name="Plugin" c:type="GstPlugin*"/>
        </return-value>
        <parameters>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">name of plugin to load</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="load_file"
                c:identifier="gst_plugin_load_file"
                throws="1">
        <doc xml:space="preserve">Loads the given plugin and refs it.  Caller needs to unref after use.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a reference to the existing loaded GstPlugin, a
reference to the newly-loaded GstPlugin, or %NULL if an error occurred.</doc>
          <type name="Plugin" c:type="GstPlugin*"/>
        </return-value>
        <parameters>
          <parameter name="filename" transfer-ownership="none">
            <doc xml:space="preserve">the plugin filename to load</doc>
            <type name="filename" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="register_static"
                c:identifier="gst_plugin_register_static">
        <doc xml:space="preserve">Registers a static plugin, ie. a plugin which is private to an application
or library and contained within the application or library (as opposed to
being shipped as a separate module file).

You must make sure that GStreamer has been initialised (with gst_init() or
via gst_init_get_option_group()) before calling this function.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the plugin was registered correctly, otherwise %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="major_version" transfer-ownership="none">
            <doc xml:space="preserve">the major version number of the GStreamer core that the
    plugin was compiled for, you can just use GST_VERSION_MAJOR here</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="minor_version" transfer-ownership="none">
            <doc xml:space="preserve">the minor version number of the GStreamer core that the
    plugin was compiled for, you can just use GST_VERSION_MINOR here</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">a unique name of the plugin (ideally prefixed with an application- or
    library-specific namespace prefix in order to avoid name conflicts in
    case a similar plugin with the same name ever gets added to GStreamer)</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="description" transfer-ownership="none">
            <doc xml:space="preserve">description of the plugin</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="init_func" transfer-ownership="none" scope="call">
            <doc xml:space="preserve">pointer to the init function of this plugin.</doc>
            <type name="PluginInitFunc" c:type="GstPluginInitFunc"/>
          </parameter>
          <parameter name="version" transfer-ownership="none">
            <doc xml:space="preserve">version string of the plugin</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="license" transfer-ownership="none">
            <doc xml:space="preserve">effective license of plugin. Must be one of the approved licenses
    (see #GstPluginDesc above) or the plugin will not be registered.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="source" transfer-ownership="none">
            <doc xml:space="preserve">source module plugin belongs to</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="package" transfer-ownership="none">
            <doc xml:space="preserve">shipped package plugin belongs to</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="origin" transfer-ownership="none">
            <doc xml:space="preserve">URL to provider of plugin</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="register_static_full"
                c:identifier="gst_plugin_register_static_full">
        <doc xml:space="preserve">Registers a static plugin, ie. a plugin which is private to an application
or library and contained within the application or library (as opposed to
being shipped as a separate module file) with a #GstPluginInitFullFunc
which allows user data to be passed to the callback function (useful
for bindings).

You must make sure that GStreamer has been initialised (with gst_init() or
via gst_init_get_option_group()) before calling this function.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the plugin was registered correctly, otherwise %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="major_version" transfer-ownership="none">
            <doc xml:space="preserve">the major version number of the GStreamer core that the
    plugin was compiled for, you can just use GST_VERSION_MAJOR here</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="minor_version" transfer-ownership="none">
            <doc xml:space="preserve">the minor version number of the GStreamer core that the
    plugin was compiled for, you can just use GST_VERSION_MINOR here</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">a unique name of the plugin (ideally prefixed with an application- or
    library-specific namespace prefix in order to avoid name conflicts in
    case a similar plugin with the same name ever gets added to GStreamer)</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="description" transfer-ownership="none">
            <doc xml:space="preserve">description of the plugin</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="init_full_func"
                     transfer-ownership="none"
                     scope="call"
                     closure="10">
            <doc xml:space="preserve">pointer to the init function with user data
    of this plugin.</doc>
            <type name="PluginInitFullFunc" c:type="GstPluginInitFullFunc"/>
          </parameter>
          <parameter name="version" transfer-ownership="none">
            <doc xml:space="preserve">version string of the plugin</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="license" transfer-ownership="none">
            <doc xml:space="preserve">effective license of plugin. Must be one of the approved licenses
    (see #GstPluginDesc above) or the plugin will not be registered.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="source" transfer-ownership="none">
            <doc xml:space="preserve">source module plugin belongs to</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="package" transfer-ownership="none">
            <doc xml:space="preserve">shipped package plugin belongs to</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="origin" transfer-ownership="none">
            <doc xml:space="preserve">URL to provider of plugin</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">gpointer to user data</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </function>
      <method name="add_dependency" c:identifier="gst_plugin_add_dependency">
        <doc xml:space="preserve">Make GStreamer aware of external dependencies which affect the feature
set of this plugin (ie. the elements or typefinders associated with it).

GStreamer will re-inspect plugins with external dependencies whenever any
of the external dependencies change. This is useful for plugins which wrap
other plugin systems, e.g. a plugin which wraps a plugin-based visualisation
library and makes visualisations available as GStreamer elements, or a
codec loader which exposes elements and/or caps dependent on what external
codec libraries are currently installed.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="plugin" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPlugin</doc>
            <type name="Plugin" c:type="GstPlugin*"/>
          </instance-parameter>
          <parameter name="env_vars"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">%NULL-terminated array of environment variables affecting the
    feature set of the plugin (e.g. an environment variable containing
    paths where to look for additional modules/plugins of a library),
    or %NULL. Environment variable names may be followed by a path component
     which will be added to the content of the environment variable, e.g.
     "HOME/.mystuff/plugins".</doc>
            <array c:type="gchar**">
              <type name="utf8" c:type="gchar*"/>
            </array>
          </parameter>
          <parameter name="paths"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">%NULL-terminated array of directories/paths where dependent files
    may be, or %NULL.</doc>
            <array c:type="gchar**">
              <type name="utf8" c:type="gchar*"/>
            </array>
          </parameter>
          <parameter name="names"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">%NULL-terminated array of file names (or file name suffixes,
    depending on @flags) to be used in combination with the paths from
    @paths and/or the paths extracted from the environment variables in
    @env_vars, or %NULL.</doc>
            <array c:type="gchar**">
              <type name="utf8" c:type="gchar*"/>
            </array>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">optional flags, or #GST_PLUGIN_DEPENDENCY_FLAG_NONE</doc>
            <type name="PluginDependencyFlags"
                  c:type="GstPluginDependencyFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_dependency_simple"
              c:identifier="gst_plugin_add_dependency_simple">
        <doc xml:space="preserve">Make GStreamer aware of external dependencies which affect the feature
set of this plugin (ie. the elements or typefinders associated with it).

GStreamer will re-inspect plugins with external dependencies whenever any
of the external dependencies change. This is useful for plugins which wrap
other plugin systems, e.g. a plugin which wraps a plugin-based visualisation
library and makes visualisations available as GStreamer elements, or a
codec loader which exposes elements and/or caps dependent on what external
codec libraries are currently installed.

Convenience wrapper function for gst_plugin_add_dependency() which
takes simple strings as arguments instead of string arrays, with multiple
arguments separated by predefined delimiters (see above).</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="plugin" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPlugin</doc>
            <type name="Plugin" c:type="GstPlugin*"/>
          </instance-parameter>
          <parameter name="env_vars"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">one or more environment variables (separated by ':', ';' or ','),
     or %NULL. Environment variable names may be followed by a path component
     which will be added to the content of the environment variable, e.g.
     "HOME/.mystuff/plugins:MYSTUFF_PLUGINS_PATH"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="paths"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">one ore more directory paths (separated by ':' or ';' or ','),
     or %NULL. Example: "/usr/lib/mystuff/plugins"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="names"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">one or more file names or file name suffixes (separated by commas),
     or %NULL</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">optional flags, or #GST_PLUGIN_DEPENDENCY_FLAG_NONE</doc>
            <type name="PluginDependencyFlags"
                  c:type="GstPluginDependencyFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_cache_data" c:identifier="gst_plugin_get_cache_data">
        <doc xml:space="preserve">Gets the plugin specific data cache. If it is %NULL there is no cached data
stored. This is the case when the registry is getting rebuilt.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">The cached data as a
#GstStructure or %NULL.</doc>
          <type name="Structure" c:type="const GstStructure*"/>
        </return-value>
        <parameters>
          <instance-parameter name="plugin" transfer-ownership="none">
            <doc xml:space="preserve">a plugin</doc>
            <type name="Plugin" c:type="GstPlugin*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_description" c:identifier="gst_plugin_get_description">
        <doc xml:space="preserve">Get the long descriptive name of the plugin</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the long name of the plugin</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="plugin" transfer-ownership="none">
            <doc xml:space="preserve">plugin to get long name of</doc>
            <type name="Plugin" c:type="GstPlugin*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_filename" c:identifier="gst_plugin_get_filename">
        <doc xml:space="preserve">get the filename of the plugin</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the filename of the plugin</doc>
          <type name="filename" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="plugin" transfer-ownership="none">
            <doc xml:space="preserve">plugin to get the filename of</doc>
            <type name="Plugin" c:type="GstPlugin*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_license" c:identifier="gst_plugin_get_license">
        <doc xml:space="preserve">get the license of the plugin</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the license of the plugin</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="plugin" transfer-ownership="none">
            <doc xml:space="preserve">plugin to get the license of</doc>
            <type name="Plugin" c:type="GstPlugin*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name" c:identifier="gst_plugin_get_name">
        <doc xml:space="preserve">Get the short name of the plugin</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the name of the plugin</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="plugin" transfer-ownership="none">
            <doc xml:space="preserve">plugin to get the name of</doc>
            <type name="Plugin" c:type="GstPlugin*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_origin" c:identifier="gst_plugin_get_origin">
        <doc xml:space="preserve">get the URL where the plugin comes from</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the origin of the plugin</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="plugin" transfer-ownership="none">
            <doc xml:space="preserve">plugin to get the origin of</doc>
            <type name="Plugin" c:type="GstPlugin*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_package" c:identifier="gst_plugin_get_package">
        <doc xml:space="preserve">get the package the plugin belongs to.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the package of the plugin</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="plugin" transfer-ownership="none">
            <doc xml:space="preserve">plugin to get the package of</doc>
            <type name="Plugin" c:type="GstPlugin*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_release_date_string"
              c:identifier="gst_plugin_get_release_date_string">
        <doc xml:space="preserve">Get the release date (and possibly time) in form of a string, if available.

For normal GStreamer plugin releases this will usually just be a date in
the form of "YYYY-MM-DD", while pre-releases and builds from git may contain
a time component after the date as well, in which case the string will be
formatted like "YYYY-MM-DDTHH:MMZ" (e.g. "2012-04-30T09:30Z").

There may be plugins that do not have a valid release date set on them.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">the date string of the plugin, or %NULL if not
available.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="plugin" transfer-ownership="none">
            <doc xml:space="preserve">plugin to get the release date of</doc>
            <type name="Plugin" c:type="GstPlugin*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_source" c:identifier="gst_plugin_get_source">
        <doc xml:space="preserve">get the source module the plugin belongs to.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the source of the plugin</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="plugin" transfer-ownership="none">
            <doc xml:space="preserve">plugin to get the source of</doc>
            <type name="Plugin" c:type="GstPlugin*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_version" c:identifier="gst_plugin_get_version">
        <doc xml:space="preserve">get the version of the plugin</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the version of the plugin</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="plugin" transfer-ownership="none">
            <doc xml:space="preserve">plugin to get the version of</doc>
            <type name="Plugin" c:type="GstPlugin*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_loaded" c:identifier="gst_plugin_is_loaded">
        <doc xml:space="preserve">queries if the plugin is loaded into memory</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE is loaded, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="plugin" transfer-ownership="none">
            <doc xml:space="preserve">plugin to query</doc>
            <type name="Plugin" c:type="GstPlugin*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="load" c:identifier="gst_plugin_load">
        <doc xml:space="preserve">Loads @plugin. Note that the *return value* is the loaded plugin; @plugin is
untouched. The normal use pattern of this function goes like this:

|[
GstPlugin *loaded_plugin;
loaded_plugin = gst_plugin_load (plugin);
// presumably, we're no longer interested in the potentially-unloaded plugin
gst_object_unref (plugin);
plugin = loaded_plugin;
]|</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a reference to a loaded plugin, or
%NULL on error.</doc>
          <type name="Plugin" c:type="GstPlugin*"/>
        </return-value>
        <parameters>
          <instance-parameter name="plugin" transfer-ownership="none">
            <doc xml:space="preserve">plugin to load</doc>
            <type name="Plugin" c:type="GstPlugin*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_cache_data" c:identifier="gst_plugin_set_cache_data">
        <doc xml:space="preserve">Adds plugin specific data to cache. Passes the ownership of the structure to
the @plugin.

The cache is flushed every time the registry is rebuilt.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="plugin" transfer-ownership="none">
            <doc xml:space="preserve">a plugin</doc>
            <type name="Plugin" c:type="GstPlugin*"/>
          </instance-parameter>
          <parameter name="cache_data" transfer-ownership="full">
            <doc xml:space="preserve">a structure containing the data to cache</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
        </parameters>
      </method>
    </class>
    <record name="PluginClass"
            c:type="GstPluginClass"
            disguised="1"
            glib:is-gtype-struct-for="Plugin">
    </record>
    <bitfield name="PluginDependencyFlags"
              glib:type-name="GstPluginDependencyFlags"
              glib:get-type="gst_plugin_dependency_flags_get_type"
              c:type="GstPluginDependencyFlags">
      <doc xml:space="preserve">Flags used in connection with gst_plugin_add_dependency().</doc>
      <member name="none"
              value="0"
              c:identifier="GST_PLUGIN_DEPENDENCY_FLAG_NONE"
              glib:nick="none">
        <doc xml:space="preserve">no special flags</doc>
      </member>
      <member name="recurse"
              value="1"
              c:identifier="GST_PLUGIN_DEPENDENCY_FLAG_RECURSE"
              glib:nick="recurse">
        <doc xml:space="preserve">recurse into subdirectories</doc>
      </member>
      <member name="paths_are_default_only"
              value="2"
              c:identifier="GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY"
              glib:nick="paths-are-default-only">
        <doc xml:space="preserve">use paths
        argument only if none of the environment variables is set</doc>
      </member>
      <member name="file_name_is_suffix"
              value="4"
              c:identifier="GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX"
              glib:nick="file-name-is-suffix">
        <doc xml:space="preserve">interpret
        filename argument as filter suffix and check all matching files in
        the directory</doc>
      </member>
      <member name="file_name_is_prefix"
              value="8"
              c:identifier="GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_PREFIX"
              glib:nick="file-name-is-prefix">
        <doc xml:space="preserve">interpret
        filename argument as filter prefix and check all matching files in
        the directory. Since 1.8.</doc>
      </member>
      <member name="paths_are_relative_to_exe"
              value="16"
              c:identifier="GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_RELATIVE_TO_EXE"
              glib:nick="paths-are-relative-to-exe">
        <doc xml:space="preserve">interpret
  non-absolute paths as relative to the main executable directory. Since
  1.14.</doc>
      </member>
    </bitfield>
    <record name="PluginDesc" c:type="GstPluginDesc">
      <doc xml:space="preserve">A plugin should export a variable of this type called plugin_desc. The plugin
loader will use the data provided there to initialize the plugin.

The @licence parameter must be one of: LGPL, GPL, QPL, GPL/QPL, MPL,
BSD, MIT/X11, Proprietary, unknown.</doc>
      <field name="major_version" writable="1">
        <doc xml:space="preserve">the major version number of core that plugin was compiled for</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="minor_version" writable="1">
        <doc xml:space="preserve">the minor version number of core that plugin was compiled for</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="name" writable="1">
        <doc xml:space="preserve">a unique name of the plugin</doc>
        <type name="utf8" c:type="const gchar*"/>
      </field>
      <field name="description" writable="1">
        <doc xml:space="preserve">description of plugin</doc>
        <type name="utf8" c:type="const gchar*"/>
      </field>
      <field name="plugin_init" writable="1">
        <doc xml:space="preserve">pointer to the init function of this plugin.</doc>
        <type name="PluginInitFunc" c:type="GstPluginInitFunc"/>
      </field>
      <field name="version" writable="1">
        <doc xml:space="preserve">version of the plugin</doc>
        <type name="utf8" c:type="const gchar*"/>
      </field>
      <field name="license" writable="1">
        <doc xml:space="preserve">effective license of plugin</doc>
        <type name="utf8" c:type="const gchar*"/>
      </field>
      <field name="source" writable="1">
        <doc xml:space="preserve">source module plugin belongs to</doc>
        <type name="utf8" c:type="const gchar*"/>
      </field>
      <field name="package" writable="1">
        <doc xml:space="preserve">shipped package plugin belongs to</doc>
        <type name="utf8" c:type="const gchar*"/>
      </field>
      <field name="origin" writable="1">
        <doc xml:space="preserve">URL to provider of plugin</doc>
        <type name="utf8" c:type="const gchar*"/>
      </field>
      <field name="release_datetime" writable="1">
        <doc xml:space="preserve">date time string in ISO 8601
    format (or rather, a subset thereof), or %NULL. Allowed are the
    following formats: "YYYY-MM-DD" and "YYY-MM-DDTHH:MMZ" (with
    'T' a separator and 'Z' indicating UTC/Zulu time). This field
    should be set via the GST_PACKAGE_RELEASE_DATETIME
    preprocessor macro.</doc>
        <type name="utf8" c:type="const gchar*"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <enumeration name="PluginError"
                 glib:type-name="GstPluginError"
                 glib:get-type="gst_plugin_error_get_type"
                 c:type="GstPluginError"
                 glib:error-domain="gst_plugin_error">
      <doc xml:space="preserve">The plugin loading errors</doc>
      <member name="module"
              value="0"
              c:identifier="GST_PLUGIN_ERROR_MODULE"
              glib:nick="module">
        <doc xml:space="preserve">The plugin could not be loaded</doc>
      </member>
      <member name="dependencies"
              value="1"
              c:identifier="GST_PLUGIN_ERROR_DEPENDENCIES"
              glib:nick="dependencies">
        <doc xml:space="preserve">The plugin has unresolved dependencies</doc>
      </member>
      <member name="name_mismatch"
              value="2"
              c:identifier="GST_PLUGIN_ERROR_NAME_MISMATCH"
              glib:nick="name-mismatch">
        <doc xml:space="preserve">The plugin has already be loaded from a different file</doc>
      </member>
      <function name="quark" c:identifier="gst_plugin_error_quark">
        <doc xml:space="preserve">Get the error quark.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The error quark used in GError messages</doc>
          <type name="GLib.Quark" c:type="GQuark"/>
        </return-value>
      </function>
    </enumeration>
    <class name="PluginFeature"
           c:symbol-prefix="plugin_feature"
           c:type="GstPluginFeature"
           parent="Object"
           abstract="1"
           glib:type-name="GstPluginFeature"
           glib:get-type="gst_plugin_feature_get_type"
           glib:type-struct="PluginFeatureClass">
      <doc xml:space="preserve">This is a base class for anything that can be added to a #GstPlugin.</doc>
      <function name="list_copy" c:identifier="gst_plugin_feature_list_copy">
        <doc xml:space="preserve">Copies the list of features. Caller should call @gst_plugin_feature_list_free
when done with the list.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a copy of @list,
    with each feature's reference count incremented.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="PluginFeature"/>
          </type>
        </return-value>
        <parameters>
          <parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">list
    of #GstPluginFeature</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="PluginFeature"/>
            </type>
          </parameter>
        </parameters>
      </function>
      <function name="list_debug" c:identifier="gst_plugin_feature_list_debug">
        <doc xml:space="preserve">Debug the plugin feature names in @list.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GList of
    plugin features</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="PluginFeature"/>
            </type>
          </parameter>
        </parameters>
      </function>
      <function name="list_free" c:identifier="gst_plugin_feature_list_free">
        <doc xml:space="preserve">Unrefs each member of @list, then frees the list.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="list" transfer-ownership="full">
            <doc xml:space="preserve">list
    of #GstPluginFeature</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="PluginFeature"/>
            </type>
          </parameter>
        </parameters>
      </function>
      <function name="rank_compare_func"
                c:identifier="gst_plugin_feature_rank_compare_func">
        <doc xml:space="preserve">Compares the two given #GstPluginFeature instances. This function can be
used as a #GCompareFunc when sorting by rank and then by name.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">negative value if the rank of p1 &gt; the rank of p2 or the ranks are
equal but the name of p1 comes before the name of p2; zero if the rank
and names are equal; positive value if the rank of p1 &lt; the rank of p2 or the
ranks are equal but the name of p2 comes before the name of p1</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <parameter name="p1"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GstPluginFeature</doc>
            <type name="gpointer" c:type="gconstpointer"/>
          </parameter>
          <parameter name="p2"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GstPluginFeature</doc>
            <type name="gpointer" c:type="gconstpointer"/>
          </parameter>
        </parameters>
      </function>
      <method name="check_version"
              c:identifier="gst_plugin_feature_check_version">
        <doc xml:space="preserve">Checks whether the given plugin feature is at least
 the required version</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the plugin feature has at least
 the required version, otherwise %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="feature" transfer-ownership="none">
            <doc xml:space="preserve">a feature</doc>
            <type name="PluginFeature" c:type="GstPluginFeature*"/>
          </instance-parameter>
          <parameter name="min_major" transfer-ownership="none">
            <doc xml:space="preserve">minimum required major version</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="min_minor" transfer-ownership="none">
            <doc xml:space="preserve">minimum required minor version</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="min_micro" transfer-ownership="none">
            <doc xml:space="preserve">minimum required micro version</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_plugin" c:identifier="gst_plugin_feature_get_plugin">
        <doc xml:space="preserve">Get the plugin that provides this feature.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the plugin that provides this
    feature, or %NULL.  Unref with gst_object_unref() when no
    longer needed.</doc>
          <type name="Plugin" c:type="GstPlugin*"/>
        </return-value>
        <parameters>
          <instance-parameter name="feature" transfer-ownership="none">
            <doc xml:space="preserve">a feature</doc>
            <type name="PluginFeature" c:type="GstPluginFeature*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_plugin_name"
              c:identifier="gst_plugin_feature_get_plugin_name"
              version="1.2">
        <doc xml:space="preserve">Get the name of the plugin that provides this feature.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">the name of the plugin that provides this
    feature, or %NULL if the feature is not associated with a
    plugin.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="feature" transfer-ownership="none">
            <doc xml:space="preserve">a feature</doc>
            <type name="PluginFeature" c:type="GstPluginFeature*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_rank" c:identifier="gst_plugin_feature_get_rank">
        <doc xml:space="preserve">Gets the rank of a plugin feature.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The rank of the feature</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="feature" transfer-ownership="none">
            <doc xml:space="preserve">a feature</doc>
            <type name="PluginFeature" c:type="GstPluginFeature*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="load" c:identifier="gst_plugin_feature_load">
        <doc xml:space="preserve">Loads the plugin containing @feature if it's not already loaded. @feature is
unaffected; use the return value instead.

Normally this function is used like this:
|[&lt;!-- language="C" --&gt;
GstPluginFeature *loaded_feature;

loaded_feature = gst_plugin_feature_load (feature);
// presumably, we're no longer interested in the potentially-unloaded feature
gst_object_unref (feature);
feature = loaded_feature;
]|</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a reference to the loaded
feature, or %NULL on error</doc>
          <type name="PluginFeature" c:type="GstPluginFeature*"/>
        </return-value>
        <parameters>
          <instance-parameter name="feature" transfer-ownership="none">
            <doc xml:space="preserve">the plugin feature to check</doc>
            <type name="PluginFeature" c:type="GstPluginFeature*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_rank" c:identifier="gst_plugin_feature_set_rank">
        <doc xml:space="preserve">Specifies a rank for a plugin feature, so that autoplugging uses
the most appropriate feature.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="feature" transfer-ownership="none">
            <doc xml:space="preserve">feature to rank</doc>
            <type name="PluginFeature" c:type="GstPluginFeature*"/>
          </instance-parameter>
          <parameter name="rank" transfer-ownership="none">
            <doc xml:space="preserve">rank value - higher number means more priority rank</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
    </class>
    <record name="PluginFeatureClass"
            c:type="GstPluginFeatureClass"
            disguised="1"
            glib:is-gtype-struct-for="PluginFeature">
    </record>
    <callback name="PluginFeatureFilter" c:type="GstPluginFeatureFilter">
      <doc xml:space="preserve">A function that can be used with e.g. gst_registry_feature_filter()
to get a list of pluginfeature that match certain criteria.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE for a positive match, %FALSE otherwise</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="feature" transfer-ownership="none">
          <doc xml:space="preserve">the pluginfeature to check</doc>
          <type name="PluginFeature" c:type="GstPluginFeature*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="1">
          <doc xml:space="preserve">the user_data that has been passed on e.g.
 gst_registry_feature_filter()</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <callback name="PluginFilter" c:type="GstPluginFilter">
      <doc xml:space="preserve">A function that can be used with e.g. gst_registry_plugin_filter()
to get a list of plugins that match certain criteria.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE for a positive match, %FALSE otherwise</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="plugin" transfer-ownership="none">
          <doc xml:space="preserve">the plugin to check</doc>
          <type name="Plugin" c:type="GstPlugin*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="1">
          <doc xml:space="preserve">the user_data that has been passed on e.g. gst_registry_plugin_filter()</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <bitfield name="PluginFlags"
              glib:type-name="GstPluginFlags"
              glib:get-type="gst_plugin_flags_get_type"
              c:type="GstPluginFlags">
      <doc xml:space="preserve">The plugin loading state</doc>
      <member name="cached"
              value="16"
              c:identifier="GST_PLUGIN_FLAG_CACHED"
              glib:nick="cached">
        <doc xml:space="preserve">Temporarily loaded plugins</doc>
      </member>
      <member name="blacklisted"
              value="32"
              c:identifier="GST_PLUGIN_FLAG_BLACKLISTED"
              glib:nick="blacklisted">
        <doc xml:space="preserve">The plugin won't be scanned (again)</doc>
      </member>
    </bitfield>
    <callback name="PluginInitFullFunc" c:type="GstPluginInitFullFunc">
      <doc xml:space="preserve">A plugin should provide a pointer to a function of either #GstPluginInitFunc
or this type in the plugin_desc struct.
The function will be called by the loader at startup. One would then
register each #GstPluginFeature. This version allows
user data to be passed to init function (useful for bindings).</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if plugin initialised successfully</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="plugin" transfer-ownership="none">
          <doc xml:space="preserve">The plugin object</doc>
          <type name="Plugin" c:type="GstPlugin*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="1">
          <doc xml:space="preserve">extra data</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <callback name="PluginInitFunc" c:type="GstPluginInitFunc">
      <doc xml:space="preserve">A plugin should provide a pointer to a function of this type in the
plugin_desc struct.
This function will be called by the loader at startup. One would then
register each #GstPluginFeature.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if plugin initialised successfully</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="plugin" transfer-ownership="none">
          <doc xml:space="preserve">The plugin object</doc>
          <type name="Plugin" c:type="GstPlugin*"/>
        </parameter>
      </parameters>
    </callback>
    <record name="Poll" c:type="GstPoll" disguised="1">
      <doc xml:space="preserve">A #GstPoll keeps track of file descriptors much like fd_set (used with
select()) or a struct pollfd array (used with poll()). Once created with
gst_poll_new(), the set can be used to wait for file descriptors to be
readable and/or writable. It is possible to make this wait be controlled
by specifying %TRUE for the @controllable flag when creating the set (or
later calling gst_poll_set_controllable()).

New file descriptors are added to the set using gst_poll_add_fd(), and
removed using gst_poll_remove_fd(). Controlling which file descriptors
should be waited for to become readable and/or writable are done using
gst_poll_fd_ctl_read() and gst_poll_fd_ctl_write().

Use gst_poll_wait() to wait for the file descriptors to actually become
readable and/or writable, or to timeout if no file descriptor is available
in time. The wait can be controlled by calling gst_poll_restart() and
gst_poll_set_flushing().

Once the file descriptor set has been waited for, one can use
gst_poll_fd_has_closed() to see if the file descriptor has been closed,
gst_poll_fd_has_error() to see if it has generated an error,
gst_poll_fd_can_read() to see if it is possible to read from the file
descriptor, and gst_poll_fd_can_write() to see if it is possible to
write to it.</doc>
      <method name="add_fd" c:identifier="gst_poll_add_fd">
        <doc xml:space="preserve">Add a file descriptor to the file descriptor set.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the file descriptor was successfully added to the set.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="set" transfer-ownership="none">
            <doc xml:space="preserve">a file descriptor set.</doc>
            <type name="Poll" c:type="GstPoll*"/>
          </instance-parameter>
          <parameter name="fd" transfer-ownership="none">
            <doc xml:space="preserve">a file descriptor.</doc>
            <type name="PollFD" c:type="GstPollFD*"/>
          </parameter>
        </parameters>
      </method>
      <method name="fd_can_read" c:identifier="gst_poll_fd_can_read">
        <doc xml:space="preserve">Check if @fd in @set has data to be read.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the descriptor has data to be read.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="set" transfer-ownership="none">
            <doc xml:space="preserve">a file descriptor set.</doc>
            <type name="Poll" c:type="const GstPoll*"/>
          </instance-parameter>
          <parameter name="fd" transfer-ownership="none">
            <doc xml:space="preserve">a file descriptor.</doc>
            <type name="PollFD" c:type="GstPollFD*"/>
          </parameter>
        </parameters>
      </method>
      <method name="fd_can_write" c:identifier="gst_poll_fd_can_write">
        <doc xml:space="preserve">Check if @fd in @set can be used for writing.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the descriptor can be used for writing.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="set" transfer-ownership="none">
            <doc xml:space="preserve">a file descriptor set.</doc>
            <type name="Poll" c:type="const GstPoll*"/>
          </instance-parameter>
          <parameter name="fd" transfer-ownership="none">
            <doc xml:space="preserve">a file descriptor.</doc>
            <type name="PollFD" c:type="GstPollFD*"/>
          </parameter>
        </parameters>
      </method>
      <method name="fd_ctl_read" c:identifier="gst_poll_fd_ctl_read">
        <doc xml:space="preserve">Control whether the descriptor @fd in @set will be monitored for
readability.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the descriptor was successfully updated.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="set" transfer-ownership="none">
            <doc xml:space="preserve">a file descriptor set.</doc>
            <type name="Poll" c:type="GstPoll*"/>
          </instance-parameter>
          <parameter name="fd" transfer-ownership="none">
            <doc xml:space="preserve">a file descriptor.</doc>
            <type name="PollFD" c:type="GstPollFD*"/>
          </parameter>
          <parameter name="active" transfer-ownership="none">
            <doc xml:space="preserve">a new status.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="fd_ctl_write" c:identifier="gst_poll_fd_ctl_write">
        <doc xml:space="preserve">Control whether the descriptor @fd in @set will be monitored for
writability.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the descriptor was successfully updated.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="set" transfer-ownership="none">
            <doc xml:space="preserve">a file descriptor set.</doc>
            <type name="Poll" c:type="GstPoll*"/>
          </instance-parameter>
          <parameter name="fd" transfer-ownership="none">
            <doc xml:space="preserve">a file descriptor.</doc>
            <type name="PollFD" c:type="GstPollFD*"/>
          </parameter>
          <parameter name="active" transfer-ownership="none">
            <doc xml:space="preserve">a new status.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="fd_has_closed" c:identifier="gst_poll_fd_has_closed">
        <doc xml:space="preserve">Check if @fd in @set has closed the connection.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the connection was closed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="set" transfer-ownership="none">
            <doc xml:space="preserve">a file descriptor set.</doc>
            <type name="Poll" c:type="const GstPoll*"/>
          </instance-parameter>
          <parameter name="fd" transfer-ownership="none">
            <doc xml:space="preserve">a file descriptor.</doc>
            <type name="PollFD" c:type="GstPollFD*"/>
          </parameter>
        </parameters>
      </method>
      <method name="fd_has_error" c:identifier="gst_poll_fd_has_error">
        <doc xml:space="preserve">Check if @fd in @set has an error.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the descriptor has an error.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="set" transfer-ownership="none">
            <doc xml:space="preserve">a file descriptor set.</doc>
            <type name="Poll" c:type="const GstPoll*"/>
          </instance-parameter>
          <parameter name="fd" transfer-ownership="none">
            <doc xml:space="preserve">a file descriptor.</doc>
            <type name="PollFD" c:type="GstPollFD*"/>
          </parameter>
        </parameters>
      </method>
      <method name="fd_ignored" c:identifier="gst_poll_fd_ignored">
        <doc xml:space="preserve">Mark @fd as ignored so that the next call to gst_poll_wait() will yield
the same result for @fd as last time. This function must be called if no
operation (read/write/recv/send/etc.) will be performed on @fd before
the next call to gst_poll_wait().

The reason why this is needed is because the underlying implementation
might not allow querying the fd more than once between calls to one of
the re-enabling operations.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="set" transfer-ownership="none">
            <doc xml:space="preserve">a file descriptor set.</doc>
            <type name="Poll" c:type="GstPoll*"/>
          </instance-parameter>
          <parameter name="fd" transfer-ownership="none">
            <doc xml:space="preserve">a file descriptor.</doc>
            <type name="PollFD" c:type="GstPollFD*"/>
          </parameter>
        </parameters>
      </method>
      <method name="free" c:identifier="gst_poll_free">
        <doc xml:space="preserve">Free a file descriptor set.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="set" transfer-ownership="full">
            <doc xml:space="preserve">a file descriptor set.</doc>
            <type name="Poll" c:type="GstPoll*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_read_gpollfd" c:identifier="gst_poll_get_read_gpollfd">
        <doc xml:space="preserve">Get a GPollFD for the reading part of the control socket. This is useful when
integrating with a GSource and GMainLoop.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="set" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPoll</doc>
            <type name="Poll" c:type="GstPoll*"/>
          </instance-parameter>
          <parameter name="fd" transfer-ownership="none">
            <doc xml:space="preserve">a #GPollFD</doc>
            <type name="GLib.PollFD" c:type="GPollFD*"/>
          </parameter>
        </parameters>
      </method>
      <method name="read_control" c:identifier="gst_poll_read_control">
        <doc xml:space="preserve">Read a byte from the control socket of the controllable @set.

This function only works for timer #GstPoll objects created with
gst_poll_new_timer().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success. %FALSE when when there was no byte to read or
reading the byte failed. If there was no byte to read, and only then, errno
will contain EWOULDBLOCK or EAGAIN. For all other values of errno this always signals a
critical error.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="set" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPoll.</doc>
            <type name="Poll" c:type="GstPoll*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="remove_fd" c:identifier="gst_poll_remove_fd">
        <doc xml:space="preserve">Remove a file descriptor from the file descriptor set.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the file descriptor was successfully removed from the set.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="set" transfer-ownership="none">
            <doc xml:space="preserve">a file descriptor set.</doc>
            <type name="Poll" c:type="GstPoll*"/>
          </instance-parameter>
          <parameter name="fd" transfer-ownership="none">
            <doc xml:space="preserve">a file descriptor.</doc>
            <type name="PollFD" c:type="GstPollFD*"/>
          </parameter>
        </parameters>
      </method>
      <method name="restart" c:identifier="gst_poll_restart">
        <doc xml:space="preserve">Restart any gst_poll_wait() that is in progress. This function is typically
used after adding or removing descriptors to @set.

If @set is not controllable, then this call will have no effect.

This function only works for non-timer #GstPoll objects created with
gst_poll_new().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="set" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPoll.</doc>
            <type name="Poll" c:type="GstPoll*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_controllable" c:identifier="gst_poll_set_controllable">
        <doc xml:space="preserve">When @controllable is %TRUE, this function ensures that future calls to
gst_poll_wait() will be affected by gst_poll_restart() and
gst_poll_set_flushing().

This function only works for non-timer #GstPoll objects created with
gst_poll_new().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the controllability of @set could be updated.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="set" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPoll.</doc>
            <type name="Poll" c:type="GstPoll*"/>
          </instance-parameter>
          <parameter name="controllable" transfer-ownership="none">
            <doc xml:space="preserve">new controllable state.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_flushing" c:identifier="gst_poll_set_flushing">
        <doc xml:space="preserve">When @flushing is %TRUE, this function ensures that current and future calls
to gst_poll_wait() will return -1, with errno set to EBUSY.

Unsetting the flushing state will restore normal operation of @set.

This function only works for non-timer #GstPoll objects created with
gst_poll_new().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="set" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPoll.</doc>
            <type name="Poll" c:type="GstPoll*"/>
          </instance-parameter>
          <parameter name="flushing" transfer-ownership="none">
            <doc xml:space="preserve">new flushing state.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="wait" c:identifier="gst_poll_wait">
        <doc xml:space="preserve">Wait for activity on the file descriptors in @set. This function waits up to
the specified @timeout.  A timeout of #GST_CLOCK_TIME_NONE waits forever.

For #GstPoll objects created with gst_poll_new(), this function can only be
called from a single thread at a time.  If called from multiple threads,
-1 will be returned with errno set to EPERM.

This is not true for timer #GstPoll objects created with
gst_poll_new_timer(), where it is allowed to have multiple threads waiting
simultaneously.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The number of #GstPollFD in @set that have activity or 0 when no
activity was detected after @timeout. If an error occurs, -1 is returned
and errno is set.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="set" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPoll.</doc>
            <type name="Poll" c:type="GstPoll*"/>
          </instance-parameter>
          <parameter name="timeout" transfer-ownership="none">
            <doc xml:space="preserve">a timeout in nanoseconds.</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="write_control" c:identifier="gst_poll_write_control">
        <doc xml:space="preserve">Write a byte to the control socket of the controllable @set.
This function is mostly useful for timer #GstPoll objects created with
gst_poll_new_timer().

It will make any current and future gst_poll_wait() function return with
1, meaning the control socket is set. After an equal amount of calls to
gst_poll_read_control() have been performed, calls to gst_poll_wait() will
block again until their timeout expired.

This function only works for timer #GstPoll objects created with
gst_poll_new_timer().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success. %FALSE when when the byte could not be written.
errno contains the detailed error code but will never be EAGAIN, EINTR or
EWOULDBLOCK. %FALSE always signals a critical error.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="set" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPoll.</doc>
            <type name="Poll" c:type="GstPoll*"/>
          </instance-parameter>
        </parameters>
      </method>
      <function name="new" c:identifier="gst_poll_new" introspectable="0">
        <doc xml:space="preserve">Create a new file descriptor set. If @controllable, it
is possible to restart or flush a call to gst_poll_wait() with
gst_poll_restart() and gst_poll_set_flushing() respectively.

Free-function: gst_poll_free</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a new #GstPoll, or %NULL in
    case of an error.  Free with gst_poll_free().</doc>
          <type name="Poll" c:type="GstPoll*"/>
        </return-value>
        <parameters>
          <parameter name="controllable" transfer-ownership="none">
            <doc xml:space="preserve">whether it should be possible to control a wait.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </function>
      <function name="new_timer"
                c:identifier="gst_poll_new_timer"
                introspectable="0">
        <doc xml:space="preserve">Create a new poll object that can be used for scheduling cancellable
timeouts.

A timeout is performed with gst_poll_wait(). Multiple timeouts can be
performed from different threads.

Free-function: gst_poll_free</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a new #GstPoll, or %NULL in
    case of an error.  Free with gst_poll_free().</doc>
          <type name="Poll" c:type="GstPoll*"/>
        </return-value>
      </function>
    </record>
    <record name="PollFD" c:type="GstPollFD">
      <doc xml:space="preserve">A file descriptor object.</doc>
      <field name="fd" writable="1">
        <doc xml:space="preserve">a file descriptor</doc>
        <type name="gint" c:type="int"/>
      </field>
      <field name="idx" readable="0" private="1">
        <type name="gint" c:type="gint"/>
      </field>
      <method name="init" c:identifier="gst_poll_fd_init">
        <doc xml:space="preserve">Initializes @fd. Alternatively you can initialize it with
#GST_POLL_FD_INIT.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="fd" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPollFD</doc>
            <type name="PollFD" c:type="GstPollFD*"/>
          </instance-parameter>
        </parameters>
      </method>
    </record>
    <interface name="Preset"
               c:symbol-prefix="preset"
               c:type="GstPreset"
               glib:type-name="GstPreset"
               glib:get-type="gst_preset_get_type"
               glib:type-struct="PresetInterface">
      <doc xml:space="preserve">This interface offers methods to query and manipulate parameter preset sets.
A preset is a bunch of property settings, together with meta data and a name.
The name of a preset serves as key for subsequent method calls to manipulate
single presets.
All instances of one type will share the list of presets. The list is created
on demand, if presets are not used, the list is not created.

The interface comes with a default implementation that serves most plugins.
Wrapper plugins will override most methods to implement support for the
native preset format of those wrapped plugins.
One method that is useful to be overridden is gst_preset_get_property_names().
With that one can control which properties are saved and in which order.
When implementing support for read-only presets, one should set the vmethods
for gst_preset_save_preset() and gst_preset_delete_preset() to %NULL.
Applications can use gst_preset_is_editable() to check for that.

The default implementation supports presets located in a system directory,
application specific directory and in the users home directory. When getting
a list of presets individual presets are read and overlaid in 1) system,
2) application and 3) user order. Whenever an earlier entry is newer, the
later entries will be updated. Since 1.8 you can also provide extra paths
where to find presets through the GST_PRESET_PATH environment variable.
Presets found in those paths will be concidered as "app presets".</doc>
      <function name="get_app_dir" c:identifier="gst_preset_get_app_dir">
        <doc xml:space="preserve">Gets the directory for application specific presets if set by the
application.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">the directory or %NULL, don't free or modify
the string</doc>
          <type name="filename" c:type="const gchar*"/>
        </return-value>
      </function>
      <function name="set_app_dir" c:identifier="gst_preset_set_app_dir">
        <doc xml:space="preserve">Sets an extra directory as an absolute path that should be considered when
looking for presets. Any presets in the application dir will shadow the
system presets.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE for success, %FALSE if the dir already has been set</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="app_dir" transfer-ownership="none">
            <doc xml:space="preserve">the application specific preset dir</doc>
            <type name="filename" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <virtual-method name="delete_preset" invoker="delete_preset">
        <doc xml:space="preserve">Delete the given preset.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE for success, %FALSE if e.g. there is no preset with that @name</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="preset" transfer-ownership="none">
            <doc xml:space="preserve">a #GObject that implements #GstPreset</doc>
            <type name="Preset" c:type="GstPreset*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">preset name to remove</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_meta" invoker="get_meta">
        <doc xml:space="preserve">Gets the @value for an existing meta data @tag. Meta data @tag names can be
something like e.g. "comment". Returned values need to be released when done.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE for success, %FALSE if e.g. there is no preset with that @name
or no value for the given @tag</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="preset" transfer-ownership="none">
            <doc xml:space="preserve">a #GObject that implements #GstPreset</doc>
            <type name="Preset" c:type="GstPreset*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">preset name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">meta data item name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">value</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_preset_names" invoker="get_preset_names">
        <doc xml:space="preserve">Get a copy of preset names as a %NULL terminated string array.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">
    list with names, use g_strfreev() after usage.</doc>
          <array c:type="gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="preset" transfer-ownership="none">
            <doc xml:space="preserve">a #GObject that implements #GstPreset</doc>
            <type name="Preset" c:type="GstPreset*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_property_names" invoker="get_property_names">
        <doc xml:space="preserve">Get a the names of the GObject properties that can be used for presets.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">an
  array of property names which should be freed with g_strfreev() after use.</doc>
          <array c:type="gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="preset" transfer-ownership="none">
            <doc xml:space="preserve">a #GObject that implements #GstPreset</doc>
            <type name="Preset" c:type="GstPreset*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="load_preset" invoker="load_preset">
        <doc xml:space="preserve">Load the given preset.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE for success, %FALSE if e.g. there is no preset with that @name</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="preset" transfer-ownership="none">
            <doc xml:space="preserve">a #GObject that implements #GstPreset</doc>
            <type name="Preset" c:type="GstPreset*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">preset name to load</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="rename_preset" invoker="rename_preset">
        <doc xml:space="preserve">Renames a preset. If there is already a preset by the @new_name it will be
overwritten.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE for success, %FALSE if e.g. there is no preset with @old_name</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="preset" transfer-ownership="none">
            <doc xml:space="preserve">a #GObject that implements #GstPreset</doc>
            <type name="Preset" c:type="GstPreset*"/>
          </instance-parameter>
          <parameter name="old_name" transfer-ownership="none">
            <doc xml:space="preserve">current preset name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="new_name" transfer-ownership="none">
            <doc xml:space="preserve">new preset name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="save_preset" invoker="save_preset">
        <doc xml:space="preserve">Save the current object settings as a preset under the given name. If there
is already a preset by this @name it will be overwritten.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE for success, %FALSE</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="preset" transfer-ownership="none">
            <doc xml:space="preserve">a #GObject that implements #GstPreset</doc>
            <type name="Preset" c:type="GstPreset*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">preset name to save</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="set_meta" invoker="set_meta">
        <doc xml:space="preserve">Sets a new @value for an existing meta data item or adds a new item. Meta
data @tag names can be something like e.g. "comment". Supplying %NULL for the
@value will unset an existing value.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE for success, %FALSE if e.g. there is no preset with that @name</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="preset" transfer-ownership="none">
            <doc xml:space="preserve">a #GObject that implements #GstPreset</doc>
            <type name="Preset" c:type="GstPreset*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">preset name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">meta data item name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">new value</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="delete_preset" c:identifier="gst_preset_delete_preset">
        <doc xml:space="preserve">Delete the given preset.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE for success, %FALSE if e.g. there is no preset with that @name</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="preset" transfer-ownership="none">
            <doc xml:space="preserve">a #GObject that implements #GstPreset</doc>
            <type name="Preset" c:type="GstPreset*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">preset name to remove</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_meta" c:identifier="gst_preset_get_meta">
        <doc xml:space="preserve">Gets the @value for an existing meta data @tag. Meta data @tag names can be
something like e.g. "comment". Returned values need to be released when done.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE for success, %FALSE if e.g. there is no preset with that @name
or no value for the given @tag</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="preset" transfer-ownership="none">
            <doc xml:space="preserve">a #GObject that implements #GstPreset</doc>
            <type name="Preset" c:type="GstPreset*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">preset name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">meta data item name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">value</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_preset_names"
              c:identifier="gst_preset_get_preset_names">
        <doc xml:space="preserve">Get a copy of preset names as a %NULL terminated string array.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">
    list with names, use g_strfreev() after usage.</doc>
          <array c:type="gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="preset" transfer-ownership="none">
            <doc xml:space="preserve">a #GObject that implements #GstPreset</doc>
            <type name="Preset" c:type="GstPreset*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_property_names"
              c:identifier="gst_preset_get_property_names">
        <doc xml:space="preserve">Get a the names of the GObject properties that can be used for presets.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">an
  array of property names which should be freed with g_strfreev() after use.</doc>
          <array c:type="gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="preset" transfer-ownership="none">
            <doc xml:space="preserve">a #GObject that implements #GstPreset</doc>
            <type name="Preset" c:type="GstPreset*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_editable"
              c:identifier="gst_preset_is_editable"
              version="1.6">
        <doc xml:space="preserve">Check if one can add new presets, change existing ones and remove presets.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if presets are editable or %FALSE if they are static</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="preset" transfer-ownership="none">
            <doc xml:space="preserve">a #GObject that implements #GstPreset</doc>
            <type name="Preset" c:type="GstPreset*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="load_preset" c:identifier="gst_preset_load_preset">
        <doc xml:space="preserve">Load the given preset.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE for success, %FALSE if e.g. there is no preset with that @name</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="preset" transfer-ownership="none">
            <doc xml:space="preserve">a #GObject that implements #GstPreset</doc>
            <type name="Preset" c:type="GstPreset*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">preset name to load</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="rename_preset" c:identifier="gst_preset_rename_preset">
        <doc xml:space="preserve">Renames a preset. If there is already a preset by the @new_name it will be
overwritten.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE for success, %FALSE if e.g. there is no preset with @old_name</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="preset" transfer-ownership="none">
            <doc xml:space="preserve">a #GObject that implements #GstPreset</doc>
            <type name="Preset" c:type="GstPreset*"/>
          </instance-parameter>
          <parameter name="old_name" transfer-ownership="none">
            <doc xml:space="preserve">current preset name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="new_name" transfer-ownership="none">
            <doc xml:space="preserve">new preset name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="save_preset" c:identifier="gst_preset_save_preset">
        <doc xml:space="preserve">Save the current object settings as a preset under the given name. If there
is already a preset by this @name it will be overwritten.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE for success, %FALSE</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="preset" transfer-ownership="none">
            <doc xml:space="preserve">a #GObject that implements #GstPreset</doc>
            <type name="Preset" c:type="GstPreset*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">preset name to save</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_meta" c:identifier="gst_preset_set_meta">
        <doc xml:space="preserve">Sets a new @value for an existing meta data item or adds a new item. Meta
data @tag names can be something like e.g. "comment". Supplying %NULL for the
@value will unset an existing value.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE for success, %FALSE if e.g. there is no preset with that @name</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="preset" transfer-ownership="none">
            <doc xml:space="preserve">a #GObject that implements #GstPreset</doc>
            <type name="Preset" c:type="GstPreset*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">preset name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">meta data item name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">new value</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
    </interface>
    <record name="PresetInterface"
            c:type="GstPresetInterface"
            glib:is-gtype-struct-for="Preset">
      <doc xml:space="preserve">#GstPreset interface.</doc>
      <field name="parent">
        <doc xml:space="preserve">parent interface type.</doc>
        <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
      </field>
      <field name="get_preset_names">
        <callback name="get_preset_names">
          <return-value transfer-ownership="full">
            <doc xml:space="preserve">
    list with names, use g_strfreev() after usage.</doc>
            <array c:type="gchar**">
              <type name="utf8"/>
            </array>
          </return-value>
          <parameters>
            <parameter name="preset" transfer-ownership="none">
              <doc xml:space="preserve">a #GObject that implements #GstPreset</doc>
              <type name="Preset" c:type="GstPreset*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_property_names">
        <callback name="get_property_names">
          <return-value transfer-ownership="full">
            <doc xml:space="preserve">an
  array of property names which should be freed with g_strfreev() after use.</doc>
            <array c:type="gchar**">
              <type name="utf8"/>
            </array>
          </return-value>
          <parameters>
            <parameter name="preset" transfer-ownership="none">
              <doc xml:space="preserve">a #GObject that implements #GstPreset</doc>
              <type name="Preset" c:type="GstPreset*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="load_preset">
        <callback name="load_preset">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">%TRUE for success, %FALSE if e.g. there is no preset with that @name</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="preset" transfer-ownership="none">
              <doc xml:space="preserve">a #GObject that implements #GstPreset</doc>
              <type name="Preset" c:type="GstPreset*"/>
            </parameter>
            <parameter name="name" transfer-ownership="none">
              <doc xml:space="preserve">preset name to load</doc>
              <type name="utf8" c:type="const gchar*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="save_preset">
        <callback name="save_preset">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">%TRUE for success, %FALSE</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="preset" transfer-ownership="none">
              <doc xml:space="preserve">a #GObject that implements #GstPreset</doc>
              <type name="Preset" c:type="GstPreset*"/>
            </parameter>
            <parameter name="name" transfer-ownership="none">
              <doc xml:space="preserve">preset name to save</doc>
              <type name="utf8" c:type="const gchar*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="rename_preset">
        <callback name="rename_preset">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">%TRUE for success, %FALSE if e.g. there is no preset with @old_name</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="preset" transfer-ownership="none">
              <doc xml:space="preserve">a #GObject that implements #GstPreset</doc>
              <type name="Preset" c:type="GstPreset*"/>
            </parameter>
            <parameter name="old_name" transfer-ownership="none">
              <doc xml:space="preserve">current preset name</doc>
              <type name="utf8" c:type="const gchar*"/>
            </parameter>
            <parameter name="new_name" transfer-ownership="none">
              <doc xml:space="preserve">new preset name</doc>
              <type name="utf8" c:type="const gchar*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="delete_preset">
        <callback name="delete_preset">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">%TRUE for success, %FALSE if e.g. there is no preset with that @name</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="preset" transfer-ownership="none">
              <doc xml:space="preserve">a #GObject that implements #GstPreset</doc>
              <type name="Preset" c:type="GstPreset*"/>
            </parameter>
            <parameter name="name" transfer-ownership="none">
              <doc xml:space="preserve">preset name to remove</doc>
              <type name="utf8" c:type="const gchar*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="set_meta">
        <callback name="set_meta">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">%TRUE for success, %FALSE if e.g. there is no preset with that @name</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="preset" transfer-ownership="none">
              <doc xml:space="preserve">a #GObject that implements #GstPreset</doc>
              <type name="Preset" c:type="GstPreset*"/>
            </parameter>
            <parameter name="name" transfer-ownership="none">
              <doc xml:space="preserve">preset name</doc>
              <type name="utf8" c:type="const gchar*"/>
            </parameter>
            <parameter name="tag" transfer-ownership="none">
              <doc xml:space="preserve">meta data item name</doc>
              <type name="utf8" c:type="const gchar*"/>
            </parameter>
            <parameter name="value"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve">new value</doc>
              <type name="utf8" c:type="const gchar*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_meta">
        <callback name="get_meta">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">%TRUE for success, %FALSE if e.g. there is no preset with that @name
or no value for the given @tag</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="preset" transfer-ownership="none">
              <doc xml:space="preserve">a #GObject that implements #GstPreset</doc>
              <type name="Preset" c:type="GstPreset*"/>
            </parameter>
            <parameter name="name" transfer-ownership="none">
              <doc xml:space="preserve">preset name</doc>
              <type name="utf8" c:type="const gchar*"/>
            </parameter>
            <parameter name="tag" transfer-ownership="none">
              <doc xml:space="preserve">meta data item name</doc>
              <type name="utf8" c:type="const gchar*"/>
            </parameter>
            <parameter name="value"
                       direction="out"
                       caller-allocates="0"
                       transfer-ownership="full">
              <doc xml:space="preserve">value</doc>
              <type name="utf8" c:type="gchar**"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <enumeration name="ProgressType"
                 glib:type-name="GstProgressType"
                 glib:get-type="gst_progress_type_get_type"
                 c:type="GstProgressType">
      <doc xml:space="preserve">The type of a %GST_MESSAGE_PROGRESS. The progress messages inform the
application of the status of asynchronous tasks.</doc>
      <member name="start"
              value="0"
              c:identifier="GST_PROGRESS_TYPE_START"
              glib:nick="start">
        <doc xml:space="preserve">A new task started.</doc>
      </member>
      <member name="continue"
              value="1"
              c:identifier="GST_PROGRESS_TYPE_CONTINUE"
              glib:nick="continue">
        <doc xml:space="preserve">A task completed and a new one continues.</doc>
      </member>
      <member name="complete"
              value="2"
              c:identifier="GST_PROGRESS_TYPE_COMPLETE"
              glib:nick="complete">
        <doc xml:space="preserve">A task completed.</doc>
      </member>
      <member name="canceled"
              value="3"
              c:identifier="GST_PROGRESS_TYPE_CANCELED"
              glib:nick="canceled">
        <doc xml:space="preserve">A task was canceled.</doc>
      </member>
      <member name="error"
              value="4"
              c:identifier="GST_PROGRESS_TYPE_ERROR"
              glib:nick="error">
        <doc xml:space="preserve">A task caused an error. An error message is also
         posted on the bus.</doc>
      </member>
    </enumeration>
    <record name="Promise"
            c:type="GstPromise"
            version="1.14"
            glib:type-name="GstPromise"
            glib:get-type="gst_promise_get_type"
            c:symbol-prefix="promise">
      <doc xml:space="preserve">The #GstPromise object implements the container for values that may
be available later. i.e. a Future or a Promise in
&lt;ulink url="https://en.wikipedia.org/wiki/Futures_and_promises"&gt;https://en.wikipedia.org/wiki/Futures_and_promises&lt;/ulink&gt;
As with all Future/Promise-like functionality, there is the concept of the
producer of the value and the consumer of the value.

A #GstPromise is created with gst_promise_new() by the consumer and passed
to the producer to avoid thread safety issues with the change callback.
A #GstPromise can be replied to with a value (or an error) by the producer
with gst_promise_reply(). gst_promise_interrupt() is for the consumer to
indicate to the producer that the value is not needed anymore and producing
that value can stop.  The @GST_PROMISE_RESULT_EXPIRED state set by a call
to gst_promise_expire() indicates to the consumer that a value will never
be produced and is intended to be called by a third party that implements
some notion of message handling such as #GstBus.
A callback can also be installed at #GstPromise creation for
result changes with gst_promise_new_with_change_func().
The change callback can be used to chain #GstPromises's together as in the
following example.
|[&lt;!-- language="C" --&gt;
const GstStructure *reply;
GstPromise *p;
if (gst_promise_wait (promise) != GST_PROMISE_RESULT_REPLIED)
  return; // interrupted or expired value
reply = gst_promise_get_reply (promise);
if (error in reply)
  return; // propagate error
p = gst_promise_new_with_change_func (another_promise_change_func, user_data, notify);
pass p to promise-using API
]|

Each #GstPromise starts out with a #GstPromiseResult of
%GST_PROMISE_RESULT_PENDING and only ever transitions once
into one of the other #GstPromiseResult's.

In order to support multi-threaded code, gst_promise_reply(),
gst_promise_interrupt() and gst_promise_expire() may all be from
different threads with some restrictions and the final result of the promise
is whichever call is made first.  There are two restrictions on ordering:

1. That gst_promise_reply() and gst_promise_interrupt() cannot be called
after gst_promise_expire()
2. That gst_promise_reply() and gst_promise_interrupt()
cannot be called twice.

The change function set with gst_promise_new_with_change_func() is
called directly from either the gst_promise_reply(),
gst_promise_interrupt() or gst_promise_expire() and can be called
from an arbitrary thread.  #GstPromise using APIs can restrict this to
a single thread or a subset of threads but that is entirely up to the API
that uses #GstPromise.</doc>
      <field name="parent" writable="1">
        <doc xml:space="preserve">parent #GstMiniObject</doc>
        <type name="MiniObject" c:type="GstMiniObject"/>
      </field>
      <constructor name="new" c:identifier="gst_promise_new" version="1.14">
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstPromise</doc>
          <type name="Promise" c:type="GstPromise*"/>
        </return-value>
      </constructor>
      <constructor name="new_with_change_func"
                   c:identifier="gst_promise_new_with_change_func"
                   version="1.14">
        <doc xml:space="preserve">@func will be called exactly once when transitioning out of
%GST_PROMISE_RESULT_PENDING into any of the other #GstPromiseResult
states.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstPromise</doc>
          <type name="Promise" c:type="GstPromise*"/>
        </return-value>
        <parameters>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="notified"
                     closure="1"
                     destroy="2">
            <doc xml:space="preserve">a #GstPromiseChangeFunc to call</doc>
            <type name="PromiseChangeFunc" c:type="GstPromiseChangeFunc"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">argument to call @func with</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify" transfer-ownership="none" scope="async">
            <doc xml:space="preserve">notification function that @user_data is no longer needed</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="expire" c:identifier="gst_promise_expire" version="1.14">
        <doc xml:space="preserve">Expire a @promise.  This will wake up any waiters with
%GST_PROMISE_RESULT_EXPIRED.  Called by a message loop when the parent
message is handled and/or destroyed (possibly unanswered).</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="promise" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPromise</doc>
            <type name="Promise" c:type="GstPromise*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_reply"
              c:identifier="gst_promise_get_reply"
              version="1.14">
        <doc xml:space="preserve">Retrieve the reply set on @promise.  @promise must be in
%GST_PROMISE_RESULT_REPLIED and the returned structure is owned by @promise</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The reply set on @promise</doc>
          <type name="Structure" c:type="const GstStructure*"/>
        </return-value>
        <parameters>
          <instance-parameter name="promise" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPromise</doc>
            <type name="Promise" c:type="GstPromise*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="interrupt"
              c:identifier="gst_promise_interrupt"
              version="1.14">
        <doc xml:space="preserve">Interrupt waiting for a @promise.  This will wake up any waiters with
%GST_PROMISE_RESULT_INTERRUPTED.  Called when the consumer does not want
the value produced anymore.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="promise" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPromise</doc>
            <type name="Promise" c:type="GstPromise*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="reply" c:identifier="gst_promise_reply" version="1.14">
        <doc xml:space="preserve">Set a reply on @promise.  This will wake up any waiters with
%GST_PROMISE_RESULT_REPLIED.  Called by the producer of the value to
indicate success (or failure).

If @promise has already been interrupted by the consumer, then this reply
is not visible to the consumer.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="promise"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">a #GstPromise</doc>
            <type name="Promise" c:type="GstPromise*"/>
          </instance-parameter>
          <parameter name="s" transfer-ownership="full">
            <doc xml:space="preserve">a #GstStructure with the the reply contents</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
        </parameters>
      </method>
      <method name="wait" c:identifier="gst_promise_wait" version="1.14">
        <doc xml:space="preserve">Wait for @promise to move out of the %GST_PROMISE_RESULT_PENDING state.
If @promise is not in %GST_PROMISE_RESULT_PENDING then it will return
immediately with the current result.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the result of the promise</doc>
          <type name="PromiseResult" c:type="GstPromiseResult"/>
        </return-value>
        <parameters>
          <instance-parameter name="promise" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPromise</doc>
            <type name="Promise" c:type="GstPromise*"/>
          </instance-parameter>
        </parameters>
      </method>
    </record>
    <callback name="PromiseChangeFunc"
              c:type="GstPromiseChangeFunc"
              version="1.14">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="promise" transfer-ownership="none">
          <doc xml:space="preserve">a #GstPromise</doc>
          <type name="Promise" c:type="GstPromise*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="1">
          <doc xml:space="preserve">user data</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <enumeration name="PromiseResult"
                 version="1.14"
                 glib:type-name="GstPromiseResult"
                 glib:get-type="gst_promise_result_get_type"
                 c:type="GstPromiseResult">
      <doc xml:space="preserve">The result of a #GstPromise</doc>
      <member name="pending"
              value="0"
              c:identifier="GST_PROMISE_RESULT_PENDING"
              glib:nick="pending">
        <doc xml:space="preserve">Initial state. Waiting for transition to any
	other state.</doc>
      </member>
      <member name="interrupted"
              value="1"
              c:identifier="GST_PROMISE_RESULT_INTERRUPTED"
              glib:nick="interrupted">
        <doc xml:space="preserve">Interrupted by the consumer as it doesn't
	want the value anymore.</doc>
      </member>
      <member name="replied"
              value="2"
              c:identifier="GST_PROMISE_RESULT_REPLIED"
              glib:nick="replied">
        <doc xml:space="preserve">A producer marked a reply</doc>
      </member>
      <member name="expired"
              value="3"
              c:identifier="GST_PROMISE_RESULT_EXPIRED"
              glib:nick="expired">
        <doc xml:space="preserve">The promise expired (the carrying object
	lost all refs) and the promise will never be fulfilled.</doc>
      </member>
    </enumeration>
    <record name="ProtectionMeta" c:type="GstProtectionMeta" version="1.6">
      <doc xml:space="preserve">Metadata type that holds information about a sample from a protection-protected
track, including the information needed to decrypt it (if it is encrypted).</doc>
      <field name="meta" writable="1">
        <doc xml:space="preserve">the parent #GstMeta.</doc>
        <type name="Meta" c:type="GstMeta"/>
      </field>
      <field name="info" writable="1">
        <doc xml:space="preserve">the cryptographic information needed to decrypt the sample.</doc>
        <type name="Structure" c:type="GstStructure*"/>
      </field>
      <function name="get_info" c:identifier="gst_protection_meta_get_info">
        <return-value transfer-ownership="none">
          <type name="MetaInfo" c:type="const GstMetaInfo*"/>
        </return-value>
      </function>
    </record>
    <class name="ProxyPad"
           c:symbol-prefix="proxy_pad"
           c:type="GstProxyPad"
           parent="Pad"
           glib:type-name="GstProxyPad"
           glib:get-type="gst_proxy_pad_get_type"
           glib:type-struct="ProxyPadClass">
      <function name="chain_default"
                c:identifier="gst_proxy_pad_chain_default">
        <doc xml:space="preserve">Invoke the default chain function of the proxy pad.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GstFlowReturn from the pad.</doc>
          <type name="FlowReturn" c:type="GstFlowReturn"/>
        </return-value>
        <parameters>
          <parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a sink #GstPad, returns GST_FLOW_ERROR if not.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </parameter>
          <parameter name="parent"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the parent of @pad or %NULL</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="buffer" transfer-ownership="full">
            <doc xml:space="preserve">the #GstBuffer to send, return GST_FLOW_ERROR
    if not.</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </parameter>
        </parameters>
      </function>
      <function name="chain_list_default"
                c:identifier="gst_proxy_pad_chain_list_default">
        <doc xml:space="preserve">Invoke the default chain list function of the proxy pad.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GstFlowReturn from the pad.</doc>
          <type name="FlowReturn" c:type="GstFlowReturn"/>
        </return-value>
        <parameters>
          <parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a sink #GstPad, returns GST_FLOW_ERROR if not.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </parameter>
          <parameter name="parent"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the parent of @pad or %NULL</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="list" transfer-ownership="full">
            <doc xml:space="preserve">the #GstBufferList to send, return GST_FLOW_ERROR
    if not.</doc>
            <type name="BufferList" c:type="GstBufferList*"/>
          </parameter>
        </parameters>
      </function>
      <function name="getrange_default"
                c:identifier="gst_proxy_pad_getrange_default">
        <doc xml:space="preserve">Invoke the default getrange function of the proxy pad.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GstFlowReturn from the pad.</doc>
          <type name="FlowReturn" c:type="GstFlowReturn"/>
        </return-value>
        <parameters>
          <parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">a src #GstPad, returns #GST_FLOW_ERROR if not.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </parameter>
          <parameter name="parent" transfer-ownership="none">
            <doc xml:space="preserve">the parent of @pad</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
          <parameter name="offset" transfer-ownership="none">
            <doc xml:space="preserve">The start offset of the buffer</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">The length of the buffer</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="buffer"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">a pointer to hold the #GstBuffer,
    returns #GST_FLOW_ERROR if %NULL.</doc>
            <type name="Buffer" c:type="GstBuffer**"/>
          </parameter>
        </parameters>
      </function>
      <function name="iterate_internal_links_default"
                c:identifier="gst_proxy_pad_iterate_internal_links_default">
        <doc xml:space="preserve">Invoke the default iterate internal links function of the proxy pad.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a #GstIterator of #GstPad, or %NULL if @pad
has no parent. Unref each returned pad with gst_object_unref().</doc>
          <type name="Iterator" c:type="GstIterator*"/>
        </return-value>
        <parameters>
          <parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstPad to get the internal links of.</doc>
            <type name="Pad" c:type="GstPad*"/>
          </parameter>
          <parameter name="parent"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the parent of @pad or %NULL</doc>
            <type name="Object" c:type="GstObject*"/>
          </parameter>
        </parameters>
      </function>
      <method name="get_internal" c:identifier="gst_proxy_pad_get_internal">
        <doc xml:space="preserve">Get the internal pad of @pad. Unref target pad after usage.

The internal pad of a #GstGhostPad is the internally used
pad of opposite direction, which is used to link to the target.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the target #GstProxyPad, can
be %NULL.  Unref target pad after usage.</doc>
          <type name="ProxyPad" c:type="GstProxyPad*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <doc xml:space="preserve">the #GstProxyPad</doc>
            <type name="ProxyPad" c:type="GstProxyPad*"/>
          </instance-parameter>
        </parameters>
      </method>
      <field name="pad">
        <type name="Pad" c:type="GstPad"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="ProxyPadPrivate" c:type="GstProxyPadPrivate*"/>
      </field>
    </class>
    <record name="ProxyPadClass"
            c:type="GstProxyPadClass"
            glib:is-gtype-struct-for="ProxyPad">
      <field name="parent_class">
        <type name="PadClass" c:type="GstPadClass"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="1">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="ProxyPadPrivate" c:type="GstProxyPadPrivate" disguised="1">
    </record>
    <enumeration name="QOSType"
                 glib:type-name="GstQOSType"
                 glib:get-type="gst_qos_type_get_type"
                 c:type="GstQOSType">
      <doc xml:space="preserve">The different types of QoS events that can be given to the
gst_event_new_qos() method.</doc>
      <member name="overflow"
              value="0"
              c:identifier="GST_QOS_TYPE_OVERFLOW"
              glib:nick="overflow">
        <doc xml:space="preserve">The QoS event type that is produced when upstream
   elements are producing data too quickly and the element can't keep up
   processing the data. Upstream should reduce their production rate. This
   type is also used when buffers arrive early or in time.</doc>
      </member>
      <member name="underflow"
              value="1"
              c:identifier="GST_QOS_TYPE_UNDERFLOW"
              glib:nick="underflow">
        <doc xml:space="preserve">The QoS event type that is produced when upstream
   elements are producing data too slowly and need to speed up their
   production rate.</doc>
      </member>
      <member name="throttle"
              value="2"
              c:identifier="GST_QOS_TYPE_THROTTLE"
              glib:nick="throttle">
        <doc xml:space="preserve">The QoS event type that is produced when the
   application enabled throttling to limit the data rate.</doc>
      </member>
    </enumeration>
    <constant name="QUERY_NUM_SHIFT" value="8" c:type="GST_QUERY_NUM_SHIFT">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="QUERY_TYPE_BOTH" value="3" c:type="GST_QUERY_TYPE_BOTH">
      <doc xml:space="preserve">The same thing as #GST_QUERY_TYPE_UPSTREAM | #GST_QUERY_TYPE_DOWNSTREAM.</doc>
      <type name="QueryTypeFlags" c:type="GstQueryTypeFlags"/>
    </constant>
    <record name="Query"
            c:type="GstQuery"
            glib:type-name="GstQuery"
            glib:get-type="gst_query_get_type"
            c:symbol-prefix="query">
      <doc xml:space="preserve">Queries can be performed on pads (gst_pad_query()) and elements
(gst_element_query()). Please note that some queries might need a running
pipeline to work.

Queries can be created using the gst_query_new_*() functions.
Query values can be set using gst_query_set_*(), and parsed using
gst_query_parse_*() helpers.

The following example shows how to query the duration of a pipeline:
|[&lt;!-- language="C" --&gt;
  GstQuery *query;
  gboolean res;
  query = gst_query_new_duration (GST_FORMAT_TIME);
  res = gst_element_query (pipeline, query);
  if (res) {
    gint64 duration;
    gst_query_parse_duration (query, NULL, &amp;amp;duration);
    g_print ("duration = %"GST_TIME_FORMAT, GST_TIME_ARGS (duration));
  } else {
    g_print ("duration query failed...");
  }
  gst_query_unref (query);
]|</doc>
      <field name="mini_object" writable="1">
        <doc xml:space="preserve">The parent #GstMiniObject type</doc>
        <type name="MiniObject" c:type="GstMiniObject"/>
      </field>
      <field name="type" writable="1">
        <doc xml:space="preserve">the #GstQueryType</doc>
        <type name="QueryType" c:type="GstQueryType"/>
      </field>
      <constructor name="new_accept_caps"
                   c:identifier="gst_query_new_accept_caps">
        <doc xml:space="preserve">Constructs a new query object for querying if @caps are accepted.

Free-function: gst_query_unref()</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstQuery</doc>
          <type name="Query" c:type="GstQuery*"/>
        </return-value>
        <parameters>
          <parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">a fixed #GstCaps</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_allocation"
                   c:identifier="gst_query_new_allocation">
        <doc xml:space="preserve">Constructs a new query object for querying the allocation properties.

Free-function: gst_query_unref()</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstQuery</doc>
          <type name="Query" c:type="GstQuery*"/>
        </return-value>
        <parameters>
          <parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">the negotiated caps</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </parameter>
          <parameter name="need_pool" transfer-ownership="none">
            <doc xml:space="preserve">return a pool</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_buffering" c:identifier="gst_query_new_buffering">
        <doc xml:space="preserve">Constructs a new query object for querying the buffering status of
a stream.

Free-function: gst_query_unref()</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstQuery</doc>
          <type name="Query" c:type="GstQuery*"/>
        </return-value>
        <parameters>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the default #GstFormat for the new query</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_caps" c:identifier="gst_query_new_caps">
        <doc xml:space="preserve">Constructs a new query object for querying the caps.

The CAPS query should return the allowable caps for a pad in the context
of the element's state, its link to other elements, and the devices or files
it has opened. These caps must be a subset of the pad template caps. In the
NULL state with no links, the CAPS query should ideally return the same caps
as the pad template. In rare circumstances, an object property can affect
the caps returned by the CAPS query, but this is discouraged.

For most filters, the caps returned by CAPS query is directly affected by the
allowed caps on other pads. For demuxers and decoders, the caps returned by
the srcpad's getcaps function is directly related to the stream data. Again,
the CAPS query should return the most specific caps it reasonably can, since this
helps with autoplugging.

The @filter is used to restrict the result caps, only the caps matching
@filter should be returned from the CAPS query. Specifying a filter might
greatly reduce the amount of processing an element needs to do.

Free-function: gst_query_unref()</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstQuery</doc>
          <type name="Query" c:type="GstQuery*"/>
        </return-value>
        <parameters>
          <parameter name="filter" transfer-ownership="none">
            <doc xml:space="preserve">a filter</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_context"
                   c:identifier="gst_query_new_context"
                   version="1.2">
        <doc xml:space="preserve">Constructs a new query object for querying the pipeline-local context.

Free-function: gst_query_unref()</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstQuery</doc>
          <type name="Query" c:type="GstQuery*"/>
        </return-value>
        <parameters>
          <parameter name="context_type" transfer-ownership="none">
            <doc xml:space="preserve">Context type to query</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_convert" c:identifier="gst_query_new_convert">
        <doc xml:space="preserve">Constructs a new convert query object. Use gst_query_unref()
when done with it. A convert query is used to ask for a conversion between
one format and another.

Free-function: gst_query_unref()</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GstQuery</doc>
          <type name="Query" c:type="GstQuery*"/>
        </return-value>
        <parameters>
          <parameter name="src_format" transfer-ownership="none">
            <doc xml:space="preserve">the source #GstFormat for the new query</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">the value to convert</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
          <parameter name="dest_format" transfer-ownership="none">
            <doc xml:space="preserve">the target #GstFormat</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_custom" c:identifier="gst_query_new_custom">
        <doc xml:space="preserve">Constructs a new custom query object. Use gst_query_unref()
when done with it.

Free-function: gst_query_unref()</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a new #GstQuery</doc>
          <type name="Query" c:type="GstQuery*"/>
        </return-value>
        <parameters>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">the query type</doc>
            <type name="QueryType" c:type="GstQueryType"/>
          </parameter>
          <parameter name="structure"
                     transfer-ownership="full"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a structure for the query</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_drain" c:identifier="gst_query_new_drain">
        <doc xml:space="preserve">Constructs a new query object for querying the drain state.

Free-function: gst_query_unref()</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstQuery</doc>
          <type name="Query" c:type="GstQuery*"/>
        </return-value>
      </constructor>
      <constructor name="new_duration" c:identifier="gst_query_new_duration">
        <doc xml:space="preserve">Constructs a new stream duration query object to query in the given format.
Use gst_query_unref() when done with it. A duration query will give the
total length of the stream.

Free-function: gst_query_unref()</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstQuery</doc>
          <type name="Query" c:type="GstQuery*"/>
        </return-value>
        <parameters>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the #GstFormat for this duration query</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_formats" c:identifier="gst_query_new_formats">
        <doc xml:space="preserve">Constructs a new query object for querying formats of
the stream.

Free-function: gst_query_unref()</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstQuery</doc>
          <type name="Query" c:type="GstQuery*"/>
        </return-value>
      </constructor>
      <constructor name="new_latency" c:identifier="gst_query_new_latency">
        <doc xml:space="preserve">Constructs a new latency query object.
Use gst_query_unref() when done with it. A latency query is usually performed
by sinks to compensate for additional latency introduced by elements in the
pipeline.

Free-function: gst_query_unref()</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GstQuery</doc>
          <type name="Query" c:type="GstQuery*"/>
        </return-value>
      </constructor>
      <constructor name="new_position" c:identifier="gst_query_new_position">
        <doc xml:space="preserve">Constructs a new query stream position query object. Use gst_query_unref()
when done with it. A position query is used to query the current position
of playback in the streams, in some format.

Free-function: gst_query_unref()</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstQuery</doc>
          <type name="Query" c:type="GstQuery*"/>
        </return-value>
        <parameters>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the default #GstFormat for the new query</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_scheduling"
                   c:identifier="gst_query_new_scheduling">
        <doc xml:space="preserve">Constructs a new query object for querying the scheduling properties.

Free-function: gst_query_unref()</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstQuery</doc>
          <type name="Query" c:type="GstQuery*"/>
        </return-value>
      </constructor>
      <constructor name="new_seeking" c:identifier="gst_query_new_seeking">
        <doc xml:space="preserve">Constructs a new query object for querying seeking properties of
the stream.

Free-function: gst_query_unref()</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstQuery</doc>
          <type name="Query" c:type="GstQuery*"/>
        </return-value>
        <parameters>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the default #GstFormat for the new query</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_segment" c:identifier="gst_query_new_segment">
        <doc xml:space="preserve">Constructs a new segment query object. Use gst_query_unref()
when done with it. A segment query is used to discover information about the
currently configured segment for playback.

Free-function: gst_query_unref()</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstQuery</doc>
          <type name="Query" c:type="GstQuery*"/>
        </return-value>
        <parameters>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the #GstFormat for the new query</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_uri" c:identifier="gst_query_new_uri">
        <doc xml:space="preserve">Constructs a new query URI query object. Use gst_query_unref()
when done with it. An URI query is used to query the current URI
that is used by the source or sink.

Free-function: gst_query_unref()</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstQuery</doc>
          <type name="Query" c:type="GstQuery*"/>
        </return-value>
      </constructor>
      <method name="add_allocation_meta"
              c:identifier="gst_query_add_allocation_meta">
        <doc xml:space="preserve">Add @api with @params as one of the supported metadata API to @query.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a GST_QUERY_ALLOCATION type query #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="api" transfer-ownership="none">
            <doc xml:space="preserve">the metadata API</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
          <parameter name="params"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">API specific parameters</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_allocation_param"
              c:identifier="gst_query_add_allocation_param">
        <doc xml:space="preserve">Add @allocator and its @params as a supported memory allocator.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a GST_QUERY_ALLOCATION type query #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="allocator"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the memory allocator</doc>
            <type name="Allocator" c:type="GstAllocator*"/>
          </parameter>
          <parameter name="params"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GstAllocationParams</doc>
            <type name="AllocationParams" c:type="const GstAllocationParams*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_allocation_pool"
              c:identifier="gst_query_add_allocation_pool">
        <doc xml:space="preserve">Set the pool parameters in @query.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstQuery of type GST_QUERY_ALLOCATION.</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="pool"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the #GstBufferPool</doc>
            <type name="BufferPool" c:type="GstBufferPool*"/>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">the buffer size</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="min_buffers" transfer-ownership="none">
            <doc xml:space="preserve">the min buffers</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="max_buffers" transfer-ownership="none">
            <doc xml:space="preserve">the max buffers</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_buffering_range"
              c:identifier="gst_query_add_buffering_range">
        <doc xml:space="preserve">Set the buffering-ranges array field in @query. The current last
start position of the array should be inferior to @start.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #gboolean indicating if the range was added or not.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a GST_QUERY_BUFFERING type query #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="start" transfer-ownership="none">
            <doc xml:space="preserve">start position of the range</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
          <parameter name="stop" transfer-ownership="none">
            <doc xml:space="preserve">stop position of the range</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_scheduling_mode"
              c:identifier="gst_query_add_scheduling_mode">
        <doc xml:space="preserve">Add @mode as one of the supported scheduling modes to @query.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a GST_QUERY_SCHEDULING type query #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPadMode</doc>
            <type name="PadMode" c:type="GstPadMode"/>
          </parameter>
        </parameters>
      </method>
      <method name="find_allocation_meta"
              c:identifier="gst_query_find_allocation_meta">
        <doc xml:space="preserve">Check if @query has metadata @api set. When this function returns %TRUE,
@index will contain the index where the requested API and the parameters
can be found.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE when @api is in the list of metadata.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a GST_QUERY_ALLOCATION type query #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="api" transfer-ownership="none">
            <doc xml:space="preserve">the metadata API</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
          <parameter name="index"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the index</doc>
            <type name="guint" c:type="guint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_n_allocation_metas"
              c:identifier="gst_query_get_n_allocation_metas">
        <doc xml:space="preserve">Retrieve the number of values currently stored in the
meta API array of the query's structure.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the metadata API array size as a #guint.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a GST_QUERY_ALLOCATION type query #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_n_allocation_params"
              c:identifier="gst_query_get_n_allocation_params">
        <doc xml:space="preserve">Retrieve the number of values currently stored in the
allocator params array of the query's structure.

If no memory allocator is specified, the downstream element can handle
the default memory allocator. The first memory allocator in the query
should be generic and allow mapping to system memory, all following
allocators should be ordered by preference with the preferred one first.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the allocator array size as a #guint.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a GST_QUERY_ALLOCATION type query #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_n_allocation_pools"
              c:identifier="gst_query_get_n_allocation_pools">
        <doc xml:space="preserve">Retrieve the number of values currently stored in the
pool array of the query's structure.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the pool array size as a #guint.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a GST_QUERY_ALLOCATION type query #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_n_buffering_ranges"
              c:identifier="gst_query_get_n_buffering_ranges">
        <doc xml:space="preserve">Retrieve the number of values currently stored in the
buffered-ranges array of the query's structure.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the range array size as a #guint.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a GST_QUERY_BUFFERING type query #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_n_scheduling_modes"
              c:identifier="gst_query_get_n_scheduling_modes">
        <doc xml:space="preserve">Retrieve the number of values currently stored in the
scheduling mode array of the query's structure.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the scheduling mode array size as a #guint.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a GST_QUERY_SCHEDULING type query #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_structure" c:identifier="gst_query_get_structure">
        <doc xml:space="preserve">Get the structure of a query.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">the #GstStructure of the query. The
    structure is still owned by the query and will therefore be freed when the
    query is unreffed.</doc>
          <type name="Structure" c:type="const GstStructure*"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_scheduling_mode"
              c:identifier="gst_query_has_scheduling_mode">
        <doc xml:space="preserve">Check if @query has scheduling mode set.

&gt; When checking if upstream supports pull mode, it is usually not
&gt; enough to just check for GST_PAD_MODE_PULL with this function, you
&gt; also want to check whether the scheduling flags returned by
&gt; gst_query_parse_scheduling() have the seeking flag set (meaning
&gt; random access is supported, not only sequential pulls).</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE when @mode is in the list of scheduling modes.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a GST_QUERY_SCHEDULING type query #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve">the scheduling mode</doc>
            <type name="PadMode" c:type="GstPadMode"/>
          </parameter>
        </parameters>
      </method>
      <method name="has_scheduling_mode_with_flags"
              c:identifier="gst_query_has_scheduling_mode_with_flags">
        <doc xml:space="preserve">Check if @query has scheduling mode set and @flags is set in
query scheduling flags.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE when @mode is in the list of scheduling modes
   and @flags are compatible with query flags.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a GST_QUERY_SCHEDULING type query #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve">the scheduling mode</doc>
            <type name="PadMode" c:type="GstPadMode"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">#GstSchedulingFlags</doc>
            <type name="SchedulingFlags" c:type="GstSchedulingFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_accept_caps"
              c:identifier="gst_query_parse_accept_caps">
        <doc xml:space="preserve">Get the caps from @query. The caps remains valid as long as @query remains
valid.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">The query to parse</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="caps"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none">
            <doc xml:space="preserve">A pointer to the caps</doc>
            <type name="Caps" c:type="GstCaps**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_accept_caps_result"
              c:identifier="gst_query_parse_accept_caps_result">
        <doc xml:space="preserve">Parse the result from @query and store in @result.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a GST_QUERY_ACCEPT_CAPS type query #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="result"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">location for the result</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_allocation"
              c:identifier="gst_query_parse_allocation">
        <doc xml:space="preserve">Parse an allocation query, writing the requested caps in @caps and
whether a pool is needed in @need_pool, if the respective parameters
are non-%NULL.

Pool details can be retrieved using gst_query_get_n_allocation_pools() and
gst_query_parse_nth_allocation_pool().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="caps"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">The #GstCaps</doc>
            <type name="Caps" c:type="GstCaps**"/>
          </parameter>
          <parameter name="need_pool"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">Whether a #GstBufferPool is needed</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_buffering_percent"
              c:identifier="gst_query_parse_buffering_percent">
        <doc xml:space="preserve">Get the percentage of buffered data. This is a value between 0 and 100.
The @busy indicator is %TRUE when the buffering is in progress.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstQuery of type GST_QUERY_BUFFERING.</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="busy"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">if buffering is busy, or %NULL</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
          <parameter name="percent"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a buffering percent, or %NULL</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_buffering_range"
              c:identifier="gst_query_parse_buffering_range">
        <doc xml:space="preserve">Parse an available query, writing the format into @format, and
other results into the passed parameters, if the respective parameters
are non-%NULL</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a GST_QUERY_BUFFERING type query #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="format"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the format to set for the @segment_start
    and @segment_end values, or %NULL</doc>
            <type name="Format" c:type="GstFormat*"/>
          </parameter>
          <parameter name="start"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the start to set, or %NULL</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
          <parameter name="stop"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the stop to set, or %NULL</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
          <parameter name="estimated_total"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">estimated total amount of download
    time remaining in milliseconds, or %NULL</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_buffering_stats"
              c:identifier="gst_query_parse_buffering_stats">
        <doc xml:space="preserve">Extracts the buffering stats values from @query.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstQuery of type GST_QUERY_BUFFERING.</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="mode"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a buffering mode, or %NULL</doc>
            <type name="BufferingMode" c:type="GstBufferingMode*"/>
          </parameter>
          <parameter name="avg_in"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the average input rate, or %NULL</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="avg_out"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the average output rat, or %NULL</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="buffering_left"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">amount of buffering time left in
    milliseconds, or %NULL</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_caps" c:identifier="gst_query_parse_caps">
        <doc xml:space="preserve">Get the filter from the caps @query. The caps remains valid as long as
@query remains valid.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">The query to parse</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="filter"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none">
            <doc xml:space="preserve">A pointer to the caps filter</doc>
            <type name="Caps" c:type="GstCaps**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_caps_result"
              c:identifier="gst_query_parse_caps_result">
        <doc xml:space="preserve">Get the caps result from @query. The caps remains valid as long as
@query remains valid.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">The query to parse</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="caps"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none">
            <doc xml:space="preserve">A pointer to the caps</doc>
            <type name="Caps" c:type="GstCaps**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_context"
              c:identifier="gst_query_parse_context"
              version="1.2">
        <doc xml:space="preserve">Get the context from the context @query. The context remains valid as long as
@query remains valid.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">The query to parse</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="context"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none">
            <doc xml:space="preserve">A pointer to store the #GstContext</doc>
            <type name="Context" c:type="GstContext**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_context_type"
              c:identifier="gst_query_parse_context_type"
              version="1.2">
        <doc xml:space="preserve">Parse a context type from an existing GST_QUERY_CONTEXT query.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #gboolean indicating if the parsing succeeded.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a GST_QUERY_CONTEXT type query</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="context_type"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the context type, or %NULL</doc>
            <type name="utf8" c:type="const gchar**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_convert" c:identifier="gst_query_parse_convert">
        <doc xml:space="preserve">Parse a convert query answer. Any of @src_format, @src_value, @dest_format,
and @dest_value may be %NULL, in which case that value is omitted.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="src_format"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the storage for the #GstFormat of the
    source value, or %NULL</doc>
            <type name="Format" c:type="GstFormat*"/>
          </parameter>
          <parameter name="src_value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the storage for the source value, or %NULL</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
          <parameter name="dest_format"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the storage for the #GstFormat of the
    destination value, or %NULL</doc>
            <type name="Format" c:type="GstFormat*"/>
          </parameter>
          <parameter name="dest_value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the storage for the destination value,
    or %NULL</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_duration" c:identifier="gst_query_parse_duration">
        <doc xml:space="preserve">Parse a duration query answer. Write the format of the duration into @format,
and the value into @duration, if the respective variables are non-%NULL.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="format"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the storage for the #GstFormat of the duration
    value, or %NULL.</doc>
            <type name="Format" c:type="GstFormat*"/>
          </parameter>
          <parameter name="duration"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the storage for the total duration, or %NULL.</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_latency" c:identifier="gst_query_parse_latency">
        <doc xml:space="preserve">Parse a latency query answer.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="live"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">storage for live or %NULL</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
          <parameter name="min_latency"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the storage for the min latency or %NULL</doc>
            <type name="ClockTime" c:type="GstClockTime*"/>
          </parameter>
          <parameter name="max_latency"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the storage for the max latency or %NULL</doc>
            <type name="ClockTime" c:type="GstClockTime*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_n_formats" c:identifier="gst_query_parse_n_formats">
        <doc xml:space="preserve">Parse the number of formats in the formats @query.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="n_formats"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the number of formats in this query.</doc>
            <type name="guint" c:type="guint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_nth_allocation_meta"
              c:identifier="gst_query_parse_nth_allocation_meta">
        <doc xml:space="preserve">Parse an available query and get the metadata API
at @index of the metadata API array.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GType of the metadata API at @index.</doc>
          <type name="GType" c:type="GType"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a GST_QUERY_ALLOCATION type query #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">position in the metadata API array to read</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="params"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">API specific parameters</doc>
            <type name="Structure" c:type="const GstStructure**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_nth_allocation_param"
              c:identifier="gst_query_parse_nth_allocation_param">
        <doc xml:space="preserve">Parse an available query and get the allocator and its params
at @index of the allocator array.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a GST_QUERY_ALLOCATION type query #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">position in the allocator array to read</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="allocator"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">variable to hold the result</doc>
            <type name="Allocator" c:type="GstAllocator**"/>
          </parameter>
          <parameter name="params"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">parameters for the allocator</doc>
            <type name="AllocationParams" c:type="GstAllocationParams*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_nth_allocation_pool"
              c:identifier="gst_query_parse_nth_allocation_pool">
        <doc xml:space="preserve">Get the pool parameters in @query.

Unref @pool with gst_object_unref() when it's not needed any more.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstQuery of type GST_QUERY_ALLOCATION.</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">index to parse</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="pool"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the #GstBufferPool</doc>
            <type name="BufferPool" c:type="GstBufferPool**"/>
          </parameter>
          <parameter name="size"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the buffer size</doc>
            <type name="guint" c:type="guint*"/>
          </parameter>
          <parameter name="min_buffers"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the min buffers</doc>
            <type name="guint" c:type="guint*"/>
          </parameter>
          <parameter name="max_buffers"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the max buffers</doc>
            <type name="guint" c:type="guint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_nth_buffering_range"
              c:identifier="gst_query_parse_nth_buffering_range">
        <doc xml:space="preserve">Parse an available query and get the start and stop values stored
at the @index of the buffered ranges array.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #gboolean indicating if the parsing succeeded.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a GST_QUERY_BUFFERING type query #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">position in the buffered-ranges array to read</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="start"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the start position to set, or %NULL</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
          <parameter name="stop"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the stop position to set, or %NULL</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_nth_format"
              c:identifier="gst_query_parse_nth_format">
        <doc xml:space="preserve">Parse the format query and retrieve the @nth format from it into
@format. If the list contains less elements than @nth, @format will be
set to GST_FORMAT_UNDEFINED.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="nth" transfer-ownership="none">
            <doc xml:space="preserve">the nth format to retrieve.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="format"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a pointer to store the nth format</doc>
            <type name="Format" c:type="GstFormat*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_nth_scheduling_mode"
              c:identifier="gst_query_parse_nth_scheduling_mode">
        <doc xml:space="preserve">Parse an available query and get the scheduling mode
at @index of the scheduling modes array.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GstPadMode of the scheduling mode at @index.</doc>
          <type name="PadMode" c:type="GstPadMode"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a GST_QUERY_SCHEDULING type query #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">position in the scheduling modes array to read</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_position" c:identifier="gst_query_parse_position">
        <doc xml:space="preserve">Parse a position query, writing the format into @format, and the position
into @cur, if the respective parameters are non-%NULL.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="format"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the storage for the #GstFormat of the
    position values (may be %NULL)</doc>
            <type name="Format" c:type="GstFormat*"/>
          </parameter>
          <parameter name="cur"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the storage for the current position (may be %NULL)</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_scheduling"
              c:identifier="gst_query_parse_scheduling">
        <doc xml:space="preserve">Set the scheduling properties.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstQuery of type GST_QUERY_SCHEDULING.</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="flags"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">#GstSchedulingFlags</doc>
            <type name="SchedulingFlags" c:type="GstSchedulingFlags*"/>
          </parameter>
          <parameter name="minsize"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the suggested minimum size of pull requests</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="maxsize"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the suggested maximum size of pull requests:</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="align"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the suggested alignment of pull requests</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_seeking" c:identifier="gst_query_parse_seeking">
        <doc xml:space="preserve">Parse a seeking query, writing the format into @format, and
other results into the passed parameters, if the respective parameters
are non-%NULL</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a GST_QUERY_SEEKING type query #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="format"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the format to set for the @segment_start
    and @segment_end values, or %NULL</doc>
            <type name="Format" c:type="GstFormat*"/>
          </parameter>
          <parameter name="seekable"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the seekable flag to set, or %NULL</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
          <parameter name="segment_start"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the segment_start to set, or %NULL</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
          <parameter name="segment_end"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the segment_end to set, or %NULL</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_segment" c:identifier="gst_query_parse_segment">
        <doc xml:space="preserve">Parse a segment query answer. Any of @rate, @format, @start_value, and
@stop_value may be %NULL, which will cause this value to be omitted.

See gst_query_set_segment() for an explanation of the function arguments.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="rate"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the storage for the rate of the segment, or %NULL</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
          <parameter name="format"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the storage for the #GstFormat of the values,
    or %NULL</doc>
            <type name="Format" c:type="GstFormat*"/>
          </parameter>
          <parameter name="start_value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the storage for the start value, or %NULL</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
          <parameter name="stop_value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the storage for the stop value, or %NULL</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_uri" c:identifier="gst_query_parse_uri">
        <doc xml:space="preserve">Parse an URI query, writing the URI into @uri as a newly
allocated string, if the respective parameters are non-%NULL.
Free the string with g_free() after usage.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="uri"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the storage for the current URI
    (may be %NULL)</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_uri_redirection"
              c:identifier="gst_query_parse_uri_redirection"
              version="1.2">
        <doc xml:space="preserve">Parse an URI query, writing the URI into @uri as a newly
allocated string, if the respective parameters are non-%NULL.
Free the string with g_free() after usage.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="uri"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the storage for the redirect URI
    (may be %NULL)</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_uri_redirection_permanent"
              c:identifier="gst_query_parse_uri_redirection_permanent"
              version="1.4">
        <doc xml:space="preserve">Parse an URI query, and set @permanent to %TRUE if there is a redirection
and it should be considered permanent. If a redirection is permanent,
applications should update their internal storage of the URI, otherwise
they should make all future requests to the original URI.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="permanent"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">if the URI redirection is permanent
    (may be %NULL)</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_nth_allocation_meta"
              c:identifier="gst_query_remove_nth_allocation_meta">
        <doc xml:space="preserve">Remove the metadata API at @index of the metadata API array.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a GST_QUERY_ALLOCATION type query #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">position in the metadata API array to remove</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_nth_allocation_param"
              c:identifier="gst_query_remove_nth_allocation_param"
              version="1.2">
        <doc xml:space="preserve">Remove the allocation param at @index of the allocation param array.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a GST_QUERY_ALLOCATION type query #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">position in the allocation param array to remove</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_nth_allocation_pool"
              c:identifier="gst_query_remove_nth_allocation_pool"
              version="1.2">
        <doc xml:space="preserve">Remove the allocation pool at @index of the allocation pool array.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a GST_QUERY_ALLOCATION type query #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">position in the allocation pool array to remove</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_accept_caps_result"
              c:identifier="gst_query_set_accept_caps_result">
        <doc xml:space="preserve">Set @result as the result for the @query.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a GST_QUERY_ACCEPT_CAPS type query #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve">the result to set</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_buffering_percent"
              c:identifier="gst_query_set_buffering_percent">
        <doc xml:space="preserve">Set the percentage of buffered data. This is a value between 0 and 100.
The @busy indicator is %TRUE when the buffering is in progress.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstQuery of type GST_QUERY_BUFFERING.</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="busy" transfer-ownership="none">
            <doc xml:space="preserve">if buffering is busy</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="percent" transfer-ownership="none">
            <doc xml:space="preserve">a buffering percent</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_buffering_range"
              c:identifier="gst_query_set_buffering_range">
        <doc xml:space="preserve">Set the available query result fields in @query.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the format to set for the @start and @stop values</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="start" transfer-ownership="none">
            <doc xml:space="preserve">the start to set</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
          <parameter name="stop" transfer-ownership="none">
            <doc xml:space="preserve">the stop to set</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
          <parameter name="estimated_total" transfer-ownership="none">
            <doc xml:space="preserve">estimated total amount of download time remaining in
    milliseconds</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_buffering_stats"
              c:identifier="gst_query_set_buffering_stats">
        <doc xml:space="preserve">Configures the buffering stats values in @query.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstQuery of type GST_QUERY_BUFFERING.</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve">a buffering mode</doc>
            <type name="BufferingMode" c:type="GstBufferingMode"/>
          </parameter>
          <parameter name="avg_in" transfer-ownership="none">
            <doc xml:space="preserve">the average input rate</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="avg_out" transfer-ownership="none">
            <doc xml:space="preserve">the average output rate</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="buffering_left" transfer-ownership="none">
            <doc xml:space="preserve">amount of buffering time left in milliseconds</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_caps_result" c:identifier="gst_query_set_caps_result">
        <doc xml:space="preserve">Set the @caps result in @query.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">The query to use</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">A pointer to the caps</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_context"
              c:identifier="gst_query_set_context"
              version="1.2">
        <doc xml:space="preserve">Answer a context query by setting the requested context.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery with query type GST_QUERY_CONTEXT</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">the requested #GstContext</doc>
            <type name="Context" c:type="GstContext*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_convert" c:identifier="gst_query_set_convert">
        <doc xml:space="preserve">Answer a convert query by setting the requested values.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="src_format" transfer-ownership="none">
            <doc xml:space="preserve">the source #GstFormat</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="src_value" transfer-ownership="none">
            <doc xml:space="preserve">the source value</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
          <parameter name="dest_format" transfer-ownership="none">
            <doc xml:space="preserve">the destination #GstFormat</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="dest_value" transfer-ownership="none">
            <doc xml:space="preserve">the destination value</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_duration" c:identifier="gst_query_set_duration">
        <doc xml:space="preserve">Answer a duration query by setting the requested value in the given format.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the #GstFormat for the duration</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="duration" transfer-ownership="none">
            <doc xml:space="preserve">the duration of the stream</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_formats"
              c:identifier="gst_query_set_formats"
              introspectable="0">
        <doc xml:space="preserve">Set the formats query result fields in @query. The number of formats passed
must be equal to @n_formats.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="n_formats" transfer-ownership="none">
            <doc xml:space="preserve">the number of formats to set.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">A number of @GstFormats equal to @n_formats.</doc>
            <varargs/>
          </parameter>
        </parameters>
      </method>
      <method name="set_formatsv" c:identifier="gst_query_set_formatsv">
        <doc xml:space="preserve">Set the formats query result fields in @query. The number of formats passed
in the @formats array must be equal to @n_formats.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="n_formats" transfer-ownership="none">
            <doc xml:space="preserve">the number of formats to set.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="formats" transfer-ownership="none">
            <doc xml:space="preserve">an array containing @n_formats
    @GstFormat values.</doc>
            <array length="0" zero-terminated="0" c:type="GstFormat*">
              <type name="Format" c:type="GstFormat"/>
            </array>
          </parameter>
        </parameters>
      </method>
      <method name="set_latency" c:identifier="gst_query_set_latency">
        <doc xml:space="preserve">Answer a latency query by setting the requested values in the given format.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="live" transfer-ownership="none">
            <doc xml:space="preserve">if there is a live element upstream</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="min_latency" transfer-ownership="none">
            <doc xml:space="preserve">the minimal latency of the upstream elements</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="max_latency" transfer-ownership="none">
            <doc xml:space="preserve">the maximal latency of the upstream elements</doc>
            <type name="ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_nth_allocation_param"
              c:identifier="gst_query_set_nth_allocation_param">
        <doc xml:space="preserve">Parse an available query and get the allocator and its params
at @index of the allocator array.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a GST_QUERY_ALLOCATION type query #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">position in the allocator array to set</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="allocator"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">new allocator to set</doc>
            <type name="Allocator" c:type="GstAllocator*"/>
          </parameter>
          <parameter name="params"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">parameters for the allocator</doc>
            <type name="AllocationParams" c:type="const GstAllocationParams*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_nth_allocation_pool"
              c:identifier="gst_query_set_nth_allocation_pool">
        <doc xml:space="preserve">Set the pool parameters in @query.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstQuery of type GST_QUERY_ALLOCATION.</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">index to modify</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="pool"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the #GstBufferPool</doc>
            <type name="BufferPool" c:type="GstBufferPool*"/>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">the buffer size</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="min_buffers" transfer-ownership="none">
            <doc xml:space="preserve">the min buffers</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="max_buffers" transfer-ownership="none">
            <doc xml:space="preserve">the max buffers</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_position" c:identifier="gst_query_set_position">
        <doc xml:space="preserve">Answer a position query by setting the requested value in the given format.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery with query type GST_QUERY_POSITION</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the requested #GstFormat</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="cur" transfer-ownership="none">
            <doc xml:space="preserve">the position to set</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_scheduling" c:identifier="gst_query_set_scheduling">
        <doc xml:space="preserve">Set the scheduling properties.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">A valid #GstQuery of type GST_QUERY_SCHEDULING.</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">#GstSchedulingFlags</doc>
            <type name="SchedulingFlags" c:type="GstSchedulingFlags"/>
          </parameter>
          <parameter name="minsize" transfer-ownership="none">
            <doc xml:space="preserve">the suggested minimum size of pull requests</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="maxsize" transfer-ownership="none">
            <doc xml:space="preserve">the suggested maximum size of pull requests</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="align" transfer-ownership="none">
            <doc xml:space="preserve">the suggested alignment of pull requests</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_seeking" c:identifier="gst_query_set_seeking">
        <doc xml:space="preserve">Set the seeking query result fields in @query.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the format to set for the @segment_start and @segment_end values</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="seekable" transfer-ownership="none">
            <doc xml:space="preserve">the seekable flag to set</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="segment_start" transfer-ownership="none">
            <doc xml:space="preserve">the segment_start to set</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
          <parameter name="segment_end" transfer-ownership="none">
            <doc xml:space="preserve">the segment_end to set</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_segment" c:identifier="gst_query_set_segment">
        <doc xml:space="preserve">Answer a segment query by setting the requested values. The normal
playback segment of a pipeline is 0 to duration at the default rate of
1.0. If a seek was performed on the pipeline to play a different
segment, this query will return the range specified in the last seek.

@start_value and @stop_value will respectively contain the configured
playback range start and stop values expressed in @format.
The values are always between 0 and the duration of the media and
@start_value &lt;= @stop_value. @rate will contain the playback rate. For
negative rates, playback will actually happen from @stop_value to
@start_value.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="rate" transfer-ownership="none">
            <doc xml:space="preserve">the rate of the segment</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the #GstFormat of the segment values (@start_value and @stop_value)</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="start_value" transfer-ownership="none">
            <doc xml:space="preserve">the start value</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
          <parameter name="stop_value" transfer-ownership="none">
            <doc xml:space="preserve">the stop value</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_uri" c:identifier="gst_query_set_uri">
        <doc xml:space="preserve">Answer a URI query by setting the requested URI.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery with query type GST_QUERY_URI</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="uri" transfer-ownership="none">
            <doc xml:space="preserve">the URI to set</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_uri_redirection"
              c:identifier="gst_query_set_uri_redirection"
              version="1.2">
        <doc xml:space="preserve">Answer a URI query by setting the requested URI redirection.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery with query type GST_QUERY_URI</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="uri" transfer-ownership="none">
            <doc xml:space="preserve">the URI to set</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_uri_redirection_permanent"
              c:identifier="gst_query_set_uri_redirection_permanent"
              version="1.4">
        <doc xml:space="preserve">Answer a URI query by setting the requested URI redirection
to permanent or not.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery with query type %GST_QUERY_URI</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
          <parameter name="permanent" transfer-ownership="none">
            <doc xml:space="preserve">whether the redirect is permanent or not</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="writable_structure"
              c:identifier="gst_query_writable_structure">
        <doc xml:space="preserve">Get the structure of a query. This method should be called with a writable
@query so that the returned structure is guaranteed to be writable.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #GstStructure of the query. The structure is
    still owned by the query and will therefore be freed when the query
    is unreffed.</doc>
          <type name="Structure" c:type="GstStructure*"/>
        </return-value>
        <parameters>
          <instance-parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQuery</doc>
            <type name="Query" c:type="GstQuery*"/>
          </instance-parameter>
        </parameters>
      </method>
    </record>
    <enumeration name="QueryType"
                 glib:type-name="GstQueryType"
                 glib:get-type="gst_query_type_get_type"
                 c:type="GstQueryType">
      <doc xml:space="preserve">Standard predefined Query types</doc>
      <member name="unknown"
              value="0"
              c:identifier="GST_QUERY_UNKNOWN"
              glib:nick="unknown">
        <doc xml:space="preserve">unknown query type</doc>
      </member>
      <member name="position"
              value="2563"
              c:identifier="GST_QUERY_POSITION"
              glib:nick="position">
        <doc xml:space="preserve">current position in stream</doc>
      </member>
      <member name="duration"
              value="5123"
              c:identifier="GST_QUERY_DURATION"
              glib:nick="duration">
        <doc xml:space="preserve">total duration of the stream</doc>
      </member>
      <member name="latency"
              value="7683"
              c:identifier="GST_QUERY_LATENCY"
              glib:nick="latency">
        <doc xml:space="preserve">latency of stream</doc>
      </member>
      <member name="jitter"
              value="10243"
              c:identifier="GST_QUERY_JITTER"
              glib:nick="jitter">
        <doc xml:space="preserve">current jitter of stream</doc>
      </member>
      <member name="rate"
              value="12803"
              c:identifier="GST_QUERY_RATE"
              glib:nick="rate">
        <doc xml:space="preserve">current rate of the stream</doc>
      </member>
      <member name="seeking"
              value="15363"
              c:identifier="GST_QUERY_SEEKING"
              glib:nick="seeking">
        <doc xml:space="preserve">seeking capabilities</doc>
      </member>
      <member name="segment"
              value="17923"
              c:identifier="GST_QUERY_SEGMENT"
              glib:nick="segment">
        <doc xml:space="preserve">segment start/stop positions</doc>
      </member>
      <member name="convert"
              value="20483"
              c:identifier="GST_QUERY_CONVERT"
              glib:nick="convert">
        <doc xml:space="preserve">convert values between formats</doc>
      </member>
      <member name="formats"
              value="23043"
              c:identifier="GST_QUERY_FORMATS"
              glib:nick="formats">
        <doc xml:space="preserve">query supported formats for convert</doc>
      </member>
      <member name="buffering"
              value="28163"
              c:identifier="GST_QUERY_BUFFERING"
              glib:nick="buffering">
        <doc xml:space="preserve">query available media for efficient seeking.</doc>
      </member>
      <member name="custom"
              value="30723"
              c:identifier="GST_QUERY_CUSTOM"
              glib:nick="custom">
        <doc xml:space="preserve">a custom application or element defined query.</doc>
      </member>
      <member name="uri"
              value="33283"
              c:identifier="GST_QUERY_URI"
              glib:nick="uri">
        <doc xml:space="preserve">query the URI of the source or sink.</doc>
      </member>
      <member name="allocation"
              value="35846"
              c:identifier="GST_QUERY_ALLOCATION"
              glib:nick="allocation">
        <doc xml:space="preserve">the buffer allocation properties</doc>
      </member>
      <member name="scheduling"
              value="38401"
              c:identifier="GST_QUERY_SCHEDULING"
              glib:nick="scheduling">
        <doc xml:space="preserve">the scheduling properties</doc>
      </member>
      <member name="accept_caps"
              value="40963"
              c:identifier="GST_QUERY_ACCEPT_CAPS"
              glib:nick="accept-caps">
        <doc xml:space="preserve">the accept caps query</doc>
      </member>
      <member name="caps"
              value="43523"
              c:identifier="GST_QUERY_CAPS"
              glib:nick="caps">
        <doc xml:space="preserve">the caps query</doc>
      </member>
      <member name="drain"
              value="46086"
              c:identifier="GST_QUERY_DRAIN"
              glib:nick="drain">
        <doc xml:space="preserve">wait till all serialized data is consumed downstream</doc>
      </member>
      <member name="context"
              value="48643"
              c:identifier="GST_QUERY_CONTEXT"
              glib:nick="context">
        <doc xml:space="preserve">query the pipeline-local context from
    downstream or upstream (since 1.2)</doc>
      </member>
      <function name="get_flags" c:identifier="gst_query_type_get_flags">
        <doc xml:space="preserve">Gets the #GstQueryTypeFlags associated with @type.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GstQueryTypeFlags.</doc>
          <type name="QueryTypeFlags" c:type="GstQueryTypeFlags"/>
        </return-value>
        <parameters>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">a #GstQueryType</doc>
            <type name="QueryType" c:type="GstQueryType"/>
          </parameter>
        </parameters>
      </function>
      <function name="get_name" c:identifier="gst_query_type_get_name">
        <doc xml:space="preserve">Get a printable name for the given query type. Do not modify or free.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a reference to the static name of the query.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">the query type</doc>
            <type name="QueryType" c:type="GstQueryType"/>
          </parameter>
        </parameters>
      </function>
      <function name="to_quark" c:identifier="gst_query_type_to_quark">
        <doc xml:space="preserve">Get the unique quark for the given query type.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the quark associated with the query type</doc>
          <type name="GLib.Quark" c:type="GQuark"/>
        </return-value>
        <parameters>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">the query type</doc>
            <type name="QueryType" c:type="GstQueryType"/>
          </parameter>
        </parameters>
      </function>
    </enumeration>
    <bitfield name="QueryTypeFlags"
              glib:type-name="GstQueryTypeFlags"
              glib:get-type="gst_query_type_flags_get_type"
              c:type="GstQueryTypeFlags">
      <doc xml:space="preserve">#GstQueryTypeFlags indicate the aspects of the different #GstQueryType
values. You can get the type flags of a #GstQueryType with the
gst_query_type_get_flags() function.</doc>
      <member name="upstream"
              value="1"
              c:identifier="GST_QUERY_TYPE_UPSTREAM"
              glib:nick="upstream">
        <doc xml:space="preserve">Set if the query can travel upstream.</doc>
      </member>
      <member name="downstream"
              value="2"
              c:identifier="GST_QUERY_TYPE_DOWNSTREAM"
              glib:nick="downstream">
        <doc xml:space="preserve">Set if the query can travel downstream.</doc>
      </member>
      <member name="serialized"
              value="4"
              c:identifier="GST_QUERY_TYPE_SERIALIZED"
              glib:nick="serialized">
        <doc xml:space="preserve">Set if the query should be serialized with data
                              flow.</doc>
      </member>
    </bitfield>
    <enumeration name="Rank"
                 glib:type-name="GstRank"
                 glib:get-type="gst_rank_get_type"
                 c:type="GstRank">
      <doc xml:space="preserve">Element priority ranks. Defines the order in which the autoplugger (or
similar rank-picking mechanisms, such as e.g. gst_element_make_from_uri())
will choose this element over an alternative one with the same function.

These constants serve as a rough guidance for defining the rank of a
#GstPluginFeature. Any value is valid, including values bigger than
@GST_RANK_PRIMARY.</doc>
      <member name="none"
              value="0"
              c:identifier="GST_RANK_NONE"
              glib:nick="none">
        <doc xml:space="preserve">will be chosen last or not at all</doc>
      </member>
      <member name="marginal"
              value="64"
              c:identifier="GST_RANK_MARGINAL"
              glib:nick="marginal">
        <doc xml:space="preserve">unlikely to be chosen</doc>
      </member>
      <member name="secondary"
              value="128"
              c:identifier="GST_RANK_SECONDARY"
              glib:nick="secondary">
        <doc xml:space="preserve">likely to be chosen</doc>
      </member>
      <member name="primary"
              value="256"
              c:identifier="GST_RANK_PRIMARY"
              glib:nick="primary">
        <doc xml:space="preserve">will be chosen first</doc>
      </member>
    </enumeration>
    <record name="ReferenceTimestampMeta"
            c:type="GstReferenceTimestampMeta"
            version="1.14">
      <doc xml:space="preserve">#GstReferenceTimestampMeta can be used to attach alternative timestamps and
possibly durations to a #GstBuffer. These are generally not according to
the pipeline clock and could be e.g. the NTP timestamp when the media was
captured.

The reference is stored as a #GstCaps in @reference. Examples of valid
references would be "timestamp/x-drivername-stream" for timestamps that are locally
generated by some driver named "drivername" when generating the stream,
e.g. based on a frame counter, or "timestamp/x-ntp, host=pool.ntp.org,
port=123" for timestamps based on a specific NTP server.</doc>
      <field name="parent" writable="1">
        <doc xml:space="preserve">the parent #GstMeta structure</doc>
        <type name="Meta" c:type="GstMeta"/>
      </field>
      <field name="reference" writable="1">
        <doc xml:space="preserve">identifier for the timestamp reference.</doc>
        <type name="Caps" c:type="GstCaps*"/>
      </field>
      <field name="timestamp" writable="1">
        <doc xml:space="preserve">timestamp</doc>
        <type name="ClockTime" c:type="GstClockTime"/>
      </field>
      <field name="duration" writable="1">
        <doc xml:space="preserve">duration, or %GST_CLOCK_TIME_NONE</doc>
        <type name="ClockTime" c:type="GstClockTime"/>
      </field>
      <function name="get_info"
                c:identifier="gst_reference_timestamp_meta_get_info"
                version="1.14">
        <doc xml:space="preserve">Get the global #GstMetaInfo describing  the #GstReferenceTimestampMeta meta.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The #GstMetaInfo</doc>
          <type name="MetaInfo" c:type="const GstMetaInfo*"/>
        </return-value>
      </function>
    </record>
    <class name="Registry"
           c:symbol-prefix="registry"
           c:type="GstRegistry"
           parent="Object"
           glib:type-name="GstRegistry"
           glib:get-type="gst_registry_get_type"
           glib:type-struct="RegistryClass">
      <doc xml:space="preserve">One registry holds the metadata of a set of plugins.

&lt;emphasis role="bold"&gt;Design:&lt;/emphasis&gt;

The #GstRegistry object is a list of plugins and some functions for dealing
with them. Each #GstPlugin is matched 1-1 with a file on disk, and may or may
not be loaded at a given time.

The primary source, at all times, of plugin information is each plugin file
itself. Thus, if an application wants information about a particular plugin,
or wants to search for a feature that satisfies given criteria, the primary
means of doing so is to load every plugin and look at the resulting
information that is gathered in the default registry. Clearly, this is a time
consuming process, so we cache information in the registry file. The format
and location of the cache file is internal to gstreamer.

On startup, plugins are searched for in the plugin search path. The following
locations are checked in this order:

* location from --gst-plugin-path commandline option.
* the GST_PLUGIN_PATH environment variable.
* the GST_PLUGIN_SYSTEM_PATH environment variable.
* default locations (if GST_PLUGIN_SYSTEM_PATH is not set).
  Those default locations are:
  `$XDG_DATA_HOME/gstreamer-$GST_API_VERSION/plugins/`
  and `$prefix/libs/gstreamer-$GST_API_VERSION/`.
  [$XDG_DATA_HOME](http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html) defaults to
  `$HOME/.local/share`.

The registry cache file is loaded from
`$XDG_CACHE_HOME/gstreamer-$GST_API_VERSION/registry-$ARCH.bin`
(where $XDG_CACHE_HOME defaults to `$HOME/.cache`) or the file listed in the `GST_REGISTRY`
env var. One reason to change the registry location is for testing.

For each plugin that is found in the plugin search path, there could be 3
possibilities for cached information:

  * the cache may not contain information about a given file.
  * the cache may have stale information.
  * the cache may have current information.

In the first two cases, the plugin is loaded and the cache updated. In
addition to these cases, the cache may have entries for plugins that are not
relevant to the current process. These are marked as not available to the
current process. If the cache is updated for whatever reason, it is marked
dirty.

A dirty cache is written out at the end of initialization. Each entry is
checked to make sure the information is minimally valid. If not, the entry is
simply dropped.

## Implementation notes:

The "cache" and "registry" are different concepts and can represent
different sets of plugins. For various reasons, at init time, the cache is
stored in the default registry, and plugins not relevant to the current
process are marked with the %GST_PLUGIN_FLAG_CACHED bit. These plugins are
removed at the end of initialization.</doc>
      <function name="fork_is_enabled"
                c:identifier="gst_registry_fork_is_enabled">
        <doc xml:space="preserve">By default GStreamer will perform scanning and rebuilding of the
registry file using a helper child process.

Applications might want to disable this behaviour with the
gst_registry_fork_set_enabled() function, in which case new plugins
are scanned (and loaded) into the application process.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if GStreamer will use the child helper process when
rebuilding the registry.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
      </function>
      <function name="fork_set_enabled"
                c:identifier="gst_registry_fork_set_enabled">
        <doc xml:space="preserve">Applications might want to disable/enable spawning of a child helper process
when rebuilding the registry. See gst_registry_fork_is_enabled() for more
information.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="enabled" transfer-ownership="none">
            <doc xml:space="preserve">whether rebuilding the registry can use a temporary child helper process.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </function>
      <function name="get" c:identifier="gst_registry_get">
        <doc xml:space="preserve">Retrieves the singleton plugin registry. The caller does not own a
reference on the registry, as it is alive as long as GStreamer is
initialized.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #GstRegistry.</doc>
          <type name="Registry" c:type="GstRegistry*"/>
        </return-value>
      </function>
      <method name="add_feature" c:identifier="gst_registry_add_feature">
        <doc xml:space="preserve">Add the feature to the registry. The feature-added signal will be emitted.

@feature's reference count will be incremented, and any floating
reference will be removed (see gst_object_ref_sink())</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="registry" transfer-ownership="none">
            <doc xml:space="preserve">the registry to add the plugin to</doc>
            <type name="Registry" c:type="GstRegistry*"/>
          </instance-parameter>
          <parameter name="feature" transfer-ownership="none">
            <doc xml:space="preserve">the feature to add</doc>
            <type name="PluginFeature" c:type="GstPluginFeature*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_plugin" c:identifier="gst_registry_add_plugin">
        <doc xml:space="preserve">Add the plugin to the registry. The plugin-added signal will be emitted.

@plugin's reference count will be incremented, and any floating
reference will be removed (see gst_object_ref_sink())</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="registry" transfer-ownership="none">
            <doc xml:space="preserve">the registry to add the plugin to</doc>
            <type name="Registry" c:type="GstRegistry*"/>
          </instance-parameter>
          <parameter name="plugin" transfer-ownership="none">
            <doc xml:space="preserve">the plugin to add</doc>
            <type name="Plugin" c:type="GstPlugin*"/>
          </parameter>
        </parameters>
      </method>
      <method name="check_feature_version"
              c:identifier="gst_registry_check_feature_version">
        <doc xml:space="preserve">Checks whether a plugin feature by the given name exists in
@registry and whether its version is at least the
version required.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the feature could be found and the version is
the same as the required version or newer, and %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="registry" transfer-ownership="none">
            <doc xml:space="preserve">a #GstRegistry</doc>
            <type name="Registry" c:type="GstRegistry*"/>
          </instance-parameter>
          <parameter name="feature_name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the feature (e.g. "oggdemux")</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="min_major" transfer-ownership="none">
            <doc xml:space="preserve">the minimum major version number</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="min_minor" transfer-ownership="none">
            <doc xml:space="preserve">the minimum minor version number</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="min_micro" transfer-ownership="none">
            <doc xml:space="preserve">the minimum micro version number</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="feature_filter" c:identifier="gst_registry_feature_filter">
        <doc xml:space="preserve">Runs a filter against all features of the plugins in the registry
and returns a GList with the results.
If the first flag is set, only the first match is
returned (as a list with a single object).</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GList of
    #GstPluginFeature. Use gst_plugin_feature_list_free() after usage.

MT safe.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="PluginFeature"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="registry" transfer-ownership="none">
            <doc xml:space="preserve">registry to query</doc>
            <type name="Registry" c:type="GstRegistry*"/>
          </instance-parameter>
          <parameter name="filter"
                     transfer-ownership="none"
                     scope="call"
                     closure="2">
            <doc xml:space="preserve">the filter to use</doc>
            <type name="PluginFeatureFilter" c:type="GstPluginFeatureFilter"/>
          </parameter>
          <parameter name="first" transfer-ownership="none">
            <doc xml:space="preserve">only return first match</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user data passed to the filter function</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="find_feature" c:identifier="gst_registry_find_feature">
        <doc xml:space="preserve">Find the pluginfeature with the given name and type in the registry.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the pluginfeature with the
    given name and type or %NULL if the plugin was not
    found. gst_object_unref() after usage.

MT safe.</doc>
          <type name="PluginFeature" c:type="GstPluginFeature*"/>
        </return-value>
        <parameters>
          <instance-parameter name="registry" transfer-ownership="none">
            <doc xml:space="preserve">the registry to search</doc>
            <type name="Registry" c:type="GstRegistry*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">the pluginfeature name to find</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">the pluginfeature type to find</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
        </parameters>
      </method>
      <method name="find_plugin" c:identifier="gst_registry_find_plugin">
        <doc xml:space="preserve">Find the plugin with the given name in the registry.
The plugin will be reffed; caller is responsible for unreffing.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the plugin with the given name
    or %NULL if the plugin was not found. gst_object_unref() after
    usage.

MT safe.</doc>
          <type name="Plugin" c:type="GstPlugin*"/>
        </return-value>
        <parameters>
          <instance-parameter name="registry" transfer-ownership="none">
            <doc xml:space="preserve">the registry to search</doc>
            <type name="Registry" c:type="GstRegistry*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">the plugin name to find</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_feature_list"
              c:identifier="gst_registry_get_feature_list">
        <doc xml:space="preserve">Retrieves a #GList of #GstPluginFeature of @type.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GList of
    #GstPluginFeature of @type. Use gst_plugin_feature_list_free() after use

MT safe.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="PluginFeature"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="registry" transfer-ownership="none">
            <doc xml:space="preserve">a #GstRegistry</doc>
            <type name="Registry" c:type="GstRegistry*"/>
          </instance-parameter>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">a #GType.</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_feature_list_by_plugin"
              c:identifier="gst_registry_get_feature_list_by_plugin">
        <doc xml:space="preserve">Retrieves a #GList of features of the plugin with name @name.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GList of
    #GstPluginFeature. Use gst_plugin_feature_list_free() after usage.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="PluginFeature"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="registry" transfer-ownership="none">
            <doc xml:space="preserve">a #GstRegistry.</doc>
            <type name="Registry" c:type="GstRegistry*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">a plugin name.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_feature_list_cookie"
              c:identifier="gst_registry_get_feature_list_cookie">
        <doc xml:space="preserve">Returns the registry's feature list cookie. This changes
every time a feature is added or removed from the registry.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the feature list cookie.</doc>
          <type name="guint32" c:type="guint32"/>
        </return-value>
        <parameters>
          <instance-parameter name="registry" transfer-ownership="none">
            <doc xml:space="preserve">the registry</doc>
            <type name="Registry" c:type="GstRegistry*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_plugin_list"
              c:identifier="gst_registry_get_plugin_list">
        <doc xml:space="preserve">Get a copy of all plugins registered in the given registry. The refcount
of each element in the list in incremented.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GList of #GstPlugin.
    Use gst_plugin_list_free() after usage.

MT safe.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="Plugin"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="registry" transfer-ownership="none">
            <doc xml:space="preserve">the registry to search</doc>
            <type name="Registry" c:type="GstRegistry*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="lookup" c:identifier="gst_registry_lookup">
        <doc xml:space="preserve">Look up a plugin in the given registry with the given filename.
If found, plugin is reffed.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the #GstPlugin if found, or
    %NULL if not.  gst_object_unref() after usage.</doc>
          <type name="Plugin" c:type="GstPlugin*"/>
        </return-value>
        <parameters>
          <instance-parameter name="registry" transfer-ownership="none">
            <doc xml:space="preserve">the registry to look up in</doc>
            <type name="Registry" c:type="GstRegistry*"/>
          </instance-parameter>
          <parameter name="filename" transfer-ownership="none">
            <doc xml:space="preserve">the name of the file to look up</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
      <method name="lookup_feature" c:identifier="gst_registry_lookup_feature">
        <doc xml:space="preserve">Find a #GstPluginFeature with @name in @registry.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GstPluginFeature with its refcount incremented,
    use gst_object_unref() after usage.

MT safe.</doc>
          <type name="PluginFeature" c:type="GstPluginFeature*"/>
        </return-value>
        <parameters>
          <instance-parameter name="registry" transfer-ownership="none">
            <doc xml:space="preserve">a #GstRegistry</doc>
            <type name="Registry" c:type="GstRegistry*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">a #GstPluginFeature name</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
      <method name="plugin_filter" c:identifier="gst_registry_plugin_filter">
        <doc xml:space="preserve">Runs a filter against all plugins in the registry and returns a #GList with
the results. If the first flag is set, only the first match is
returned (as a list with a single object).
Every plugin is reffed; use gst_plugin_list_free() after use, which
will unref again.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GList of #GstPlugin.
    Use gst_plugin_list_free() after usage.

MT safe.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="Plugin"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="registry" transfer-ownership="none">
            <doc xml:space="preserve">registry to query</doc>
            <type name="Registry" c:type="GstRegistry*"/>
          </instance-parameter>
          <parameter name="filter"
                     transfer-ownership="none"
                     scope="call"
                     closure="2">
            <doc xml:space="preserve">the filter to use</doc>
            <type name="PluginFilter" c:type="GstPluginFilter"/>
          </parameter>
          <parameter name="first" transfer-ownership="none">
            <doc xml:space="preserve">only return first match</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user data passed to the filter function</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_feature" c:identifier="gst_registry_remove_feature">
        <doc xml:space="preserve">Remove the feature from the registry.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="registry" transfer-ownership="none">
            <doc xml:space="preserve">the registry to remove the feature from</doc>
            <type name="Registry" c:type="GstRegistry*"/>
          </instance-parameter>
          <parameter name="feature" transfer-ownership="none">
            <doc xml:space="preserve">the feature to remove</doc>
            <type name="PluginFeature" c:type="GstPluginFeature*"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_plugin" c:identifier="gst_registry_remove_plugin">
        <doc xml:space="preserve">Remove the plugin from the registry.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="registry" transfer-ownership="none">
            <doc xml:space="preserve">the registry to remove the plugin from</doc>
            <type name="Registry" c:type="GstRegistry*"/>
          </instance-parameter>
          <parameter name="plugin" transfer-ownership="none">
            <doc xml:space="preserve">the plugin to remove</doc>
            <type name="Plugin" c:type="GstPlugin*"/>
          </parameter>
        </parameters>
      </method>
      <method name="scan_path" c:identifier="gst_registry_scan_path">
        <doc xml:space="preserve">Scan the given path for plugins to add to the registry. The syntax of the
path is specific to the registry.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if registry changed</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="registry" transfer-ownership="none">
            <doc xml:space="preserve">the registry to add found plugins to</doc>
            <type name="Registry" c:type="GstRegistry*"/>
          </instance-parameter>
          <parameter name="path" transfer-ownership="none">
            <doc xml:space="preserve">the path to scan</doc>
            <type name="filename" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <field name="object">
        <type name="Object" c:type="GstObject"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="RegistryPrivate" c:type="GstRegistryPrivate*"/>
      </field>
      <glib:signal name="feature-added" when="last">
        <doc xml:space="preserve">Signals that a feature has been added to the registry (possibly
replacing a previously-added one by the same name)</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="feature" transfer-ownership="none">
            <doc xml:space="preserve">the feature that has been added</doc>
            <type name="PluginFeature"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="plugin-added" when="last">
        <doc xml:space="preserve">Signals that a plugin has been added to the registry (possibly
replacing a previously-added one by the same name)</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="plugin" transfer-ownership="none">
            <doc xml:space="preserve">the plugin that has been added</doc>
            <type name="Plugin"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="RegistryClass"
            c:type="GstRegistryClass"
            glib:is-gtype-struct-for="Registry">
      <field name="parent_class">
        <type name="ObjectClass" c:type="GstObjectClass"/>
      </field>
    </record>
    <record name="RegistryPrivate" c:type="GstRegistryPrivate" disguised="1">
    </record>
    <enumeration name="ResourceError"
                 glib:type-name="GstResourceError"
                 glib:get-type="gst_resource_error_get_type"
                 c:type="GstResourceError"
                 glib:error-domain="gst-resource-error-quark">
      <doc xml:space="preserve">Resource errors are for any resource used by an element:
memory, files, network connections, process space, ...
They're typically used by source and sink elements.</doc>
      <member name="failed"
              value="1"
              c:identifier="GST_RESOURCE_ERROR_FAILED"
              glib:nick="failed">
        <doc xml:space="preserve">a general error which doesn't fit in any other
category.  Make sure you add a custom message to the error call.</doc>
      </member>
      <member name="too_lazy"
              value="2"
              c:identifier="GST_RESOURCE_ERROR_TOO_LAZY"
              glib:nick="too-lazy">
        <doc xml:space="preserve">do not use this except as a placeholder for
deciding where to go while developing code.</doc>
      </member>
      <member name="not_found"
              value="3"
              c:identifier="GST_RESOURCE_ERROR_NOT_FOUND"
              glib:nick="not-found">
        <doc xml:space="preserve">used when the resource could not be found.</doc>
      </member>
      <member name="busy"
              value="4"
              c:identifier="GST_RESOURCE_ERROR_BUSY"
              glib:nick="busy">
        <doc xml:space="preserve">used when resource is busy.</doc>
      </member>
      <member name="open_read"
              value="5"
              c:identifier="GST_RESOURCE_ERROR_OPEN_READ"
              glib:nick="open-read">
        <doc xml:space="preserve">used when resource fails to open for reading.</doc>
      </member>
      <member name="open_write"
              value="6"
              c:identifier="GST_RESOURCE_ERROR_OPEN_WRITE"
              glib:nick="open-write">
        <doc xml:space="preserve">used when resource fails to open for writing.</doc>
      </member>
      <member name="open_read_write"
              value="7"
              c:identifier="GST_RESOURCE_ERROR_OPEN_READ_WRITE"
              glib:nick="open-read-write">
        <doc xml:space="preserve">used when resource cannot be opened for
both reading and writing, or either (but unspecified which).</doc>
      </member>
      <member name="close"
              value="8"
              c:identifier="GST_RESOURCE_ERROR_CLOSE"
              glib:nick="close">
        <doc xml:space="preserve">used when the resource can't be closed.</doc>
      </member>
      <member name="read"
              value="9"
              c:identifier="GST_RESOURCE_ERROR_READ"
              glib:nick="read">
        <doc xml:space="preserve">used when the resource can't be read from.</doc>
      </member>
      <member name="write"
              value="10"
              c:identifier="GST_RESOURCE_ERROR_WRITE"
              glib:nick="write">
        <doc xml:space="preserve">used when the resource can't be written to.</doc>
      </member>
      <member name="seek"
              value="11"
              c:identifier="GST_RESOURCE_ERROR_SEEK"
              glib:nick="seek">
        <doc xml:space="preserve">used when a seek on the resource fails.</doc>
      </member>
      <member name="sync"
              value="12"
              c:identifier="GST_RESOURCE_ERROR_SYNC"
              glib:nick="sync">
        <doc xml:space="preserve">used when a synchronize on the resource fails.</doc>
      </member>
      <member name="settings"
              value="13"
              c:identifier="GST_RESOURCE_ERROR_SETTINGS"
              glib:nick="settings">
        <doc xml:space="preserve">used when settings can't be manipulated on.</doc>
      </member>
      <member name="no_space_left"
              value="14"
              c:identifier="GST_RESOURCE_ERROR_NO_SPACE_LEFT"
              glib:nick="no-space-left">
        <doc xml:space="preserve">used when the resource has no space left.</doc>
      </member>
      <member name="not_authorized"
              value="15"
              c:identifier="GST_RESOURCE_ERROR_NOT_AUTHORIZED"
              glib:nick="not-authorized">
        <doc xml:space="preserve">used when the resource can't be opened
                                    due to missing authorization.
                                    (Since 1.2.4)</doc>
      </member>
      <member name="num_errors"
              value="16"
              c:identifier="GST_RESOURCE_ERROR_NUM_ERRORS"
              glib:nick="num-errors">
        <doc xml:space="preserve">the number of resource error types.</doc>
      </member>
      <function name="quark" c:identifier="gst_resource_error_quark">
        <return-value transfer-ownership="none">
          <type name="GLib.Quark" c:type="GQuark"/>
        </return-value>
      </function>
    </enumeration>
    <constant name="SECOND" value="1000000000" c:type="GST_SECOND">
      <doc xml:space="preserve">Constant that defines one GStreamer second.</doc>
      <type name="ClockTimeDiff" c:type="GstClockTimeDiff"/>
    </constant>
    <constant name="SEGMENT_FORMAT" value="paB" c:type="GST_SEGMENT_FORMAT">
      <doc xml:space="preserve">printf format type used to debug GStreamer segments. You can use this in
combination with GStreamer's debug logging system as well as the functions
gst_info_vasprintf(), gst_info_strdup_vprintf() and gst_info_strdup_printf()
to pretty-print #GstSegment structures.
This can only be used on pointers to GstSegment structures.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SEQNUM_INVALID"
              value="0"
              c:type="GST_SEQNUM_INVALID"
              version="1.14">
      <doc xml:space="preserve">A value which is guaranteed to never be returned by
gst_util_seqnum_next().

Can be used as a default value in variables used to store seqnum.</doc>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="STIME_FORMAT"
              value="c%"
              c:type="GST_STIME_FORMAT"
              version="1.6">
      <doc xml:space="preserve">A string that can be used in printf-like format strings to display a signed
#GstClockTimeDiff or #gint64 value in h:m:s format.  Use GST_TIME_ARGS() to
construct the matching arguments.

Example:
|[
printf("%" GST_STIME_FORMAT "\n", GST_STIME_ARGS(ts));
]|</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <record name="Sample"
            c:type="GstSample"
            glib:type-name="GstSample"
            glib:get-type="gst_sample_get_type"
            c:symbol-prefix="sample">
      <doc xml:space="preserve">A #GstSample is a small object containing data, a type, timing and
extra arbitrary information.</doc>
      <constructor name="new" c:identifier="gst_sample_new">
        <doc xml:space="preserve">Create a new #GstSample with the provided details.

Free-function: gst_sample_unref</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new #GstSample. gst_sample_unref()
    after usage.</doc>
          <type name="Sample" c:type="GstSample*"/>
        </return-value>
        <parameters>
          <parameter name="buffer"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GstBuffer, or %NULL</doc>
            <type name="Buffer" c:type="GstBuffer*"/>
          </parameter>
          <parameter name="caps"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GstCaps, or %NULL</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </parameter>
          <parameter name="segment"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GstSegment, or %NULL</doc>
            <type name="Segment" c:type="const GstSegment*"/>
          </parameter>
          <parameter name="info"
                     transfer-ownership="full"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GstStructure, or %NULL</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="get_buffer" c:identifier="gst_sample_get_buffer">
        <doc xml:space="preserve">Get the buffer associated with @sample</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">the buffer of @sample or %NULL
 when there is no buffer. The buffer remains valid as long as
 @sample is valid.  If you need to hold on to it for longer than
 that, take a ref to the buffer with gst_buffer_ref().</doc>
          <type name="Buffer" c:type="GstBuffer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="sample" transfer-ownership="none">
            <doc xml:space="preserve">a #GstSample</doc>
            <type name="Sample" c:type="GstSample*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_buffer_list"
              c:identifier="gst_sample_get_buffer_list"
              version="1.6">
        <doc xml:space="preserve">Get the buffer list associated with @sample</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">the buffer list of @sample or %NULL
 when there is no buffer list. The buffer list remains valid as long as
 @sample is valid.  If you need to hold on to it for longer than
 that, take a ref to the buffer list with gst_mini_object_ref ().</doc>
          <type name="BufferList" c:type="GstBufferList*"/>
        </return-value>
        <parameters>
          <instance-parameter name="sample" transfer-ownership="none">
            <doc xml:space="preserve">a #GstSample</doc>
            <type name="Sample" c:type="GstSample*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_caps" c:identifier="gst_sample_get_caps">
        <doc xml:space="preserve">Get the caps associated with @sample</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">the caps of @sample or %NULL
 when there is no caps. The caps remain valid as long as @sample is
 valid.  If you need to hold on to the caps for longer than that,
 take a ref to the caps with gst_caps_ref().</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="sample" transfer-ownership="none">
            <doc xml:space="preserve">a #GstSample</doc>
            <type name="Sample" c:type="GstSample*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_info" c:identifier="gst_sample_get_info">
        <doc xml:space="preserve">Get extra information associated with @sample.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">the extra info of @sample.
 The info remains valid as long as @sample is valid.</doc>
          <type name="Structure" c:type="const GstStructure*"/>
        </return-value>
        <parameters>
          <instance-parameter name="sample" transfer-ownership="none">
            <doc xml:space="preserve">a #GstSample</doc>
            <type name="Sample" c:type="GstSample*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_segment" c:identifier="gst_sample_get_segment">
        <doc xml:space="preserve">Get the segment associated with @sample</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the segment of @sample.
 The segment remains valid as long as @sample is valid.</doc>
          <type name="Segment" c:type="GstSegment*"/>
        </return-value>
        <parameters>
          <instance-parameter name="sample" transfer-ownership="none">
            <doc xml:space="preserve">a #GstSample</doc>
            <type name="Sample" c:type="GstSample*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_buffer_list"
              c:identifier="gst_sample_set_buffer_list"
              version="1.6">
        <doc xml:space="preserve">Set the buffer list associated with @sample</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="sample" transfer-ownership="none">
            <doc xml:space="preserve">a #GstSample</doc>
            <type name="Sample" c:type="GstSample*"/>
          </instance-parameter>
          <parameter name="buffer_list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstBufferList</doc>
            <type name="BufferList" c:type="GstBufferList*"/>
          </parameter>
        </parameters>
      </method>
    </record>
    <bitfield name="SchedulingFlags"
              glib:type-name="GstSchedulingFlags"
              glib:get-type="gst_scheduling_flags_get_type"
              c:type="GstSchedulingFlags">
      <doc xml:space="preserve">The different scheduling flags.</doc>
      <member name="seekable"
              value="1"
              c:identifier="GST_SCHEDULING_FLAG_SEEKABLE"
              glib:nick="seekable">
        <doc xml:space="preserve">if seeking is possible</doc>
      </member>
      <member name="sequential"
              value="2"
              c:identifier="GST_SCHEDULING_FLAG_SEQUENTIAL"
              glib:nick="sequential">
        <doc xml:space="preserve">if sequential access is recommended</doc>
      </member>
      <member name="bandwidth_limited"
              value="4"
              c:identifier="GST_SCHEDULING_FLAG_BANDWIDTH_LIMITED"
              glib:nick="bandwidth-limited">
        <doc xml:space="preserve">if bandwidth is limited and buffering possible (since 1.2)</doc>
      </member>
    </bitfield>
    <enumeration name="SearchMode"
                 glib:type-name="GstSearchMode"
                 glib:get-type="gst_search_mode_get_type"
                 c:type="GstSearchMode">
      <doc xml:space="preserve">The different search modes.</doc>
      <member name="exact"
              value="0"
              c:identifier="GST_SEARCH_MODE_EXACT"
              glib:nick="exact">
        <doc xml:space="preserve">Only search for exact matches.</doc>
      </member>
      <member name="before"
              value="1"
              c:identifier="GST_SEARCH_MODE_BEFORE"
              glib:nick="before">
        <doc xml:space="preserve">Search for an exact match or the element just before.</doc>
      </member>
      <member name="after"
              value="2"
              c:identifier="GST_SEARCH_MODE_AFTER"
              glib:nick="after">
        <doc xml:space="preserve">Search for an exact match or the element just after.</doc>
      </member>
    </enumeration>
    <bitfield name="SeekFlags"
              glib:type-name="GstSeekFlags"
              glib:get-type="gst_seek_flags_get_type"
              c:type="GstSeekFlags">
      <doc xml:space="preserve">Flags to be used with gst_element_seek() or gst_event_new_seek(). All flags
can be used together.

A non flushing seek might take some time to perform as the currently
playing data in the pipeline will not be cleared.

An accurate seek might be slower for formats that don't have any indexes
or timestamp markers in the stream. Specifying this flag might require a
complete scan of the file in those cases.

When performing a segment seek: after the playback of the segment completes,
no EOS will be emitted by the element that performed the seek, but a
%GST_MESSAGE_SEGMENT_DONE message will be posted on the bus by the element.
When this message is posted, it is possible to send a new seek event to
continue playback. With this seek method it is possible to perform seamless
looping or simple linear editing.

When doing fast forward (rate &gt; 1.0) or fast reverse (rate &lt; -1.0) trickmode
playback, the %GST_SEEK_FLAG_TRICKMODE flag can be used to instruct decoders
and demuxers to adjust the playback rate by skipping frames. This can improve
performance and decrease CPU usage because not all frames need to be decoded.

Beyond that, the %GST_SEEK_FLAG_TRICKMODE_KEY_UNITS flag can be used to
request that decoders skip all frames except key units, and
%GST_SEEK_FLAG_TRICKMODE_NO_AUDIO flags can be used to request that audio
decoders do no decoding at all, and simple output silence.

The %GST_SEEK_FLAG_SNAP_BEFORE flag can be used to snap to the previous
relevant location, and the %GST_SEEK_FLAG_SNAP_AFTER flag can be used to
select the next relevant location. If %GST_SEEK_FLAG_KEY_UNIT is specified,
the relevant location is a keyframe. If both flags are specified, the nearest
of these locations will be selected. If none are specified, the implementation is
free to select whichever it wants.

The before and after here are in running time, so when playing backwards,
the next location refers to the one that will played in next, and not the
one that is located after in the actual source stream.

Also see part-seeking.txt in the GStreamer design documentation for more
details on the meaning of these flags and the behaviour expected of
elements that handle them.</doc>
      <member name="none"
              value="0"
              c:identifier="GST_SEEK_FLAG_NONE"
              glib:nick="none">
        <doc xml:space="preserve">no flag</doc>
      </member>
      <member name="flush"
              value="1"
              c:identifier="GST_SEEK_FLAG_FLUSH"
              glib:nick="flush">
        <doc xml:space="preserve">flush pipeline</doc>
      </member>
      <member name="accurate"
              value="2"
              c:identifier="GST_SEEK_FLAG_ACCURATE"
              glib:nick="accurate">
        <doc xml:space="preserve">accurate position is requested, this might
                    be considerably slower for some formats.</doc>
      </member>
      <member name="key_unit"
              value="4"
              c:identifier="GST_SEEK_FLAG_KEY_UNIT"
              glib:nick="key-unit">
        <doc xml:space="preserve">seek to the nearest keyframe. This might be
                    faster but less accurate.</doc>
      </member>
      <member name="segment"
              value="8"
              c:identifier="GST_SEEK_FLAG_SEGMENT"
              glib:nick="segment">
        <doc xml:space="preserve">perform a segment seek.</doc>
      </member>
      <member name="trickmode"
              value="16"
              c:identifier="GST_SEEK_FLAG_TRICKMODE"
              glib:nick="trickmode">
        <doc xml:space="preserve">when doing fast forward or fast reverse playback, allow
                    elements to skip frames instead of generating all
                    frames. (Since 1.6)</doc>
      </member>
      <member name="skip"
              value="16"
              c:identifier="GST_SEEK_FLAG_SKIP"
              glib:nick="skip">
        <doc xml:space="preserve">Deprecated backward compatibility flag, replaced
                    by %GST_SEEK_FLAG_TRICKMODE</doc>
      </member>
      <member name="snap_before"
              value="32"
              c:identifier="GST_SEEK_FLAG_SNAP_BEFORE"
              glib:nick="snap-before">
        <doc xml:space="preserve">go to a location before the requested position,
                    if %GST_SEEK_FLAG_KEY_UNIT this means the keyframe at or before
                    the requested position the one at or before the seek target.</doc>
      </member>
      <member name="snap_after"
              value="64"
              c:identifier="GST_SEEK_FLAG_SNAP_AFTER"
              glib:nick="snap-after">
        <doc xml:space="preserve">go to a location after the requested position,
                    if %GST_SEEK_FLAG_KEY_UNIT this means the keyframe at of after the
                    requested position.</doc>
      </member>
      <member name="snap_nearest"
              value="96"
              c:identifier="GST_SEEK_FLAG_SNAP_NEAREST"
              glib:nick="snap-nearest">
        <doc xml:space="preserve">go to a position near the requested position,
                    if %GST_SEEK_FLAG_KEY_UNIT this means the keyframe closest
                    to the requested position, if both keyframes are at an equal
                    distance, behaves like %GST_SEEK_FLAG_SNAP_BEFORE.</doc>
      </member>
      <member name="trickmode_key_units"
              value="128"
              c:identifier="GST_SEEK_FLAG_TRICKMODE_KEY_UNITS"
              glib:nick="trickmode-key-units">
        <doc xml:space="preserve">when doing fast forward or fast reverse
                    playback, request that elements only decode keyframes
                    and skip all other content, for formats that have
                    keyframes. (Since 1.6)</doc>
      </member>
      <member name="trickmode_no_audio"
              value="256"
              c:identifier="GST_SEEK_FLAG_TRICKMODE_NO_AUDIO"
              glib:nick="trickmode-no-audio">
        <doc xml:space="preserve">when doing fast forward or fast reverse
                    playback, request that audio decoder elements skip
                    decoding and output only gap events or silence. (Since 1.6)</doc>
      </member>
    </bitfield>
    <enumeration name="SeekType"
                 glib:type-name="GstSeekType"
                 glib:get-type="gst_seek_type_get_type"
                 c:type="GstSeekType">
      <doc xml:space="preserve">The different types of seek events. When constructing a seek event with
gst_event_new_seek() or when doing gst_segment_do_seek ().</doc>
      <member name="none"
              value="0"
              c:identifier="GST_SEEK_TYPE_NONE"
              glib:nick="none">
        <doc xml:space="preserve">no change in position is required</doc>
      </member>
      <member name="set"
              value="1"
              c:identifier="GST_SEEK_TYPE_SET"
              glib:nick="set">
        <doc xml:space="preserve">absolute position is requested</doc>
      </member>
      <member name="end"
              value="2"
              c:identifier="GST_SEEK_TYPE_END"
              glib:nick="end">
        <doc xml:space="preserve">relative position to duration is requested</doc>
      </member>
    </enumeration>
    <record name="Segment"
            c:type="GstSegment"
            glib:type-name="GstSegment"
            glib:get-type="gst_segment_get_type"
            c:symbol-prefix="segment">
      <doc xml:space="preserve">This helper structure holds the relevant values for tracking the region of
interest in a media file, called a segment.

The structure can be used for two purposes:

  * performing seeks (handling seek events)
  * tracking playback regions (handling newsegment events)

The segment is usually configured by the application with a seek event which
is propagated upstream and eventually handled by an element that performs the seek.

The configured segment is then propagated back downstream with a newsegment event.
This information is then used to clip media to the segment boundaries.

A segment structure is initialized with gst_segment_init(), which takes a #GstFormat
that will be used as the format of the segment values. The segment will be configured
with a start value of 0 and a stop/duration of -1, which is undefined. The default
rate and applied_rate is 1.0.

The public duration field contains the duration of the segment. When using
the segment for seeking, the start and time members should normally be left
to their default 0 value. The stop position is left to -1 unless explicitly
configured to a different value after a seek event.

The current position in the segment should be set by changing the position
member in the structure.

For elements that perform seeks, the current segment should be updated with the
gst_segment_do_seek() and the values from the seek event. This method will update
all the segment fields. The position field will contain the new playback position.
If the start_type was different from GST_SEEK_TYPE_NONE, playback continues from
the position position, possibly with updated flags or rate.

For elements that want to use #GstSegment to track the playback region,
update the segment fields with the information from the newsegment event.
The gst_segment_clip() method can be used to check and clip
the media data to the segment boundaries.

For elements that want to synchronize to the pipeline clock, gst_segment_to_running_time()
can be used to convert a timestamp to a value that can be used to synchronize
to the clock. This function takes into account the base as well as
any rate or applied_rate conversions.

For elements that need to perform operations on media data in stream_time,
gst_segment_to_stream_time() can be used to convert a timestamp and the segment
info to stream time (which is always between 0 and the duration of the stream).</doc>
      <field name="flags" writable="1">
        <doc xml:space="preserve">flags for this segment</doc>
        <type name="SegmentFlags" c:type="GstSegmentFlags"/>
      </field>
      <field name="rate" writable="1">
        <doc xml:space="preserve">the playback rate of the segment</doc>
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="applied_rate" writable="1">
        <doc xml:space="preserve">the already applied rate to the segment</doc>
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="format" writable="1">
        <doc xml:space="preserve">the format of the segment values</doc>
        <type name="Format" c:type="GstFormat"/>
      </field>
      <field name="base" writable="1">
        <doc xml:space="preserve">the running time (plus elapsed time, see offset) of the segment start</doc>
        <type name="guint64" c:type="guint64"/>
      </field>
      <field name="offset" writable="1">
        <doc xml:space="preserve">the amount (in buffer timestamps) that has already been elapsed in
    the segment</doc>
        <type name="guint64" c:type="guint64"/>
      </field>
      <field name="start" writable="1">
        <doc xml:space="preserve">the start of the segment in buffer timestamp time (PTS)</doc>
        <type name="guint64" c:type="guint64"/>
      </field>
      <field name="stop" writable="1">
        <doc xml:space="preserve">the stop of the segment in buffer timestamp time (PTS)</doc>
        <type name="guint64" c:type="guint64"/>
      </field>
      <field name="time" writable="1">
        <doc xml:space="preserve">the stream time of the segment start</doc>
        <type name="guint64" c:type="guint64"/>
      </field>
      <field name="position" writable="1">
        <doc xml:space="preserve">the buffer timestamp position in the segment (used internally by
    elements such as sources, demuxers or parsers to track progress)</doc>
        <type name="guint64" c:type="guint64"/>
      </field>
      <field name="duration" writable="1">
        <doc xml:space="preserve">the duration of the stream</doc>
        <type name="guint64" c:type="guint64"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
      <constructor name="new" c:identifier="gst_segment_new">
        <doc xml:space="preserve">Allocate a new #GstSegment structure and initialize it using
gst_segment_init().

Free-function: gst_segment_free</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstSegment, free with gst_segment_free().</doc>
          <type name="Segment" c:type="GstSegment*"/>
        </return-value>
      </constructor>
      <method name="clip" c:identifier="gst_segment_clip">
        <doc xml:space="preserve">Clip the given @start and @stop values to the segment boundaries given
in @segment. @start and @stop are compared and clipped to @segment
start and stop values.

If the function returns %FALSE, @start and @stop are known to fall
outside of @segment and @clip_start and @clip_stop are not updated.

When the function returns %TRUE, @clip_start and @clip_stop will be
updated. If @clip_start or @clip_stop are different from @start or @stop
respectively, the region fell partially in the segment.

Note that when @stop is -1, @clip_stop will be set to the end of the
segment. Depending on the use case, this may or may not be what you want.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the given @start and @stop times fall partially or
    completely in @segment, %FALSE if the values are completely outside
    of the segment.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="segment" transfer-ownership="none">
            <doc xml:space="preserve">a #GstSegment structure.</doc>
            <type name="Segment" c:type="const GstSegment*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the format of the segment.</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="start" transfer-ownership="none">
            <doc xml:space="preserve">the start position in the segment</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
          <parameter name="stop" transfer-ownership="none">
            <doc xml:space="preserve">the stop position in the segment</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
          <parameter name="clip_start"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the clipped start position in the segment</doc>
            <type name="guint64" c:type="guint64*"/>
          </parameter>
          <parameter name="clip_stop"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the clipped stop position in the segment</doc>
            <type name="guint64" c:type="guint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="copy" c:identifier="gst_segment_copy">
        <doc xml:space="preserve">Create a copy of given @segment.

Free-function: gst_segment_free</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstSegment, free with gst_segment_free().</doc>
          <type name="Segment" c:type="GstSegment*"/>
        </return-value>
        <parameters>
          <instance-parameter name="segment" transfer-ownership="none">
            <doc xml:space="preserve">a #GstSegment</doc>
            <type name="Segment" c:type="const GstSegment*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="copy_into" c:identifier="gst_segment_copy_into">
        <doc xml:space="preserve">Copy the contents of @src into @dest.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve">a #GstSegment</doc>
            <type name="Segment" c:type="const GstSegment*"/>
          </instance-parameter>
          <parameter name="dest" transfer-ownership="none">
            <doc xml:space="preserve">a #GstSegment</doc>
            <type name="Segment" c:type="GstSegment*"/>
          </parameter>
        </parameters>
      </method>
      <method name="do_seek" c:identifier="gst_segment_do_seek">
        <doc xml:space="preserve">Update the segment structure with the field values of a seek event (see
gst_event_new_seek()).

After calling this method, the segment field position and time will
contain the requested new position in the segment. The new requested
position in the segment depends on @rate and @start_type and @stop_type.

For positive @rate, the new position in the segment is the new @segment
start field when it was updated with a @start_type different from
#GST_SEEK_TYPE_NONE. If no update was performed on @segment start position
(#GST_SEEK_TYPE_NONE), @start is ignored and @segment position is
unmodified.

For negative @rate, the new position in the segment is the new @segment
stop field when it was updated with a @stop_type different from
#GST_SEEK_TYPE_NONE. If no stop was previously configured in the segment, the
duration of the segment will be used to update the stop position.
If no update was performed on @segment stop position (#GST_SEEK_TYPE_NONE),
@stop is ignored and @segment position is unmodified.

The applied rate of the segment will be set to 1.0 by default.
If the caller can apply a rate change, it should update @segment
rate and applied_rate after calling this function.

@update will be set to %TRUE if a seek should be performed to the segment
position field. This field can be %FALSE if, for example, only the @rate
has been changed but not the playback position.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the seek could be performed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="segment" transfer-ownership="none">
            <doc xml:space="preserve">a #GstSegment structure.</doc>
            <type name="Segment" c:type="GstSegment*"/>
          </instance-parameter>
          <parameter name="rate" transfer-ownership="none">
            <doc xml:space="preserve">the rate of the segment.</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the format of the segment.</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">the segment flags for the segment</doc>
            <type name="SeekFlags" c:type="GstSeekFlags"/>
          </parameter>
          <parameter name="start_type" transfer-ownership="none">
            <doc xml:space="preserve">the seek method</doc>
            <type name="SeekType" c:type="GstSeekType"/>
          </parameter>
          <parameter name="start" transfer-ownership="none">
            <doc xml:space="preserve">the seek start value</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
          <parameter name="stop_type" transfer-ownership="none">
            <doc xml:space="preserve">the seek method</doc>
            <type name="SeekType" c:type="GstSeekType"/>
          </parameter>
          <parameter name="stop" transfer-ownership="none">
            <doc xml:space="preserve">the seek stop value</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
          <parameter name="update"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">boolean holding whether position was updated.</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
        </parameters>
      </method>
      <method name="free" c:identifier="gst_segment_free">
        <doc xml:space="preserve">Free the allocated segment @segment.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="segment" transfer-ownership="full">
            <doc xml:space="preserve">a #GstSegment</doc>
            <type name="Segment" c:type="GstSegment*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="init" c:identifier="gst_segment_init">
        <doc xml:space="preserve">The start/position fields are set to 0 and the stop/duration
fields are set to -1 (unknown). The default rate of 1.0 and no
flags are set.

Initialize @segment to its default values.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="segment" transfer-ownership="none">
            <doc xml:space="preserve">a #GstSegment structure.</doc>
            <type name="Segment" c:type="GstSegment*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the format of the segment.</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_equal"
              c:identifier="gst_segment_is_equal"
              version="1.6">
        <doc xml:space="preserve">Checks for two segments being equal. Equality here is defined
as perfect equality, including floating point values.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the segments are equal, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="s0" transfer-ownership="none">
            <doc xml:space="preserve">a #GstSegment structure.</doc>
            <type name="Segment" c:type="const GstSegment*"/>
          </instance-parameter>
          <parameter name="s1" transfer-ownership="none">
            <doc xml:space="preserve">a #GstSegment structure.</doc>
            <type name="Segment" c:type="const GstSegment*"/>
          </parameter>
        </parameters>
      </method>
      <method name="offset_running_time"
              c:identifier="gst_segment_offset_running_time"
              version="1.2.3">
        <doc xml:space="preserve">Adjust the values in @segment so that @offset is applied to all
future running-time calculations.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the segment could be updated successfully. If %FALSE is
returned, @offset is not in @segment.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="segment" transfer-ownership="none">
            <doc xml:space="preserve">a #GstSegment structure.</doc>
            <type name="Segment" c:type="GstSegment*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the format of the segment.</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="offset" transfer-ownership="none">
            <doc xml:space="preserve">the offset to apply in the segment</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="position_from_running_time"
              c:identifier="gst_segment_position_from_running_time"
              version="1.8">
        <doc xml:space="preserve">Convert @running_time into a position in the segment so that
gst_segment_to_running_time() with that position returns @running_time.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the position in the segment for @running_time. This function returns
-1 when @running_time is -1 or when it is not inside @segment.</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="segment" transfer-ownership="none">
            <doc xml:space="preserve">a #GstSegment structure.</doc>
            <type name="Segment" c:type="const GstSegment*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the format of the segment.</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="running_time" transfer-ownership="none">
            <doc xml:space="preserve">the running_time in the segment</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="position_from_running_time_full"
              c:identifier="gst_segment_position_from_running_time_full"
              version="1.8">
        <doc xml:space="preserve">Translate @running_time to the segment position using the currently configured
segment. Compared to gst_segment_position_from_running_time() this function can
return negative segment position.

This function is typically used by elements that need to synchronize buffers
against the clock or each other.

@running_time can be any value and the result of this function for values
outside of the segment is extrapolated.

When 1 is returned, @running_time resulted in a positive position returned
in @position.

When this function returns -1, the returned @position should be negated
to get the real negative segment position.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a 1 or -1 on success, 0 on failure.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="segment" transfer-ownership="none">
            <doc xml:space="preserve">a #GstSegment structure.</doc>
            <type name="Segment" c:type="const GstSegment*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the format of the segment.</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="running_time" transfer-ownership="none">
            <doc xml:space="preserve">the running-time</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
          <parameter name="position"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">the resulting position in the segment</doc>
            <type name="guint64" c:type="guint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="position_from_stream_time"
              c:identifier="gst_segment_position_from_stream_time"
              version="1.8">
        <doc xml:space="preserve">Convert @stream_time into a position in the segment so that
gst_segment_to_stream_time() with that position returns @stream_time.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the position in the segment for @stream_time. This function returns
-1 when @stream_time is -1 or when it is not inside @segment.</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="segment" transfer-ownership="none">
            <doc xml:space="preserve">a #GstSegment structure.</doc>
            <type name="Segment" c:type="const GstSegment*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the format of the segment.</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="stream_time" transfer-ownership="none">
            <doc xml:space="preserve">the stream_time in the segment</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="position_from_stream_time_full"
              c:identifier="gst_segment_position_from_stream_time_full"
              version="1.8">
        <doc xml:space="preserve">Translate @stream_time to the segment position using the currently configured
segment. Compared to gst_segment_position_from_stream_time() this function can
return negative segment position.

This function is typically used by elements that need to synchronize buffers
against the clock or each other.

@stream_time can be any value and the result of this function for values outside
of the segment is extrapolated.

When 1 is returned, @stream_time resulted in a positive position returned
in @position.

When this function returns -1, the returned @position should be negated
to get the real negative segment position.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a 1 or -1 on success, 0 on failure.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="segment" transfer-ownership="none">
            <doc xml:space="preserve">a #GstSegment structure.</doc>
            <type name="Segment" c:type="const GstSegment*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the format of the segment.</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="stream_time" transfer-ownership="none">
            <doc xml:space="preserve">the stream-time</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
          <parameter name="position"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">the resulting position in the segment</doc>
            <type name="guint64" c:type="guint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_running_time"
              c:identifier="gst_segment_set_running_time">
        <doc xml:space="preserve">Adjust the start/stop and base values of @segment such that the next valid
buffer will be one with @running_time.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the segment could be updated successfully. If %FALSE is
returned, @running_time is -1 or not in @segment.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="segment" transfer-ownership="none">
            <doc xml:space="preserve">a #GstSegment structure.</doc>
            <type name="Segment" c:type="GstSegment*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the format of the segment.</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="running_time" transfer-ownership="none">
            <doc xml:space="preserve">the running_time in the segment</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_position"
              c:identifier="gst_segment_to_position"
              deprecated="1">
        <doc xml:space="preserve">Convert @running_time into a position in the segment so that
gst_segment_to_running_time() with that position returns @running_time.</doc>
        <doc-deprecated xml:space="preserve">Use gst_segment_position_from_running_time() instead.</doc-deprecated>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the position in the segment for @running_time. This function returns
-1 when @running_time is -1 or when it is not inside @segment.</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="segment" transfer-ownership="none">
            <doc xml:space="preserve">a #GstSegment structure.</doc>
            <type name="Segment" c:type="const GstSegment*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the format of the segment.</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="running_time" transfer-ownership="none">
            <doc xml:space="preserve">the running_time in the segment</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_running_time"
              c:identifier="gst_segment_to_running_time">
        <doc xml:space="preserve">Translate @position to the total running time using the currently configured
segment. Position is a value between @segment start and stop time.

This function is typically used by elements that need to synchronize to the
global clock in a pipeline. The running time is a constantly increasing value
starting from 0. When gst_segment_init() is called, this value will reset to
0.

This function returns -1 if the position is outside of @segment start and stop.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the position as the total running time or -1 when an invalid position
was given.</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="segment" transfer-ownership="none">
            <doc xml:space="preserve">a #GstSegment structure.</doc>
            <type name="Segment" c:type="const GstSegment*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the format of the segment.</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="position" transfer-ownership="none">
            <doc xml:space="preserve">the position in the segment</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_running_time_full"
              c:identifier="gst_segment_to_running_time_full"
              version="1.6">
        <doc xml:space="preserve">Translate @position to the total running time using the currently configured
segment. Compared to gst_segment_to_running_time() this function can return
negative running-time.

This function is typically used by elements that need to synchronize buffers
against the clock or eachother.

@position can be any value and the result of this function for values outside
of the segment is extrapolated.

When 1 is returned, @position resulted in a positive running-time returned
in @running_time.

When this function returns -1, the returned @running_time should be negated
to get the real negative running time.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a 1 or -1 on success, 0 on failure.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="segment" transfer-ownership="none">
            <doc xml:space="preserve">a #GstSegment structure.</doc>
            <type name="Segment" c:type="const GstSegment*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the format of the segment.</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="position" transfer-ownership="none">
            <doc xml:space="preserve">the position in the segment</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
          <parameter name="running_time"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">result running-time</doc>
            <type name="guint64" c:type="guint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_stream_time"
              c:identifier="gst_segment_to_stream_time"
              version="1.8">
        <doc xml:space="preserve">Translate @position to stream time using the currently configured
segment. The @position value must be between @segment start and
stop value.

This function is typically used by elements that need to operate on
the stream time of the buffers it receives, such as effect plugins.
In those use cases, @position is typically the buffer timestamp or
clock time that one wants to convert to the stream time.
The stream time is always between 0 and the total duration of the
media stream.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the position in stream_time or -1 when an invalid position
was given.</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="segment" transfer-ownership="none">
            <doc xml:space="preserve">a #GstSegment structure.</doc>
            <type name="Segment" c:type="const GstSegment*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the format of the segment.</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="position" transfer-ownership="none">
            <doc xml:space="preserve">the position in the segment</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_stream_time_full"
              c:identifier="gst_segment_to_stream_time_full"
              version="1.8">
        <doc xml:space="preserve">Translate @position to the total stream time using the currently configured
segment. Compared to gst_segment_to_stream_time() this function can return
negative stream-time.

This function is typically used by elements that need to synchronize buffers
against the clock or eachother.

@position can be any value and the result of this function for values outside
of the segment is extrapolated.

When 1 is returned, @position resulted in a positive stream-time returned
in @stream_time.

When this function returns -1, the returned @stream_time should be negated
to get the real negative stream time.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a 1 or -1 on success, 0 on failure.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="segment" transfer-ownership="none">
            <doc xml:space="preserve">a #GstSegment structure.</doc>
            <type name="Segment" c:type="const GstSegment*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the format of the segment.</doc>
            <type name="Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="position" transfer-ownership="none">
            <doc xml:space="preserve">the position in the segment</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
          <parameter name="stream_time"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">result stream-time</doc>
            <type name="guint64" c:type="guint64*"/>
          </parameter>
        </parameters>
      </method>
    </record>
    <bitfield name="SegmentFlags"
              glib:type-name="GstSegmentFlags"
              glib:get-type="gst_segment_flags_get_type"
              c:type="GstSegmentFlags">
      <doc xml:space="preserve">Flags for the GstSegment structure. Currently mapped to the corresponding
values of the seek flags.</doc>
      <member name="none"
              value="0"
              c:identifier="GST_SEGMENT_FLAG_NONE"
              glib:nick="none">
        <doc xml:space="preserve">no flags</doc>
      </member>
      <member name="reset"
              value="1"
              c:identifier="GST_SEGMENT_FLAG_RESET"
              glib:nick="reset">
        <doc xml:space="preserve">reset the pipeline running_time to the segment
                         running_time</doc>
      </member>
      <member name="trickmode"
              value="16"
              c:identifier="GST_SEGMENT_FLAG_TRICKMODE"
              glib:nick="trickmode">
        <doc xml:space="preserve">perform skip playback (Since 1.6)</doc>
      </member>
      <member name="skip"
              value="16"
              c:identifier="GST_SEGMENT_FLAG_SKIP"
              glib:nick="skip">
        <doc xml:space="preserve">Deprecated backward compatibility flag, replaced
                        by @GST_SEGMENT_FLAG_TRICKMODE</doc>
      </member>
      <member name="segment"
              value="8"
              c:identifier="GST_SEGMENT_FLAG_SEGMENT"
              glib:nick="segment">
        <doc xml:space="preserve">send SEGMENT_DONE instead of EOS</doc>
      </member>
      <member name="trickmode_key_units"
              value="128"
              c:identifier="GST_SEGMENT_FLAG_TRICKMODE_KEY_UNITS"
              glib:nick="trickmode-key-units">
        <doc xml:space="preserve">Decode only keyframes, where
                                       possible (Since 1.6)</doc>
      </member>
      <member name="trickmode_no_audio"
              value="256"
              c:identifier="GST_SEGMENT_FLAG_TRICKMODE_NO_AUDIO"
              glib:nick="trickmode-no-audio">
        <doc xml:space="preserve">Do not decode any audio, where
                                       possible (Since 1.6)</doc>
      </member>
    </bitfield>
    <bitfield name="StackTraceFlags"
              version="1.12"
              glib:type-name="GstStackTraceFlags"
              glib:get-type="gst_stack_trace_flags_get_type"
              c:type="GstStackTraceFlags">
      <member name="full"
              value="1"
              c:identifier="GST_STACK_TRACE_SHOW_FULL"
              glib:nick="full">
        <doc xml:space="preserve">Try to retrieve as much information as
                            possible when getting the stack trace</doc>
      </member>
    </bitfield>
    <enumeration name="State"
                 glib:type-name="GstState"
                 glib:get-type="gst_state_get_type"
                 c:type="GstState">
      <doc xml:space="preserve">The possible states an element can be in. States can be changed using
gst_element_set_state() and checked using gst_element_get_state().</doc>
      <member name="void_pending"
              value="0"
              c:identifier="GST_STATE_VOID_PENDING"
              glib:nick="void-pending">
        <doc xml:space="preserve">no pending state.</doc>
      </member>
      <member name="null"
              value="1"
              c:identifier="GST_STATE_NULL"
              glib:nick="null">
        <doc xml:space="preserve">the NULL state or initial state of an element.</doc>
      </member>
      <member name="ready"
              value="2"
              c:identifier="GST_STATE_READY"
              glib:nick="ready">
        <doc xml:space="preserve">the element is ready to go to PAUSED.</doc>
      </member>
      <member name="paused"
              value="3"
              c:identifier="GST_STATE_PAUSED"
              glib:nick="paused">
        <doc xml:space="preserve">the element is PAUSED, it is ready to accept and
                         process data. Sink elements however only accept one
                         buffer and then block.</doc>
      </member>
      <member name="playing"
              value="4"
              c:identifier="GST_STATE_PLAYING"
              glib:nick="playing">
        <doc xml:space="preserve">the element is PLAYING, the #GstClock is running and
                         the data is flowing.</doc>
      </member>
    </enumeration>
    <enumeration name="StateChange"
                 glib:type-name="GstStateChange"
                 glib:get-type="gst_state_change_get_type"
                 c:type="GstStateChange">
      <doc xml:space="preserve">These are the different state changes an element goes through.
%GST_STATE_NULL &amp;rArr; %GST_STATE_PLAYING is called an upwards state change
and %GST_STATE_PLAYING &amp;rArr; %GST_STATE_NULL a downwards state change.</doc>
      <member name="null_to_ready"
              value="10"
              c:identifier="GST_STATE_CHANGE_NULL_TO_READY"
              glib:nick="null-to-ready">
        <doc xml:space="preserve">state change from NULL to READY.
  * The element must check if the resources it needs are available. Device
    sinks and -sources typically try to probe the device to constrain their
    caps.
  * The element opens the device (in case feature need to be probed).</doc>
      </member>
      <member name="ready_to_paused"
              value="19"
              c:identifier="GST_STATE_CHANGE_READY_TO_PAUSED"
              glib:nick="ready-to-paused">
        <doc xml:space="preserve">state change from READY to PAUSED.
  * The element pads are activated in order to receive data in PAUSED.
    Streaming threads are started.
  * Some elements might need to return %GST_STATE_CHANGE_ASYNC and complete
    the state change when they have enough information. It is a requirement
    for sinks to return %GST_STATE_CHANGE_ASYNC and complete the state change
    when they receive the first buffer or %GST_EVENT_EOS (preroll).
    Sinks also block the dataflow when in PAUSED.
  * A pipeline resets the running_time to 0.
  * Live sources return %GST_STATE_CHANGE_NO_PREROLL and don't generate data.</doc>
      </member>
      <member name="paused_to_playing"
              value="28"
              c:identifier="GST_STATE_CHANGE_PAUSED_TO_PLAYING"
              glib:nick="paused-to-playing">
        <doc xml:space="preserve">state change from PAUSED to PLAYING.
  * Most elements ignore this state change.
  * The pipeline selects a #GstClock and distributes this to all the children
    before setting them to PLAYING. This means that it is only allowed to
    synchronize on the #GstClock in the PLAYING state.
  * The pipeline uses the #GstClock and the running_time to calculate the
    base_time. The base_time is distributed to all children when performing
    the state change.
  * Sink elements stop blocking on the preroll buffer or event and start
    rendering the data.
  * Sinks can post %GST_MESSAGE_EOS in the PLAYING state. It is not allowed
    to post %GST_MESSAGE_EOS when not in the PLAYING state.
  * While streaming in PAUSED or PLAYING elements can create and remove
    sometimes pads.
  * Live sources start generating data and return %GST_STATE_CHANGE_SUCCESS.</doc>
      </member>
      <member name="playing_to_paused"
              value="35"
              c:identifier="GST_STATE_CHANGE_PLAYING_TO_PAUSED"
              glib:nick="playing-to-paused">
        <doc xml:space="preserve">state change from PLAYING to PAUSED.
  * Most elements ignore this state change.
  * The pipeline calculates the running_time based on the last selected
    #GstClock and the base_time. It stores this information to continue
    playback when going back to the PLAYING state.
  * Sinks unblock any #GstClock wait calls.
  * When a sink does not have a pending buffer to play, it returns
    #GST_STATE_CHANGE_ASYNC from this state change and completes the state
    change when it receives a new buffer or an %GST_EVENT_EOS.
  * Any queued %GST_MESSAGE_EOS items are removed since they will be reposted
    when going back to the PLAYING state. The EOS messages are queued in
    #GstBin containers.
  * Live sources stop generating data and return %GST_STATE_CHANGE_NO_PREROLL.</doc>
      </member>
      <member name="paused_to_ready"
              value="26"
              c:identifier="GST_STATE_CHANGE_PAUSED_TO_READY"
              glib:nick="paused-to-ready">
        <doc xml:space="preserve">state change from PAUSED to READY.
  * Sinks unblock any waits in the preroll.
  * Elements unblock any waits on devices
  * Chain or get_range functions return %GST_FLOW_FLUSHING.
  * The element pads are deactivated so that streaming becomes impossible and
    all streaming threads are stopped.
  * The sink forgets all negotiated formats
  * Elements remove all sometimes pads</doc>
      </member>
      <member name="ready_to_null"
              value="17"
              c:identifier="GST_STATE_CHANGE_READY_TO_NULL"
              glib:nick="ready-to-null">
        <doc xml:space="preserve">state change from READY to NULL.
  * Elements close devices
  * Elements reset any internal state.</doc>
      </member>
      <member name="null_to_null"
              value="9"
              c:identifier="GST_STATE_CHANGE_NULL_TO_NULL"
              glib:nick="null-to-null">
        <doc xml:space="preserve">state change from NULL to NULL. (Since 1.14)</doc>
      </member>
      <member name="ready_to_ready"
              value="18"
              c:identifier="GST_STATE_CHANGE_READY_TO_READY"
              glib:nick="ready-to-ready">
        <doc xml:space="preserve">state change from READY to READY,
This might happen when going to PAUSED asynchronously failed, in that case
elements should make sure they are in a proper, coherent READY state. (Since 1.14)</doc>
      </member>
      <member name="paused_to_paused"
              value="27"
              c:identifier="GST_STATE_CHANGE_PAUSED_TO_PAUSED"
              glib:nick="paused-to-paused">
        <doc xml:space="preserve">state change from PAUSED to PAUSED.
This might happen when elements were in PLAYING state and 'lost state',
they should make sure to go back to real 'PAUSED' state (prerolling for example). (Since 1.14)</doc>
      </member>
      <member name="playing_to_playing"
              value="36"
              c:identifier="GST_STATE_CHANGE_PLAYING_TO_PLAYING"
              glib:nick="playing-to-playing">
        <doc xml:space="preserve">state change from PLAYING to PLAYING. (Since 1.14)</doc>
      </member>
      <function name="get_name"
                c:identifier="gst_state_change_get_name"
                version="1.14">
        <doc xml:space="preserve">Gets a string representing the given state transition.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a string with the name of the state
   result.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="transition" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStateChange to get the name of.</doc>
            <type name="StateChange" c:type="GstStateChange"/>
          </parameter>
        </parameters>
      </function>
    </enumeration>
    <enumeration name="StateChangeReturn"
                 glib:type-name="GstStateChangeReturn"
                 glib:get-type="gst_state_change_return_get_type"
                 c:type="GstStateChangeReturn">
      <doc xml:space="preserve">The possible return values from a state change function such as
gst_element_set_state(). Only @GST_STATE_CHANGE_FAILURE is a real failure.</doc>
      <member name="failure"
              value="0"
              c:identifier="GST_STATE_CHANGE_FAILURE"
              glib:nick="failure">
        <doc xml:space="preserve">the state change failed</doc>
      </member>
      <member name="success"
              value="1"
              c:identifier="GST_STATE_CHANGE_SUCCESS"
              glib:nick="success">
        <doc xml:space="preserve">the state change succeeded</doc>
      </member>
      <member name="async"
              value="2"
              c:identifier="GST_STATE_CHANGE_ASYNC"
              glib:nick="async">
        <doc xml:space="preserve">the state change will happen asynchronously</doc>
      </member>
      <member name="no_preroll"
              value="3"
              c:identifier="GST_STATE_CHANGE_NO_PREROLL"
              glib:nick="no-preroll">
        <doc xml:space="preserve">the state change succeeded but the element
                              cannot produce data in %GST_STATE_PAUSED.
                              This typically happens with live sources.</doc>
      </member>
    </enumeration>
    <record name="StaticCaps" c:type="GstStaticCaps">
      <doc xml:space="preserve">Datastructure to initialize #GstCaps from a string description usually
used in conjunction with GST_STATIC_CAPS() and gst_static_caps_get() to
instantiate a #GstCaps.</doc>
      <field name="caps" writable="1">
        <doc xml:space="preserve">the cached #GstCaps</doc>
        <type name="Caps" c:type="GstCaps*"/>
      </field>
      <field name="string" writable="1">
        <doc xml:space="preserve">a string describing a caps</doc>
        <type name="utf8" c:type="const char*"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
      <method name="cleanup" c:identifier="gst_static_caps_cleanup">
        <doc xml:space="preserve">Clean up the cached caps contained in @static_caps.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="static_caps" transfer-ownership="none">
            <doc xml:space="preserve">the #GstStaticCaps to clean</doc>
            <type name="StaticCaps" c:type="GstStaticCaps*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get" c:identifier="gst_static_caps_get">
        <doc xml:space="preserve">Converts a #GstStaticCaps to a #GstCaps.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a pointer to the #GstCaps. Unref
    after usage. Since the core holds an additional ref to the
    returned caps, use gst_caps_make_writable() on the returned caps
    to modify it.</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="static_caps" transfer-ownership="none">
            <doc xml:space="preserve">the #GstStaticCaps to convert</doc>
            <type name="StaticCaps" c:type="GstStaticCaps*"/>
          </instance-parameter>
        </parameters>
      </method>
    </record>
    <record name="StaticPadTemplate" c:type="GstStaticPadTemplate">
      <doc xml:space="preserve">Structure describing the #GstStaticPadTemplate.</doc>
      <field name="name_template" writable="1">
        <doc xml:space="preserve">the name of the template</doc>
        <type name="utf8" c:type="const gchar*"/>
      </field>
      <field name="direction" writable="1">
        <doc xml:space="preserve">the direction of the template</doc>
        <type name="PadDirection" c:type="GstPadDirection"/>
      </field>
      <field name="presence" writable="1">
        <doc xml:space="preserve">the presence of the template</doc>
        <type name="PadPresence" c:type="GstPadPresence"/>
      </field>
      <field name="static_caps" writable="1">
        <doc xml:space="preserve">the caps of the template.</doc>
        <type name="StaticCaps" c:type="GstStaticCaps"/>
      </field>
      <method name="get" c:identifier="gst_static_pad_template_get">
        <doc xml:space="preserve">Converts a #GstStaticPadTemplate into a #GstPadTemplate.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">a new #GstPadTemplate.</doc>
          <type name="PadTemplate" c:type="GstPadTemplate*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad_template" transfer-ownership="none">
            <doc xml:space="preserve">the static pad template</doc>
            <type name="StaticPadTemplate" c:type="GstStaticPadTemplate*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_caps" c:identifier="gst_static_pad_template_get_caps">
        <doc xml:space="preserve">Gets the capabilities of the static pad template.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the #GstCaps of the static pad template.
Unref after usage. Since the core holds an additional
ref to the returned caps, use gst_caps_make_writable()
on the returned caps to modify it.</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="templ" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStaticPadTemplate to get capabilities of.</doc>
            <type name="StaticPadTemplate" c:type="GstStaticPadTemplate*"/>
          </instance-parameter>
        </parameters>
      </method>
    </record>
    <class name="Stream"
           c:symbol-prefix="stream"
           c:type="GstStream"
           version="1.10"
           parent="Object"
           glib:type-name="GstStream"
           glib:get-type="gst_stream_get_type"
           glib:type-struct="StreamClass">
      <doc xml:space="preserve">A high-level object representing a single stream. It might be backed, or
not, by an actual flow of data in a pipeline (#GstPad).

A #GstStream does not care about data changes (such as decoding, encoding,
parsing,...) as long as the underlying data flow corresponds to the same
high-level flow (ex: a certain audio track).

A #GstStream contains all the information pertinent to a stream, such as
stream-id, tags, caps, type, ...

Elements can subclass a #GstStream for internal usage (to contain information
pertinent to streams of data).</doc>
      <constructor name="new" c:identifier="gst_stream_new" version="1.10">
        <doc xml:space="preserve">Create a new #GstStream for the given @stream_id, @caps, @type
and @flags</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The new #GstStream</doc>
          <type name="Stream" c:type="GstStream*"/>
        </return-value>
        <parameters>
          <parameter name="stream_id"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the id for the new stream. If %NULL,
a new one will be automatically generated</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="caps"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the #GstCaps of the stream</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </parameter>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">the #GstStreamType of the stream</doc>
            <type name="StreamType" c:type="GstStreamType"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">the #GstStreamFlags of the stream</doc>
            <type name="StreamFlags" c:type="GstStreamFlags"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="get_caps"
              c:identifier="gst_stream_get_caps"
              version="1.10">
        <doc xml:space="preserve">Retrieve the caps for @stream, if any</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">The #GstCaps for @stream</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="stream" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStream</doc>
            <type name="Stream" c:type="GstStream*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_stream_flags"
              c:identifier="gst_stream_get_stream_flags"
              version="1.10">
        <doc xml:space="preserve">Retrieve the current stream flags for @stream</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The #GstStreamFlags for @stream</doc>
          <type name="StreamFlags" c:type="GstStreamFlags"/>
        </return-value>
        <parameters>
          <instance-parameter name="stream" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStream</doc>
            <type name="Stream" c:type="GstStream*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_stream_id"
              c:identifier="gst_stream_get_stream_id"
              version="1.10">
        <doc xml:space="preserve">Returns the stream ID of @stream.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">the stream ID of @stream. Only valid
during the lifetime of @stream.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="stream" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStream</doc>
            <type name="Stream" c:type="GstStream*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_stream_type"
              c:identifier="gst_stream_get_stream_type"
              version="1.10">
        <doc xml:space="preserve">Retrieve the stream type for @stream</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The #GstStreamType for @stream</doc>
          <type name="StreamType" c:type="GstStreamType"/>
        </return-value>
        <parameters>
          <instance-parameter name="stream" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStream</doc>
            <type name="Stream" c:type="GstStream*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_tags"
              c:identifier="gst_stream_get_tags"
              version="1.10">
        <doc xml:space="preserve">Retrieve the tags for @stream, if any</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">The #GstTagList for @stream</doc>
          <type name="TagList" c:type="GstTagList*"/>
        </return-value>
        <parameters>
          <instance-parameter name="stream" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStream</doc>
            <type name="Stream" c:type="GstStream*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_caps"
              c:identifier="gst_stream_set_caps"
              version="1.10">
        <doc xml:space="preserve">Set the caps for the #GstStream</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="stream" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStream</doc>
            <type name="Stream" c:type="GstStream*"/>
          </instance-parameter>
          <parameter name="caps"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GstCaps</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_stream_flags"
              c:identifier="gst_stream_set_stream_flags"
              version="1.10">
        <doc xml:space="preserve">Set the @flags for the @stream.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="stream" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStream</doc>
            <type name="Stream" c:type="GstStream*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">the flags to set on @stream</doc>
            <type name="StreamFlags" c:type="GstStreamFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_stream_type"
              c:identifier="gst_stream_set_stream_type"
              version="1.10">
        <doc xml:space="preserve">Set the stream type of @stream</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="stream" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStream</doc>
            <type name="Stream" c:type="GstStream*"/>
          </instance-parameter>
          <parameter name="stream_type" transfer-ownership="none">
            <doc xml:space="preserve">the type to set on @stream</doc>
            <type name="StreamType" c:type="GstStreamType"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_tags"
              c:identifier="gst_stream_set_tags"
              version="1.10">
        <doc xml:space="preserve">Set the tags for the #GstStream</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="stream" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStream</doc>
            <type name="Stream" c:type="GstStream*"/>
          </instance-parameter>
          <parameter name="tags"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GstTagList</doc>
            <type name="TagList" c:type="GstTagList*"/>
          </parameter>
        </parameters>
      </method>
      <property name="caps" writable="1" transfer-ownership="none">
        <doc xml:space="preserve">The #GstCaps of the #GstStream.</doc>
        <type name="Caps"/>
      </property>
      <property name="stream-flags"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <type name="StreamFlags"/>
      </property>
      <property name="stream-id"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The unique identifier of the #GstStream. Can only be set at construction
time.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="stream-type"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The #GstStreamType of the #GstStream. Can only be set at construction time.</doc>
        <type name="StreamType"/>
      </property>
      <property name="tags" writable="1" transfer-ownership="none">
        <doc xml:space="preserve">The #GstTagList of the #GstStream.</doc>
        <type name="TagList"/>
      </property>
      <field name="object" readable="0" private="1">
        <type name="Object" c:type="GstObject"/>
      </field>
      <field name="stream_id">
        <doc xml:space="preserve">The Stream Identifier for this #GstStream</doc>
        <type name="utf8" c:type="const gchar*"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="StreamPrivate" c:type="GstStreamPrivate*"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </class>
    <record name="StreamClass"
            c:type="GstStreamClass"
            glib:is-gtype-struct-for="Stream">
      <doc xml:space="preserve">GstStream class structure</doc>
      <field name="parent_class">
        <doc xml:space="preserve">the parent class structure</doc>
        <type name="ObjectClass" c:type="GstObjectClass"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <class name="StreamCollection"
           c:symbol-prefix="stream_collection"
           c:type="GstStreamCollection"
           version="1.10"
           parent="Object"
           glib:type-name="GstStreamCollection"
           glib:get-type="gst_stream_collection_get_type"
           glib:type-struct="StreamCollectionClass">
      <doc xml:space="preserve">A collection of #GstStream that are available.

A #GstStreamCollection will be provided by elements that can make those
streams available. Applications can use the collection to show the user
what streams are available by using %gst_stream_collection_get_stream()

Once posted, a #GstStreamCollection is immutable. Updates are made by sending
a new #GstStreamCollection message, which may or may not share some of
the #GstStream objects from the collection it replaces. The receiver can check
the sender of a stream collection message to know which collection is
obsoleted.

Several elements in a pipeline can provide #GstStreamCollection.

Applications can activate streams from a collection by using the
#GST_EVENT_SELECT_STREAMS event on a pipeline, bin or element.</doc>
      <constructor name="new"
                   c:identifier="gst_stream_collection_new"
                   version="1.10">
        <doc xml:space="preserve">Create a new #GstStreamCollection.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The new #GstStreamCollection.</doc>
          <type name="StreamCollection" c:type="GstStreamCollection*"/>
        </return-value>
        <parameters>
          <parameter name="upstream_id"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The stream id of the parent stream</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <virtual-method name="stream_notify">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="collection" transfer-ownership="none">
            <type name="StreamCollection" c:type="GstStreamCollection*"/>
          </instance-parameter>
          <parameter name="stream" transfer-ownership="none">
            <type name="Stream" c:type="GstStream*"/>
          </parameter>
          <parameter name="pspec" transfer-ownership="none">
            <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="add_stream"
              c:identifier="gst_stream_collection_add_stream"
              version="1.10">
        <doc xml:space="preserve">Add the given @stream to the @collection.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the @stream was properly added, else %FALSE</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="collection" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStreamCollection</doc>
            <type name="StreamCollection" c:type="GstStreamCollection*"/>
          </instance-parameter>
          <parameter name="stream" transfer-ownership="full">
            <doc xml:space="preserve">the #GstStream to add</doc>
            <type name="Stream" c:type="GstStream*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_size"
              c:identifier="gst_stream_collection_get_size"
              version="1.10">
        <doc xml:space="preserve">Get the number of streams this collection contains</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The number of streams that @collection contains</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="collection" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStreamCollection</doc>
            <type name="StreamCollection" c:type="GstStreamCollection*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_stream"
              c:identifier="gst_stream_collection_get_stream"
              version="1.10">
        <doc xml:space="preserve">Retrieve the #GstStream with index @index from the collection.

The caller should not modify the returned #GstStream</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">A #GstStream</doc>
          <type name="Stream" c:type="GstStream*"/>
        </return-value>
        <parameters>
          <instance-parameter name="collection" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStreamCollection</doc>
            <type name="StreamCollection" c:type="GstStreamCollection*"/>
          </instance-parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">Index of the stream to retrieve</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_upstream_id"
              c:identifier="gst_stream_collection_get_upstream_id"
              version="1.10">
        <doc xml:space="preserve">Returns the upstream id of the @collection.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The upstream id</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="collection" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStreamCollection</doc>
            <type name="StreamCollection" c:type="GstStreamCollection*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="upstream-id"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <field name="object" readable="0" private="1">
        <type name="Object" c:type="GstObject"/>
      </field>
      <field name="upstream_id" readable="0" private="1">
        <type name="utf8" c:type="gchar*"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="StreamCollectionPrivate"
              c:type="GstStreamCollectionPrivate*"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
      <glib:signal name="stream-notify"
                   when="first"
                   no-recurse="1"
                   detailed="1"
                   no-hooks="1">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="object" transfer-ownership="none">
            <type name="Stream"/>
          </parameter>
          <parameter name="p0" transfer-ownership="none">
            <type name="GObject.ParamSpec"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="StreamCollectionClass"
            c:type="GstStreamCollectionClass"
            glib:is-gtype-struct-for="StreamCollection">
      <doc xml:space="preserve">GstStreamCollection class structure</doc>
      <field name="parent_class">
        <doc xml:space="preserve">the parent class structure</doc>
        <type name="ObjectClass" c:type="GstObjectClass"/>
      </field>
      <field name="stream_notify">
        <callback name="stream_notify">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="collection" transfer-ownership="none">
              <type name="StreamCollection" c:type="GstStreamCollection*"/>
            </parameter>
            <parameter name="stream" transfer-ownership="none">
              <type name="Stream" c:type="GstStream*"/>
            </parameter>
            <parameter name="pspec" transfer-ownership="none">
              <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="StreamCollectionPrivate"
            c:type="GstStreamCollectionPrivate"
            disguised="1">
    </record>
    <enumeration name="StreamError"
                 glib:type-name="GstStreamError"
                 glib:get-type="gst_stream_error_get_type"
                 c:type="GstStreamError"
                 glib:error-domain="gst-stream-error-quark">
      <doc xml:space="preserve">Stream errors are for anything related to the stream being processed:
format errors, media type errors, ...
They're typically used by decoders, demuxers, converters, ...</doc>
      <member name="failed"
              value="1"
              c:identifier="GST_STREAM_ERROR_FAILED"
              glib:nick="failed">
        <doc xml:space="preserve">a general error which doesn't fit in any other
category.  Make sure you add a custom message to the error call.</doc>
      </member>
      <member name="too_lazy"
              value="2"
              c:identifier="GST_STREAM_ERROR_TOO_LAZY"
              glib:nick="too-lazy">
        <doc xml:space="preserve">do not use this except as a placeholder for
deciding where to go while developing code.</doc>
      </member>
      <member name="not_implemented"
              value="3"
              c:identifier="GST_STREAM_ERROR_NOT_IMPLEMENTED"
              glib:nick="not-implemented">
        <doc xml:space="preserve">use this when you do not want to implement
this functionality yet.</doc>
      </member>
      <member name="type_not_found"
              value="4"
              c:identifier="GST_STREAM_ERROR_TYPE_NOT_FOUND"
              glib:nick="type-not-found">
        <doc xml:space="preserve">used when the element doesn't know the
stream's type.</doc>
      </member>
      <member name="wrong_type"
              value="5"
              c:identifier="GST_STREAM_ERROR_WRONG_TYPE"
              glib:nick="wrong-type">
        <doc xml:space="preserve">used when the element doesn't handle this type
of stream.</doc>
      </member>
      <member name="codec_not_found"
              value="6"
              c:identifier="GST_STREAM_ERROR_CODEC_NOT_FOUND"
              glib:nick="codec-not-found">
        <doc xml:space="preserve">used when there's no codec to handle the
stream's type.</doc>
      </member>
      <member name="decode"
              value="7"
              c:identifier="GST_STREAM_ERROR_DECODE"
              glib:nick="decode">
        <doc xml:space="preserve">used when decoding fails.</doc>
      </member>
      <member name="encode"
              value="8"
              c:identifier="GST_STREAM_ERROR_ENCODE"
              glib:nick="encode">
        <doc xml:space="preserve">used when encoding fails.</doc>
      </member>
      <member name="demux"
              value="9"
              c:identifier="GST_STREAM_ERROR_DEMUX"
              glib:nick="demux">
        <doc xml:space="preserve">used when demuxing fails.</doc>
      </member>
      <member name="mux"
              value="10"
              c:identifier="GST_STREAM_ERROR_MUX"
              glib:nick="mux">
        <doc xml:space="preserve">used when muxing fails.</doc>
      </member>
      <member name="format"
              value="11"
              c:identifier="GST_STREAM_ERROR_FORMAT"
              glib:nick="format">
        <doc xml:space="preserve">used when the stream is of the wrong format
(for example, wrong caps).</doc>
      </member>
      <member name="decrypt"
              value="12"
              c:identifier="GST_STREAM_ERROR_DECRYPT"
              glib:nick="decrypt">
        <doc xml:space="preserve">used when the stream is encrypted and can't be
decrypted because this is not supported by the element.</doc>
      </member>
      <member name="decrypt_nokey"
              value="13"
              c:identifier="GST_STREAM_ERROR_DECRYPT_NOKEY"
              glib:nick="decrypt-nokey">
        <doc xml:space="preserve">used when the stream is encrypted and
can't be decrypted because no suitable key is available.</doc>
      </member>
      <member name="num_errors"
              value="14"
              c:identifier="GST_STREAM_ERROR_NUM_ERRORS"
              glib:nick="num-errors">
        <doc xml:space="preserve">the number of stream error types.</doc>
      </member>
      <function name="quark" c:identifier="gst_stream_error_quark">
        <return-value transfer-ownership="none">
          <type name="GLib.Quark" c:type="GQuark"/>
        </return-value>
      </function>
    </enumeration>
    <bitfield name="StreamFlags"
              version="1.2"
              glib:type-name="GstStreamFlags"
              glib:get-type="gst_stream_flags_get_type"
              c:type="GstStreamFlags">
      <member name="none"
              value="0"
              c:identifier="GST_STREAM_FLAG_NONE"
              glib:nick="none">
        <doc xml:space="preserve">This stream has no special attributes</doc>
      </member>
      <member name="sparse"
              value="1"
              c:identifier="GST_STREAM_FLAG_SPARSE"
              glib:nick="sparse">
        <doc xml:space="preserve">This stream is a sparse stream (e.g. a subtitle
   stream), data may flow only in irregular intervals with large gaps in
   between.</doc>
      </member>
      <member name="select"
              value="2"
              c:identifier="GST_STREAM_FLAG_SELECT"
              glib:nick="select">
        <doc xml:space="preserve">This stream should be selected by default. This
   flag may be used by demuxers to signal that a stream should be selected
   by default in a playback scenario.</doc>
      </member>
      <member name="unselect"
              value="4"
              c:identifier="GST_STREAM_FLAG_UNSELECT"
              glib:nick="unselect">
        <doc xml:space="preserve">This stream should not be selected by default.
   This flag may be used by demuxers to signal that a stream should not
   be selected by default in a playback scenario, but only if explicitly
   selected by the user (e.g. an audio track for the hard of hearing or
   a director's commentary track).</doc>
      </member>
    </bitfield>
    <record name="StreamPrivate" c:type="GstStreamPrivate" disguised="1">
    </record>
    <enumeration name="StreamStatusType"
                 glib:type-name="GstStreamStatusType"
                 glib:get-type="gst_stream_status_type_get_type"
                 c:type="GstStreamStatusType">
      <doc xml:space="preserve">The type of a %GST_MESSAGE_STREAM_STATUS. The stream status messages inform the
application of new streaming threads and their status.</doc>
      <member name="create"
              value="0"
              c:identifier="GST_STREAM_STATUS_TYPE_CREATE"
              glib:nick="create">
        <doc xml:space="preserve">A new thread need to be created.</doc>
      </member>
      <member name="enter"
              value="1"
              c:identifier="GST_STREAM_STATUS_TYPE_ENTER"
              glib:nick="enter">
        <doc xml:space="preserve">a thread entered its loop function</doc>
      </member>
      <member name="leave"
              value="2"
              c:identifier="GST_STREAM_STATUS_TYPE_LEAVE"
              glib:nick="leave">
        <doc xml:space="preserve">a thread left its loop function</doc>
      </member>
      <member name="destroy"
              value="3"
              c:identifier="GST_STREAM_STATUS_TYPE_DESTROY"
              glib:nick="destroy">
        <doc xml:space="preserve">a thread is destroyed</doc>
      </member>
      <member name="start"
              value="8"
              c:identifier="GST_STREAM_STATUS_TYPE_START"
              glib:nick="start">
        <doc xml:space="preserve">a thread is started</doc>
      </member>
      <member name="pause"
              value="9"
              c:identifier="GST_STREAM_STATUS_TYPE_PAUSE"
              glib:nick="pause">
        <doc xml:space="preserve">a thread is paused</doc>
      </member>
      <member name="stop"
              value="10"
              c:identifier="GST_STREAM_STATUS_TYPE_STOP"
              glib:nick="stop">
        <doc xml:space="preserve">a thread is stopped</doc>
      </member>
    </enumeration>
    <bitfield name="StreamType"
              version="1.10"
              glib:type-name="GstStreamType"
              glib:get-type="gst_stream_type_get_type"
              c:type="GstStreamType">
      <doc xml:space="preserve">#GstStreamType describes a high level classification set for
flows of data in #GstStream objects.

Note that this is a flag, and therefore users should not assume it
will be a single value. Do not use the equality operator for checking
whether a stream is of a certain type.</doc>
      <member name="unknown"
              value="1"
              c:identifier="GST_STREAM_TYPE_UNKNOWN"
              glib:nick="unknown">
        <doc xml:space="preserve">The stream is of unknown (unclassified) type.</doc>
      </member>
      <member name="audio"
              value="2"
              c:identifier="GST_STREAM_TYPE_AUDIO"
              glib:nick="audio">
        <doc xml:space="preserve">The stream is of audio data</doc>
      </member>
      <member name="video"
              value="4"
              c:identifier="GST_STREAM_TYPE_VIDEO"
              glib:nick="video">
        <doc xml:space="preserve">The stream carries video data</doc>
      </member>
      <member name="container"
              value="8"
              c:identifier="GST_STREAM_TYPE_CONTAINER"
              glib:nick="container">
        <doc xml:space="preserve">The stream is a muxed container type</doc>
      </member>
      <member name="text"
              value="16"
              c:identifier="GST_STREAM_TYPE_TEXT"
              glib:nick="text">
        <doc xml:space="preserve">The stream contains subtitle / subpicture data.</doc>
      </member>
      <function name="get_name"
                c:identifier="gst_stream_type_get_name"
                version="1.10">
        <doc xml:space="preserve">Get a descriptive string for a given #GstStreamType</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">A string describing the stream type</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="stype" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStreamType</doc>
            <type name="StreamType" c:type="GstStreamType"/>
          </parameter>
        </parameters>
      </function>
    </bitfield>
    <record name="Structure"
            c:type="GstStructure"
            glib:type-name="GstStructure"
            glib:get-type="gst_structure_get_type"
            c:symbol-prefix="structure">
      <doc xml:space="preserve">A #GstStructure is a collection of key/value pairs. The keys are expressed
as GQuarks and the values can be of any GType.

In addition to the key/value pairs, a #GstStructure also has a name. The name
starts with a letter and can be filled by letters, numbers and any of "/-_.:".

#GstStructure is used by various GStreamer subsystems to store information
in a flexible and extensible way. A #GstStructure does not have a refcount
because it usually is part of a higher level object such as #GstCaps,
#GstMessage, #GstEvent, #GstQuery. It provides a means to enforce mutability
using the refcount of the parent with the gst_structure_set_parent_refcount()
method.

A #GstStructure can be created with gst_structure_new_empty() or
gst_structure_new(), which both take a name and an optional set of
key/value pairs along with the types of the values.

Field values can be changed with gst_structure_set_value() or
gst_structure_set().

Field values can be retrieved with gst_structure_get_value() or the more
convenient gst_structure_get_*() functions.

Fields can be removed with gst_structure_remove_field() or
gst_structure_remove_fields().

Strings in structures must be ASCII or UTF-8 encoded. Other encodings are
not allowed. Strings may be %NULL however.

Be aware that the current #GstCaps / #GstStructure serialization into string
has limited support for nested #GstCaps / #GstStructure fields. It can only
support one level of nesting. Using more levels will lead to unexpected
behavior when using serialization features, such as gst_caps_to_string() or
gst_value_serialize() and their counterparts.</doc>
      <field name="type" writable="1">
        <doc xml:space="preserve">the GType of a structure</doc>
        <type name="GType" c:type="GType"/>
      </field>
      <field name="name" readable="0" private="1">
        <type name="GLib.Quark" c:type="GQuark"/>
      </field>
      <constructor name="new"
                   c:identifier="gst_structure_new"
                   introspectable="0">
        <doc xml:space="preserve">Creates a new #GstStructure with the given name.  Parses the
list of variable arguments and sets fields to the values listed.
Variable arguments should be passed as field name, field type,
and value.  Last variable argument should be %NULL.

Free-function: gst_structure_free</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstStructure</doc>
          <type name="Structure" c:type="GstStructure*"/>
        </return-value>
        <parameters>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">name of new structure</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="firstfield" transfer-ownership="none">
            <doc xml:space="preserve">name of first field to set</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">additional arguments</doc>
            <varargs/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_empty" c:identifier="gst_structure_new_empty">
        <doc xml:space="preserve">Creates a new, empty #GstStructure with the given @name.

See gst_structure_set_name() for constraints on the @name parameter.

Free-function: gst_structure_free</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new, empty #GstStructure</doc>
          <type name="Structure" c:type="GstStructure*"/>
        </return-value>
        <parameters>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">name of new structure</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_from_string"
                   c:identifier="gst_structure_new_from_string"
                   version="1.2">
        <doc xml:space="preserve">Creates a #GstStructure from a string representation.
If end is not %NULL, a pointer to the place inside the given string
where parsing ended will be returned.

The current implementation of serialization will lead to unexpected results
when there are nested #GstCaps / #GstStructure deeper than one level.

Free-function: gst_structure_free</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a new #GstStructure or %NULL
    when the string could not be parsed. Free with
    gst_structure_free() after use.</doc>
          <type name="Structure" c:type="GstStructure*"/>
        </return-value>
        <parameters>
          <parameter name="string" transfer-ownership="none">
            <doc xml:space="preserve">a string representation of a #GstStructure</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_id"
                   c:identifier="gst_structure_new_id"
                   introspectable="0">
        <doc xml:space="preserve">Creates a new #GstStructure with the given name as a GQuark, followed by
fieldname quark, GType, argument(s) "triplets" in the same format as
gst_structure_id_set(). Basically a convenience wrapper around
gst_structure_new_id_empty() and gst_structure_id_set().

The last variable argument must be %NULL (or 0).

Free-function: gst_structure_free</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstStructure</doc>
          <type name="Structure" c:type="GstStructure*"/>
        </return-value>
        <parameters>
          <parameter name="name_quark" transfer-ownership="none">
            <doc xml:space="preserve">name of new structure</doc>
            <type name="GLib.Quark" c:type="GQuark"/>
          </parameter>
          <parameter name="field_quark" transfer-ownership="none">
            <doc xml:space="preserve">the GQuark for the name of the field to set</doc>
            <type name="GLib.Quark" c:type="GQuark"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">variable arguments</doc>
            <varargs/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_id_empty"
                   c:identifier="gst_structure_new_id_empty">
        <doc xml:space="preserve">Creates a new, empty #GstStructure with the given name as a GQuark.

Free-function: gst_structure_free</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new, empty #GstStructure</doc>
          <type name="Structure" c:type="GstStructure*"/>
        </return-value>
        <parameters>
          <parameter name="quark" transfer-ownership="none">
            <doc xml:space="preserve">name of new structure</doc>
            <type name="GLib.Quark" c:type="GQuark"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_valist"
                   c:identifier="gst_structure_new_valist"
                   introspectable="0">
        <doc xml:space="preserve">Creates a new #GstStructure with the given @name.  Structure fields
are set according to the varargs in a manner similar to
gst_structure_new().

See gst_structure_set_name() for constraints on the @name parameter.

Free-function: gst_structure_free</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstStructure</doc>
          <type name="Structure" c:type="GstStructure*"/>
        </return-value>
        <parameters>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">name of new structure</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="firstfield" transfer-ownership="none">
            <doc xml:space="preserve">name of first field to set</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="varargs" transfer-ownership="none">
            <doc xml:space="preserve">variable argument list</doc>
            <type name="va_list" c:type="va_list"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="can_intersect" c:identifier="gst_structure_can_intersect">
        <doc xml:space="preserve">Tries intersecting @struct1 and @struct2 and reports whether the result
would not be empty.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if intersection would not be empty</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="struct1" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="struct2" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </parameter>
        </parameters>
      </method>
      <method name="copy" c:identifier="gst_structure_copy">
        <doc xml:space="preserve">Duplicates a #GstStructure and all its fields and values.

Free-function: gst_structure_free</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstStructure.</doc>
          <type name="Structure" c:type="GstStructure*"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure to duplicate</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="filter_and_map_in_place"
              c:identifier="gst_structure_filter_and_map_in_place"
              version="1.6">
        <doc xml:space="preserve">Calls the provided function once for each field in the #GstStructure. In
contrast to gst_structure_foreach(), the function may modify the fields.
In contrast to gst_structure_map_in_place(), the field is removed from
the structure if %FALSE is returned from the function.
The structure must be mutable.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </instance-parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="call"
                     closure="1">
            <doc xml:space="preserve">a function to call for each field</doc>
            <type name="StructureFilterMapFunc"
                  c:type="GstStructureFilterMapFunc"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">private data</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="fixate" c:identifier="gst_structure_fixate">
        <doc xml:space="preserve">Fixate all values in @structure using gst_value_fixate().
@structure will be modified in-place and should be writable.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="fixate_field" c:identifier="gst_structure_fixate_field">
        <doc xml:space="preserve">Fixates a #GstStructure by changing the given field with its fixated value.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the structure field could be fixated</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </instance-parameter>
          <parameter name="field_name" transfer-ownership="none">
            <doc xml:space="preserve">a field in @structure</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
      <method name="fixate_field_boolean"
              c:identifier="gst_structure_fixate_field_boolean">
        <doc xml:space="preserve">Fixates a #GstStructure by changing the given @field_name field to the given
@target boolean if that field is not fixed yet.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the structure could be fixated</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </instance-parameter>
          <parameter name="field_name" transfer-ownership="none">
            <doc xml:space="preserve">a field in @structure</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="target" transfer-ownership="none">
            <doc xml:space="preserve">the target value of the fixation</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="fixate_field_nearest_double"
              c:identifier="gst_structure_fixate_field_nearest_double">
        <doc xml:space="preserve">Fixates a #GstStructure by changing the given field to the nearest
double to @target that is a subset of the existing field.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the structure could be fixated</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </instance-parameter>
          <parameter name="field_name" transfer-ownership="none">
            <doc xml:space="preserve">a field in @structure</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="target" transfer-ownership="none">
            <doc xml:space="preserve">the target value of the fixation</doc>
            <type name="gdouble" c:type="double"/>
          </parameter>
        </parameters>
      </method>
      <method name="fixate_field_nearest_fraction"
              c:identifier="gst_structure_fixate_field_nearest_fraction">
        <doc xml:space="preserve">Fixates a #GstStructure by changing the given field to the nearest
fraction to @target_numerator/@target_denominator that is a subset
of the existing field.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the structure could be fixated</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </instance-parameter>
          <parameter name="field_name" transfer-ownership="none">
            <doc xml:space="preserve">a field in @structure</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="target_numerator" transfer-ownership="none">
            <doc xml:space="preserve">The numerator of the target value of the fixation</doc>
            <type name="gint" c:type="const gint"/>
          </parameter>
          <parameter name="target_denominator" transfer-ownership="none">
            <doc xml:space="preserve">The denominator of the target value of the fixation</doc>
            <type name="gint" c:type="const gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="fixate_field_nearest_int"
              c:identifier="gst_structure_fixate_field_nearest_int">
        <doc xml:space="preserve">Fixates a #GstStructure by changing the given field to the nearest
integer to @target that is a subset of the existing field.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the structure could be fixated</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </instance-parameter>
          <parameter name="field_name" transfer-ownership="none">
            <doc xml:space="preserve">a field in @structure</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="target" transfer-ownership="none">
            <doc xml:space="preserve">the target value of the fixation</doc>
            <type name="gint" c:type="int"/>
          </parameter>
        </parameters>
      </method>
      <method name="fixate_field_string"
              c:identifier="gst_structure_fixate_field_string">
        <doc xml:space="preserve">Fixates a #GstStructure by changing the given @field_name field to the given
@target string if that field is not fixed yet.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the structure could be fixated</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </instance-parameter>
          <parameter name="field_name" transfer-ownership="none">
            <doc xml:space="preserve">a field in @structure</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="target" transfer-ownership="none">
            <doc xml:space="preserve">the target value of the fixation</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="foreach" c:identifier="gst_structure_foreach">
        <doc xml:space="preserve">Calls the provided function once for each field in the #GstStructure. The
function must not modify the fields. Also see gst_structure_map_in_place()
and gst_structure_filter_and_map_in_place().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the supplied function returns %TRUE For each of the fields,
%FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="call"
                     closure="1">
            <doc xml:space="preserve">a function to call for each field</doc>
            <type name="StructureForeachFunc"
                  c:type="GstStructureForeachFunc"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">private data</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="free" c:identifier="gst_structure_free">
        <doc xml:space="preserve">Frees a #GstStructure and all its fields and values. The structure must not
have a parent when this function is called.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="full">
            <doc xml:space="preserve">the #GstStructure to free</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get" c:identifier="gst_structure_get" introspectable="0">
        <doc xml:space="preserve">Parses the variable arguments and reads fields from @structure accordingly.
Variable arguments should be in the form field name, field type
(as a GType), pointer(s) to a variable(s) to hold the return value(s).
The last variable argument should be %NULL.

For refcounted (mini)objects you will receive a new reference which
you must release with a suitable _unref() when no longer needed. For
strings and boxed types you will receive a copy which you will need to
release with either g_free() or the suitable function for the boxed type.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%FALSE if there was a problem reading any of the fields (e.g.
    because the field requested did not exist, or was of a type other
    than the type specified), otherwise %TRUE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="first_fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of the first field to read</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">variable arguments</doc>
            <varargs/>
          </parameter>
        </parameters>
      </method>
      <method name="get_array" c:identifier="gst_structure_get_array">
        <doc xml:space="preserve">This is useful in language bindings where unknown #GValue types are not
supported. This function will convert the %GST_TYPE_ARRAY and
%GST_TYPE_LIST into a newly allocated #GValueArray and return it through
@array. Be aware that this is slower then getting the #GValue directly.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the value could be set correctly. If there was no field
with @fieldname or the existing field did not contain an int, this function
returns %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of a field</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="array"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">a pointer to a #GValueArray</doc>
            <type name="GObject.ValueArray" c:type="GValueArray**"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_boolean" c:identifier="gst_structure_get_boolean">
        <doc xml:space="preserve">Sets the boolean pointed to by @value corresponding to the value of the
given field.  Caller is responsible for making sure the field exists
and has the correct type.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the value could be set correctly. If there was no field
with @fieldname or the existing field did not contain a boolean, this
function returns %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of a field</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">a pointer to a #gboolean to set</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_clock_time"
              c:identifier="gst_structure_get_clock_time">
        <doc xml:space="preserve">Sets the clock time pointed to by @value corresponding to the clock time
of the given field.  Caller is responsible for making sure the field exists
and has the correct type.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the value could be set correctly. If there was no field
with @fieldname or the existing field did not contain a #GstClockTime, this
function returns %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of a field</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">a pointer to a #GstClockTime to set</doc>
            <type name="ClockTime" c:type="GstClockTime*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_date" c:identifier="gst_structure_get_date">
        <doc xml:space="preserve">Sets the date pointed to by @value corresponding to the date of the
given field.  Caller is responsible for making sure the field exists
and has the correct type.

On success @value will point to a newly-allocated copy of the date which
should be freed with g_date_free() when no longer needed (note: this is
inconsistent with e.g. gst_structure_get_string() which doesn't return a
copy of the string).</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the value could be set correctly. If there was no field
with @fieldname or the existing field did not contain a data, this function
returns %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of a field</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">a pointer to a #GDate to set</doc>
            <type name="GLib.Date" c:type="GDate**"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_date_time" c:identifier="gst_structure_get_date_time">
        <doc xml:space="preserve">Sets the datetime pointed to by @value corresponding to the datetime of the
given field. Caller is responsible for making sure the field exists
and has the correct type.

On success @value will point to a reference of the datetime which
should be unreffed with gst_date_time_unref() when no longer needed
(note: this is inconsistent with e.g. gst_structure_get_string()
which doesn't return a copy of the string).</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the value could be set correctly. If there was no field
with @fieldname or the existing field did not contain a data, this function
returns %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of a field</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">a pointer to a #GstDateTime to set</doc>
            <type name="DateTime" c:type="GstDateTime**"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_double" c:identifier="gst_structure_get_double">
        <doc xml:space="preserve">Sets the double pointed to by @value corresponding to the value of the
given field.  Caller is responsible for making sure the field exists
and has the correct type.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the value could be set correctly. If there was no field
with @fieldname or the existing field did not contain a double, this
function returns %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of a field</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">a pointer to a gdouble to set</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_enum" c:identifier="gst_structure_get_enum">
        <doc xml:space="preserve">Sets the int pointed to by @value corresponding to the value of the
given field.  Caller is responsible for making sure the field exists,
has the correct type and that the enumtype is correct.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the value could be set correctly. If there was no field
with @fieldname or the existing field did not contain an enum of the given
type, this function returns %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of a field</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="enumtype" transfer-ownership="none">
            <doc xml:space="preserve">the enum type of a field</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">a pointer to an int to set</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_field_type"
              c:identifier="gst_structure_get_field_type">
        <doc xml:space="preserve">Finds the field with the given name, and returns the type of the
value it contains.  If the field is not found, G_TYPE_INVALID is
returned.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #GValue of the field</doc>
          <type name="GType" c:type="GType"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of the field</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_flagset"
              c:identifier="gst_structure_get_flagset"
              version="1.6">
        <doc xml:space="preserve">Read the GstFlagSet flags and mask out of the structure into the
provided pointers.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the values could be set correctly. If there was no field
with @fieldname or the existing field did not contain a GstFlagSet, this
function returns %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of a field</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value_flags"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a pointer to a guint for the flags field</doc>
            <type name="guint" c:type="guint*"/>
          </parameter>
          <parameter name="value_mask"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">a pointer to a guint for the mask field</doc>
            <type name="guint" c:type="guint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_fraction" c:identifier="gst_structure_get_fraction">
        <doc xml:space="preserve">Sets the integers pointed to by @value_numerator and @value_denominator
corresponding to the value of the given field.  Caller is responsible
for making sure the field exists and has the correct type.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the values could be set correctly. If there was no field
with @fieldname or the existing field did not contain a GstFraction, this
function returns %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of a field</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value_numerator"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">a pointer to an int to set</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="value_denominator"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">a pointer to an int to set</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_int" c:identifier="gst_structure_get_int">
        <doc xml:space="preserve">Sets the int pointed to by @value corresponding to the value of the
given field.  Caller is responsible for making sure the field exists
and has the correct type.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the value could be set correctly. If there was no field
with @fieldname or the existing field did not contain an int, this function
returns %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of a field</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">a pointer to an int to set</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_int64"
              c:identifier="gst_structure_get_int64"
              version="1.4">
        <doc xml:space="preserve">Sets the #gint64 pointed to by @value corresponding to the value of the
given field. Caller is responsible for making sure the field exists
and has the correct type.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the value could be set correctly. If there was no field
with @fieldname or the existing field did not contain a #gint64, this function
returns %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of a field</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">a pointer to a #gint64 to set</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_list" c:identifier="gst_structure_get_list">
        <doc xml:space="preserve">This is useful in language bindings where unknown #GValue types are not
supported. This function will convert the %GST_TYPE_ARRAY and
%GST_TYPE_LIST into a newly allocated GValueArray and return it through
@array. Be aware that this is slower then getting the #GValue directly.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the value could be set correctly. If there was no field
with @fieldname or the existing field did not contain an int, this function
returns %FALSE.

Since 1.12</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of a field</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="array"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">a pointer to a #GValueArray</doc>
            <type name="GObject.ValueArray" c:type="GValueArray**"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_name" c:identifier="gst_structure_get_name">
        <doc xml:space="preserve">Get the name of @structure as a string.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the name of the structure.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name_id" c:identifier="gst_structure_get_name_id">
        <doc xml:space="preserve">Get the name of @structure as a GQuark.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the quark representing the name of the structure.</doc>
          <type name="GLib.Quark" c:type="GQuark"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_string" c:identifier="gst_structure_get_string">
        <doc xml:space="preserve">Finds the field corresponding to @fieldname, and returns the string
contained in the field's value.  Caller is responsible for making
sure the field exists and has the correct type.

The string should not be modified, and remains valid until the next
call to a gst_structure_*() function with the given structure.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">a pointer to the string or %NULL when the
field did not exist or did not contain a string.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of a field</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_uint" c:identifier="gst_structure_get_uint">
        <doc xml:space="preserve">Sets the uint pointed to by @value corresponding to the value of the
given field.  Caller is responsible for making sure the field exists
and has the correct type.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the value could be set correctly. If there was no field
with @fieldname or the existing field did not contain a uint, this function
returns %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of a field</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">a pointer to a uint to set</doc>
            <type name="guint" c:type="guint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_uint64"
              c:identifier="gst_structure_get_uint64"
              version="1.4">
        <doc xml:space="preserve">Sets the #guint64 pointed to by @value corresponding to the value of the
given field. Caller is responsible for making sure the field exists
and has the correct type.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the value could be set correctly. If there was no field
with @fieldname or the existing field did not contain a #guint64, this function
returns %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of a field</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">a pointer to a #guint64 to set</doc>
            <type name="guint64" c:type="guint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_valist"
              c:identifier="gst_structure_get_valist"
              introspectable="0">
        <doc xml:space="preserve">Parses the variable arguments and reads fields from @structure accordingly.
valist-variant of gst_structure_get(). Look at the documentation of
gst_structure_get() for more details.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, or %FALSE if there was a problem reading any of the fields</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="first_fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of the first field to read</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="args" transfer-ownership="none">
            <doc xml:space="preserve">variable arguments</doc>
            <type name="va_list" c:type="va_list"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_value" c:identifier="gst_structure_get_value">
        <doc xml:space="preserve">Get the value of the field with name @fieldname.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">the #GValue corresponding to the field with the given
name.</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of the field to get</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="has_field" c:identifier="gst_structure_has_field">
        <doc xml:space="preserve">Check if @structure contains a field named @fieldname.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the structure contains a field with the given name</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of a field</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="has_field_typed"
              c:identifier="gst_structure_has_field_typed">
        <doc xml:space="preserve">Check if @structure contains a field named @fieldname and with GType @type.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the structure contains a field with the given name and type</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of a field</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">the type of a value</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
        </parameters>
      </method>
      <method name="has_name" c:identifier="gst_structure_has_name">
        <doc xml:space="preserve">Checks if the structure has the given name</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @name matches the name of the structure.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">structure name to check for</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="id_get"
              c:identifier="gst_structure_id_get"
              introspectable="0">
        <doc xml:space="preserve">Parses the variable arguments and reads fields from @structure accordingly.
Variable arguments should be in the form field id quark, field type
(as a GType), pointer(s) to a variable(s) to hold the return value(s).
The last variable argument should be %NULL (technically it should be a
0 quark, but we require %NULL so compilers that support it can check for
the %NULL terminator and warn if it's not there).

This function is just like gst_structure_get() only that it is slightly
more efficient since it saves the string-to-quark lookup in the global
quark hashtable.

For refcounted (mini)objects you will receive a new reference which
you must release with a suitable _unref() when no longer needed. For
strings and boxed types you will receive a copy which you will need to
release with either g_free() or the suitable function for the boxed type.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%FALSE if there was a problem reading any of the fields (e.g.
    because the field requested did not exist, or was of a type other
    than the type specified), otherwise %TRUE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="first_field_id" transfer-ownership="none">
            <doc xml:space="preserve">the quark of the first field to read</doc>
            <type name="GLib.Quark" c:type="GQuark"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">variable arguments</doc>
            <varargs/>
          </parameter>
        </parameters>
      </method>
      <method name="id_get_valist"
              c:identifier="gst_structure_id_get_valist"
              introspectable="0">
        <doc xml:space="preserve">Parses the variable arguments and reads fields from @structure accordingly.
valist-variant of gst_structure_id_get(). Look at the documentation of
gst_structure_id_get() for more details.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, or %FALSE if there was a problem reading any of the fields</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="first_field_id" transfer-ownership="none">
            <doc xml:space="preserve">the quark of the first field to read</doc>
            <type name="GLib.Quark" c:type="GQuark"/>
          </parameter>
          <parameter name="args" transfer-ownership="none">
            <doc xml:space="preserve">variable arguments</doc>
            <type name="va_list" c:type="va_list"/>
          </parameter>
        </parameters>
      </method>
      <method name="id_get_value" c:identifier="gst_structure_id_get_value">
        <doc xml:space="preserve">Get the value of the field with GQuark @field.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">the #GValue corresponding to the field with the given
name identifier.</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="field" transfer-ownership="none">
            <doc xml:space="preserve">the #GQuark of the field to get</doc>
            <type name="GLib.Quark" c:type="GQuark"/>
          </parameter>
        </parameters>
      </method>
      <method name="id_has_field" c:identifier="gst_structure_id_has_field">
        <doc xml:space="preserve">Check if @structure contains a field named @field.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the structure contains a field with the given name</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="field" transfer-ownership="none">
            <doc xml:space="preserve">#GQuark of the field name</doc>
            <type name="GLib.Quark" c:type="GQuark"/>
          </parameter>
        </parameters>
      </method>
      <method name="id_has_field_typed"
              c:identifier="gst_structure_id_has_field_typed">
        <doc xml:space="preserve">Check if @structure contains a field named @field and with GType @type.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the structure contains a field with the given name and type</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="field" transfer-ownership="none">
            <doc xml:space="preserve">#GQuark of the field name</doc>
            <type name="GLib.Quark" c:type="GQuark"/>
          </parameter>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">the type of a value</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
        </parameters>
      </method>
      <method name="id_set"
              c:identifier="gst_structure_id_set"
              introspectable="0">
        <doc xml:space="preserve">Identical to gst_structure_set, except that field names are
passed using the GQuark for the field name. This allows more efficient
setting of the structure if the caller already knows the associated
quark values.
The last variable argument must be %NULL.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the GQuark for the name of the field to set</doc>
            <type name="GLib.Quark" c:type="GQuark"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">variable arguments</doc>
            <varargs/>
          </parameter>
        </parameters>
      </method>
      <method name="id_set_valist"
              c:identifier="gst_structure_id_set_valist"
              introspectable="0">
        <doc xml:space="preserve">va_list form of gst_structure_id_set().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of the field to set</doc>
            <type name="GLib.Quark" c:type="GQuark"/>
          </parameter>
          <parameter name="varargs" transfer-ownership="none">
            <doc xml:space="preserve">variable arguments</doc>
            <type name="va_list" c:type="va_list"/>
          </parameter>
        </parameters>
      </method>
      <method name="id_set_value" c:identifier="gst_structure_id_set_value">
        <doc xml:space="preserve">Sets the field with the given GQuark @field to @value.  If the field
does not exist, it is created.  If the field exists, the previous
value is replaced and freed.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </instance-parameter>
          <parameter name="field" transfer-ownership="none">
            <doc xml:space="preserve">a #GQuark representing a field</doc>
            <type name="GLib.Quark" c:type="GQuark"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">the new value of the field</doc>
            <type name="GObject.Value" c:type="const GValue*"/>
          </parameter>
        </parameters>
      </method>
      <method name="id_take_value" c:identifier="gst_structure_id_take_value">
        <doc xml:space="preserve">Sets the field with the given GQuark @field to @value.  If the field
does not exist, it is created.  If the field exists, the previous
value is replaced and freed.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </instance-parameter>
          <parameter name="field" transfer-ownership="none">
            <doc xml:space="preserve">a #GQuark representing a field</doc>
            <type name="GLib.Quark" c:type="GQuark"/>
          </parameter>
          <parameter name="value" transfer-ownership="full">
            <doc xml:space="preserve">the new value of the field</doc>
            <type name="GObject.Value" c:type="GValue*"/>
          </parameter>
        </parameters>
      </method>
      <method name="intersect" c:identifier="gst_structure_intersect">
        <doc xml:space="preserve">Intersects @struct1 and @struct2 and returns the intersection.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">Intersection of @struct1 and @struct2</doc>
          <type name="Structure" c:type="GstStructure*"/>
        </return-value>
        <parameters>
          <instance-parameter name="struct1" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="struct2" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_equal" c:identifier="gst_structure_is_equal">
        <doc xml:space="preserve">Tests if the two #GstStructure are equal.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the two structures have the same name and field.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure1" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure.</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="structure2" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure.</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_subset" c:identifier="gst_structure_is_subset">
        <doc xml:space="preserve">Checks if @subset is a subset of @superset, i.e. has the same
structure name and for all fields that are existing in @superset,
@subset has a value that is a subset of the value in @superset.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @subset is a subset of @superset</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="subset" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="superset" transfer-ownership="none">
            <doc xml:space="preserve">a potentially greater #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </parameter>
        </parameters>
      </method>
      <method name="map_in_place" c:identifier="gst_structure_map_in_place">
        <doc xml:space="preserve">Calls the provided function once for each field in the #GstStructure. In
contrast to gst_structure_foreach(), the function may modify but not delete the
fields. The structure must be mutable.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the supplied function returns %TRUE For each of the fields,
%FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </instance-parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="call"
                     closure="1">
            <doc xml:space="preserve">a function to call for each field</doc>
            <type name="StructureMapFunc" c:type="GstStructureMapFunc"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">private data</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="n_fields" c:identifier="gst_structure_n_fields">
        <doc xml:space="preserve">Get the number of fields in the structure.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the number of fields in the structure</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="nth_field_name"
              c:identifier="gst_structure_nth_field_name">
        <doc xml:space="preserve">Get the name of the given field number, counting from 0 onwards.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the name of the given field number</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">the index to get the name of</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_all_fields"
              c:identifier="gst_structure_remove_all_fields">
        <doc xml:space="preserve">Removes all fields in a GstStructure.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="remove_field" c:identifier="gst_structure_remove_field">
        <doc xml:space="preserve">Removes the field with the given name.  If the field with the given
name does not exist, the structure is unchanged.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of the field to remove</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_fields"
              c:identifier="gst_structure_remove_fields"
              introspectable="0">
        <doc xml:space="preserve">Removes the fields with the given names. If a field does not exist, the
argument is ignored.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of the field to remove</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">%NULL-terminated list of more fieldnames to remove</doc>
            <varargs/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_fields_valist"
              c:identifier="gst_structure_remove_fields_valist"
              introspectable="0">
        <doc xml:space="preserve">va_list form of gst_structure_remove_fields().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of the field to remove</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="varargs" transfer-ownership="none">
            <doc xml:space="preserve">%NULL-terminated list of more fieldnames to remove</doc>
            <type name="va_list" c:type="va_list"/>
          </parameter>
        </parameters>
      </method>
      <method name="set" c:identifier="gst_structure_set" introspectable="0">
        <doc xml:space="preserve">Parses the variable arguments and sets fields accordingly. Fields that
weren't already part of the structure are added as needed.
Variable arguments should be in the form field name, field type
(as a GType), value(s).  The last variable argument should be %NULL.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of the field to set</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">variable arguments</doc>
            <varargs/>
          </parameter>
        </parameters>
      </method>
      <method name="set_array" c:identifier="gst_structure_set_array">
        <doc xml:space="preserve">This is useful in language bindings where unknown GValue types are not
supported. This function will convert a @array to %GST_TYPE_ARRAY and set
the field specified by @fieldname.  Be aware that this is slower then using
%GST_TYPE_ARRAY in a #GValue directly.

Since 1.12</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of a field</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="array" transfer-ownership="none">
            <doc xml:space="preserve">a pointer to a #GValueArray</doc>
            <type name="GObject.ValueArray" c:type="const GValueArray*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_list" c:identifier="gst_structure_set_list">
        <doc xml:space="preserve">This is useful in language bindings where unknown GValue types are not
supported. This function will convert a @array to %GST_TYPE_ARRAY and set
the field specified by @fieldname. Be aware that this is slower then using
%GST_TYPE_ARRAY in a #GValue directly.

Since 1.12</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of a field</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="array" transfer-ownership="none">
            <doc xml:space="preserve">a pointer to a #GValueArray</doc>
            <type name="GObject.ValueArray" c:type="const GValueArray*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_name" c:identifier="gst_structure_set_name">
        <doc xml:space="preserve">Sets the name of the structure to the given @name.  The string
provided is copied before being used. It must not be empty, start with a
letter and can be followed by letters, numbers and any of "/-_.:".</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">the new name of the structure</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_parent_refcount"
              c:identifier="gst_structure_set_parent_refcount">
        <doc xml:space="preserve">Sets the parent_refcount field of #GstStructure. This field is used to
determine whether a structure is mutable or not. This function should only be
called by code implementing parent objects of #GstStructure, as described in
the MT Refcounting section of the design documents.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the parent refcount could be set.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </instance-parameter>
          <parameter name="refcount" transfer-ownership="none">
            <doc xml:space="preserve">a pointer to the parent's refcount</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_valist"
              c:identifier="gst_structure_set_valist"
              introspectable="0">
        <doc xml:space="preserve">va_list form of gst_structure_set().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of the field to set</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="varargs" transfer-ownership="none">
            <doc xml:space="preserve">variable arguments</doc>
            <type name="va_list" c:type="va_list"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_value" c:identifier="gst_structure_set_value">
        <doc xml:space="preserve">Sets the field with the given name @field to @value.  If the field
does not exist, it is created.  If the field exists, the previous
value is replaced and freed.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of the field to set</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">the new value of the field</doc>
            <type name="GObject.Value" c:type="const GValue*"/>
          </parameter>
        </parameters>
      </method>
      <method name="take_value" c:identifier="gst_structure_take_value">
        <doc xml:space="preserve">Sets the field with the given name @field to @value.  If the field
does not exist, it is created.  If the field exists, the previous
value is replaced and freed. The function will take ownership of @value.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="GstStructure*"/>
          </instance-parameter>
          <parameter name="fieldname" transfer-ownership="none">
            <doc xml:space="preserve">the name of the field to set</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="full">
            <doc xml:space="preserve">the new value of the field</doc>
            <type name="GObject.Value" c:type="GValue*"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_string" c:identifier="gst_structure_to_string">
        <doc xml:space="preserve">Converts @structure to a human-readable string representation.

For debugging purposes its easier to do something like this:
|[&lt;!-- language="C" --&gt;
GST_LOG ("structure is %" GST_PTR_FORMAT, structure);
]|
This prints the structure in human readable form.

The current implementation of serialization will lead to unexpected results
when there are nested #GstCaps / #GstStructure deeper than one level.

Free-function: g_free</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a pointer to string allocated by g_malloc().
    g_free() after usage.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="structure" transfer-ownership="none">
            <doc xml:space="preserve">a #GstStructure</doc>
            <type name="Structure" c:type="const GstStructure*"/>
          </instance-parameter>
        </parameters>
      </method>
      <function name="from_string" c:identifier="gst_structure_from_string">
        <doc xml:space="preserve">Creates a #GstStructure from a string representation.
If end is not %NULL, a pointer to the place inside the given string
where parsing ended will be returned.

Free-function: gst_structure_free</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a new #GstStructure or %NULL
    when the string could not be parsed. Free with
    gst_structure_free() after use.</doc>
          <type name="Structure" c:type="GstStructure*"/>
        </return-value>
        <parameters>
          <parameter name="string" transfer-ownership="none">
            <doc xml:space="preserve">a string representation of a #GstStructure.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="end"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1"
                     skip="1">
            <doc xml:space="preserve">pointer to store the end of the string in.</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
        </parameters>
      </function>
    </record>
    <enumeration name="StructureChangeType"
                 glib:type-name="GstStructureChangeType"
                 glib:get-type="gst_structure_change_type_get_type"
                 c:type="GstStructureChangeType">
      <doc xml:space="preserve">The type of a %GST_MESSAGE_STRUCTURE_CHANGE.</doc>
      <member name="link"
              value="0"
              c:identifier="GST_STRUCTURE_CHANGE_TYPE_PAD_LINK"
              glib:nick="link">
        <doc xml:space="preserve">Pad linking is starting or done.</doc>
      </member>
      <member name="unlink"
              value="1"
              c:identifier="GST_STRUCTURE_CHANGE_TYPE_PAD_UNLINK"
              glib:nick="unlink">
        <doc xml:space="preserve">Pad unlinking is starting or done.</doc>
      </member>
    </enumeration>
    <callback name="StructureFilterMapFunc" c:type="GstStructureFilterMapFunc">
      <doc xml:space="preserve">A function that will be called in gst_structure_filter_and_map_in_place().
The function may modify @value, and the value will be removed from
the structure if %FALSE is returned.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the field should be preserved, %FALSE if it
should be removed.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="field_id" transfer-ownership="none">
          <doc xml:space="preserve">the #GQuark of the field name</doc>
          <type name="GLib.Quark" c:type="GQuark"/>
        </parameter>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">the #GValue of the field</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="2">
          <doc xml:space="preserve">user data</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <callback name="StructureForeachFunc" c:type="GstStructureForeachFunc">
      <doc xml:space="preserve">A function that will be called in gst_structure_foreach(). The function may
not modify @value.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the foreach operation should continue, %FALSE if
the foreach operation should stop with %FALSE.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="field_id" transfer-ownership="none">
          <doc xml:space="preserve">the #GQuark of the field name</doc>
          <type name="GLib.Quark" c:type="GQuark"/>
        </parameter>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">the #GValue of the field</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="2">
          <doc xml:space="preserve">user data</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <callback name="StructureMapFunc" c:type="GstStructureMapFunc">
      <doc xml:space="preserve">A function that will be called in gst_structure_map_in_place(). The function
may modify @value.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the map operation should continue, %FALSE if
the map operation should stop with %FALSE.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="field_id" transfer-ownership="none">
          <doc xml:space="preserve">the #GQuark of the field name</doc>
          <type name="GLib.Quark" c:type="GQuark"/>
        </parameter>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">the #GValue of the field</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="2">
          <doc xml:space="preserve">user data</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <class name="SystemClock"
           c:symbol-prefix="system_clock"
           c:type="GstSystemClock"
           parent="Clock"
           glib:type-name="GstSystemClock"
           glib:get-type="gst_system_clock_get_type"
           glib:type-struct="SystemClockClass">
      <doc xml:space="preserve">The GStreamer core provides a GstSystemClock based on the system time.
Asynchronous callbacks are scheduled from an internal thread.

Clock implementors are encouraged to subclass this systemclock as it
implements the async notification.

Subclasses can however override all of the important methods for sync and
async notifications to implement their own callback methods or blocking
wait operations.</doc>
      <function name="obtain" c:identifier="gst_system_clock_obtain">
        <doc xml:space="preserve">Get a handle to the default system clock. The refcount of the
clock will be increased so you need to unref the clock after
usage.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the default clock.

MT safe.</doc>
          <type name="Clock" c:type="GstClock*"/>
        </return-value>
      </function>
      <function name="set_default"
                c:identifier="gst_system_clock_set_default"
                version="1.4">
        <doc xml:space="preserve">Sets the default system clock that can be obtained with
gst_system_clock_obtain().

This is mostly used for testing and debugging purposes when you
want to have control over the time reported by the default system
clock.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="new_clock"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GstClock</doc>
            <type name="Clock" c:type="GstClock*"/>
          </parameter>
        </parameters>
      </function>
      <property name="clock-type" writable="1" transfer-ownership="none">
        <type name="ClockType"/>
      </property>
      <field name="clock">
        <type name="Clock" c:type="GstClock"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="SystemClockPrivate" c:type="GstSystemClockPrivate*"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </class>
    <record name="SystemClockClass"
            c:type="GstSystemClockClass"
            glib:is-gtype-struct-for="SystemClock">
      <field name="parent_class">
        <type name="ClockClass" c:type="GstClockClass"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="SystemClockPrivate"
            c:type="GstSystemClockPrivate"
            disguised="1">
    </record>
    <constant name="TAG_ALBUM" value="album" c:type="GST_TAG_ALBUM">
      <doc xml:space="preserve">album containing this data (string)

The album name as it should be displayed, e.g. 'The Jazz Guitar'</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_ALBUM_ARTIST"
              value="album-artist"
              c:type="GST_TAG_ALBUM_ARTIST">
      <doc xml:space="preserve">The artist of the entire album, as it should be displayed.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_ALBUM_ARTIST_SORTNAME"
              value="album-artist-sortname"
              c:type="GST_TAG_ALBUM_ARTIST_SORTNAME">
      <doc xml:space="preserve">The artist of the entire album, as it should be sorted.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_ALBUM_GAIN"
              value="replaygain-album-gain"
              c:type="GST_TAG_ALBUM_GAIN">
      <doc xml:space="preserve">album gain in db (double)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_ALBUM_PEAK"
              value="replaygain-album-peak"
              c:type="GST_TAG_ALBUM_PEAK">
      <doc xml:space="preserve">peak of the album (double)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_ALBUM_SORTNAME"
              value="album-sortname"
              c:type="GST_TAG_ALBUM_SORTNAME">
      <doc xml:space="preserve">album containing this data, as used for sorting (string)

The album name as it should be sorted, e.g. 'Jazz Guitar, The'</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_ALBUM_VOLUME_COUNT"
              value="album-disc-count"
              c:type="GST_TAG_ALBUM_VOLUME_COUNT">
      <doc xml:space="preserve">count of discs inside collection this disc belongs to (unsigned integer)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_ALBUM_VOLUME_NUMBER"
              value="album-disc-number"
              c:type="GST_TAG_ALBUM_VOLUME_NUMBER">
      <doc xml:space="preserve">disc number inside a collection (unsigned integer)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_APPLICATION_DATA"
              value="application-data"
              c:type="GST_TAG_APPLICATION_DATA">
      <doc xml:space="preserve">Arbitrary application data (sample)

Some formats allow applications to add their own arbitrary data
into files. This data is application dependent.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_APPLICATION_NAME"
              value="application-name"
              c:type="GST_TAG_APPLICATION_NAME">
      <doc xml:space="preserve">Name of the application used to create the media (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_ARTIST" value="artist" c:type="GST_TAG_ARTIST">
      <doc xml:space="preserve">person(s) responsible for the recording (string)

The artist name as it should be displayed, e.g. 'Jimi Hendrix' or
'The Guitar Heroes'</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_ARTIST_SORTNAME"
              value="artist-sortname"
              c:type="GST_TAG_ARTIST_SORTNAME">
      <doc xml:space="preserve">person(s) responsible for the recording, as used for sorting (string)

The artist name as it should be sorted, e.g. 'Hendrix, Jimi' or
'Guitar Heroes, The'</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_ATTACHMENT"
              value="attachment"
              c:type="GST_TAG_ATTACHMENT">
      <doc xml:space="preserve">generic file attachment (sample) (sample taglist should specify the content
type and if possible set "filename" to the file name of the
attachment)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_AUDIO_CODEC"
              value="audio-codec"
              c:type="GST_TAG_AUDIO_CODEC">
      <doc xml:space="preserve">codec the audio data is stored in (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_BEATS_PER_MINUTE"
              value="beats-per-minute"
              c:type="GST_TAG_BEATS_PER_MINUTE">
      <doc xml:space="preserve">number of beats per minute in audio (double)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_BITRATE" value="bitrate" c:type="GST_TAG_BITRATE">
      <doc xml:space="preserve">exact or average bitrate in bits/s (unsigned integer)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_CODEC" value="codec" c:type="GST_TAG_CODEC">
      <doc xml:space="preserve">codec the data is stored in (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_COMMENT" value="comment" c:type="GST_TAG_COMMENT">
      <doc xml:space="preserve">free text commenting the data (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_COMPOSER" value="composer" c:type="GST_TAG_COMPOSER">
      <doc xml:space="preserve">person(s) who composed the recording (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_COMPOSER_SORTNAME"
              value="composer-sortname"
              c:type="GST_TAG_COMPOSER_SORTNAME">
      <doc xml:space="preserve">The composer's name, used for sorting (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_CONDUCTOR"
              value="conductor"
              c:type="GST_TAG_CONDUCTOR"
              version="1.8">
      <doc xml:space="preserve">conductor/performer refinement (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_CONTACT" value="contact" c:type="GST_TAG_CONTACT">
      <doc xml:space="preserve">contact information (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_CONTAINER_FORMAT"
              value="container-format"
              c:type="GST_TAG_CONTAINER_FORMAT">
      <doc xml:space="preserve">container format the data is stored in (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_COPYRIGHT"
              value="copyright"
              c:type="GST_TAG_COPYRIGHT">
      <doc xml:space="preserve">copyright notice of the data (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_COPYRIGHT_URI"
              value="copyright-uri"
              c:type="GST_TAG_COPYRIGHT_URI">
      <doc xml:space="preserve">URI to location where copyright details can be found (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_DATE" value="date" c:type="GST_TAG_DATE">
      <doc xml:space="preserve">date the data was created (#GDate structure)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_DATE_TIME" value="datetime" c:type="GST_TAG_DATE_TIME">
      <doc xml:space="preserve">date and time the data was created (#GstDateTime structure)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_DESCRIPTION"
              value="description"
              c:type="GST_TAG_DESCRIPTION">
      <doc xml:space="preserve">short text describing the content of the data (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_DEVICE_MANUFACTURER"
              value="device-manufacturer"
              c:type="GST_TAG_DEVICE_MANUFACTURER">
      <doc xml:space="preserve">Manufacturer of the device used to create the media (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_DEVICE_MODEL"
              value="device-model"
              c:type="GST_TAG_DEVICE_MODEL">
      <doc xml:space="preserve">Model of the device used to create the media (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_DURATION" value="duration" c:type="GST_TAG_DURATION">
      <doc xml:space="preserve">length in GStreamer time units (nanoseconds) (unsigned 64-bit integer)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_ENCODED_BY"
              value="encoded-by"
              c:type="GST_TAG_ENCODED_BY">
      <doc xml:space="preserve">name of the person or organisation that encoded the file. May contain a
copyright message if the person or organisation also holds the copyright
(string)

Note: do not use this field to describe the encoding application. Use
#GST_TAG_APPLICATION_NAME or #GST_TAG_COMMENT for that.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_ENCODER" value="encoder" c:type="GST_TAG_ENCODER">
      <doc xml:space="preserve">encoder used to encode this stream (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_ENCODER_VERSION"
              value="encoder-version"
              c:type="GST_TAG_ENCODER_VERSION">
      <doc xml:space="preserve">version of the encoder used to encode this stream (unsigned integer)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_EXTENDED_COMMENT"
              value="extended-comment"
              c:type="GST_TAG_EXTENDED_COMMENT">
      <doc xml:space="preserve">key/value text commenting the data (string)

Must be in the form of 'key=comment' or
'key[lc]=comment' where 'lc' is an ISO-639
language code.

This tag is used for unknown Vorbis comment tags,
unknown APE tags and certain ID3v2 comment fields.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_GENRE" value="genre" c:type="GST_TAG_GENRE">
      <doc xml:space="preserve">genre this data belongs to (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_GEO_LOCATION_CAPTURE_DIRECTION"
              value="geo-location-capture-direction"
              c:type="GST_TAG_GEO_LOCATION_CAPTURE_DIRECTION">
      <doc xml:space="preserve">Indicates the direction the device is pointing to when capturing
a media. It is represented as degrees in floating point representation,
0 means the geographic north, and increases clockwise (double from 0 to 360)

See also #GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_GEO_LOCATION_CITY"
              value="geo-location-city"
              c:type="GST_TAG_GEO_LOCATION_CITY">
      <doc xml:space="preserve">The city (english name) where the media has been produced (string).</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_GEO_LOCATION_COUNTRY"
              value="geo-location-country"
              c:type="GST_TAG_GEO_LOCATION_COUNTRY">
      <doc xml:space="preserve">The country (english name) where the media has been produced (string).</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_GEO_LOCATION_ELEVATION"
              value="geo-location-elevation"
              c:type="GST_TAG_GEO_LOCATION_ELEVATION">
      <doc xml:space="preserve">geo elevation of where the media has been recorded or produced in meters
according to WGS84 (zero is average sea level) (double).</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_GEO_LOCATION_HORIZONTAL_ERROR"
              value="geo-location-horizontal-error"
              c:type="GST_TAG_GEO_LOCATION_HORIZONTAL_ERROR">
      <doc xml:space="preserve">Represents the expected error on the horizontal positioning in
meters (double).</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_GEO_LOCATION_LATITUDE"
              value="geo-location-latitude"
              c:type="GST_TAG_GEO_LOCATION_LATITUDE">
      <doc xml:space="preserve">geo latitude location of where the media has been recorded or produced in
degrees according to WGS84 (zero at the equator, negative values for southern
latitudes) (double).</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_GEO_LOCATION_LONGITUDE"
              value="geo-location-longitude"
              c:type="GST_TAG_GEO_LOCATION_LONGITUDE">
      <doc xml:space="preserve">geo longitude location of where the media has been recorded or produced in
degrees according to WGS84 (zero at the prime meridian in Greenwich/UK,
negative values for western longitudes). (double).</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_GEO_LOCATION_MOVEMENT_DIRECTION"
              value="geo-location-movement-direction"
              c:type="GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION">
      <doc xml:space="preserve">Indicates the movement direction of the device performing the capture
of a media. It is represented as degrees in floating point representation,
0 means the geographic north, and increases clockwise (double from 0 to 360)

See also #GST_TAG_GEO_LOCATION_CAPTURE_DIRECTION</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_GEO_LOCATION_MOVEMENT_SPEED"
              value="geo-location-movement-speed"
              c:type="GST_TAG_GEO_LOCATION_MOVEMENT_SPEED">
      <doc xml:space="preserve">Speed of the capturing device when performing the capture.
Represented in m/s. (double)

See also #GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_GEO_LOCATION_NAME"
              value="geo-location-name"
              c:type="GST_TAG_GEO_LOCATION_NAME">
      <doc xml:space="preserve">human readable descriptive location of where the media has been recorded or
produced. (string).</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_GEO_LOCATION_SUBLOCATION"
              value="geo-location-sublocation"
              c:type="GST_TAG_GEO_LOCATION_SUBLOCATION">
      <doc xml:space="preserve">A location 'smaller' than GST_TAG_GEO_LOCATION_CITY that specifies better
where the media has been produced. (e.g. the neighborhood) (string).

This tag has been added as this is how it is handled/named in XMP's
Iptc4xmpcore schema.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_GROUPING" value="grouping" c:type="GST_TAG_GROUPING">
      <doc xml:space="preserve">Groups together media that are related and spans multiple tracks. An
example are multiple pieces of a concerto. (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_HOMEPAGE" value="homepage" c:type="GST_TAG_HOMEPAGE">
      <doc xml:space="preserve">Homepage for this media (i.e. artist or movie homepage) (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_IMAGE" value="image" c:type="GST_TAG_IMAGE">
      <doc xml:space="preserve">image (sample) (sample taglist should specify the content type and preferably
also set "image-type" field as #GstTagImageType)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_IMAGE_ORIENTATION"
              value="image-orientation"
              c:type="GST_TAG_IMAGE_ORIENTATION">
      <doc xml:space="preserve">Represents the 'Orientation' tag from EXIF. Defines how the image
should be rotated and mirrored for display. (string)

This tag has a predefined set of allowed values:
  "rotate-0"
  "rotate-90"
  "rotate-180"
  "rotate-270"
  "flip-rotate-0"
  "flip-rotate-90"
  "flip-rotate-180"
  "flip-rotate-270"

The naming is adopted according to a possible transformation to perform
on the image to fix its orientation, obviously equivalent operations will
yield the same result.

Rotations indicated by the values are in clockwise direction and
'flip' means an horizontal mirroring.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_INTERPRETED_BY"
              value="interpreted-by"
              c:type="GST_TAG_INTERPRETED_BY"
              version="1.2">
      <doc xml:space="preserve">Information about the people behind a remix and similar
interpretations of another existing piece (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_ISRC" value="isrc" c:type="GST_TAG_ISRC">
      <doc xml:space="preserve">International Standard Recording Code - see http://www.ifpi.org/isrc/ (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_KEYWORDS" value="keywords" c:type="GST_TAG_KEYWORDS">
      <doc xml:space="preserve">comma separated keywords describing the content (string).</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_LANGUAGE_CODE"
              value="language-code"
              c:type="GST_TAG_LANGUAGE_CODE">
      <doc xml:space="preserve">ISO-639-2 or ISO-639-1 code for the language the content is in (string)

There is utility API in libgsttag in gst-plugins-base to obtain a translated
language name from the language code: gst_tag_get_language_name()</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_LANGUAGE_NAME"
              value="language-name"
              c:type="GST_TAG_LANGUAGE_NAME">
      <doc xml:space="preserve">Name of the language the content is in (string)

Free-form name of the language the content is in, if a language code
is not available. This tag should not be set in addition to a language
code. It is undefined what language or locale the language name is in.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_LICENSE" value="license" c:type="GST_TAG_LICENSE">
      <doc xml:space="preserve">license of data (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_LICENSE_URI"
              value="license-uri"
              c:type="GST_TAG_LICENSE_URI">
      <doc xml:space="preserve">URI to location where license details can be found (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_LOCATION" value="location" c:type="GST_TAG_LOCATION">
      <doc xml:space="preserve">Origin of media as a URI (location, where the original of the file or stream
is hosted) (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_LYRICS" value="lyrics" c:type="GST_TAG_LYRICS">
      <doc xml:space="preserve">The lyrics of the media (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_MAXIMUM_BITRATE"
              value="maximum-bitrate"
              c:type="GST_TAG_MAXIMUM_BITRATE">
      <doc xml:space="preserve">maximum bitrate in bits/s (unsigned integer)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_MIDI_BASE_NOTE"
              value="midi-base-note"
              c:type="GST_TAG_MIDI_BASE_NOTE"
              version="1.4">
      <doc xml:space="preserve">&lt;ulink url="http://en.wikipedia.org/wiki/Note#Note_designation_in_accordance_with_octave_name"&gt;Midi note number&lt;/ulink&gt;
of the audio track. This is useful for sample instruments and in particular
for multi-samples.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_MINIMUM_BITRATE"
              value="minimum-bitrate"
              c:type="GST_TAG_MINIMUM_BITRATE">
      <doc xml:space="preserve">minimum bitrate in bits/s (unsigned integer)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_NOMINAL_BITRATE"
              value="nominal-bitrate"
              c:type="GST_TAG_NOMINAL_BITRATE">
      <doc xml:space="preserve">nominal bitrate in bits/s (unsigned integer). The actual bitrate might be
different from this target bitrate.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_ORGANIZATION"
              value="organization"
              c:type="GST_TAG_ORGANIZATION">
      <doc xml:space="preserve">organization (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_PERFORMER"
              value="performer"
              c:type="GST_TAG_PERFORMER">
      <doc xml:space="preserve">person(s) performing (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_PREVIEW_IMAGE"
              value="preview-image"
              c:type="GST_TAG_PREVIEW_IMAGE">
      <doc xml:space="preserve">image that is meant for preview purposes, e.g. small icon-sized version
(sample) (sample taglist should specify the content type)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_PRIVATE_DATA"
              value="private-data"
              c:type="GST_TAG_PRIVATE_DATA"
              version="1.8">
      <doc xml:space="preserve">Any private data that may be contained in tags (sample).

It is represented by #GstSample in which #GstBuffer contains the
binary data and the sample's info #GstStructure may contain any
extra information that identifies the origin or meaning of the data.

Private frames in ID3v2 tags ('PRIV' frames) will be represented
using this tag, in which case the GstStructure will be named
"ID3PrivateFrame" and contain a field named "owner" of type string
which contains the owner-identification string from the tag.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_PUBLISHER"
              value="publisher"
              c:type="GST_TAG_PUBLISHER"
              version="1.2">
      <doc xml:space="preserve">Name of the label or publisher (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_REFERENCE_LEVEL"
              value="replaygain-reference-level"
              c:type="GST_TAG_REFERENCE_LEVEL">
      <doc xml:space="preserve">reference level of track and album gain values (double)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_SERIAL" value="serial" c:type="GST_TAG_SERIAL">
      <doc xml:space="preserve">serial number of track (unsigned integer)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_SHOW_EPISODE_NUMBER"
              value="show-episode-number"
              c:type="GST_TAG_SHOW_EPISODE_NUMBER">
      <doc xml:space="preserve">Number of the episode within a season/show (unsigned integer)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_SHOW_NAME"
              value="show-name"
              c:type="GST_TAG_SHOW_NAME">
      <doc xml:space="preserve">Name of the show, used for displaying (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_SHOW_SEASON_NUMBER"
              value="show-season-number"
              c:type="GST_TAG_SHOW_SEASON_NUMBER">
      <doc xml:space="preserve">Number of the season of a show/series (unsigned integer)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_SHOW_SORTNAME"
              value="show-sortname"
              c:type="GST_TAG_SHOW_SORTNAME">
      <doc xml:space="preserve">Name of the show, used for sorting (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_SUBTITLE_CODEC"
              value="subtitle-codec"
              c:type="GST_TAG_SUBTITLE_CODEC">
      <doc xml:space="preserve">codec/format the subtitle data is stored in (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_TITLE" value="title" c:type="GST_TAG_TITLE">
      <doc xml:space="preserve">commonly used title (string)

The title as it should be displayed, e.g. 'The Doll House'</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_TITLE_SORTNAME"
              value="title-sortname"
              c:type="GST_TAG_TITLE_SORTNAME">
      <doc xml:space="preserve">commonly used title, as used for sorting (string)

The title as it should be sorted, e.g. 'Doll House, The'</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_TRACK_COUNT"
              value="track-count"
              c:type="GST_TAG_TRACK_COUNT">
      <doc xml:space="preserve">count of tracks inside collection this track belongs to (unsigned integer)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_TRACK_GAIN"
              value="replaygain-track-gain"
              c:type="GST_TAG_TRACK_GAIN">
      <doc xml:space="preserve">track gain in db (double)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_TRACK_NUMBER"
              value="track-number"
              c:type="GST_TAG_TRACK_NUMBER">
      <doc xml:space="preserve">track number inside a collection (unsigned integer)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_TRACK_PEAK"
              value="replaygain-track-peak"
              c:type="GST_TAG_TRACK_PEAK">
      <doc xml:space="preserve">peak of the track (double)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_USER_RATING"
              value="user-rating"
              c:type="GST_TAG_USER_RATING">
      <doc xml:space="preserve">Rating attributed by a person (likely the application user).
The higher the value, the more the user likes this media
(unsigned int from 0 to 100)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_VERSION" value="version" c:type="GST_TAG_VERSION">
      <doc xml:space="preserve">version of this data (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TAG_VIDEO_CODEC"
              value="video-codec"
              c:type="GST_TAG_VIDEO_CODEC">
      <doc xml:space="preserve">codec the video data is stored in (string)</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TIME_FORMAT"
              value="u:%02u:%02u.%09u"
              c:type="GST_TIME_FORMAT">
      <doc xml:space="preserve">A string that can be used in printf-like format strings to display a
#GstClockTime value in h:m:s format.  Use GST_TIME_ARGS() to construct
the matching arguments.

Example:
|[&lt;!-- language="C" --&gt;
printf("%" GST_TIME_FORMAT "\n", GST_TIME_ARGS(ts));
]|</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="TOC_REPEAT_COUNT_INFINITE"
              value="-1"
              c:type="GST_TOC_REPEAT_COUNT_INFINITE"
              version="1.4">
      <doc xml:space="preserve">Special value for the repeat_count set in gst_toc_entry_set_loop() or
returned by gst_toc_entry_set_loop() to indicate infinite looping.</doc>
      <type name="gint" c:type="gint"/>
    </constant>
    <enumeration name="TagFlag"
                 glib:type-name="GstTagFlag"
                 glib:get-type="gst_tag_flag_get_type"
                 c:type="GstTagFlag">
      <doc xml:space="preserve">Extra tag flags used when registering tags.</doc>
      <member name="undefined"
              value="0"
              c:identifier="GST_TAG_FLAG_UNDEFINED"
              glib:nick="undefined">
        <doc xml:space="preserve">undefined flag</doc>
      </member>
      <member name="meta"
              value="1"
              c:identifier="GST_TAG_FLAG_META"
              glib:nick="meta">
        <doc xml:space="preserve">tag is meta data</doc>
      </member>
      <member name="encoded"
              value="2"
              c:identifier="GST_TAG_FLAG_ENCODED"
              glib:nick="encoded">
        <doc xml:space="preserve">tag is encoded</doc>
      </member>
      <member name="decoded"
              value="3"
              c:identifier="GST_TAG_FLAG_DECODED"
              glib:nick="decoded">
        <doc xml:space="preserve">tag is decoded</doc>
      </member>
      <member name="count"
              value="4"
              c:identifier="GST_TAG_FLAG_COUNT"
              glib:nick="count">
        <doc xml:space="preserve">number of tag flags</doc>
      </member>
    </enumeration>
    <callback name="TagForeachFunc" c:type="GstTagForeachFunc">
      <doc xml:space="preserve">A function that will be called in gst_tag_list_foreach(). The function may
not modify the tag list.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="list" transfer-ownership="none">
          <doc xml:space="preserve">the #GstTagList</doc>
          <type name="TagList" c:type="const GstTagList*"/>
        </parameter>
        <parameter name="tag" transfer-ownership="none">
          <doc xml:space="preserve">a name of a tag in @list</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="2">
          <doc xml:space="preserve">user data</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <record name="TagList"
            c:type="GstTagList"
            glib:type-name="GstTagList"
            glib:get-type="gst_tag_list_get_type"
            c:symbol-prefix="tag_list">
      <doc xml:space="preserve">List of tags and values used to describe media metadata.

Strings in structures must be ASCII or UTF-8 encoded. Other encodings are
not allowed. Strings must not be empty or %NULL.</doc>
      <field name="mini_object" writable="1">
        <doc xml:space="preserve">the parent type</doc>
        <type name="MiniObject" c:type="GstMiniObject"/>
      </field>
      <constructor name="new"
                   c:identifier="gst_tag_list_new"
                   introspectable="0">
        <doc xml:space="preserve">Creates a new taglist and appends the values for the given tags. It expects
tag-value pairs like gst_tag_list_add(), and a %NULL terminator after the
last pair. The type of the values is implicit and is documented in the API
reference, but can also be queried at runtime with gst_tag_get_type(). It
is an error to pass a value of a type not matching the tag type into this
function. The tag list will make copies of any arguments passed
(e.g. strings, buffers).

After creation you might also want to set a #GstTagScope on the returned
taglist to signal if the contained tags are global or stream tags. By
default stream scope is assumes. See gst_tag_list_set_scope().

Free-function: gst_tag_list_unref</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstTagList. Free with gst_tag_list_unref()
    when no longer needed.</doc>
          <type name="TagList" c:type="GstTagList*"/>
        </return-value>
        <parameters>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">%NULL-terminated list of values to set</doc>
            <varargs/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_empty" c:identifier="gst_tag_list_new_empty">
        <doc xml:space="preserve">Creates a new empty GstTagList.

Free-function: gst_tag_list_unref</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">An empty tag list</doc>
          <type name="TagList" c:type="GstTagList*"/>
        </return-value>
      </constructor>
      <constructor name="new_from_string"
                   c:identifier="gst_tag_list_new_from_string">
        <doc xml:space="preserve">Deserializes a tag list.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a new #GstTagList, or %NULL in case of an
error.</doc>
          <type name="TagList" c:type="GstTagList*"/>
        </return-value>
        <parameters>
          <parameter name="str" transfer-ownership="none">
            <doc xml:space="preserve">a string created with gst_tag_list_to_string()</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_valist"
                   c:identifier="gst_tag_list_new_valist"
                   introspectable="0">
        <doc xml:space="preserve">Just like gst_tag_list_new(), only that it takes a va_list argument.
Useful mostly for language bindings.

Free-function: gst_tag_list_unref</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstTagList. Free with gst_tag_list_unref()
    when no longer needed.</doc>
          <type name="TagList" c:type="GstTagList*"/>
        </return-value>
        <parameters>
          <parameter name="var_args" transfer-ownership="none">
            <doc xml:space="preserve">tag / value pairs to set</doc>
            <type name="va_list" c:type="va_list"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="add" c:identifier="gst_tag_list_add" introspectable="0">
        <doc xml:space="preserve">Sets the values for the given tags using the specified mode.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">list to set tags in</doc>
            <type name="TagList" c:type="GstTagList*"/>
          </instance-parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve">the mode to use</doc>
            <type name="TagMergeMode" c:type="GstTagMergeMode"/>
          </parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">%NULL-terminated list of values to set</doc>
            <varargs/>
          </parameter>
        </parameters>
      </method>
      <method name="add_valist"
              c:identifier="gst_tag_list_add_valist"
              introspectable="0">
        <doc xml:space="preserve">Sets the values for the given tags using the specified mode.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">list to set tags in</doc>
            <type name="TagList" c:type="GstTagList*"/>
          </instance-parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve">the mode to use</doc>
            <type name="TagMergeMode" c:type="GstTagMergeMode"/>
          </parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="var_args" transfer-ownership="none">
            <doc xml:space="preserve">tag / value pairs to set</doc>
            <type name="va_list" c:type="va_list"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_valist_values"
              c:identifier="gst_tag_list_add_valist_values"
              introspectable="0">
        <doc xml:space="preserve">Sets the GValues for the given tags using the specified mode.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">list to set tags in</doc>
            <type name="TagList" c:type="GstTagList*"/>
          </instance-parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve">the mode to use</doc>
            <type name="TagMergeMode" c:type="GstTagMergeMode"/>
          </parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="var_args" transfer-ownership="none">
            <doc xml:space="preserve">tag / GValue pairs to set</doc>
            <type name="va_list" c:type="va_list"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_value" c:identifier="gst_tag_list_add_value">
        <doc xml:space="preserve">Sets the GValue for a given tag using the specified mode.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">list to set tags in</doc>
            <type name="TagList" c:type="GstTagList*"/>
          </instance-parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve">the mode to use</doc>
            <type name="TagMergeMode" c:type="GstTagMergeMode"/>
          </parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">GValue for this tag</doc>
            <type name="GObject.Value" c:type="const GValue*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_values"
              c:identifier="gst_tag_list_add_values"
              introspectable="0">
        <doc xml:space="preserve">Sets the GValues for the given tags using the specified mode.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">list to set tags in</doc>
            <type name="TagList" c:type="GstTagList*"/>
          </instance-parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve">the mode to use</doc>
            <type name="TagMergeMode" c:type="GstTagMergeMode"/>
          </parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">GValues to set</doc>
            <varargs/>
          </parameter>
        </parameters>
      </method>
      <method name="foreach" c:identifier="gst_tag_list_foreach">
        <doc xml:space="preserve">Calls the given function for each tag inside the tag list. Note that if there
is no tag, the function won't be called at all.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">list to iterate over</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="call"
                     closure="1">
            <doc xml:space="preserve">function to be called for each tag</doc>
            <type name="TagForeachFunc" c:type="GstTagForeachFunc"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user specified data</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_boolean" c:identifier="gst_tag_list_get_boolean">
        <doc xml:space="preserve">Copies the contents for the given tag into the value, merging multiple values
into one if multiple values are associated with the tag.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
             given list.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList to get the tag from</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to read out</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location for the result</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_boolean_index"
              c:identifier="gst_tag_list_get_boolean_index">
        <doc xml:space="preserve">Gets the value that is at the given index for the given tag in the given
list.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
             given list.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList to get the tag from</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to read out</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">number of entry to read out</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location for the result</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_date" c:identifier="gst_tag_list_get_date">
        <doc xml:space="preserve">Copies the first date for the given tag in the taglist into the variable
pointed to by @value. Free the date with g_date_free() when it is no longer
needed.

Free-function: g_date_free</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if a date was copied, %FALSE if the tag didn't exist in the
             given list or if it was %NULL.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList to get the tag from</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to read out</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">address of a GDate pointer
    variable to store the result into</doc>
            <type name="GLib.Date" c:type="GDate**"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_date_index" c:identifier="gst_tag_list_get_date_index">
        <doc xml:space="preserve">Gets the date that is at the given index for the given tag in the given
list and copies it into the variable pointed to by @value. Free the date
with g_date_free() when it is no longer needed.

Free-function: g_date_free</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
             given list or if it was %NULL.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList to get the tag from</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to read out</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">number of entry to read out</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location for the result</doc>
            <type name="GLib.Date" c:type="GDate**"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_date_time" c:identifier="gst_tag_list_get_date_time">
        <doc xml:space="preserve">Copies the first datetime for the given tag in the taglist into the variable
pointed to by @value. Unref the date with gst_date_time_unref() when
it is no longer needed.

Free-function: gst_date_time_unref</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if a datetime was copied, %FALSE if the tag didn't exist in
             the given list or if it was %NULL.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList to get the tag from</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to read out</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">address of a #GstDateTime
    pointer variable to store the result into</doc>
            <type name="DateTime" c:type="GstDateTime**"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_date_time_index"
              c:identifier="gst_tag_list_get_date_time_index">
        <doc xml:space="preserve">Gets the datetime that is at the given index for the given tag in the given
list and copies it into the variable pointed to by @value. Unref the datetime
with gst_date_time_unref() when it is no longer needed.

Free-function: gst_date_time_unref</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
             given list or if it was %NULL.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList to get the tag from</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to read out</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">number of entry to read out</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location for the result</doc>
            <type name="DateTime" c:type="GstDateTime**"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_double" c:identifier="gst_tag_list_get_double">
        <doc xml:space="preserve">Copies the contents for the given tag into the value, merging multiple values
into one if multiple values are associated with the tag.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
             given list.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList to get the tag from</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to read out</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location for the result</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_double_index"
              c:identifier="gst_tag_list_get_double_index">
        <doc xml:space="preserve">Gets the value that is at the given index for the given tag in the given
list.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
             given list.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList to get the tag from</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to read out</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">number of entry to read out</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location for the result</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_float" c:identifier="gst_tag_list_get_float">
        <doc xml:space="preserve">Copies the contents for the given tag into the value, merging multiple values
into one if multiple values are associated with the tag.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
             given list.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList to get the tag from</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to read out</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location for the result</doc>
            <type name="gfloat" c:type="gfloat*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_float_index"
              c:identifier="gst_tag_list_get_float_index">
        <doc xml:space="preserve">Gets the value that is at the given index for the given tag in the given
list.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
             given list.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList to get the tag from</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to read out</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">number of entry to read out</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location for the result</doc>
            <type name="gfloat" c:type="gfloat*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_int" c:identifier="gst_tag_list_get_int">
        <doc xml:space="preserve">Copies the contents for the given tag into the value, merging multiple values
into one if multiple values are associated with the tag.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
             given list.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList to get the tag from</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to read out</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location for the result</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_int64" c:identifier="gst_tag_list_get_int64">
        <doc xml:space="preserve">Copies the contents for the given tag into the value, merging multiple values
into one if multiple values are associated with the tag.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
             given list.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList to get the tag from</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to read out</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location for the result</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_int64_index"
              c:identifier="gst_tag_list_get_int64_index">
        <doc xml:space="preserve">Gets the value that is at the given index for the given tag in the given
list.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
             given list.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList to get the tag from</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to read out</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">number of entry to read out</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location for the result</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_int_index" c:identifier="gst_tag_list_get_int_index">
        <doc xml:space="preserve">Gets the value that is at the given index for the given tag in the given
list.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
             given list.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList to get the tag from</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to read out</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">number of entry to read out</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location for the result</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_pointer" c:identifier="gst_tag_list_get_pointer">
        <doc xml:space="preserve">Copies the contents for the given tag into the value, merging multiple values
into one if multiple values are associated with the tag.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
             given list.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList to get the tag from</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to read out</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none"
                     nullable="1">
            <doc xml:space="preserve">location for the result</doc>
            <type name="gpointer" c:type="gpointer*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_pointer_index"
              c:identifier="gst_tag_list_get_pointer_index">
        <doc xml:space="preserve">Gets the value that is at the given index for the given tag in the given
list.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
             given list.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList to get the tag from</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to read out</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">number of entry to read out</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none"
                     nullable="1">
            <doc xml:space="preserve">location for the result</doc>
            <type name="gpointer" c:type="gpointer*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_sample" c:identifier="gst_tag_list_get_sample">
        <doc xml:space="preserve">Copies the first sample for the given tag in the taglist into the variable
pointed to by @sample. Free the sample with gst_sample_unref() when it is
no longer needed. You can retrieve the buffer from the sample using
gst_sample_get_buffer() and the associated caps (if any) with
gst_sample_get_caps().

Free-function: gst_sample_unref</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if a sample was returned, %FALSE if the tag didn't exist in
             the given list or if it was %NULL.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList to get the tag from</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to read out</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="sample"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">address of a GstSample
    pointer variable to store the result into</doc>
            <type name="Sample" c:type="GstSample**"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_sample_index"
              c:identifier="gst_tag_list_get_sample_index">
        <doc xml:space="preserve">Gets the sample that is at the given index for the given tag in the given
list and copies it into the variable pointed to by @sample. Free the sample
with gst_sample_unref() when it is no longer needed. You can retrieve the
buffer from the sample using gst_sample_get_buffer() and the associated
caps (if any) with gst_sample_get_caps().

Free-function: gst_sample_unref</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if a sample was copied, %FALSE if the tag didn't exist in the
             given list or if it was %NULL.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList to get the tag from</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to read out</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">number of entry to read out</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="sample"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">address of a GstSample
    pointer variable to store the result into</doc>
            <type name="Sample" c:type="GstSample**"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_scope" c:identifier="gst_tag_list_get_scope">
        <doc xml:space="preserve">Gets the scope of @list.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The scope of @list</doc>
          <type name="TagScope" c:type="GstTagScope"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_string" c:identifier="gst_tag_list_get_string">
        <doc xml:space="preserve">Copies the contents for the given tag into the value, possibly merging
multiple values into one if multiple values are associated with the tag.

Use gst_tag_list_get_string_index (list, tag, 0, value) if you want
to retrieve the first string associated with this tag unmodified.

The resulting string in @value will be in UTF-8 encoding and should be
freed by the caller using g_free when no longer needed. The
returned string is also guaranteed to be non-%NULL and non-empty.

Free-function: g_free</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
             given list.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList to get the tag from</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to read out</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location for the result</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_string_index"
              c:identifier="gst_tag_list_get_string_index">
        <doc xml:space="preserve">Gets the value that is at the given index for the given tag in the given
list.

The resulting string in @value will be in UTF-8 encoding and should be
freed by the caller using g_free when no longer needed. The
returned string is also guaranteed to be non-%NULL and non-empty.

Free-function: g_free</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
             given list.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList to get the tag from</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to read out</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">number of entry to read out</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location for the result</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_tag_size" c:identifier="gst_tag_list_get_tag_size">
        <doc xml:space="preserve">Checks how many value are stored in this tag list for the given tag.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The number of tags stored</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a taglist</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">the tag to query</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_uint" c:identifier="gst_tag_list_get_uint">
        <doc xml:space="preserve">Copies the contents for the given tag into the value, merging multiple values
into one if multiple values are associated with the tag.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
             given list.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList to get the tag from</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to read out</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location for the result</doc>
            <type name="guint" c:type="guint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_uint64" c:identifier="gst_tag_list_get_uint64">
        <doc xml:space="preserve">Copies the contents for the given tag into the value, merging multiple values
into one if multiple values are associated with the tag.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
             given list.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList to get the tag from</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to read out</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location for the result</doc>
            <type name="guint64" c:type="guint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_uint64_index"
              c:identifier="gst_tag_list_get_uint64_index">
        <doc xml:space="preserve">Gets the value that is at the given index for the given tag in the given
list.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
             given list.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList to get the tag from</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to read out</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">number of entry to read out</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location for the result</doc>
            <type name="guint64" c:type="guint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_uint_index" c:identifier="gst_tag_list_get_uint_index">
        <doc xml:space="preserve">Gets the value that is at the given index for the given tag in the given
list.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
             given list.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList to get the tag from</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to read out</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">number of entry to read out</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location for the result</doc>
            <type name="guint" c:type="guint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_value_index"
              c:identifier="gst_tag_list_get_value_index">
        <doc xml:space="preserve">Gets the value that is at the given index for the given tag in the given
list.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">The GValue for the specified
         entry or %NULL if the tag wasn't available or the tag
         doesn't have as many entries</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to read out</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">number of entry to read out</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="insert" c:identifier="gst_tag_list_insert">
        <doc xml:space="preserve">Inserts the tags of the @from list into the first list using the given mode.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="into" transfer-ownership="none">
            <doc xml:space="preserve">list to merge into</doc>
            <type name="TagList" c:type="GstTagList*"/>
          </instance-parameter>
          <parameter name="from" transfer-ownership="none">
            <doc xml:space="preserve">list to merge from</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve">the mode to use</doc>
            <type name="TagMergeMode" c:type="GstTagMergeMode"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_empty" c:identifier="gst_tag_list_is_empty">
        <doc xml:space="preserve">Checks if the given taglist is empty.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the taglist is empty, otherwise %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">A #GstTagList.</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_equal" c:identifier="gst_tag_list_is_equal">
        <doc xml:space="preserve">Checks if the two given taglists are equal.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the taglists are equal, otherwise %FALSE</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="list1" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList.</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="list2" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList.</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </parameter>
        </parameters>
      </method>
      <method name="merge" c:identifier="gst_tag_list_merge">
        <doc xml:space="preserve">Merges the two given lists into a new list. If one of the lists is %NULL, a
copy of the other is returned. If both lists are %NULL, %NULL is returned.

Free-function: gst_tag_list_unref</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the new list</doc>
          <type name="TagList" c:type="GstTagList*"/>
        </return-value>
        <parameters>
          <instance-parameter name="list1"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">first list to merge</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="list2"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">second list to merge</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve">the mode to use</doc>
            <type name="TagMergeMode" c:type="GstTagMergeMode"/>
          </parameter>
        </parameters>
      </method>
      <method name="n_tags" c:identifier="gst_tag_list_n_tags">
        <doc xml:space="preserve">Get the number of tags in @list.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The number of tags in @list.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">A #GstTagList.</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="nth_tag_name" c:identifier="gst_tag_list_nth_tag_name">
        <doc xml:space="preserve">Get the name of the tag in @list at @index.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The name of the tag at @index.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">A #GstTagList.</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">the index</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="peek_string_index"
              c:identifier="gst_tag_list_peek_string_index">
        <doc xml:space="preserve">Peeks at the value that is at the given index for the given tag in the given
list.

The resulting string in @value will be in UTF-8 encoding and doesn't need
to be freed by the caller. The returned string is also guaranteed to
be non-%NULL and non-empty.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if a value was set, %FALSE if the tag didn't exist in the
             given list.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList to get the tag from</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to read out</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">number of entry to read out</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none">
            <doc xml:space="preserve">location for the result</doc>
            <type name="utf8" c:type="const gchar**"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_tag" c:identifier="gst_tag_list_remove_tag">
        <doc xml:space="preserve">Removes the given tag from the taglist.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">list to remove tag from</doc>
            <type name="TagList" c:type="GstTagList*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to remove</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_scope" c:identifier="gst_tag_list_set_scope">
        <doc xml:space="preserve">Sets the scope of @list to @scope. By default the scope
of a taglist is stream scope.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList</doc>
            <type name="TagList" c:type="GstTagList*"/>
          </instance-parameter>
          <parameter name="scope" transfer-ownership="none">
            <doc xml:space="preserve">new scope for @list</doc>
            <type name="TagScope" c:type="GstTagScope"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_string" c:identifier="gst_tag_list_to_string">
        <doc xml:space="preserve">Serializes a tag list to a string.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">a newly-allocated string, or %NULL in case of
    an error. The string must be freed with g_free() when no longer
    needed.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagList</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </instance-parameter>
        </parameters>
      </method>
      <function name="copy_value" c:identifier="gst_tag_list_copy_value">
        <doc xml:space="preserve">Copies the contents for the given tag into the value,
merging multiple values into one if multiple values are associated
with the tag.
You must g_value_unset() the value after use.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
         given list.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="dest"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none">
            <doc xml:space="preserve">uninitialized #GValue to copy into</doc>
            <type name="GObject.Value" c:type="GValue*"/>
          </parameter>
          <parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">list to get the tag from</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to read out</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
    </record>
    <callback name="TagMergeFunc" c:type="GstTagMergeFunc">
      <doc xml:space="preserve">A function for merging multiple values of a tag used when registering
tags.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="dest" transfer-ownership="none">
          <doc xml:space="preserve">the destination #GValue</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="src" transfer-ownership="none">
          <doc xml:space="preserve">the source #GValue</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </callback>
    <enumeration name="TagMergeMode"
                 glib:type-name="GstTagMergeMode"
                 glib:get-type="gst_tag_merge_mode_get_type"
                 c:type="GstTagMergeMode">
      <doc xml:space="preserve">The different tag merging modes are basically replace, overwrite and append,
but they can be seen from two directions. Given two taglists: (A) the tags
already in the element and (B) the ones that are supplied to the element (
e.g. via gst_tag_setter_merge_tags() / gst_tag_setter_add_tags() or a
%GST_EVENT_TAG), how are these tags merged?
In the table below this is shown for the cases that a tag exists in the list
(A) or does not exists (!A) and combinations thereof.

&lt;table frame="all" colsep="1" rowsep="1"&gt;
  &lt;title&gt;merge mode&lt;/title&gt;
  &lt;tgroup cols='5' align='left'&gt;
    &lt;thead&gt;
      &lt;row&gt;
        &lt;entry&gt;merge mode&lt;/entry&gt;
        &lt;entry&gt;A + B&lt;/entry&gt;
        &lt;entry&gt;A + !B&lt;/entry&gt;
        &lt;entry&gt;!A + B&lt;/entry&gt;
        &lt;entry&gt;!A + !B&lt;/entry&gt;
      &lt;/row&gt;
    &lt;/thead&gt;
    &lt;tbody&gt;
      &lt;row&gt;
        &lt;entry&gt;REPLACE_ALL&lt;/entry&gt;
        &lt;entry&gt;B&lt;/entry&gt;
        &lt;entry&gt;-&lt;/entry&gt;
        &lt;entry&gt;B&lt;/entry&gt;
        &lt;entry&gt;-&lt;/entry&gt;
      &lt;/row&gt;
      &lt;row&gt;
        &lt;entry&gt;REPLACE&lt;/entry&gt;
        &lt;entry&gt;B&lt;/entry&gt;
        &lt;entry&gt;A&lt;/entry&gt;
        &lt;entry&gt;B&lt;/entry&gt;
        &lt;entry&gt;-&lt;/entry&gt;
      &lt;/row&gt;
      &lt;row&gt;
        &lt;entry&gt;APPEND&lt;/entry&gt;
        &lt;entry&gt;A, B&lt;/entry&gt;
        &lt;entry&gt;A&lt;/entry&gt;
        &lt;entry&gt;B&lt;/entry&gt;
        &lt;entry&gt;-&lt;/entry&gt;
      &lt;/row&gt;
      &lt;row&gt;
        &lt;entry&gt;PREPEND&lt;/entry&gt;
        &lt;entry&gt;B, A&lt;/entry&gt;
        &lt;entry&gt;A&lt;/entry&gt;
        &lt;entry&gt;B&lt;/entry&gt;
        &lt;entry&gt;-&lt;/entry&gt;
      &lt;/row&gt;
      &lt;row&gt;
        &lt;entry&gt;KEEP&lt;/entry&gt;
        &lt;entry&gt;A&lt;/entry&gt;
        &lt;entry&gt;A&lt;/entry&gt;
        &lt;entry&gt;B&lt;/entry&gt;
        &lt;entry&gt;-&lt;/entry&gt;
      &lt;/row&gt;
      &lt;row&gt;
        &lt;entry&gt;KEEP_ALL&lt;/entry&gt;
        &lt;entry&gt;A&lt;/entry&gt;
        &lt;entry&gt;A&lt;/entry&gt;
        &lt;entry&gt;-&lt;/entry&gt;
        &lt;entry&gt;-&lt;/entry&gt;
      &lt;/row&gt;
    &lt;/tbody&gt;
  &lt;/tgroup&gt;
&lt;/table&gt;</doc>
      <member name="undefined"
              value="0"
              c:identifier="GST_TAG_MERGE_UNDEFINED"
              glib:nick="undefined">
        <doc xml:space="preserve">undefined merge mode</doc>
      </member>
      <member name="replace_all"
              value="1"
              c:identifier="GST_TAG_MERGE_REPLACE_ALL"
              glib:nick="replace-all">
        <doc xml:space="preserve">replace all tags (clear list and append)</doc>
      </member>
      <member name="replace"
              value="2"
              c:identifier="GST_TAG_MERGE_REPLACE"
              glib:nick="replace">
        <doc xml:space="preserve">replace tags</doc>
      </member>
      <member name="append"
              value="3"
              c:identifier="GST_TAG_MERGE_APPEND"
              glib:nick="append">
        <doc xml:space="preserve">append tags</doc>
      </member>
      <member name="prepend"
              value="4"
              c:identifier="GST_TAG_MERGE_PREPEND"
              glib:nick="prepend">
        <doc xml:space="preserve">prepend tags</doc>
      </member>
      <member name="keep"
              value="5"
              c:identifier="GST_TAG_MERGE_KEEP"
              glib:nick="keep">
        <doc xml:space="preserve">keep existing tags</doc>
      </member>
      <member name="keep_all"
              value="6"
              c:identifier="GST_TAG_MERGE_KEEP_ALL"
              glib:nick="keep-all">
        <doc xml:space="preserve">keep all existing tags</doc>
      </member>
      <member name="count"
              value="7"
              c:identifier="GST_TAG_MERGE_COUNT"
              glib:nick="count">
        <doc xml:space="preserve">the number of merge modes</doc>
      </member>
    </enumeration>
    <enumeration name="TagScope"
                 glib:type-name="GstTagScope"
                 glib:get-type="gst_tag_scope_get_type"
                 c:type="GstTagScope">
      <doc xml:space="preserve">GstTagScope specifies if a taglist applies to the complete
medium or only to one single stream.</doc>
      <member name="stream"
              value="0"
              c:identifier="GST_TAG_SCOPE_STREAM"
              glib:nick="stream">
        <doc xml:space="preserve">tags specific to this single stream</doc>
      </member>
      <member name="global"
              value="1"
              c:identifier="GST_TAG_SCOPE_GLOBAL"
              glib:nick="global">
        <doc xml:space="preserve">global tags for the complete medium</doc>
      </member>
    </enumeration>
    <interface name="TagSetter"
               c:symbol-prefix="tag_setter"
               c:type="GstTagSetter"
               glib:type-name="GstTagSetter"
               glib:get-type="gst_tag_setter_get_type"
               glib:type-struct="TagSetterInterface">
      <doc xml:space="preserve">Element interface that allows setting of media metadata.

Elements that support changing a stream's metadata will implement this
interface. Examples of such elements are 'vorbisenc', 'theoraenc' and
'id3v2mux'.

If you just want to retrieve metadata in your application then all you
need to do is watch for tag messages on your pipeline's bus. This
interface is only for setting metadata, not for extracting it. To set tags
from the application, find tagsetter elements and set tags using e.g.
gst_tag_setter_merge_tags() or gst_tag_setter_add_tags(). Also consider
setting the #GstTagMergeMode that is used for tag events that arrive at the
tagsetter element (default mode is to keep existing tags).
The application should do that before the element goes to %GST_STATE_PAUSED.

Elements implementing the #GstTagSetter interface often have to merge
any tags received from upstream and the tags set by the application via
the interface. This can be done like this:

|[&lt;!-- language="C" --&gt;
GstTagMergeMode merge_mode;
const GstTagList *application_tags;
const GstTagList *event_tags;
GstTagSetter *tagsetter;
GstTagList *result;

tagsetter = GST_TAG_SETTER (element);

merge_mode = gst_tag_setter_get_tag_merge_mode (tagsetter);
application_tags = gst_tag_setter_get_tag_list (tagsetter);
event_tags = (const GstTagList *) element-&gt;event_tags;

GST_LOG_OBJECT (tagsetter, "merging tags, merge mode = %d", merge_mode);
GST_LOG_OBJECT (tagsetter, "event tags: %" GST_PTR_FORMAT, event_tags);
GST_LOG_OBJECT (tagsetter, "set   tags: %" GST_PTR_FORMAT, application_tags);

result = gst_tag_list_merge (application_tags, event_tags, merge_mode);

GST_LOG_OBJECT (tagsetter, "final tags: %" GST_PTR_FORMAT, result);
]|</doc>
      <prerequisite name="Element"/>
      <method name="add_tag_valist"
              c:identifier="gst_tag_setter_add_tag_valist"
              introspectable="0">
        <doc xml:space="preserve">Adds the given tag / value pairs on the setter using the given merge mode.
The list must be terminated with %NULL.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="setter" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagSetter</doc>
            <type name="TagSetter" c:type="GstTagSetter*"/>
          </instance-parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve">the mode to use</doc>
            <type name="TagMergeMode" c:type="GstTagMergeMode"/>
          </parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to set</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="var_args" transfer-ownership="none">
            <doc xml:space="preserve">tag / value pairs to set</doc>
            <type name="va_list" c:type="va_list"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_tag_valist_values"
              c:identifier="gst_tag_setter_add_tag_valist_values"
              introspectable="0">
        <doc xml:space="preserve">Adds the given tag / GValue pairs on the setter using the given merge mode.
The list must be terminated with %NULL.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="setter" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagSetter</doc>
            <type name="TagSetter" c:type="GstTagSetter*"/>
          </instance-parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve">the mode to use</doc>
            <type name="TagMergeMode" c:type="GstTagMergeMode"/>
          </parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to set</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="var_args" transfer-ownership="none">
            <doc xml:space="preserve">tag / GValue pairs to set</doc>
            <type name="va_list" c:type="va_list"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_tag_value" c:identifier="gst_tag_setter_add_tag_value">
        <doc xml:space="preserve">Adds the given tag / GValue pair on the setter using the given merge mode.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="setter" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagSetter</doc>
            <type name="TagSetter" c:type="GstTagSetter*"/>
          </instance-parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve">the mode to use</doc>
            <type name="TagMergeMode" c:type="GstTagMergeMode"/>
          </parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to set</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">GValue to set for the tag</doc>
            <type name="GObject.Value" c:type="const GValue*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_tag_values"
              c:identifier="gst_tag_setter_add_tag_values"
              introspectable="0">
        <doc xml:space="preserve">Adds the given tag / GValue pairs on the setter using the given merge mode.
The list must be terminated with %NULL.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="setter" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagSetter</doc>
            <type name="TagSetter" c:type="GstTagSetter*"/>
          </instance-parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve">the mode to use</doc>
            <type name="TagMergeMode" c:type="GstTagMergeMode"/>
          </parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to set</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">more tag / GValue pairs to set</doc>
            <varargs/>
          </parameter>
        </parameters>
      </method>
      <method name="add_tags"
              c:identifier="gst_tag_setter_add_tags"
              introspectable="0">
        <doc xml:space="preserve">Adds the given tag / value pairs on the setter using the given merge mode.
The list must be terminated with %NULL.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="setter" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagSetter</doc>
            <type name="TagSetter" c:type="GstTagSetter*"/>
          </instance-parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve">the mode to use</doc>
            <type name="TagMergeMode" c:type="GstTagMergeMode"/>
          </parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve">tag to set</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">more tag / value pairs to set</doc>
            <varargs/>
          </parameter>
        </parameters>
      </method>
      <method name="get_tag_list" c:identifier="gst_tag_setter_get_tag_list">
        <doc xml:space="preserve">Returns the current list of tags the setter uses.  The list should not be
modified or freed.

This function is not thread-safe.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">a current snapshot of the
         taglist used in the setter or %NULL if none is used.</doc>
          <type name="TagList" c:type="const GstTagList*"/>
        </return-value>
        <parameters>
          <instance-parameter name="setter" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagSetter</doc>
            <type name="TagSetter" c:type="GstTagSetter*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_tag_merge_mode"
              c:identifier="gst_tag_setter_get_tag_merge_mode">
        <doc xml:space="preserve">Queries the mode by which tags inside the setter are overwritten by tags
from events</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the merge mode used inside the element.</doc>
          <type name="TagMergeMode" c:type="GstTagMergeMode"/>
        </return-value>
        <parameters>
          <instance-parameter name="setter" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagSetter</doc>
            <type name="TagSetter" c:type="GstTagSetter*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="merge_tags" c:identifier="gst_tag_setter_merge_tags">
        <doc xml:space="preserve">Merges the given list into the setter's list using the given mode.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="setter" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagSetter</doc>
            <type name="TagSetter" c:type="GstTagSetter*"/>
          </instance-parameter>
          <parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">a tag list to merge from</doc>
            <type name="TagList" c:type="const GstTagList*"/>
          </parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve">the mode to merge with</doc>
            <type name="TagMergeMode" c:type="GstTagMergeMode"/>
          </parameter>
        </parameters>
      </method>
      <method name="reset_tags" c:identifier="gst_tag_setter_reset_tags">
        <doc xml:space="preserve">Reset the internal taglist. Elements should call this from within the
state-change handler.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="setter" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagSetter</doc>
            <type name="TagSetter" c:type="GstTagSetter*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_tag_merge_mode"
              c:identifier="gst_tag_setter_set_tag_merge_mode">
        <doc xml:space="preserve">Sets the given merge mode that is used for adding tags from events to tags
specified by this interface. The default is #GST_TAG_MERGE_KEEP, which keeps
the tags set with this interface and discards tags from events.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="setter" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTagSetter</doc>
            <type name="TagSetter" c:type="GstTagSetter*"/>
          </instance-parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve">The mode with which tags are added</doc>
            <type name="TagMergeMode" c:type="GstTagMergeMode"/>
          </parameter>
        </parameters>
      </method>
    </interface>
    <record name="TagSetterInterface"
            c:type="GstTagSetterInterface"
            glib:is-gtype-struct-for="TagSetter">
      <doc xml:space="preserve">#GstTagSetterInterface interface.</doc>
      <field name="g_iface">
        <doc xml:space="preserve">parent interface type.</doc>
        <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
      </field>
    </record>
    <class name="Task"
           c:symbol-prefix="task"
           c:type="GstTask"
           parent="Object"
           glib:type-name="GstTask"
           glib:get-type="gst_task_get_type"
           glib:type-struct="TaskClass">
      <doc xml:space="preserve">#GstTask is used by #GstElement and #GstPad to provide the data passing
threads in a #GstPipeline.

A #GstPad will typically start a #GstTask to push or pull data to/from the
peer pads. Most source elements start a #GstTask to push data. In some cases
a demuxer element can start a #GstTask to pull data from a peer element. This
is typically done when the demuxer can perform random access on the upstream
peer element for improved performance.

Although convenience functions exist on #GstPad to start/pause/stop tasks, it
might sometimes be needed to create a #GstTask manually if it is not related to
a #GstPad.

Before the #GstTask can be run, it needs a #GRecMutex that can be set with
gst_task_set_lock().

The task can be started, paused and stopped with gst_task_start(), gst_task_pause()
and gst_task_stop() respectively or with the gst_task_set_state() function.

A #GstTask will repeatedly call the #GstTaskFunction with the user data
that was provided when creating the task with gst_task_new(). While calling
the function it will acquire the provided lock. The provided lock is released
when the task pauses or stops.

Stopping a task with gst_task_stop() will not immediately make sure the task is
not running anymore. Use gst_task_join() to make sure the task is completely
stopped and the thread is stopped.

After creating a #GstTask, use gst_object_unref() to free its resources. This can
only be done when the task is not running anymore.

Task functions can send a #GstMessage to send out-of-band data to the
application. The application can receive messages from the #GstBus in its
mainloop.

For debugging purposes, the task will configure its object name as the thread
name on Linux. Please note that the object name should be configured before the
task is started; changing the object name after the task has been started, has
no effect on the thread name.</doc>
      <constructor name="new" c:identifier="gst_task_new">
        <doc xml:space="preserve">Create a new Task that will repeatedly call the provided @func
with @user_data as a parameter. Typically the task will run in
a new thread.

The function cannot be changed after the task has been created. You
must create a new #GstTask to change the function.

This function will not yet create and start a thread. Use gst_task_start() or
gst_task_pause() to create and start the GThread.

Before the task can be used, a #GRecMutex must be configured using the
gst_task_set_lock() function. This lock will always be acquired while
@func is called.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A new #GstTask.

MT safe.</doc>
          <type name="Task" c:type="GstTask*"/>
        </return-value>
        <parameters>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="notified"
                     closure="1"
                     destroy="2">
            <doc xml:space="preserve">The #GstTaskFunction to use</doc>
            <type name="TaskFunction" c:type="GstTaskFunction"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">User data to pass to @func</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify" transfer-ownership="none" scope="async">
            <doc xml:space="preserve">the function to call when @user_data is no longer needed.</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </constructor>
      <function name="cleanup_all" c:identifier="gst_task_cleanup_all">
        <doc xml:space="preserve">Wait for all tasks to be stopped. This is mainly used internally
to ensure proper cleanup of internal data structures in test suites.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </function>
      <method name="get_pool" c:identifier="gst_task_get_pool">
        <doc xml:space="preserve">Get the #GstTaskPool that this task will use for its streaming
threads.

MT safe.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the #GstTaskPool used by @task. gst_object_unref()
after usage.</doc>
          <type name="TaskPool" c:type="GstTaskPool*"/>
        </return-value>
        <parameters>
          <instance-parameter name="task" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTask</doc>
            <type name="Task" c:type="GstTask*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_state" c:identifier="gst_task_get_state">
        <doc xml:space="preserve">Get the current state of the task.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The #GstTaskState of the task

MT safe.</doc>
          <type name="TaskState" c:type="GstTaskState"/>
        </return-value>
        <parameters>
          <instance-parameter name="task" transfer-ownership="none">
            <doc xml:space="preserve">The #GstTask to query</doc>
            <type name="Task" c:type="GstTask*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="join" c:identifier="gst_task_join">
        <doc xml:space="preserve">Joins @task. After this call, it is safe to unref the task
and clean up the lock set with gst_task_set_lock().

The task will automatically be stopped with this call.

This function cannot be called from within a task function as this
would cause a deadlock. The function will detect this and print a
g_warning.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the task could be joined.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="task" transfer-ownership="none">
            <doc xml:space="preserve">The #GstTask to join</doc>
            <type name="Task" c:type="GstTask*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="pause" c:identifier="gst_task_pause">
        <doc xml:space="preserve">Pauses @task. This method can also be called on a task in the
stopped state, in which case a thread will be started and will remain
in the paused state. This function does not wait for the task to complete
the paused state.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the task could be paused.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="task" transfer-ownership="none">
            <doc xml:space="preserve">The #GstTask to pause</doc>
            <type name="Task" c:type="GstTask*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_enter_callback"
              c:identifier="gst_task_set_enter_callback">
        <doc xml:space="preserve">Call @enter_func when the task function of @task is entered. @user_data will
be passed to @enter_func and @notify will be called when @user_data is no
longer referenced.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="task" transfer-ownership="none">
            <doc xml:space="preserve">The #GstTask to use</doc>
            <type name="Task" c:type="GstTask*"/>
          </instance-parameter>
          <parameter name="enter_func"
                     transfer-ownership="none"
                     scope="notified"
                     closure="1"
                     destroy="2">
            <doc xml:space="preserve">a #GstTaskThreadFunc</doc>
            <type name="TaskThreadFunc" c:type="GstTaskThreadFunc"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user data passed to @enter_func</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify" transfer-ownership="none" scope="async">
            <doc xml:space="preserve">called when @user_data is no longer referenced</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_leave_callback"
              c:identifier="gst_task_set_leave_callback">
        <doc xml:space="preserve">Call @leave_func when the task function of @task is left. @user_data will
be passed to @leave_func and @notify will be called when @user_data is no
longer referenced.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="task" transfer-ownership="none">
            <doc xml:space="preserve">The #GstTask to use</doc>
            <type name="Task" c:type="GstTask*"/>
          </instance-parameter>
          <parameter name="leave_func"
                     transfer-ownership="none"
                     scope="notified"
                     closure="1"
                     destroy="2">
            <doc xml:space="preserve">a #GstTaskThreadFunc</doc>
            <type name="TaskThreadFunc" c:type="GstTaskThreadFunc"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user data passed to @leave_func</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify" transfer-ownership="none" scope="async">
            <doc xml:space="preserve">called when @user_data is no longer referenced</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_lock" c:identifier="gst_task_set_lock">
        <doc xml:space="preserve">Set the mutex used by the task. The mutex will be acquired before
calling the #GstTaskFunction.

This function has to be called before calling gst_task_pause() or
gst_task_start().

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="task" transfer-ownership="none">
            <doc xml:space="preserve">The #GstTask to use</doc>
            <type name="Task" c:type="GstTask*"/>
          </instance-parameter>
          <parameter name="mutex" transfer-ownership="none">
            <doc xml:space="preserve">The #GRecMutex to use</doc>
            <type name="GLib.RecMutex" c:type="GRecMutex*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_pool" c:identifier="gst_task_set_pool">
        <doc xml:space="preserve">Set @pool as the new GstTaskPool for @task. Any new streaming threads that
will be created by @task will now use @pool.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="task" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTask</doc>
            <type name="Task" c:type="GstTask*"/>
          </instance-parameter>
          <parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTaskPool</doc>
            <type name="TaskPool" c:type="GstTaskPool*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_state" c:identifier="gst_task_set_state">
        <doc xml:space="preserve">Sets the state of @task to @state.

The @task must have a lock associated with it using
gst_task_set_lock() when going to GST_TASK_STARTED or GST_TASK_PAUSED or
this function will return %FALSE.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the state could be changed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="task" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTask</doc>
            <type name="Task" c:type="GstTask*"/>
          </instance-parameter>
          <parameter name="state" transfer-ownership="none">
            <doc xml:space="preserve">the new task state</doc>
            <type name="TaskState" c:type="GstTaskState"/>
          </parameter>
        </parameters>
      </method>
      <method name="start" c:identifier="gst_task_start">
        <doc xml:space="preserve">Starts @task. The @task must have a lock associated with it using
gst_task_set_lock() or this function will return %FALSE.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the task could be started.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="task" transfer-ownership="none">
            <doc xml:space="preserve">The #GstTask to start</doc>
            <type name="Task" c:type="GstTask*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="stop" c:identifier="gst_task_stop">
        <doc xml:space="preserve">Stops @task. This method merely schedules the task to stop and
will not wait for the task to have completely stopped. Use
gst_task_join() to stop and wait for completion.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the task could be stopped.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="task" transfer-ownership="none">
            <doc xml:space="preserve">The #GstTask to stop</doc>
            <type name="Task" c:type="GstTask*"/>
          </instance-parameter>
        </parameters>
      </method>
      <field name="object">
        <type name="Object" c:type="GstObject"/>
      </field>
      <field name="state">
        <doc xml:space="preserve">the state of the task</doc>
        <type name="TaskState" c:type="GstTaskState"/>
      </field>
      <field name="cond">
        <doc xml:space="preserve">used to pause/resume the task</doc>
        <type name="GLib.Cond" c:type="GCond"/>
      </field>
      <field name="lock">
        <doc xml:space="preserve">The lock taken when iterating the task function</doc>
        <type name="GLib.RecMutex" c:type="GRecMutex*"/>
      </field>
      <field name="func">
        <doc xml:space="preserve">the function executed by this task</doc>
        <type name="TaskFunction" c:type="GstTaskFunction"/>
      </field>
      <field name="user_data">
        <doc xml:space="preserve">user_data passed to the task function</doc>
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="notify">
        <doc xml:space="preserve">GDestroyNotify for @user_data</doc>
        <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
      </field>
      <field name="running">
        <doc xml:space="preserve">a flag indicating that the task is running</doc>
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="thread" readable="0" private="1">
        <type name="GLib.Thread" c:type="GThread*"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="TaskPrivate" c:type="GstTaskPrivate*"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </class>
    <record name="TaskClass"
            c:type="GstTaskClass"
            glib:is-gtype-struct-for="Task">
      <field name="parent_class">
        <type name="ObjectClass" c:type="GstObjectClass"/>
      </field>
      <field name="pool" readable="0" private="1">
        <type name="TaskPool" c:type="GstTaskPool*"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <callback name="TaskFunction" c:type="GstTaskFunction">
      <doc xml:space="preserve">A function that will repeatedly be called in the thread created by
a #GstTask.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="0">
          <doc xml:space="preserve">user data passed to the function</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <class name="TaskPool"
           c:symbol-prefix="task_pool"
           c:type="GstTaskPool"
           parent="Object"
           glib:type-name="GstTaskPool"
           glib:get-type="gst_task_pool_get_type"
           glib:type-struct="TaskPoolClass">
      <doc xml:space="preserve">This object provides an abstraction for creating threads. The default
implementation uses a regular GThreadPool to start tasks.

Subclasses can be made to create custom threads.</doc>
      <constructor name="new" c:identifier="gst_task_pool_new">
        <doc xml:space="preserve">Create a new default task pool. The default task pool will use a regular
GThreadPool for threads.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GstTaskPool. gst_object_unref() after usage.</doc>
          <type name="TaskPool" c:type="GstTaskPool*"/>
        </return-value>
      </constructor>
      <virtual-method name="cleanup" invoker="cleanup">
        <doc xml:space="preserve">Wait for all tasks to be stopped. This is mainly used internally
to ensure proper cleanup of internal data structures in test suites.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTaskPool</doc>
            <type name="TaskPool" c:type="GstTaskPool*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="join" invoker="join">
        <doc xml:space="preserve">Join a task and/or return it to the pool. @id is the id obtained from
gst_task_pool_push().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTaskPool</doc>
            <type name="TaskPool" c:type="GstTaskPool*"/>
          </instance-parameter>
          <parameter name="id"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the id</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="prepare" invoker="prepare" throws="1">
        <doc xml:space="preserve">Prepare the taskpool for accepting gst_task_pool_push() operations.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTaskPool</doc>
            <type name="TaskPool" c:type="GstTaskPool*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="push" invoker="push" throws="1">
        <doc xml:space="preserve">Start the execution of a new thread from @pool.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">a pointer that should be used
for the gst_task_pool_join function. This pointer can be %NULL, you
must check @error to detect errors.</doc>
          <type name="gpointer" c:type="gpointer"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTaskPool</doc>
            <type name="TaskPool" c:type="GstTaskPool*"/>
          </instance-parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="async"
                     closure="1">
            <doc xml:space="preserve">the function to call</doc>
            <type name="TaskPoolFunction" c:type="GstTaskPoolFunction"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     closure="1">
            <doc xml:space="preserve">data to pass to @func</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="cleanup" c:identifier="gst_task_pool_cleanup">
        <doc xml:space="preserve">Wait for all tasks to be stopped. This is mainly used internally
to ensure proper cleanup of internal data structures in test suites.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTaskPool</doc>
            <type name="TaskPool" c:type="GstTaskPool*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="join" c:identifier="gst_task_pool_join">
        <doc xml:space="preserve">Join a task and/or return it to the pool. @id is the id obtained from
gst_task_pool_push().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTaskPool</doc>
            <type name="TaskPool" c:type="GstTaskPool*"/>
          </instance-parameter>
          <parameter name="id"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the id</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="prepare" c:identifier="gst_task_pool_prepare" throws="1">
        <doc xml:space="preserve">Prepare the taskpool for accepting gst_task_pool_push() operations.

MT safe.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTaskPool</doc>
            <type name="TaskPool" c:type="GstTaskPool*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="push" c:identifier="gst_task_pool_push" throws="1">
        <doc xml:space="preserve">Start the execution of a new thread from @pool.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">a pointer that should be used
for the gst_task_pool_join function. This pointer can be %NULL, you
must check @error to detect errors.</doc>
          <type name="gpointer" c:type="gpointer"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTaskPool</doc>
            <type name="TaskPool" c:type="GstTaskPool*"/>
          </instance-parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="async"
                     closure="1">
            <doc xml:space="preserve">the function to call</doc>
            <type name="TaskPoolFunction" c:type="GstTaskPoolFunction"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">data to pass to @func</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <field name="object">
        <type name="Object" c:type="GstObject"/>
      </field>
      <field name="pool" readable="0" private="1">
        <type name="GLib.ThreadPool" c:type="GThreadPool*"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </class>
    <record name="TaskPoolClass"
            c:type="GstTaskPoolClass"
            glib:is-gtype-struct-for="TaskPool">
      <doc xml:space="preserve">The #GstTaskPoolClass object.</doc>
      <field name="parent_class">
        <doc xml:space="preserve">the parent class structure</doc>
        <type name="ObjectClass" c:type="GstObjectClass"/>
      </field>
      <field name="prepare">
        <callback name="prepare" throws="1">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="pool" transfer-ownership="none">
              <doc xml:space="preserve">a #GstTaskPool</doc>
              <type name="TaskPool" c:type="GstTaskPool*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="cleanup">
        <callback name="cleanup">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="pool" transfer-ownership="none">
              <doc xml:space="preserve">a #GstTaskPool</doc>
              <type name="TaskPool" c:type="GstTaskPool*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="push">
        <callback name="push" throws="1">
          <return-value transfer-ownership="none" nullable="1">
            <doc xml:space="preserve">a pointer that should be used
for the gst_task_pool_join function. This pointer can be %NULL, you
must check @error to detect errors.</doc>
            <type name="gpointer" c:type="gpointer"/>
          </return-value>
          <parameters>
            <parameter name="pool" transfer-ownership="none">
              <doc xml:space="preserve">a #GstTaskPool</doc>
              <type name="TaskPool" c:type="GstTaskPool*"/>
            </parameter>
            <parameter name="func"
                       transfer-ownership="none"
                       scope="async"
                       closure="2">
              <doc xml:space="preserve">the function to call</doc>
              <type name="TaskPoolFunction" c:type="GstTaskPoolFunction"/>
            </parameter>
            <parameter name="user_data"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1"
                       closure="2">
              <doc xml:space="preserve">data to pass to @func</doc>
              <type name="gpointer" c:type="gpointer"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="join">
        <callback name="join">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="pool" transfer-ownership="none">
              <doc xml:space="preserve">a #GstTaskPool</doc>
              <type name="TaskPool" c:type="GstTaskPool*"/>
            </parameter>
            <parameter name="id"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve">the id</doc>
              <type name="gpointer" c:type="gpointer"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <callback name="TaskPoolFunction" c:type="GstTaskPoolFunction">
      <doc xml:space="preserve">Task function, see gst_task_pool_push().</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="0">
          <doc xml:space="preserve">user data for the task function</doc>
          <type name="gpointer" c:type="void*"/>
        </parameter>
      </parameters>
    </callback>
    <record name="TaskPrivate" c:type="GstTaskPrivate" disguised="1">
    </record>
    <enumeration name="TaskState"
                 glib:type-name="GstTaskState"
                 glib:get-type="gst_task_state_get_type"
                 c:type="GstTaskState">
      <doc xml:space="preserve">The different states a task can be in</doc>
      <member name="started"
              value="0"
              c:identifier="GST_TASK_STARTED"
              glib:nick="started">
        <doc xml:space="preserve">the task is started and running</doc>
      </member>
      <member name="stopped"
              value="1"
              c:identifier="GST_TASK_STOPPED"
              glib:nick="stopped">
        <doc xml:space="preserve">the task is stopped</doc>
      </member>
      <member name="paused"
              value="2"
              c:identifier="GST_TASK_PAUSED"
              glib:nick="paused">
        <doc xml:space="preserve">the task is paused</doc>
      </member>
    </enumeration>
    <callback name="TaskThreadFunc" c:type="GstTaskThreadFunc">
      <doc xml:space="preserve">Custom GstTask thread callback functions that can be installed.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="task" transfer-ownership="none">
          <doc xml:space="preserve">The #GstTask</doc>
          <type name="Task" c:type="GstTask*"/>
        </parameter>
        <parameter name="thread" transfer-ownership="none">
          <doc xml:space="preserve">The #GThread</doc>
          <type name="GLib.Thread" c:type="GThread*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="2">
          <doc xml:space="preserve">user data</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <record name="TimedValue" c:type="GstTimedValue">
      <doc xml:space="preserve">Structure for saving a timestamp and a value.</doc>
      <field name="timestamp" writable="1">
        <doc xml:space="preserve">timestamp of the value change</doc>
        <type name="ClockTime" c:type="GstClockTime"/>
      </field>
      <field name="value" writable="1">
        <doc xml:space="preserve">the corresponding value</doc>
        <type name="gdouble" c:type="gdouble"/>
      </field>
    </record>
    <record name="Toc"
            c:type="GstToc"
            glib:type-name="GstToc"
            glib:get-type="gst_toc_get_type"
            c:symbol-prefix="toc">
      <doc xml:space="preserve">#GstToc functions are used to create/free #GstToc and #GstTocEntry structures.
Also they are used to convert #GstToc into #GstStructure and vice versa.

#GstToc lets you to inform other elements in pipeline or application that playing
source has some kind of table of contents (TOC). These may be chapters, editions,
angles or other types. For example: DVD chapters, Matroska chapters or cue sheet
TOC. Such TOC will be useful for applications to display instead of just a
playlist.

Using TOC is very easy. Firstly, create #GstToc structure which represents root
contents of the source. You can also attach TOC-specific tags to it. Then fill
it with #GstTocEntry entries by appending them to the #GstToc using
gst_toc_append_entry(), and appending subentries to a #GstTocEntry using
gst_toc_entry_append_sub_entry().

Note that root level of the TOC can contain only either editions or chapters. You
should not mix them together at the same level. Otherwise you will get serialization
/deserialization errors. Make sure that no one of the entries has negative start and
 stop values.

Use gst_event_new_toc() to create a new TOC #GstEvent, and gst_event_parse_toc() to
parse received TOC event. Use gst_event_new_toc_select() to create a new TOC select #GstEvent,
and gst_event_parse_toc_select() to parse received TOC select event. The same rule for
the #GstMessage: gst_message_new_toc() to create new TOC #GstMessage, and
gst_message_parse_toc() to parse received TOC message.

TOCs can have global scope or current scope. Global scope TOCs contain
all entries that can possibly be selected using a toc select event, and
are what an application is usually interested in. TOCs with current scope
only contain the parts of the TOC relevant to the currently selected/playing
stream; the current scope TOC is used by downstream elements such as muxers
to write correct TOC entries when transcoding files, for example. When
playing a DVD, the global TOC would contain a hierarchy of all titles,
chapters and angles, for example, while the current TOC would only contain
the chapters for the currently playing title if playback of a specific
title was requested.

Applications and plugins should not rely on TOCs having a certain kind of
structure, but should allow for different alternatives. For example, a
simple CUE sheet embedded in a file may be presented as a flat list of
track entries, or could have a top-level edition node (or some other
alternative type entry) with track entries underneath that node; or even
multiple top-level edition nodes (or some other alternative type entries)
each with track entries underneath, in case the source file has extracted
a track listing from different sources).</doc>
      <constructor name="new" c:identifier="gst_toc_new">
        <doc xml:space="preserve">Create a new #GstToc structure.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">newly allocated #GstToc structure, free it
    with gst_toc_unref().</doc>
          <type name="Toc" c:type="GstToc*"/>
        </return-value>
        <parameters>
          <parameter name="scope" transfer-ownership="none">
            <doc xml:space="preserve">scope of this TOC</doc>
            <type name="TocScope" c:type="GstTocScope"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="append_entry" c:identifier="gst_toc_append_entry">
        <doc xml:space="preserve">Appends the #GstTocEntry @entry to @toc.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="toc" transfer-ownership="none">
            <doc xml:space="preserve">A #GstToc instance</doc>
            <type name="Toc" c:type="GstToc*"/>
          </instance-parameter>
          <parameter name="entry" transfer-ownership="full">
            <doc xml:space="preserve">A #GstTocEntry</doc>
            <type name="TocEntry" c:type="GstTocEntry*"/>
          </parameter>
        </parameters>
      </method>
      <method name="dump" c:identifier="gst_toc_dump">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="toc" transfer-ownership="none">
            <type name="Toc" c:type="GstToc*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="find_entry" c:identifier="gst_toc_find_entry">
        <doc xml:space="preserve">Find #GstTocEntry with given @uid in the @toc.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">#GstTocEntry with specified
@uid from the @toc, or %NULL if not found.</doc>
          <type name="TocEntry" c:type="GstTocEntry*"/>
        </return-value>
        <parameters>
          <instance-parameter name="toc" transfer-ownership="none">
            <doc xml:space="preserve">#GstToc to search in.</doc>
            <type name="Toc" c:type="const GstToc*"/>
          </instance-parameter>
          <parameter name="uid" transfer-ownership="none">
            <doc xml:space="preserve">UID to find #GstTocEntry with.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_entries" c:identifier="gst_toc_get_entries">
        <doc xml:space="preserve">Gets the list of #GstTocEntry of @toc.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A #GList of #GstTocEntry for @entry</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="TocEntry"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="toc" transfer-ownership="none">
            <doc xml:space="preserve">A #GstToc instance</doc>
            <type name="Toc" c:type="const GstToc*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_scope" c:identifier="gst_toc_get_scope">
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">scope of @toc</doc>
          <type name="TocScope" c:type="GstTocScope"/>
        </return-value>
        <parameters>
          <instance-parameter name="toc" transfer-ownership="none">
            <doc xml:space="preserve">a #GstToc instance</doc>
            <type name="Toc" c:type="const GstToc*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_tags" c:identifier="gst_toc_get_tags">
        <doc xml:space="preserve">Gets the tags for @toc.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A #GstTagList for @entry</doc>
          <type name="TagList" c:type="GstTagList*"/>
        </return-value>
        <parameters>
          <instance-parameter name="toc" transfer-ownership="none">
            <doc xml:space="preserve">A #GstToc instance</doc>
            <type name="Toc" c:type="const GstToc*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="merge_tags" c:identifier="gst_toc_merge_tags">
        <doc xml:space="preserve">Merge @tags into the existing tags of @toc using @mode.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="toc" transfer-ownership="none">
            <doc xml:space="preserve">A #GstToc instance</doc>
            <type name="Toc" c:type="GstToc*"/>
          </instance-parameter>
          <parameter name="tags"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">A #GstTagList or %NULL</doc>
            <type name="TagList" c:type="GstTagList*"/>
          </parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve">A #GstTagMergeMode</doc>
            <type name="TagMergeMode" c:type="GstTagMergeMode"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_tags" c:identifier="gst_toc_set_tags">
        <doc xml:space="preserve">Set a #GstTagList with tags for the complete @toc.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="toc" transfer-ownership="none">
            <doc xml:space="preserve">A #GstToc instance</doc>
            <type name="Toc" c:type="GstToc*"/>
          </instance-parameter>
          <parameter name="tags"
                     transfer-ownership="full"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">A #GstTagList or %NULL</doc>
            <type name="TagList" c:type="GstTagList*"/>
          </parameter>
        </parameters>
      </method>
    </record>
    <record name="TocEntry"
            c:type="GstTocEntry"
            glib:type-name="GstTocEntry"
            glib:get-type="gst_toc_entry_get_type"
            c:symbol-prefix="toc_entry">
      <constructor name="new" c:identifier="gst_toc_entry_new">
        <doc xml:space="preserve">Create new #GstTocEntry structure.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">newly allocated #GstTocEntry structure, free it with gst_toc_entry_unref().</doc>
          <type name="TocEntry" c:type="GstTocEntry*"/>
        </return-value>
        <parameters>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">entry type.</doc>
            <type name="TocEntryType" c:type="GstTocEntryType"/>
          </parameter>
          <parameter name="uid" transfer-ownership="none">
            <doc xml:space="preserve">unique ID (UID) in the whole TOC.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="append_sub_entry"
              c:identifier="gst_toc_entry_append_sub_entry">
        <doc xml:space="preserve">Appends the #GstTocEntry @subentry to @entry.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="entry" transfer-ownership="none">
            <doc xml:space="preserve">A #GstTocEntry instance</doc>
            <type name="TocEntry" c:type="GstTocEntry*"/>
          </instance-parameter>
          <parameter name="subentry" transfer-ownership="full">
            <doc xml:space="preserve">A #GstTocEntry</doc>
            <type name="TocEntry" c:type="GstTocEntry*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_entry_type"
              c:identifier="gst_toc_entry_get_entry_type">
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">@entry's entry type</doc>
          <type name="TocEntryType" c:type="GstTocEntryType"/>
        </return-value>
        <parameters>
          <instance-parameter name="entry" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTocEntry</doc>
            <type name="TocEntry" c:type="const GstTocEntry*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_loop"
              c:identifier="gst_toc_entry_get_loop"
              version="1.4">
        <doc xml:space="preserve">Get @loop_type and @repeat_count values from the @entry and write them into
appropriate storages. Loops are e.g. used by sampled instruments. GStreamer
is not automatically applying the loop. The application can process this
meta data and use it e.g. to send a seek-event to loop a section.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if all non-%NULL storage pointers were filled with appropriate
values, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="entry" transfer-ownership="none">
            <doc xml:space="preserve">#GstTocEntry to get values from.</doc>
            <type name="TocEntry" c:type="const GstTocEntry*"/>
          </instance-parameter>
          <parameter name="loop_type"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the storage for the loop_type
            value, leave %NULL if not need.</doc>
            <type name="TocLoopType" c:type="GstTocLoopType*"/>
          </parameter>
          <parameter name="repeat_count"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the storage for the repeat_count
               value, leave %NULL if not need.</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_parent" c:identifier="gst_toc_entry_get_parent">
        <doc xml:space="preserve">Gets the parent #GstTocEntry of @entry.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">The parent #GstTocEntry of @entry</doc>
          <type name="TocEntry" c:type="GstTocEntry*"/>
        </return-value>
        <parameters>
          <instance-parameter name="entry" transfer-ownership="none">
            <doc xml:space="preserve">A #GstTocEntry instance</doc>
            <type name="TocEntry" c:type="GstTocEntry*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_start_stop_times"
              c:identifier="gst_toc_entry_get_start_stop_times">
        <doc xml:space="preserve">Get @start and @stop values from the @entry and write them into appropriate
storages.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if all non-%NULL storage pointers were filled with appropriate
values, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="entry" transfer-ownership="none">
            <doc xml:space="preserve">#GstTocEntry to get values from.</doc>
            <type name="TocEntry" c:type="const GstTocEntry*"/>
          </instance-parameter>
          <parameter name="start"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the storage for the start value, leave
  %NULL if not need.</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
          <parameter name="stop"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">the storage for the stop value, leave
  %NULL if not need.</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_sub_entries"
              c:identifier="gst_toc_entry_get_sub_entries">
        <doc xml:space="preserve">Gets the sub-entries of @entry.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A #GList of #GstTocEntry of @entry</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="TocEntry"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="entry" transfer-ownership="none">
            <doc xml:space="preserve">A #GstTocEntry instance</doc>
            <type name="TocEntry" c:type="const GstTocEntry*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_tags" c:identifier="gst_toc_entry_get_tags">
        <doc xml:space="preserve">Gets the tags for @entry.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A #GstTagList for @entry</doc>
          <type name="TagList" c:type="GstTagList*"/>
        </return-value>
        <parameters>
          <instance-parameter name="entry" transfer-ownership="none">
            <doc xml:space="preserve">A #GstTocEntry instance</doc>
            <type name="TocEntry" c:type="const GstTocEntry*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_toc" c:identifier="gst_toc_entry_get_toc">
        <doc xml:space="preserve">Gets the parent #GstToc of @entry.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The parent #GstToc of @entry</doc>
          <type name="Toc" c:type="GstToc*"/>
        </return-value>
        <parameters>
          <instance-parameter name="entry" transfer-ownership="none">
            <doc xml:space="preserve">A #GstTocEntry instance</doc>
            <type name="TocEntry" c:type="GstTocEntry*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_uid" c:identifier="gst_toc_entry_get_uid">
        <doc xml:space="preserve">Gets the UID of @entry.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The UID of @entry</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="entry" transfer-ownership="none">
            <doc xml:space="preserve">A #GstTocEntry instance</doc>
            <type name="TocEntry" c:type="const GstTocEntry*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_alternative"
              c:identifier="gst_toc_entry_is_alternative">
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @entry's type is an alternative type, otherwise %FALSE</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="entry" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTocEntry</doc>
            <type name="TocEntry" c:type="const GstTocEntry*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_sequence" c:identifier="gst_toc_entry_is_sequence">
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @entry's type is a sequence type, otherwise %FALSE</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="entry" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTocEntry</doc>
            <type name="TocEntry" c:type="const GstTocEntry*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="merge_tags" c:identifier="gst_toc_entry_merge_tags">
        <doc xml:space="preserve">Merge @tags into the existing tags of @entry using @mode.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="entry" transfer-ownership="none">
            <doc xml:space="preserve">A #GstTocEntry instance</doc>
            <type name="TocEntry" c:type="GstTocEntry*"/>
          </instance-parameter>
          <parameter name="tags"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">A #GstTagList or %NULL</doc>
            <type name="TagList" c:type="GstTagList*"/>
          </parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve">A #GstTagMergeMode</doc>
            <type name="TagMergeMode" c:type="GstTagMergeMode"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_loop"
              c:identifier="gst_toc_entry_set_loop"
              version="1.4">
        <doc xml:space="preserve">Set @loop_type and @repeat_count values for the @entry.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="entry" transfer-ownership="none">
            <doc xml:space="preserve">#GstTocEntry to set values.</doc>
            <type name="TocEntry" c:type="GstTocEntry*"/>
          </instance-parameter>
          <parameter name="loop_type" transfer-ownership="none">
            <doc xml:space="preserve">loop_type value to set.</doc>
            <type name="TocLoopType" c:type="GstTocLoopType"/>
          </parameter>
          <parameter name="repeat_count" transfer-ownership="none">
            <doc xml:space="preserve">repeat_count value to set.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_start_stop_times"
              c:identifier="gst_toc_entry_set_start_stop_times">
        <doc xml:space="preserve">Set @start and @stop values for the @entry.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="entry" transfer-ownership="none">
            <doc xml:space="preserve">#GstTocEntry to set values.</doc>
            <type name="TocEntry" c:type="GstTocEntry*"/>
          </instance-parameter>
          <parameter name="start" transfer-ownership="none">
            <doc xml:space="preserve">start value to set.</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
          <parameter name="stop" transfer-ownership="none">
            <doc xml:space="preserve">stop value to set.</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_tags" c:identifier="gst_toc_entry_set_tags">
        <doc xml:space="preserve">Set a #GstTagList with tags for the complete @entry.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="entry" transfer-ownership="none">
            <doc xml:space="preserve">A #GstTocEntry instance</doc>
            <type name="TocEntry" c:type="GstTocEntry*"/>
          </instance-parameter>
          <parameter name="tags"
                     transfer-ownership="full"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">A #GstTagList or %NULL</doc>
            <type name="TagList" c:type="GstTagList*"/>
          </parameter>
        </parameters>
      </method>
    </record>
    <enumeration name="TocEntryType"
                 glib:type-name="GstTocEntryType"
                 glib:get-type="gst_toc_entry_type_get_type"
                 c:type="GstTocEntryType">
      <doc xml:space="preserve">The different types of TOC entries (see #GstTocEntry).

There are two types of TOC entries: alternatives or parts in a sequence.</doc>
      <member name="angle"
              value="-3"
              c:identifier="GST_TOC_ENTRY_TYPE_ANGLE"
              glib:nick="angle">
        <doc xml:space="preserve">entry is an angle (i.e. an alternative)</doc>
      </member>
      <member name="version"
              value="-2"
              c:identifier="GST_TOC_ENTRY_TYPE_VERSION"
              glib:nick="version">
        <doc xml:space="preserve">entry is a version (i.e. alternative)</doc>
      </member>
      <member name="edition"
              value="-1"
              c:identifier="GST_TOC_ENTRY_TYPE_EDITION"
              glib:nick="edition">
        <doc xml:space="preserve">entry is an edition (i.e. alternative)</doc>
      </member>
      <member name="invalid"
              value="0"
              c:identifier="GST_TOC_ENTRY_TYPE_INVALID"
              glib:nick="invalid">
        <doc xml:space="preserve">invalid entry type value</doc>
      </member>
      <member name="title"
              value="1"
              c:identifier="GST_TOC_ENTRY_TYPE_TITLE"
              glib:nick="title">
        <doc xml:space="preserve">entry is a title (i.e. a part of a sequence)</doc>
      </member>
      <member name="track"
              value="2"
              c:identifier="GST_TOC_ENTRY_TYPE_TRACK"
              glib:nick="track">
        <doc xml:space="preserve">entry is a track (i.e. a part of a sequence)</doc>
      </member>
      <member name="chapter"
              value="3"
              c:identifier="GST_TOC_ENTRY_TYPE_CHAPTER"
              glib:nick="chapter">
        <doc xml:space="preserve">entry is a chapter (i.e. a part of a sequence)</doc>
      </member>
      <function name="get_nick" c:identifier="gst_toc_entry_type_get_nick">
        <doc xml:space="preserve">Converts @type to a string representation.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">Returns a human-readable string for @type. This string is
   only for debugging purpose and should not be displayed in a user
   interface.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTocEntryType.</doc>
            <type name="TocEntryType" c:type="GstTocEntryType"/>
          </parameter>
        </parameters>
      </function>
    </enumeration>
    <enumeration name="TocLoopType"
                 version="1.4"
                 glib:type-name="GstTocLoopType"
                 glib:get-type="gst_toc_loop_type_get_type"
                 c:type="GstTocLoopType">
      <doc xml:space="preserve">How a #GstTocEntry should be repeated. By default, entries are played a
single time.</doc>
      <member name="none"
              value="0"
              c:identifier="GST_TOC_LOOP_NONE"
              glib:nick="none">
        <doc xml:space="preserve">single forward playback</doc>
      </member>
      <member name="forward"
              value="1"
              c:identifier="GST_TOC_LOOP_FORWARD"
              glib:nick="forward">
        <doc xml:space="preserve">repeat forward</doc>
      </member>
      <member name="reverse"
              value="2"
              c:identifier="GST_TOC_LOOP_REVERSE"
              glib:nick="reverse">
        <doc xml:space="preserve">repeat backward</doc>
      </member>
      <member name="ping_pong"
              value="3"
              c:identifier="GST_TOC_LOOP_PING_PONG"
              glib:nick="ping-pong">
        <doc xml:space="preserve">repeat forward and backward</doc>
      </member>
    </enumeration>
    <enumeration name="TocScope"
                 glib:type-name="GstTocScope"
                 glib:get-type="gst_toc_scope_get_type"
                 c:type="GstTocScope">
      <doc xml:space="preserve">The scope of a TOC.</doc>
      <member name="global"
              value="1"
              c:identifier="GST_TOC_SCOPE_GLOBAL"
              glib:nick="global">
        <doc xml:space="preserve">global TOC representing all selectable options
    (this is what applications are usually interested in)</doc>
      </member>
      <member name="current"
              value="2"
              c:identifier="GST_TOC_SCOPE_CURRENT"
              glib:nick="current">
        <doc xml:space="preserve">TOC for the currently active/selected stream
    (this is a TOC representing the current stream from start to EOS,
    and is what a TOC writer / muxer is usually interested in; it will
    usually be a subset of the global TOC, e.g. just the chapters of
    the current title, or the chapters selected for playback from the
    current title)</doc>
      </member>
    </enumeration>
    <interface name="TocSetter"
               c:symbol-prefix="toc_setter"
               c:type="GstTocSetter"
               glib:type-name="GstTocSetter"
               glib:get-type="gst_toc_setter_get_type"
               glib:type-struct="TocSetterInterface">
      <doc xml:space="preserve">Element interface that allows setting of the TOC.

Elements that support some kind of chapters or editions (or tracks like in
the FLAC cue sheet) will implement this interface.

If you just want to retrieve the TOC in your application then all you
need to do is watch for TOC messages on your pipeline's bus (or you can
perform TOC query). This interface is only for setting TOC data, not for
extracting it. To set TOC from the application, find proper tocsetter element
and set TOC using gst_toc_setter_set_toc().

Elements implementing the #GstTocSetter interface can extend existing TOC
by getting extend UID for that (you can use gst_toc_find_entry() to retrieve it)
with any TOC entries received from downstream.</doc>
      <prerequisite name="Element"/>
      <method name="get_toc" c:identifier="gst_toc_setter_get_toc">
        <doc xml:space="preserve">Return current TOC the setter uses. The TOC should not be
modified without making it writable first.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">TOC set, or %NULL. Unref with
    gst_toc_unref() when no longer needed</doc>
          <type name="Toc" c:type="GstToc*"/>
        </return-value>
        <parameters>
          <instance-parameter name="setter" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTocSetter.</doc>
            <type name="TocSetter" c:type="GstTocSetter*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="reset" c:identifier="gst_toc_setter_reset">
        <doc xml:space="preserve">Reset the internal TOC. Elements should call this from within the
state-change handler.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="setter" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTocSetter.</doc>
            <type name="TocSetter" c:type="GstTocSetter*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_toc" c:identifier="gst_toc_setter_set_toc">
        <doc xml:space="preserve">Set the given TOC on the setter. Previously set TOC will be
unreffed before setting a new one.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="setter" transfer-ownership="none">
            <doc xml:space="preserve">a #GstTocSetter.</doc>
            <type name="TocSetter" c:type="GstTocSetter*"/>
          </instance-parameter>
          <parameter name="toc"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GstToc to set.</doc>
            <type name="Toc" c:type="GstToc*"/>
          </parameter>
        </parameters>
      </method>
    </interface>
    <record name="TocSetterInterface"
            c:type="GstTocSetterInterface"
            glib:is-gtype-struct-for="TocSetter">
      <doc xml:space="preserve">#GstTocSetterInterface interface.</doc>
      <field name="g_iface">
        <doc xml:space="preserve">parent interface type.</doc>
        <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
      </field>
    </record>
    <class name="Tracer"
           c:symbol-prefix="tracer"
           c:type="GstTracer"
           parent="Object"
           abstract="1"
           glib:type-name="GstTracer"
           glib:get-type="gst_tracer_get_type"
           glib:type-struct="TracerClass">
      <doc xml:space="preserve">Tracing modules will subclass #GstTracer and register through
gst_tracer_register(). Modules can attach to various hook-types - see
gst_tracing_register_hook(). When invoked they receive hook specific
contextual data, which they must not modify.</doc>
      <property name="params"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <field name="parent">
        <type name="Object" c:type="GstObject"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="TracerPrivate" c:type="GstTracerPrivate*"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </class>
    <record name="TracerClass"
            c:type="GstTracerClass"
            glib:is-gtype-struct-for="Tracer">
      <field name="parent_class">
        <type name="ObjectClass" c:type="GstObjectClass"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <class name="TracerFactory"
           c:symbol-prefix="tracer_factory"
           c:type="GstTracerFactory"
           version="1.8"
           parent="PluginFeature"
           glib:type-name="GstTracerFactory"
           glib:get-type="gst_tracer_factory_get_type"
           glib:type-struct="TracerFactoryClass">
      <doc xml:space="preserve">Use gst_tracer_factory_get_list() to get a list of tracer factories known to
GStreamer.</doc>
      <function name="get_list"
                c:identifier="gst_tracer_factory_get_list"
                version="1.8">
        <doc xml:space="preserve">Gets the list of all registered tracer factories. You must free the
list using gst_plugin_feature_list_free().

The returned factories are sorted by factory name.

Free-function: gst_plugin_feature_list_free</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the list of all
    registered #GstTracerFactory.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="TracerFactory"/>
          </type>
        </return-value>
      </function>
      <method name="get_tracer_type"
              c:identifier="gst_tracer_factory_get_tracer_type">
        <doc xml:space="preserve">Get the #GType for elements managed by this factory. The type can
only be retrieved if the element factory is loaded, which can be
assured with gst_plugin_feature_load().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #GType for tracers managed by this factory or 0 if
the factory is not loaded.</doc>
          <type name="GType" c:type="GType"/>
        </return-value>
        <parameters>
          <instance-parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">factory to get managed #GType from</doc>
            <type name="TracerFactory" c:type="GstTracerFactory*"/>
          </instance-parameter>
        </parameters>
      </method>
    </class>
    <record name="TracerFactoryClass"
            c:type="GstTracerFactoryClass"
            disguised="1"
            glib:is-gtype-struct-for="TracerFactory">
    </record>
    <record name="TracerPrivate" c:type="GstTracerPrivate" disguised="1">
    </record>
    <class name="TracerRecord"
           c:symbol-prefix="tracer_record"
           c:type="GstTracerRecord"
           parent="Object"
           glib:type-name="GstTracerRecord"
           glib:get-type="gst_tracer_record_get_type"
           glib:type-struct="TracerRecordClass">
      <doc xml:space="preserve">Tracing modules will create instances of this class to announce the data they
will log and create a log formatter.</doc>
    </class>
    <record name="TracerRecordClass"
            c:type="GstTracerRecordClass"
            disguised="1"
            glib:is-gtype-struct-for="TracerRecord">
    </record>
    <bitfield name="TracerValueFlags"
              glib:type-name="GstTracerValueFlags"
              glib:get-type="gst_tracer_value_flags_get_type"
              c:type="GstTracerValueFlags">
      <doc xml:space="preserve">Flag that describe the value. These flags help applications processing the
logs to understand the values.</doc>
      <member name="none"
              value="0"
              c:identifier="GST_TRACER_VALUE_FLAGS_NONE"
              glib:nick="none">
        <doc xml:space="preserve">no flags</doc>
      </member>
      <member name="optional"
              value="1"
              c:identifier="GST_TRACER_VALUE_FLAGS_OPTIONAL"
              glib:nick="optional">
        <doc xml:space="preserve">the value is optional. When using this flag
  one need to have an additional boolean arg before this value in the
  var-args list passed to  gst_tracer_record_log().</doc>
      </member>
      <member name="aggregated"
              value="2"
              c:identifier="GST_TRACER_VALUE_FLAGS_AGGREGATED"
              glib:nick="aggregated">
        <doc xml:space="preserve">the value is a combined figure, since the
  start of tracing. Examples are averages or timestamps.</doc>
      </member>
    </bitfield>
    <enumeration name="TracerValueScope"
                 version="1.8"
                 glib:type-name="GstTracerValueScope"
                 glib:get-type="gst_tracer_value_scope_get_type"
                 c:type="GstTracerValueScope">
      <doc xml:space="preserve">Tracing record will contain fields that contain a meassured value or extra
meta-data. One such meta data are values that tell where a measurement was
taken. This enumerating declares to which scope such a meta data field
relates to. If it is e.g. %GST_TRACER_VALUE_SCOPE_PAD, then each of the log
events may contain values for different #GstPads.</doc>
      <member name="process"
              value="0"
              c:identifier="GST_TRACER_VALUE_SCOPE_PROCESS"
              glib:nick="process">
        <doc xml:space="preserve">the value is related to the process</doc>
      </member>
      <member name="thread"
              value="1"
              c:identifier="GST_TRACER_VALUE_SCOPE_THREAD"
              glib:nick="thread">
        <doc xml:space="preserve">the value is related to a thread</doc>
      </member>
      <member name="element"
              value="2"
              c:identifier="GST_TRACER_VALUE_SCOPE_ELEMENT"
              glib:nick="element">
        <doc xml:space="preserve">the value is related to an #GstElement</doc>
      </member>
      <member name="pad"
              value="3"
              c:identifier="GST_TRACER_VALUE_SCOPE_PAD"
              glib:nick="pad">
        <doc xml:space="preserve">the value is related to a #GstPad</doc>
      </member>
    </enumeration>
    <record name="TypeFind" c:type="GstTypeFind">
      <doc xml:space="preserve">The following functions allow you to detect the media type of an unknown
stream.</doc>
      <field name="peek">
        <callback name="peek">
          <return-value transfer-ownership="none">
            <type name="guint8" c:type="const guint8*"/>
          </return-value>
          <parameters>
            <parameter name="data" transfer-ownership="none">
              <type name="gpointer" c:type="gpointer"/>
            </parameter>
            <parameter name="offset" transfer-ownership="none">
              <type name="gint64" c:type="gint64"/>
            </parameter>
            <parameter name="size" transfer-ownership="none">
              <type name="guint" c:type="guint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="suggest">
        <callback name="suggest">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="data" transfer-ownership="none">
              <type name="gpointer" c:type="gpointer"/>
            </parameter>
            <parameter name="probability" transfer-ownership="none">
              <type name="guint" c:type="guint"/>
            </parameter>
            <parameter name="caps" transfer-ownership="none">
              <type name="Caps" c:type="GstCaps*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="data" writable="1">
        <doc xml:space="preserve">The data used by the caller of the typefinding function.</doc>
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="get_length">
        <callback name="get_length">
          <return-value transfer-ownership="none">
            <type name="guint64" c:type="guint64"/>
          </return-value>
          <parameters>
            <parameter name="data" transfer-ownership="none">
              <type name="gpointer" c:type="gpointer"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
      <method name="get_length" c:identifier="gst_type_find_get_length">
        <doc xml:space="preserve">Get the length of the data stream.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The length of the data stream, or 0 if it is not available.</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="find" transfer-ownership="none">
            <doc xml:space="preserve">The #GstTypeFind the function was called with</doc>
            <type name="TypeFind" c:type="GstTypeFind*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="peek" c:identifier="gst_type_find_peek">
        <doc xml:space="preserve">Returns the @size bytes of the stream to identify beginning at offset. If
offset is a positive number, the offset is relative to the beginning of the
stream, if offset is a negative number the offset is relative to the end of
the stream. The returned memory is valid until the typefinding function
returns and must not be freed.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">the
    requested data, or %NULL if that data is not available.</doc>
          <array length="1" zero-terminated="0" c:type="guint8*">
            <type name="guint8" c:type="guint8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="find" transfer-ownership="none">
            <doc xml:space="preserve">The #GstTypeFind object the function was called with</doc>
            <type name="TypeFind" c:type="GstTypeFind*"/>
          </instance-parameter>
          <parameter name="offset" transfer-ownership="none">
            <doc xml:space="preserve">The offset</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
          <parameter name="size"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">The number of bytes to return</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="suggest" c:identifier="gst_type_find_suggest">
        <doc xml:space="preserve">If a #GstTypeFindFunction calls this function it suggests the caps with the
given probability. A #GstTypeFindFunction may supply different suggestions
in one call.
It is up to the caller of the #GstTypeFindFunction to interpret these values.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="find" transfer-ownership="none">
            <doc xml:space="preserve">The #GstTypeFind object the function was called with</doc>
            <type name="TypeFind" c:type="GstTypeFind*"/>
          </instance-parameter>
          <parameter name="probability" transfer-ownership="none">
            <doc xml:space="preserve">The probability in percent that the suggestion is right</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve">The fixed #GstCaps to suggest</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="suggest_simple"
              c:identifier="gst_type_find_suggest_simple"
              introspectable="0">
        <doc xml:space="preserve">If a #GstTypeFindFunction calls this function it suggests the caps with the
given probability. A #GstTypeFindFunction may supply different suggestions
in one call. It is up to the caller of the #GstTypeFindFunction to interpret
these values.

This function is similar to gst_type_find_suggest(), only that instead of
passing a #GstCaps argument you can create the caps on the fly in the same
way as you can with gst_caps_new_simple().

Make sure you terminate the list of arguments with a %NULL argument and that
the values passed have the correct type (in terms of width in bytes when
passed to the vararg function - this applies particularly to gdouble and
guint64 arguments).</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="find" transfer-ownership="none">
            <doc xml:space="preserve">The #GstTypeFind object the function was called with</doc>
            <type name="TypeFind" c:type="GstTypeFind*"/>
          </instance-parameter>
          <parameter name="probability" transfer-ownership="none">
            <doc xml:space="preserve">The probability in percent that the suggestion is right</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="media_type" transfer-ownership="none">
            <doc xml:space="preserve">the media type of the suggested caps</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="fieldname"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">first field of the suggested caps, or %NULL</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">additional arguments to the suggested caps in the same format as the
    arguments passed to gst_structure_new() (ie. triplets of field name,
    field GType and field value)</doc>
            <varargs/>
          </parameter>
        </parameters>
      </method>
      <function name="register" c:identifier="gst_type_find_register">
        <doc xml:space="preserve">Registers a new typefind function to be used for typefinding. After
registering this function will be available for typefinding.
This function is typically called during an element's plugin initialization.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="plugin"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">A #GstPlugin, or %NULL for a static typefind function</doc>
            <type name="Plugin" c:type="GstPlugin*"/>
          </parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">The name for registering</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="rank" transfer-ownership="none">
            <doc xml:space="preserve">The rank (or importance) of this typefind function</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="notified"
                     closure="6"
                     destroy="7">
            <doc xml:space="preserve">The #GstTypeFindFunction to use</doc>
            <type name="TypeFindFunction" c:type="GstTypeFindFunction"/>
          </parameter>
          <parameter name="extensions"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">Optional comma-separated list of extensions
    that could belong to this type</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="possible_caps" transfer-ownership="none">
            <doc xml:space="preserve">Optionally the caps that could be returned when typefinding
                succeeds</doc>
            <type name="Caps" c:type="GstCaps*"/>
          </parameter>
          <parameter name="data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">Optional user data. This user data must be available until the plugin
       is unloaded.</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="data_notify"
                     transfer-ownership="none"
                     scope="async">
            <doc xml:space="preserve">a #GDestroyNotify that will be called on @data when the plugin
       is unloaded.</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </function>
    </record>
    <class name="TypeFindFactory"
           c:symbol-prefix="type_find_factory"
           c:type="GstTypeFindFactory"
           parent="PluginFeature"
           glib:type-name="GstTypeFindFactory"
           glib:get-type="gst_type_find_factory_get_type"
           glib:type-struct="TypeFindFactoryClass">
      <doc xml:space="preserve">These functions allow querying informations about registered typefind
functions. How to create and register these functions is described in
the section &lt;link linkend="gstreamer-Writing-typefind-functions"&gt;
"Writing typefind functions"&lt;/link&gt;.

The following example shows how to write a very simple typefinder that
identifies the given data. You can get quite a bit more complicated than
that though.
|[&lt;!-- language="C" --&gt;
  typedef struct {
    guint8 *data;
    guint size;
    guint probability;
    GstCaps *data;
  } MyTypeFind;
  static void
  my_peek (gpointer data, gint64 offset, guint size)
  {
    MyTypeFind *find = (MyTypeFind *) data;
    if (offset &amp;gt;= 0 &amp;amp;&amp;amp; offset + size &amp;lt;= find-&gt;size) {
      return find-&gt;data + offset;
    }
    return NULL;
  }
  static void
  my_suggest (gpointer data, guint probability, GstCaps *caps)
  {
    MyTypeFind *find = (MyTypeFind *) data;
    if (probability &amp;gt; find-&gt;probability) {
      find-&gt;probability = probability;
      gst_caps_replace (&amp;amp;find-&gt;caps, caps);
    }
  }
  static GstCaps *
  find_type (guint8 *data, guint size)
  {
    GList *walk, *type_list;
    MyTypeFind find = {data, size, 0, NULL};
    GstTypeFind gst_find = {my_peek, my_suggest, &amp;amp;find, };
    walk = type_list = gst_type_find_factory_get_list ();
    while (walk) {
      GstTypeFindFactory *factory = GST_TYPE_FIND_FACTORY (walk-&gt;data);
      walk = g_list_next (walk)
      gst_type_find_factory_call_function (factory, &amp;amp;gst_find);
    }
    g_list_free (type_list);
    return find.caps;
  };
]|</doc>
      <function name="get_list" c:identifier="gst_type_find_factory_get_list">
        <doc xml:space="preserve">Gets the list of all registered typefind factories. You must free the
list using gst_plugin_feature_list_free().

The returned factories are sorted by highest rank first, and then by
factory name.

Free-function: gst_plugin_feature_list_free</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the list of all
    registered #GstTypeFindFactory.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="TypeFindFactory"/>
          </type>
        </return-value>
      </function>
      <method name="call_function"
              c:identifier="gst_type_find_factory_call_function">
        <doc xml:space="preserve">Calls the #GstTypeFindFunction associated with this factory.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">A #GstTypeFindFactory</doc>
            <type name="TypeFindFactory" c:type="GstTypeFindFactory*"/>
          </instance-parameter>
          <parameter name="find" transfer-ownership="none">
            <doc xml:space="preserve">a properly setup #GstTypeFind entry. The get_data
    and suggest_type members must be set.</doc>
            <type name="TypeFind" c:type="GstTypeFind*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_caps" c:identifier="gst_type_find_factory_get_caps">
        <doc xml:space="preserve">Gets the #GstCaps associated with a typefind factory.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #GstCaps associated with this factory</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">A #GstTypeFindFactory</doc>
            <type name="TypeFindFactory" c:type="GstTypeFindFactory*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_extensions"
              c:identifier="gst_type_find_factory_get_extensions">
        <doc xml:space="preserve">Gets the extensions associated with a #GstTypeFindFactory. The returned
array should not be changed. If you need to change stuff in it, you should
copy it using g_strdupv().  This function may return %NULL to indicate
a 0-length list.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">
    a %NULL-terminated array of extensions associated with this factory</doc>
          <array c:type="gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">A #GstTypeFindFactory</doc>
            <type name="TypeFindFactory" c:type="GstTypeFindFactory*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_function"
              c:identifier="gst_type_find_factory_has_function">
        <doc xml:space="preserve">Check whether the factory has a typefind function. Typefind factories
without typefind functions are a last-effort fallback mechanism to
e.g. assume a certain media type based on the file extension.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the factory has a typefind functions set, otherwise %FALSE</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">A #GstTypeFindFactory</doc>
            <type name="TypeFindFactory" c:type="GstTypeFindFactory*"/>
          </instance-parameter>
        </parameters>
      </method>
    </class>
    <record name="TypeFindFactoryClass"
            c:type="GstTypeFindFactoryClass"
            disguised="1"
            glib:is-gtype-struct-for="TypeFindFactory">
    </record>
    <callback name="TypeFindFunction" c:type="GstTypeFindFunction">
      <doc xml:space="preserve">A function that will be called by typefinding.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="find" transfer-ownership="none">
          <doc xml:space="preserve">A #GstTypeFind structure</doc>
          <type name="TypeFind" c:type="GstTypeFind*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="1">
          <doc xml:space="preserve">optional data to pass to the function</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <enumeration name="TypeFindProbability"
                 glib:type-name="GstTypeFindProbability"
                 glib:get-type="gst_type_find_probability_get_type"
                 c:type="GstTypeFindProbability">
      <doc xml:space="preserve">The probability of the typefind function. Higher values have more certainty
in doing a reliable typefind.</doc>
      <member name="none"
              value="0"
              c:identifier="GST_TYPE_FIND_NONE"
              glib:nick="none">
        <doc xml:space="preserve">type undetected.</doc>
      </member>
      <member name="minimum"
              value="1"
              c:identifier="GST_TYPE_FIND_MINIMUM"
              glib:nick="minimum">
        <doc xml:space="preserve">unlikely typefind.</doc>
      </member>
      <member name="possible"
              value="50"
              c:identifier="GST_TYPE_FIND_POSSIBLE"
              glib:nick="possible">
        <doc xml:space="preserve">possible type detected.</doc>
      </member>
      <member name="likely"
              value="80"
              c:identifier="GST_TYPE_FIND_LIKELY"
              glib:nick="likely">
        <doc xml:space="preserve">likely a type was detected.</doc>
      </member>
      <member name="nearly_certain"
              value="99"
              c:identifier="GST_TYPE_FIND_NEARLY_CERTAIN"
              glib:nick="nearly-certain">
        <doc xml:space="preserve">nearly certain that a type was detected.</doc>
      </member>
      <member name="maximum"
              value="100"
              c:identifier="GST_TYPE_FIND_MAXIMUM"
              glib:nick="maximum">
        <doc xml:space="preserve">very certain a type was detected.</doc>
      </member>
    </enumeration>
    <enumeration name="URIError"
                 glib:type-name="GstURIError"
                 glib:get-type="gst_uri_error_get_type"
                 c:type="GstURIError"
                 glib:error-domain="gst-uri-error-quark">
      <doc xml:space="preserve">Different URI-related errors that can occur.</doc>
      <member name="unsupported_protocol"
              value="0"
              c:identifier="GST_URI_ERROR_UNSUPPORTED_PROTOCOL"
              glib:nick="unsupported-protocol">
        <doc xml:space="preserve">The protocol is not supported</doc>
      </member>
      <member name="bad_uri"
              value="1"
              c:identifier="GST_URI_ERROR_BAD_URI"
              glib:nick="bad-uri">
        <doc xml:space="preserve">There was a problem with the URI</doc>
      </member>
      <member name="bad_state"
              value="2"
              c:identifier="GST_URI_ERROR_BAD_STATE"
              glib:nick="bad-state">
        <doc xml:space="preserve">Could not set or change the URI because the
    URI handler was in a state where that is not possible or not permitted</doc>
      </member>
      <member name="bad_reference"
              value="3"
              c:identifier="GST_URI_ERROR_BAD_REFERENCE"
              glib:nick="bad-reference">
        <doc xml:space="preserve">There was a problem with the entity that
    the URI references</doc>
      </member>
      <function name="quark" c:identifier="gst_uri_error_quark">
        <return-value transfer-ownership="none">
          <type name="GLib.Quark" c:type="GQuark"/>
        </return-value>
      </function>
    </enumeration>
    <interface name="URIHandler"
               c:symbol-prefix="uri_handler"
               c:type="GstURIHandler"
               glib:type-name="GstURIHandler"
               glib:get-type="gst_uri_handler_get_type"
               glib:type-struct="URIHandlerInterface">
      <doc xml:space="preserve">The #GstURIHandler is an interface that is implemented by Source and Sink
#GstElement to unify handling of URI.

An application can use the following functions to quickly get an element
that handles the given URI for reading or writing
(gst_element_make_from_uri()).

Source and Sink plugins should implement this interface when possible.</doc>
      <virtual-method name="get_uri" invoker="get_uri">
        <doc xml:space="preserve">Gets the currently handled URI.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the URI currently handled by
  the @handler.  Returns %NULL if there are no URI currently
  handled. The returned string must be freed with g_free() when no
  longer needed.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="handler" transfer-ownership="none">
            <doc xml:space="preserve">A #GstURIHandler</doc>
            <type name="URIHandler" c:type="GstURIHandler*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="set_uri" invoker="set_uri" throws="1">
        <doc xml:space="preserve">Tries to set the URI of the given handler.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the URI was set successfully, else %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="handler" transfer-ownership="none">
            <doc xml:space="preserve">A #GstURIHandler</doc>
            <type name="URIHandler" c:type="GstURIHandler*"/>
          </instance-parameter>
          <parameter name="uri" transfer-ownership="none">
            <doc xml:space="preserve">URI to set</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="get_protocols"
              c:identifier="gst_uri_handler_get_protocols">
        <doc xml:space="preserve">Gets the list of protocols supported by @handler. This list may not be
modified.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">the
    supported protocols.  Returns %NULL if the @handler isn't
    implemented properly, or the @handler doesn't support any
    protocols.</doc>
          <array c:type="const gchar* const*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="handler" transfer-ownership="none">
            <doc xml:space="preserve">A #GstURIHandler.</doc>
            <type name="URIHandler" c:type="GstURIHandler*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_uri" c:identifier="gst_uri_handler_get_uri">
        <doc xml:space="preserve">Gets the currently handled URI.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the URI currently handled by
  the @handler.  Returns %NULL if there are no URI currently
  handled. The returned string must be freed with g_free() when no
  longer needed.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="handler" transfer-ownership="none">
            <doc xml:space="preserve">A #GstURIHandler</doc>
            <type name="URIHandler" c:type="GstURIHandler*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_uri_type" c:identifier="gst_uri_handler_get_uri_type">
        <doc xml:space="preserve">Gets the type of the given URI handler</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #GstURIType of the URI handler.
Returns #GST_URI_UNKNOWN if the @handler isn't implemented correctly.</doc>
          <type name="URIType" c:type="GstURIType"/>
        </return-value>
        <parameters>
          <instance-parameter name="handler" transfer-ownership="none">
            <doc xml:space="preserve">A #GstURIHandler.</doc>
            <type name="URIHandler" c:type="GstURIHandler*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_uri" c:identifier="gst_uri_handler_set_uri" throws="1">
        <doc xml:space="preserve">Tries to set the URI of the given handler.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the URI was set successfully, else %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="handler" transfer-ownership="none">
            <doc xml:space="preserve">A #GstURIHandler</doc>
            <type name="URIHandler" c:type="GstURIHandler*"/>
          </instance-parameter>
          <parameter name="uri" transfer-ownership="none">
            <doc xml:space="preserve">URI to set</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
    </interface>
    <record name="URIHandlerInterface"
            c:type="GstURIHandlerInterface"
            glib:is-gtype-struct-for="URIHandler">
      <doc xml:space="preserve">Any #GstElement using this interface should implement these methods.</doc>
      <field name="parent">
        <doc xml:space="preserve">The parent interface type</doc>
        <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
      </field>
      <field name="get_type">
        <callback name="get_type">
          <return-value transfer-ownership="none">
            <type name="URIType" c:type="GstURIType"/>
          </return-value>
          <parameters>
            <parameter name="type" transfer-ownership="none">
              <type name="GType" c:type="GType"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_protocols">
        <callback name="get_protocols">
          <return-value transfer-ownership="none">
            <array c:type="const gchar* const*">
              <type name="utf8"/>
            </array>
          </return-value>
          <parameters>
            <parameter name="type" transfer-ownership="none">
              <type name="GType" c:type="GType"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_uri">
        <callback name="get_uri">
          <return-value transfer-ownership="full" nullable="1">
            <doc xml:space="preserve">the URI currently handled by
  the @handler.  Returns %NULL if there are no URI currently
  handled. The returned string must be freed with g_free() when no
  longer needed.</doc>
            <type name="utf8" c:type="gchar*"/>
          </return-value>
          <parameters>
            <parameter name="handler" transfer-ownership="none">
              <doc xml:space="preserve">A #GstURIHandler</doc>
              <type name="URIHandler" c:type="GstURIHandler*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="set_uri">
        <callback name="set_uri" throws="1">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">%TRUE if the URI was set successfully, else %FALSE.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="handler" transfer-ownership="none">
              <doc xml:space="preserve">A #GstURIHandler</doc>
              <type name="URIHandler" c:type="GstURIHandler*"/>
            </parameter>
            <parameter name="uri" transfer-ownership="none">
              <doc xml:space="preserve">URI to set</doc>
              <type name="utf8" c:type="const gchar*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <enumeration name="URIType"
                 glib:type-name="GstURIType"
                 glib:get-type="gst_uri_type_get_type"
                 c:type="GstURIType">
      <doc xml:space="preserve">The different types of URI direction.</doc>
      <member name="unknown"
              value="0"
              c:identifier="GST_URI_UNKNOWN"
              glib:nick="unknown">
        <doc xml:space="preserve">The URI direction is unknown</doc>
      </member>
      <member name="sink"
              value="1"
              c:identifier="GST_URI_SINK"
              glib:nick="sink">
        <doc xml:space="preserve">The URI is a consumer.</doc>
      </member>
      <member name="src" value="2" c:identifier="GST_URI_SRC" glib:nick="src">
        <doc xml:space="preserve">The URI is a producer.</doc>
      </member>
    </enumeration>
    <constant name="URI_NO_PORT" value="0" c:type="GST_URI_NO_PORT">
      <doc xml:space="preserve">Value for #GstUri&lt;!-- --&gt;.port to indicate no port number.</doc>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="USECOND" value="1000" c:type="GST_USECOND">
      <doc xml:space="preserve">Constant that defines one GStreamer microsecond.</doc>
      <type name="ClockTimeDiff" c:type="GstClockTimeDiff"/>
    </constant>
    <record name="Uri"
            c:type="GstUri"
            glib:type-name="GstUri"
            glib:get-type="gst_uri_get_type"
            c:symbol-prefix="uri">
      <doc xml:space="preserve">A #GstUri object can be used to parse and split a URI string into its
constituant parts. Two #GstUri objects can be joined to make a new #GstUri
using the algorithm described in RFC3986.</doc>
      <constructor name="new" c:identifier="gst_uri_new" version="1.6">
        <doc xml:space="preserve">Creates a new #GstUri object with the given URI parts. The path and query
strings will be broken down into their elements. All strings should not be
escaped except where indicated.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A new #GstUri object.</doc>
          <type name="Uri" c:type="GstUri*"/>
        </return-value>
        <parameters>
          <parameter name="scheme"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The scheme for the new URI.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="userinfo"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The user-info for the new URI.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="host"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The host name for the new URI.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="port" transfer-ownership="none">
            <doc xml:space="preserve">The port number for the new URI or %GST_URI_NO_PORT.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="path"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The path for the new URI with '/' separating path
                     elements.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="query"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The query string for the new URI with '&amp;' separating
                      query elements. Elements containing '&amp;' characters
                      should encode them as "&amp;percnt;26".</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="fragment"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The fragment name for the new URI.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="append_path"
              c:identifier="gst_uri_append_path"
              version="1.6">
        <doc xml:space="preserve">Append a path onto the end of the path in the URI. The path is not
normalized, call #gst_uri_normalize() to normalize the path.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the path was appended successfully.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="uri"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">The #GstUri to modify.</doc>
            <type name="Uri" c:type="GstUri*"/>
          </instance-parameter>
          <parameter name="relative_path" transfer-ownership="none">
            <doc xml:space="preserve">Relative path to append to the end of the current path.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="append_path_segment"
              c:identifier="gst_uri_append_path_segment"
              version="1.6">
        <doc xml:space="preserve">Append a single path segment onto the end of the URI path.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the path was appended successfully.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="uri"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">The #GstUri to modify.</doc>
            <type name="Uri" c:type="GstUri*"/>
          </instance-parameter>
          <parameter name="path_segment" transfer-ownership="none">
            <doc xml:space="preserve">The path segment string to append to the URI path.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="equal" c:identifier="gst_uri_equal" version="1.6">
        <doc xml:space="preserve">Compares two #GstUri objects to see if they represent the same normalized
URI.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the normalized versions of the two URI's would be equal.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="first" transfer-ownership="none">
            <doc xml:space="preserve">First #GstUri to compare.</doc>
            <type name="Uri" c:type="const GstUri*"/>
          </instance-parameter>
          <parameter name="second" transfer-ownership="none">
            <doc xml:space="preserve">Second #GstUri to compare.</doc>
            <type name="Uri" c:type="const GstUri*"/>
          </parameter>
        </parameters>
      </method>
      <method name="from_string_with_base"
              c:identifier="gst_uri_from_string_with_base"
              version="1.6">
        <doc xml:space="preserve">Like gst_uri_from_string() but also joins with a base URI.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A new #GstUri object.</doc>
          <type name="Uri" c:type="GstUri*"/>
        </return-value>
        <parameters>
          <instance-parameter name="base"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">The base URI to join the new URI with.</doc>
            <type name="Uri" c:type="GstUri*"/>
          </instance-parameter>
          <parameter name="uri" transfer-ownership="none">
            <doc xml:space="preserve">The URI string to parse.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_fragment"
              c:identifier="gst_uri_get_fragment"
              version="1.6">
        <doc xml:space="preserve">Get the fragment name from the URI or %NULL if it doesn't exist.
If @uri is %NULL then returns %NULL.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">The host name from the #GstUri object or %NULL.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="uri"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">This #GstUri object.</doc>
            <type name="Uri" c:type="const GstUri*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_host" c:identifier="gst_uri_get_host" version="1.6">
        <doc xml:space="preserve">Get the host name from the URI or %NULL if it doesn't exist.
If @uri is %NULL then returns %NULL.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">The host name from the #GstUri object or %NULL.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="uri"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">This #GstUri object.</doc>
            <type name="Uri" c:type="const GstUri*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_media_fragment_table"
              c:identifier="gst_uri_get_media_fragment_table"
              version="1.12">
        <doc xml:space="preserve">Get the media fragment table from the URI, as defined by "Media Fragments URI 1.0".
Hash table returned by this API is a list of "key-value" pairs, and the each
pair is generated by splitting "URI fragment" per "&amp;" sub-delims, then "key"
and "value" are splitted by "=" sub-delims. The "key" returned by this API may
be undefined keyword by standard.
A value may be %NULL to indicate that the key should appear in the fragment
string in the URI, but does not have a value. Free the returned #GHashTable
with #g_hash_table_unref() when it is no longer required.
Modifying this hash table does not affect the fragment in the URI.

See more about Media Fragments URI 1.0 (W3C) at https://www.w3.org/TR/media-frags/</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">The
         fragment hash table from the URI.</doc>
          <type name="GLib.HashTable" c:type="GHashTable*">
            <type name="utf8"/>
            <type name="utf8"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="uri"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">The #GstUri to get the fragment table from.</doc>
            <type name="Uri" c:type="const GstUri*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_path" c:identifier="gst_uri_get_path" version="1.6">
        <doc xml:space="preserve">Extract the path string from the URI object.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">(nullable): The path from the URI. Once finished
                                      with the string should be g_free()'d.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="uri" transfer-ownership="none">
            <doc xml:space="preserve">The #GstUri to get the path from.</doc>
            <type name="Uri" c:type="const GstUri*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_path_segments"
              c:identifier="gst_uri_get_path_segments"
              version="1.6">
        <doc xml:space="preserve">Get a list of path segments from the URI.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A #GList of path segment
         strings or %NULL if no path segments are available. Free the list
         when no longer needed with g_list_free_full(list, g_free).</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="utf8"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="uri"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">The #GstUri to get the path from.</doc>
            <type name="Uri" c:type="const GstUri*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_path_string"
              c:identifier="gst_uri_get_path_string"
              version="1.6">
        <doc xml:space="preserve">Extract the path string from the URI object as a percent encoded URI path.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">The path from the URI. Once finished
                                     with the string should be g_free()'d.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="uri" transfer-ownership="none">
            <doc xml:space="preserve">The #GstUri to get the path from.</doc>
            <type name="Uri" c:type="const GstUri*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_port" c:identifier="gst_uri_get_port" version="1.6">
        <doc xml:space="preserve">Get the port number from the URI or %GST_URI_NO_PORT if it doesn't exist.
If @uri is %NULL then returns %GST_URI_NO_PORT.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The port number from the #GstUri object or %GST_URI_NO_PORT.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="uri"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">This #GstUri object.</doc>
            <type name="Uri" c:type="const GstUri*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_query_keys"
              c:identifier="gst_uri_get_query_keys"
              version="1.6">
        <doc xml:space="preserve">Get a list of the query keys from the URI.</doc>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve">A list of keys from
         the URI query. Free the list with g_list_free().</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="utf8"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="uri"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">The #GstUri to examine.</doc>
            <type name="Uri" c:type="const GstUri*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_query_string"
              c:identifier="gst_uri_get_query_string"
              version="1.6">
        <doc xml:space="preserve">Get a percent encoded URI query string from the @uri.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">A percent encoded query string. Use
                                     g_free() when no longer needed.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="uri"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">The #GstUri to get the query string from.</doc>
            <type name="Uri" c:type="const GstUri*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_query_table"
              c:identifier="gst_uri_get_query_table"
              version="1.6">
        <doc xml:space="preserve">Get the query table from the URI. Keys and values in the table are freed
with g_free when they are deleted. A value may be %NULL to indicate that
the key should appear in the query string in the URI, but does not have a
value. Free the returned #GHashTable with #g_hash_table_unref() when it is
no longer required. Modifying this hash table will modify the query in the
URI.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">The query
         hash table from the URI.</doc>
          <type name="GLib.HashTable" c:type="GHashTable*">
            <type name="utf8"/>
            <type name="utf8"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="uri"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">The #GstUri to get the query table from.</doc>
            <type name="Uri" c:type="const GstUri*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_query_value"
              c:identifier="gst_uri_get_query_value"
              version="1.6">
        <doc xml:space="preserve">Get the value associated with the @query_key key. Will return %NULL if the
key has no value or if the key does not exist in the URI query table. Because
%NULL is returned for both missing keys and keys with no value, you should
use gst_uri_query_has_key() to determine if a key is present in the URI
query.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">The value for the given key, or %NULL if not found.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="uri"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">The #GstUri to examine.</doc>
            <type name="Uri" c:type="const GstUri*"/>
          </instance-parameter>
          <parameter name="query_key" transfer-ownership="none">
            <doc xml:space="preserve">The key to lookup.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_scheme" c:identifier="gst_uri_get_scheme">
        <doc xml:space="preserve">Get the scheme name from the URI or %NULL if it doesn't exist.
If @uri is %NULL then returns %NULL.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">The scheme from the #GstUri object or %NULL.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="uri"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">This #GstUri object.</doc>
            <type name="Uri" c:type="const GstUri*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_userinfo"
              c:identifier="gst_uri_get_userinfo"
              version="1.6">
        <doc xml:space="preserve">Get the userinfo (usually in the form "username:password") from the URI
or %NULL if it doesn't exist. If @uri is %NULL then returns %NULL.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">The userinfo from the #GstUri object or %NULL.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="uri"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">This #GstUri object.</doc>
            <type name="Uri" c:type="const GstUri*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_normalized"
              c:identifier="gst_uri_is_normalized"
              version="1.6">
        <doc xml:space="preserve">Tests the @uri to see if it is normalized. A %NULL @uri is considered to be
normalized.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">TRUE if the URI is normalized or is %NULL.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="uri" transfer-ownership="none">
            <doc xml:space="preserve">The #GstUri to test to see if it is normalized.</doc>
            <type name="Uri" c:type="const GstUri*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_writable"
              c:identifier="gst_uri_is_writable"
              version="1.6">
        <doc xml:space="preserve">Check if it is safe to write to this #GstUri.

Check if the refcount of @uri is exactly 1, meaning that no other
reference exists to the #GstUri and that the #GstUri is therefore writable.

Modification of a #GstUri should only be done after verifying that it is
writable.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if it is safe to write to the object.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="uri" transfer-ownership="none">
            <doc xml:space="preserve">The #GstUri object to test.</doc>
            <type name="Uri" c:type="const GstUri*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="join" c:identifier="gst_uri_join" version="1.6">
        <doc xml:space="preserve">Join a reference URI onto a base URI using the method from RFC 3986.
If either URI is %NULL then the other URI will be returned with the ref count
increased.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">A #GstUri which represents the base
                                     with the reference URI joined on.</doc>
          <type name="Uri" c:type="GstUri*"/>
        </return-value>
        <parameters>
          <instance-parameter name="base_uri"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">The base URI to join another to.</doc>
            <type name="Uri" c:type="GstUri*"/>
          </instance-parameter>
          <parameter name="ref_uri"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The reference URI to join onto the
                                      base URI.</doc>
            <type name="Uri" c:type="GstUri*"/>
          </parameter>
        </parameters>
      </method>
      <method name="make_writable"
              c:identifier="gst_uri_make_writable"
              version="1.6">
        <doc xml:space="preserve">Make the #GstUri writable.

Checks if @uri is writable, and if so the original object is returned. If
not, then a writable copy is made and returned. This gives away the
reference to @uri and returns a reference to the new #GstUri.
If @uri is %NULL then %NULL is returned.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A writable version of @uri.</doc>
          <type name="Uri" c:type="GstUri*"/>
        </return-value>
        <parameters>
          <instance-parameter name="uri" transfer-ownership="full">
            <doc xml:space="preserve">The #GstUri object to make writable.</doc>
            <type name="Uri" c:type="GstUri*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="new_with_base"
              c:identifier="gst_uri_new_with_base"
              version="1.6">
        <doc xml:space="preserve">Like gst_uri_new(), but joins the new URI onto a base URI.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The new URI joined onto @base.</doc>
          <type name="Uri" c:type="GstUri*"/>
        </return-value>
        <parameters>
          <instance-parameter name="base"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">The base URI to join the new URI to.</doc>
            <type name="Uri" c:type="GstUri*"/>
          </instance-parameter>
          <parameter name="scheme"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The scheme for the new URI.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="userinfo"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The user-info for the new URI.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="host"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The host name for the new URI.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="port" transfer-ownership="none">
            <doc xml:space="preserve">The port number for the new URI or %GST_URI_NO_PORT.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="path"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The path for the new URI with '/' separating path
                     elements.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="query"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The query string for the new URI with '&amp;' separating
                      query elements. Elements containing '&amp;' characters
                      should encode them as "&amp;percnt;26".</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="fragment"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The fragment name for the new URI.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="normalize" c:identifier="gst_uri_normalize" version="1.6">
        <doc xml:space="preserve">Normalization will remove extra path segments ("." and "..") from the URI. It
will also convert the scheme and host name to lower case and any
percent-encoded values to uppercase.

The #GstUri object must be writable. Check with gst_uri_is_writable() or use
gst_uri_make_writable() first.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">TRUE if the URI was modified.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="uri" transfer-ownership="none">
            <doc xml:space="preserve">The #GstUri to normalize.</doc>
            <type name="Uri" c:type="GstUri*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="query_has_key"
              c:identifier="gst_uri_query_has_key"
              version="1.6">
        <doc xml:space="preserve">Check if there is a query table entry for the @query_key key.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @query_key exists in the URI query table.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="uri"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">The #GstUri to examine.</doc>
            <type name="Uri" c:type="const GstUri*"/>
          </instance-parameter>
          <parameter name="query_key" transfer-ownership="none">
            <doc xml:space="preserve">The key to lookup.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_query_key"
              c:identifier="gst_uri_remove_query_key"
              version="1.6">
        <doc xml:space="preserve">Remove an entry from the query table by key.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the key existed in the table and was removed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="uri"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">The #GstUri to modify.</doc>
            <type name="Uri" c:type="GstUri*"/>
          </instance-parameter>
          <parameter name="query_key" transfer-ownership="none">
            <doc xml:space="preserve">The key to remove.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_fragment"
              c:identifier="gst_uri_set_fragment"
              version="1.6">
        <doc xml:space="preserve">Sets the fragment string in the URI. Use a value of %NULL in @fragment to
unset the fragment string.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the fragment was set/unset successfully.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="uri"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">The #GstUri to modify.</doc>
            <type name="Uri" c:type="GstUri*"/>
          </instance-parameter>
          <parameter name="fragment"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The fragment string to set.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_host" c:identifier="gst_uri_set_host" version="1.6">
        <doc xml:space="preserve">Set or unset the host for the URI.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the host was set/unset successfully.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="uri"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">The #GstUri to modify.</doc>
            <type name="Uri" c:type="GstUri*"/>
          </instance-parameter>
          <parameter name="host" transfer-ownership="none">
            <doc xml:space="preserve">The new host string to set or %NULL to unset.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_path" c:identifier="gst_uri_set_path" version="1.6">
        <doc xml:space="preserve">Sets or unsets the path in the URI.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the path was set successfully.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="uri"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">The #GstUri to modify.</doc>
            <type name="Uri" c:type="GstUri*"/>
          </instance-parameter>
          <parameter name="path" transfer-ownership="none">
            <doc xml:space="preserve">The new path to set with path segments separated by '/', or use %NULL
       to unset the path.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_path_segments"
              c:identifier="gst_uri_set_path_segments"
              version="1.6">
        <doc xml:space="preserve">Replace the path segments list in the URI.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the path segments were set successfully.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="uri"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">The #GstUri to modify.</doc>
            <type name="Uri" c:type="GstUri*"/>
          </instance-parameter>
          <parameter name="path_segments"
                     transfer-ownership="full"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The new
                path list to set.</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="utf8"/>
            </type>
          </parameter>
        </parameters>
      </method>
      <method name="set_path_string"
              c:identifier="gst_uri_set_path_string"
              version="1.6">
        <doc xml:space="preserve">Sets or unsets the path in the URI.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the path was set successfully.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="uri"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">The #GstUri to modify.</doc>
            <type name="Uri" c:type="GstUri*"/>
          </instance-parameter>
          <parameter name="path" transfer-ownership="none">
            <doc xml:space="preserve">The new percent encoded path to set with path segments separated by
'/', or use %NULL to unset the path.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_port" c:identifier="gst_uri_set_port" version="1.6">
        <doc xml:space="preserve">Set or unset the port number for the URI.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the port number was set/unset successfully.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="uri"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">The #GstUri to modify.</doc>
            <type name="Uri" c:type="GstUri*"/>
          </instance-parameter>
          <parameter name="port" transfer-ownership="none">
            <doc xml:space="preserve">The new port number to set or %GST_URI_NO_PORT to unset.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_query_string"
              c:identifier="gst_uri_set_query_string"
              version="1.6">
        <doc xml:space="preserve">Sets or unsets the query table in the URI.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the query table was set successfully.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="uri"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">The #GstUri to modify.</doc>
            <type name="Uri" c:type="GstUri*"/>
          </instance-parameter>
          <parameter name="query" transfer-ownership="none">
            <doc xml:space="preserve">The new percent encoded query string to use to populate the query
       table, or use %NULL to unset the query table.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_query_table"
              c:identifier="gst_uri_set_query_table"
              version="1.6">
        <doc xml:space="preserve">Set the query table to use in the URI. The old table is unreferenced and a
reference to the new one is used instead. A value if %NULL for @query_table
will remove the query string from the URI.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the new table was sucessfully used for the query table.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="uri"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">The #GstUri to modify.</doc>
            <type name="Uri" c:type="GstUri*"/>
          </instance-parameter>
          <parameter name="query_table"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The new
              query table to use.</doc>
            <type name="GLib.HashTable" c:type="GHashTable*">
              <type name="utf8"/>
              <type name="utf8"/>
            </type>
          </parameter>
        </parameters>
      </method>
      <method name="set_query_value"
              c:identifier="gst_uri_set_query_value"
              version="1.6">
        <doc xml:space="preserve">This inserts or replaces a key in the query table. A @query_value of %NULL
indicates that the key has no associated value, but will still be present in
the query string.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the query table was sucessfully updated.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="uri"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">The #GstUri to modify.</doc>
            <type name="Uri" c:type="GstUri*"/>
          </instance-parameter>
          <parameter name="query_key" transfer-ownership="none">
            <doc xml:space="preserve">The key for the query entry.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="query_value"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The value for the key.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_scheme"
              c:identifier="gst_uri_set_scheme"
              version="1.6">
        <doc xml:space="preserve">Set or unset the scheme for the URI.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the scheme was set/unset successfully.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="uri"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">The #GstUri to modify.</doc>
            <type name="Uri" c:type="GstUri*"/>
          </instance-parameter>
          <parameter name="scheme" transfer-ownership="none">
            <doc xml:space="preserve">The new scheme to set or %NULL to unset the scheme.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_userinfo"
              c:identifier="gst_uri_set_userinfo"
              version="1.6">
        <doc xml:space="preserve">Set or unset the user information for the URI.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the user information was set/unset successfully.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="uri"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">The #GstUri to modify.</doc>
            <type name="Uri" c:type="GstUri*"/>
          </instance-parameter>
          <parameter name="userinfo" transfer-ownership="none">
            <doc xml:space="preserve">The new user-information string to set or %NULL to unset.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_string" c:identifier="gst_uri_to_string" version="1.6">
        <doc xml:space="preserve">Convert the URI to a string.

Returns the URI as held in this object as a #gchar* nul-terminated string.
The caller should g_free() the string once they are finished with it.
The string is put together as described in RFC 3986.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The string version of the URI.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="uri" transfer-ownership="none">
            <doc xml:space="preserve">This #GstUri to convert to a string.</doc>
            <type name="Uri" c:type="const GstUri*"/>
          </instance-parameter>
        </parameters>
      </method>
      <function name="construct"
                c:identifier="gst_uri_construct"
                deprecated="1">
        <doc xml:space="preserve">Constructs a URI for a given valid protocol and location.

Free-function: g_free</doc>
        <doc-deprecated xml:space="preserve">Use GstURI instead.</doc-deprecated>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new string for this URI. Returns %NULL if the
    given URI protocol is not valid, or the given location is %NULL.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <parameter name="protocol" transfer-ownership="none">
            <doc xml:space="preserve">Protocol for URI</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="location" transfer-ownership="none">
            <doc xml:space="preserve">Location for URI</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="from_string"
                c:identifier="gst_uri_from_string"
                version="1.6">
        <doc xml:space="preserve">Parses a URI string into a new #GstUri object. Will return NULL if the URI
cannot be parsed.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">A new #GstUri object, or NULL.</doc>
          <type name="Uri" c:type="GstUri*"/>
        </return-value>
        <parameters>
          <parameter name="uri" transfer-ownership="none">
            <doc xml:space="preserve">The URI string to parse.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="get_location" c:identifier="gst_uri_get_location">
        <doc xml:space="preserve">Extracts the location out of a given valid URI, ie. the protocol and "://"
are stripped from the URI, which means that the location returned includes
the hostname if one is specified. The returned string must be freed using
g_free().

Free-function: g_free</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the location for this URI. Returns
    %NULL if the URI isn't valid. If the URI does not contain a location, an
    empty string is returned.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <parameter name="uri" transfer-ownership="none">
            <doc xml:space="preserve">A URI string</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="get_protocol" c:identifier="gst_uri_get_protocol">
        <doc xml:space="preserve">Extracts the protocol out of a given valid URI. The returned string must be
freed using g_free().</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">The protocol for this URI.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <parameter name="uri" transfer-ownership="none">
            <doc xml:space="preserve">A URI string</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="has_protocol" c:identifier="gst_uri_has_protocol">
        <doc xml:space="preserve">Checks if the protocol of a given valid URI matches @protocol.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the protocol matches.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="uri" transfer-ownership="none">
            <doc xml:space="preserve">a URI string</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="protocol" transfer-ownership="none">
            <doc xml:space="preserve">a protocol string (e.g. "http")</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="is_valid" c:identifier="gst_uri_is_valid">
        <doc xml:space="preserve">Tests if the given string is a valid URI identifier. URIs start with a valid
scheme followed by ":" and maybe a string identifying the location.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the string is a valid URI</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="uri" transfer-ownership="none">
            <doc xml:space="preserve">A URI string</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="join_strings"
                c:identifier="gst_uri_join_strings"
                version="1.6">
        <doc xml:space="preserve">This is a convenience function to join two URI strings and return the result.
The returned string should be g_free()'d after use.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A string representing the percent-encoded join of
         the two URIs.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <parameter name="base_uri" transfer-ownership="none">
            <doc xml:space="preserve">The percent-encoded base URI.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="ref_uri" transfer-ownership="none">
            <doc xml:space="preserve">The percent-encoded reference URI to join to the @base_uri.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="protocol_is_supported"
                c:identifier="gst_uri_protocol_is_supported">
        <doc xml:space="preserve">Checks if an element exists that supports the given URI protocol. Note
that a positive return value does not imply that a subsequent call to
gst_element_make_from_uri() is guaranteed to work.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">Whether to check for a source or a sink</doc>
            <type name="URIType" c:type="const GstURIType"/>
          </parameter>
          <parameter name="protocol" transfer-ownership="none">
            <doc xml:space="preserve">Protocol that should be checked for (e.g. "http" or "smb")</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="protocol_is_valid"
                c:identifier="gst_uri_protocol_is_valid">
        <doc xml:space="preserve">Tests if the given string is a valid protocol identifier. Protocols
must consist of alphanumeric characters, '+', '-' and '.' and must
start with a alphabetic character. See RFC 3986 Section 3.1.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the string is a valid protocol identifier, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="protocol" transfer-ownership="none">
            <doc xml:space="preserve">A string</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
    </record>
    <constant name="VALUE_EQUAL" value="0" c:type="GST_VALUE_EQUAL">
      <doc xml:space="preserve">Indicates that the first value provided to a comparison function
(gst_value_compare()) is equal to the second one.</doc>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="VALUE_GREATER_THAN"
              value="1"
              c:type="GST_VALUE_GREATER_THAN">
      <doc xml:space="preserve">Indicates that the first value provided to a comparison function
(gst_value_compare()) is greater than the second one.</doc>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="VALUE_LESS_THAN" value="-1" c:type="GST_VALUE_LESS_THAN">
      <doc xml:space="preserve">Indicates that the first value provided to a comparison function
(gst_value_compare()) is lesser than the second one.</doc>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="VALUE_UNORDERED" value="2" c:type="GST_VALUE_UNORDERED">
      <doc xml:space="preserve">Indicates that the comparison function (gst_value_compare()) can not
determine a order for the two provided values.</doc>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="VERSION_MAJOR" value="1" c:type="GST_VERSION_MAJOR">
      <doc xml:space="preserve">The major version of GStreamer at compile time:</doc>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="VERSION_MICRO" value="0" c:type="GST_VERSION_MICRO">
      <doc xml:space="preserve">The micro version of GStreamer at compile time:</doc>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="VERSION_MINOR" value="14" c:type="GST_VERSION_MINOR">
      <doc xml:space="preserve">The minor version of GStreamer at compile time:</doc>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="VERSION_NANO" value="0" c:type="GST_VERSION_NANO">
      <doc xml:space="preserve">The nano version of GStreamer at compile time:
Actual releases have 0, GIT versions have 1, prerelease versions have 2-...</doc>
      <type name="gint" c:type="gint"/>
    </constant>
    <class name="ValueArray"
           c:symbol-prefix="value_array"
           c:type="GstValueArray"
           glib:type-name="GstValueArray"
           glib:get-type="gst_value_array_get_type"
           glib:fundamental="1">
      <function name="append_and_take_value"
                c:identifier="gst_value_array_append_and_take_value"
                version="1.2">
        <doc xml:space="preserve">Appends @append_value to the GstValueArray in @value.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">a #GValue of type #GST_TYPE_ARRAY</doc>
            <type name="GObject.Value" c:type="GValue*"/>
          </parameter>
          <parameter name="append_value" transfer-ownership="full">
            <doc xml:space="preserve">the value to append</doc>
            <type name="GObject.Value" c:type="GValue*"/>
          </parameter>
        </parameters>
      </function>
      <function name="append_value"
                c:identifier="gst_value_array_append_value">
        <doc xml:space="preserve">Appends @append_value to the GstValueArray in @value.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">a #GValue of type #GST_TYPE_ARRAY</doc>
            <type name="GObject.Value" c:type="GValue*"/>
          </parameter>
          <parameter name="append_value" transfer-ownership="none">
            <doc xml:space="preserve">the value to append</doc>
            <type name="GObject.Value" c:type="const GValue*"/>
          </parameter>
        </parameters>
      </function>
      <function name="get_size" c:identifier="gst_value_array_get_size">
        <doc xml:space="preserve">Gets the number of values contained in @value.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the number of values</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">a #GValue of type #GST_TYPE_ARRAY</doc>
            <type name="GObject.Value" c:type="const GValue*"/>
          </parameter>
        </parameters>
      </function>
      <function name="get_value" c:identifier="gst_value_array_get_value">
        <doc xml:space="preserve">Gets the value that is a member of the array contained in @value and
has the index @index.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the value at the given index</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </return-value>
        <parameters>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">a #GValue of type #GST_TYPE_ARRAY</doc>
            <type name="GObject.Value" c:type="const GValue*"/>
          </parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">index of value to get from the array</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </function>
      <function name="prepend_value"
                c:identifier="gst_value_array_prepend_value">
        <doc xml:space="preserve">Prepends @prepend_value to the GstValueArray in @value.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">a #GValue of type #GST_TYPE_ARRAY</doc>
            <type name="GObject.Value" c:type="GValue*"/>
          </parameter>
          <parameter name="prepend_value" transfer-ownership="none">
            <doc xml:space="preserve">the value to prepend</doc>
            <type name="GObject.Value" c:type="const GValue*"/>
          </parameter>
        </parameters>
      </function>
    </class>
    <callback name="ValueCompareFunc" c:type="GstValueCompareFunc">
      <doc xml:space="preserve">Used together with gst_value_compare() to compare #GValue items.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">one of GST_VALUE_LESS_THAN, GST_VALUE_EQUAL, GST_VALUE_GREATER_THAN
or GST_VALUE_UNORDERED</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="value1" transfer-ownership="none">
          <doc xml:space="preserve">first value for comparison</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
        <parameter name="value2" transfer-ownership="none">
          <doc xml:space="preserve">second value for comparison</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </callback>
    <callback name="ValueDeserializeFunc" c:type="GstValueDeserializeFunc">
      <doc xml:space="preserve">Used by gst_value_deserialize() to parse a non-binary form into the #GValue.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE for success</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="dest" transfer-ownership="none">
          <doc xml:space="preserve">a #GValue</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="s" transfer-ownership="none">
          <doc xml:space="preserve">a string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </callback>
    <class name="ValueList"
           c:symbol-prefix="value_list"
           glib:type-name="GstValueList"
           glib:get-type="gst_value_list_get_type"
           glib:fundamental="1">
      <function name="append_and_take_value"
                c:identifier="gst_value_list_append_and_take_value"
                version="1.2">
        <doc xml:space="preserve">Appends @append_value to the GstValueList in @value.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">a #GValue of type #GST_TYPE_LIST</doc>
            <type name="GObject.Value" c:type="GValue*"/>
          </parameter>
          <parameter name="append_value" transfer-ownership="full">
            <doc xml:space="preserve">the value to append</doc>
            <type name="GObject.Value" c:type="GValue*"/>
          </parameter>
        </parameters>
      </function>
      <function name="append_value" c:identifier="gst_value_list_append_value">
        <doc xml:space="preserve">Appends @append_value to the GstValueList in @value.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">a #GValue of type #GST_TYPE_LIST</doc>
            <type name="GObject.Value" c:type="GValue*"/>
          </parameter>
          <parameter name="append_value" transfer-ownership="none">
            <doc xml:space="preserve">the value to append</doc>
            <type name="GObject.Value" c:type="const GValue*"/>
          </parameter>
        </parameters>
      </function>
      <function name="concat" c:identifier="gst_value_list_concat">
        <doc xml:space="preserve">Concatenates copies of @value1 and @value2 into a list.  Values that are not
of type #GST_TYPE_LIST are treated as if they were lists of length 1.
@dest will be initialized to the type #GST_TYPE_LIST.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="dest"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none">
            <doc xml:space="preserve">an uninitialized #GValue to take the result</doc>
            <type name="GObject.Value" c:type="GValue*"/>
          </parameter>
          <parameter name="value1" transfer-ownership="none">
            <doc xml:space="preserve">a #GValue</doc>
            <type name="GObject.Value" c:type="const GValue*"/>
          </parameter>
          <parameter name="value2" transfer-ownership="none">
            <doc xml:space="preserve">a #GValue</doc>
            <type name="GObject.Value" c:type="const GValue*"/>
          </parameter>
        </parameters>
      </function>
      <function name="get_size" c:identifier="gst_value_list_get_size">
        <doc xml:space="preserve">Gets the number of values contained in @value.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the number of values</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">a #GValue of type #GST_TYPE_LIST</doc>
            <type name="GObject.Value" c:type="const GValue*"/>
          </parameter>
        </parameters>
      </function>
      <function name="get_value" c:identifier="gst_value_list_get_value">
        <doc xml:space="preserve">Gets the value that is a member of the list contained in @value and
has the index @index.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the value at the given index</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </return-value>
        <parameters>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">a #GValue of type #GST_TYPE_LIST</doc>
            <type name="GObject.Value" c:type="const GValue*"/>
          </parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">index of value to get from the list</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </function>
      <function name="merge" c:identifier="gst_value_list_merge">
        <doc xml:space="preserve">Merges copies of @value1 and @value2.  Values that are not
of type #GST_TYPE_LIST are treated as if they were lists of length 1.

The result will be put into @dest and will either be a list that will not
contain any duplicates, or a non-list type (if @value1 and @value2
were equal).</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="dest"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none">
            <doc xml:space="preserve">an uninitialized #GValue to take the result</doc>
            <type name="GObject.Value" c:type="GValue*"/>
          </parameter>
          <parameter name="value1" transfer-ownership="none">
            <doc xml:space="preserve">a #GValue</doc>
            <type name="GObject.Value" c:type="const GValue*"/>
          </parameter>
          <parameter name="value2" transfer-ownership="none">
            <doc xml:space="preserve">a #GValue</doc>
            <type name="GObject.Value" c:type="const GValue*"/>
          </parameter>
        </parameters>
      </function>
      <function name="prepend_value"
                c:identifier="gst_value_list_prepend_value">
        <doc xml:space="preserve">Prepends @prepend_value to the GstValueList in @value.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">a #GValue of type #GST_TYPE_LIST</doc>
            <type name="GObject.Value" c:type="GValue*"/>
          </parameter>
          <parameter name="prepend_value" transfer-ownership="none">
            <doc xml:space="preserve">the value to prepend</doc>
            <type name="GObject.Value" c:type="const GValue*"/>
          </parameter>
        </parameters>
      </function>
    </class>
    <callback name="ValueSerializeFunc" c:type="GstValueSerializeFunc">
      <doc xml:space="preserve">Used by gst_value_serialize() to obtain a non-binary form of the #GValue.

Free-function: g_free</doc>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve">the string representation of the value</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="value1" transfer-ownership="none">
          <doc xml:space="preserve">a #GValue</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </callback>
    <record name="ValueTable" c:type="GstValueTable">
      <doc xml:space="preserve">VTable for the #GValue @type.</doc>
      <field name="type" writable="1">
        <doc xml:space="preserve">a #GType</doc>
        <type name="GType" c:type="GType"/>
      </field>
      <field name="compare" writable="1">
        <doc xml:space="preserve">a #GstValueCompareFunc</doc>
        <type name="ValueCompareFunc" c:type="GstValueCompareFunc"/>
      </field>
      <field name="serialize" writable="1">
        <doc xml:space="preserve">a #GstValueSerializeFunc</doc>
        <type name="ValueSerializeFunc" c:type="GstValueSerializeFunc"/>
      </field>
      <field name="deserialize" writable="1">
        <doc xml:space="preserve">a #GstValueDeserializeFunc</doc>
        <type name="ValueDeserializeFunc" c:type="GstValueDeserializeFunc"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <function name="buffer_get_max_memory"
              c:identifier="gst_buffer_get_max_memory"
              moved-to="Buffer.get_max_memory"
              version="1.2">
      <doc xml:space="preserve">Get the maximum amount of memory blocks that a buffer can hold. This is a
compile time constant that can be queried with the function.

When more memory blocks are added, existing memory blocks will be merged
together to make room for the new block.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the maximum amount of memory blocks that a buffer can hold.</doc>
        <type name="guint" c:type="guint"/>
      </return-value>
    </function>
    <function name="calculate_linear_regression"
              c:identifier="gst_calculate_linear_regression"
              version="1.12"
              introspectable="0">
      <doc xml:space="preserve">Calculates the linear regression of the values @xy and places the
result in @m_num, @m_denom, @b and @xbase, representing the function
  y(x) = m_num/m_denom * (x - xbase) + b
that has the least-square distance from all points @x and @y.

@r_squared will contain the remaining error.

If @temp is not %NULL, it will be used as temporary space for the function,
in which case the function works without any allocation at all. If @temp is
%NULL, an allocation will take place. @temp should have at least the same
amount of memory allocated as @xy, i.e. 2*n*sizeof(GstClockTime).

&gt; This function assumes (x,y) values with reasonable large differences
&gt; between them. It will not calculate the exact results if the differences
&gt; between neighbouring values are too small due to not being able to
&gt; represent sub-integer values during the calculations.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the linear regression was successfully calculated</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="xy" transfer-ownership="none">
          <doc xml:space="preserve">Pairs of (x,y) values</doc>
          <type name="ClockTime" c:type="const GstClockTime*"/>
        </parameter>
        <parameter name="temp" transfer-ownership="none">
          <doc xml:space="preserve">Temporary scratch space used by the function</doc>
          <type name="ClockTime" c:type="GstClockTime*"/>
        </parameter>
        <parameter name="n" transfer-ownership="none">
          <doc xml:space="preserve">number of (x,y) pairs</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
        <parameter name="m_num"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">numerator of calculated slope</doc>
          <type name="ClockTime" c:type="GstClockTime*"/>
        </parameter>
        <parameter name="m_denom"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">denominator of calculated slope</doc>
          <type name="ClockTime" c:type="GstClockTime*"/>
        </parameter>
        <parameter name="b"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">Offset at Y-axis</doc>
          <type name="ClockTime" c:type="GstClockTime*"/>
        </parameter>
        <parameter name="xbase"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">Offset at X-axis</doc>
          <type name="ClockTime" c:type="GstClockTime*"/>
        </parameter>
        <parameter name="r_squared"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">R-squared</doc>
          <type name="gdouble" c:type="gdouble*"/>
        </parameter>
      </parameters>
    </function>
    <function name="caps_features_from_string"
              c:identifier="gst_caps_features_from_string"
              moved-to="CapsFeatures.from_string"
              version="1.2">
      <doc xml:space="preserve">Creates a #GstCapsFeatures from a string representation.

Free-function: gst_caps_features_free</doc>
      <return-value transfer-ownership="full" nullable="1">
        <doc xml:space="preserve">a new #GstCapsFeatures or
    %NULL when the string could not be parsed. Free with
    gst_caps_features_free() after use.</doc>
        <type name="CapsFeatures" c:type="GstCapsFeatures*"/>
      </return-value>
      <parameters>
        <parameter name="features" transfer-ownership="none">
          <doc xml:space="preserve">a string representation of a #GstCapsFeatures.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="caps_from_string"
              c:identifier="gst_caps_from_string"
              moved-to="Caps.from_string">
      <doc xml:space="preserve">Converts @caps from a string representation.

The current implementation of serialization will lead to unexpected results
when there are nested #GstCaps / #GstStructure deeper than one level.</doc>
      <return-value transfer-ownership="full" nullable="1">
        <doc xml:space="preserve">a newly allocated #GstCaps</doc>
        <type name="Caps" c:type="GstCaps*"/>
      </return-value>
      <parameters>
        <parameter name="string" transfer-ownership="none">
          <doc xml:space="preserve">a string to convert to #GstCaps</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="core_error_quark"
              c:identifier="gst_core_error_quark"
              moved-to="CoreError.quark">
      <return-value transfer-ownership="none">
        <type name="GLib.Quark" c:type="GQuark"/>
      </return-value>
    </function>
    <function name="debug_add_log_function"
              c:identifier="gst_debug_add_log_function">
      <doc xml:space="preserve">Adds the logging function to the list of logging functions.
Be sure to use #G_GNUC_NO_INSTRUMENT on that function, it is needed.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="func"
                   transfer-ownership="none"
                   scope="notified"
                   closure="1"
                   destroy="2">
          <doc xml:space="preserve">the function to use</doc>
          <type name="LogFunction" c:type="GstLogFunction"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">user data</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
        <parameter name="notify" transfer-ownership="none" scope="async">
          <doc xml:space="preserve">called when @user_data is not used anymore</doc>
          <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
        </parameter>
      </parameters>
    </function>
    <function name="debug_add_ring_buffer_logger"
              c:identifier="gst_debug_add_ring_buffer_logger"
              version="1.14">
      <doc xml:space="preserve">Adds a memory ringbuffer based debug logger that stores up to
@max_size_per_thread bytes of logs per thread and times out threads after
@thread_timeout seconds of inactivity.

Logs can be fetched with gst_debug_ring_buffer_logger_get_logs() and the
logger can be removed again with gst_debug_remove_ring_buffer_logger().
Only one logger at a time is possible.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="max_size_per_thread" transfer-ownership="none">
          <doc xml:space="preserve">Maximum size of log per thread in bytes</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
        <parameter name="thread_timeout" transfer-ownership="none">
          <doc xml:space="preserve">Timeout for threads in seconds</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
      </parameters>
    </function>
    <function name="debug_bin_to_dot_data"
              c:identifier="gst_debug_bin_to_dot_data">
      <doc xml:space="preserve">To aid debugging applications one can use this method to obtain the whole
network of gstreamer elements that form the pipeline into an dot file.
This data can be processed with graphviz to get an image.</doc>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve">a string containing the pipeline in graphviz
dot format.</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="bin" transfer-ownership="none">
          <doc xml:space="preserve">the top-level pipeline that should be analyzed</doc>
          <type name="Bin" c:type="GstBin*"/>
        </parameter>
        <parameter name="details" transfer-ownership="none">
          <type name="DebugGraphDetails" c:type="GstDebugGraphDetails"/>
        </parameter>
      </parameters>
    </function>
    <function name="debug_bin_to_dot_file"
              c:identifier="gst_debug_bin_to_dot_file">
      <doc xml:space="preserve">To aid debugging applications one can use this method to write out the whole
network of gstreamer elements that form the pipeline into an dot file.
This file can be processed with graphviz to get an image.
&lt;informalexample&gt;&lt;programlisting&gt;
 dot -Tpng -oimage.png graph_lowlevel.dot
&lt;/programlisting&gt;&lt;/informalexample&gt;</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="bin" transfer-ownership="none">
          <doc xml:space="preserve">the top-level pipeline that should be analyzed</doc>
          <type name="Bin" c:type="GstBin*"/>
        </parameter>
        <parameter name="details" transfer-ownership="none">
          <type name="DebugGraphDetails" c:type="GstDebugGraphDetails"/>
        </parameter>
        <parameter name="file_name" transfer-ownership="none">
          <doc xml:space="preserve">output base filename (e.g. "myplayer")</doc>
          <type name="filename" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="debug_bin_to_dot_file_with_ts"
              c:identifier="gst_debug_bin_to_dot_file_with_ts">
      <doc xml:space="preserve">This works like gst_debug_bin_to_dot_file(), but adds the current timestamp
to the filename, so that it can be used to take multiple snapshots.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="bin" transfer-ownership="none">
          <doc xml:space="preserve">the top-level pipeline that should be analyzed</doc>
          <type name="Bin" c:type="GstBin*"/>
        </parameter>
        <parameter name="details" transfer-ownership="none">
          <type name="DebugGraphDetails" c:type="GstDebugGraphDetails"/>
        </parameter>
        <parameter name="file_name" transfer-ownership="none">
          <doc xml:space="preserve">output base filename (e.g. "myplayer")</doc>
          <type name="filename" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="debug_construct_term_color"
              c:identifier="gst_debug_construct_term_color">
      <doc xml:space="preserve">Constructs a string that can be used for getting the desired color in color
terminals.
You need to free the string after use.</doc>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve">a string containing the color
    definition</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="colorinfo" transfer-ownership="none">
          <doc xml:space="preserve">the color info</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
      </parameters>
    </function>
    <function name="debug_construct_win_color"
              c:identifier="gst_debug_construct_win_color">
      <doc xml:space="preserve">Constructs an integer that can be used for getting the desired color in
windows' terminals (cmd.exe). As there is no mean to underline, we simply
ignore this attribute.

This function returns 0 on non-windows machines.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">an integer containing the color definition</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="colorinfo" transfer-ownership="none">
          <doc xml:space="preserve">the color info</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
      </parameters>
    </function>
    <function name="debug_get_all_categories"
              c:identifier="gst_debug_get_all_categories">
      <doc xml:space="preserve">Returns a snapshot of a all categories that are currently in use . This list
may change anytime.
The caller has to free the list after use.</doc>
      <return-value transfer-ownership="container">
        <doc xml:space="preserve">the list of
    debug categories</doc>
        <type name="GLib.SList" c:type="GSList*">
          <type name="DebugCategory"/>
        </type>
      </return-value>
    </function>
    <function name="debug_get_color_mode"
              c:identifier="gst_debug_get_color_mode"
              version="1.2">
      <doc xml:space="preserve">Changes the coloring mode for debug output.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">see @GstDebugColorMode for possible values.</doc>
        <type name="DebugColorMode" c:type="GstDebugColorMode"/>
      </return-value>
    </function>
    <function name="debug_get_default_threshold"
              c:identifier="gst_debug_get_default_threshold">
      <doc xml:space="preserve">Returns the default threshold that is used for new categories.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the default threshold level</doc>
        <type name="DebugLevel" c:type="GstDebugLevel"/>
      </return-value>
    </function>
    <function name="debug_get_stack_trace"
              c:identifier="gst_debug_get_stack_trace"
              version="1.12">
      <return-value transfer-ownership="full" nullable="1">
        <doc xml:space="preserve">a stack trace, if libunwind or glibc backtrace are
present, else %NULL.</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="flags" transfer-ownership="none">
          <doc xml:space="preserve">A set of #GstStackTraceFlags to determine how the stack
trace should look like. Pass 0 to retrieve a minimal backtrace.</doc>
          <type name="StackTraceFlags" c:type="GstStackTraceFlags"/>
        </parameter>
      </parameters>
    </function>
    <function name="debug_is_active" c:identifier="gst_debug_is_active">
      <doc xml:space="preserve">Checks if debugging output is activated.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE, if debugging is activated</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
    </function>
    <function name="debug_is_colored" c:identifier="gst_debug_is_colored">
      <doc xml:space="preserve">Checks if the debugging output should be colored.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE, if the debug output should be colored.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
    </function>
    <function name="debug_level_get_name"
              c:identifier="gst_debug_level_get_name"
              moved-to="DebugLevel.get_name">
      <doc xml:space="preserve">Get the string representation of a debugging level</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the name</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="level" transfer-ownership="none">
          <doc xml:space="preserve">the level to get the name for</doc>
          <type name="DebugLevel" c:type="GstDebugLevel"/>
        </parameter>
      </parameters>
    </function>
    <function name="debug_log" c:identifier="gst_debug_log" introspectable="0">
      <doc xml:space="preserve">Logs the given message using the currently registered debugging handlers.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="category" transfer-ownership="none">
          <doc xml:space="preserve">category to log</doc>
          <type name="DebugCategory" c:type="GstDebugCategory*"/>
        </parameter>
        <parameter name="level" transfer-ownership="none">
          <doc xml:space="preserve">level of the message is in</doc>
          <type name="DebugLevel" c:type="GstDebugLevel"/>
        </parameter>
        <parameter name="file" transfer-ownership="none">
          <doc xml:space="preserve">the file that emitted the message, usually the __FILE__ identifier</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="function" transfer-ownership="none">
          <doc xml:space="preserve">the function that emitted the message</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="line" transfer-ownership="none">
          <doc xml:space="preserve">the line from that the message was emitted, usually __LINE__</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="object"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">the object this message relates to,
    or %NULL if none</doc>
          <type name="GObject.Object" c:type="GObject*"/>
        </parameter>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve">a printf style format string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="..." transfer-ownership="none">
          <doc xml:space="preserve">optional arguments for the format</doc>
          <varargs/>
        </parameter>
      </parameters>
    </function>
    <function name="debug_log_default" c:identifier="gst_debug_log_default">
      <doc xml:space="preserve">The default logging handler used by GStreamer. Logging functions get called
whenever a macro like GST_DEBUG or similar is used. By default this function
is setup to output the message and additional info to stderr (or the log file
specified via the GST_DEBUG_FILE environment variable) as received via
@user_data.

You can add other handlers by using gst_debug_add_log_function().
And you can remove this handler by calling
gst_debug_remove_log_function(gst_debug_log_default);</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="category" transfer-ownership="none">
          <doc xml:space="preserve">category to log</doc>
          <type name="DebugCategory" c:type="GstDebugCategory*"/>
        </parameter>
        <parameter name="level" transfer-ownership="none">
          <doc xml:space="preserve">level of the message</doc>
          <type name="DebugLevel" c:type="GstDebugLevel"/>
        </parameter>
        <parameter name="file" transfer-ownership="none">
          <doc xml:space="preserve">the file that emitted the message, usually the __FILE__ identifier</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="function" transfer-ownership="none">
          <doc xml:space="preserve">the function that emitted the message</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="line" transfer-ownership="none">
          <doc xml:space="preserve">the line from that the message was emitted, usually __LINE__</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="object"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">the object this message relates to,
    or %NULL if none</doc>
          <type name="GObject.Object" c:type="GObject*"/>
        </parameter>
        <parameter name="message" transfer-ownership="none">
          <doc xml:space="preserve">the actual message</doc>
          <type name="DebugMessage" c:type="GstDebugMessage*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">the FILE* to log to</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </function>
    <function name="debug_log_valist"
              c:identifier="gst_debug_log_valist"
              introspectable="0">
      <doc xml:space="preserve">Logs the given message using the currently registered debugging handlers.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="category" transfer-ownership="none">
          <doc xml:space="preserve">category to log</doc>
          <type name="DebugCategory" c:type="GstDebugCategory*"/>
        </parameter>
        <parameter name="level" transfer-ownership="none">
          <doc xml:space="preserve">level of the message is in</doc>
          <type name="DebugLevel" c:type="GstDebugLevel"/>
        </parameter>
        <parameter name="file" transfer-ownership="none">
          <doc xml:space="preserve">the file that emitted the message, usually the __FILE__ identifier</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="function" transfer-ownership="none">
          <doc xml:space="preserve">the function that emitted the message</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="line" transfer-ownership="none">
          <doc xml:space="preserve">the line from that the message was emitted, usually __LINE__</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="object"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">the object this message relates to,
    or %NULL if none</doc>
          <type name="GObject.Object" c:type="GObject*"/>
        </parameter>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve">a printf style format string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="args" transfer-ownership="none">
          <doc xml:space="preserve">optional arguments for the format</doc>
          <type name="va_list" c:type="va_list"/>
        </parameter>
      </parameters>
    </function>
    <function name="debug_print_stack_trace"
              c:identifier="gst_debug_print_stack_trace">
      <doc xml:space="preserve">If libunwind or glibc backtrace are present
a stack trace is printed.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
    </function>
    <function name="debug_remove_log_function"
              c:identifier="gst_debug_remove_log_function">
      <doc xml:space="preserve">Removes all registered instances of the given logging functions.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">How many instances of the function were removed</doc>
        <type name="guint" c:type="guint"/>
      </return-value>
      <parameters>
        <parameter name="func"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   scope="call">
          <doc xml:space="preserve">the log function to remove, or %NULL to
    remove the default log function</doc>
          <type name="LogFunction" c:type="GstLogFunction"/>
        </parameter>
      </parameters>
    </function>
    <function name="debug_remove_log_function_by_data"
              c:identifier="gst_debug_remove_log_function_by_data">
      <doc xml:space="preserve">Removes all registered instances of log functions with the given user data.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">How many instances of the function were removed</doc>
        <type name="guint" c:type="guint"/>
      </return-value>
      <parameters>
        <parameter name="data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">user data of the log function to remove</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </function>
    <function name="debug_remove_ring_buffer_logger"
              c:identifier="gst_debug_remove_ring_buffer_logger"
              version="1.14">
      <doc xml:space="preserve">Removes any previously added ring buffer logger with
gst_debug_add_ring_buffer_logger().</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
    </function>
    <function name="debug_ring_buffer_logger_get_logs"
              c:identifier="gst_debug_ring_buffer_logger_get_logs"
              version="1.14">
      <doc xml:space="preserve">Fetches the current logs per thread from the ring buffer logger. See
gst_debug_add_ring_buffer_logger() for details.</doc>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve">NULL-terminated array of
strings with the debug output per thread</doc>
        <array c:type="gchar**">
          <type name="utf8"/>
        </array>
      </return-value>
    </function>
    <function name="debug_set_active" c:identifier="gst_debug_set_active">
      <doc xml:space="preserve">If activated, debugging messages are sent to the debugging
handlers.
It makes sense to deactivate it for speed issues.
&gt; This function is not threadsafe. It makes sense to only call it
during initialization.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="active" transfer-ownership="none">
          <doc xml:space="preserve">Whether to use debugging output or not</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
      </parameters>
    </function>
    <function name="debug_set_color_mode"
              c:identifier="gst_debug_set_color_mode"
              version="1.2">
      <doc xml:space="preserve">Changes the coloring mode for debug output.

This function may be called before gst_init().</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="mode" transfer-ownership="none">
          <doc xml:space="preserve">The coloring mode for debug output. See @GstDebugColorMode.</doc>
          <type name="DebugColorMode" c:type="GstDebugColorMode"/>
        </parameter>
      </parameters>
    </function>
    <function name="debug_set_color_mode_from_string"
              c:identifier="gst_debug_set_color_mode_from_string"
              version="1.2">
      <doc xml:space="preserve">Changes the coloring mode for debug output.

This function may be called before gst_init().</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="mode" transfer-ownership="none">
          <doc xml:space="preserve">The coloring mode for debug output. One of the following:
"on", "auto", "off", "disable", "unix".</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="debug_set_colored" c:identifier="gst_debug_set_colored">
      <doc xml:space="preserve">Sets or unsets the use of coloured debugging output.
Same as gst_debug_set_color_mode () with the argument being
being GST_DEBUG_COLOR_MODE_ON or GST_DEBUG_COLOR_MODE_OFF.

This function may be called before gst_init().</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="colored" transfer-ownership="none">
          <doc xml:space="preserve">Whether to use colored output or not</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
      </parameters>
    </function>
    <function name="debug_set_default_threshold"
              c:identifier="gst_debug_set_default_threshold">
      <doc xml:space="preserve">Sets the default threshold to the given level and updates all categories to
use this threshold.

This function may be called before gst_init().</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="level" transfer-ownership="none">
          <doc xml:space="preserve">level to set</doc>
          <type name="DebugLevel" c:type="GstDebugLevel"/>
        </parameter>
      </parameters>
    </function>
    <function name="debug_set_threshold_for_name"
              c:identifier="gst_debug_set_threshold_for_name">
      <doc xml:space="preserve">Sets all categories which match the given glob style pattern to the given
level.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="name" transfer-ownership="none">
          <doc xml:space="preserve">name of the categories to set</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="level" transfer-ownership="none">
          <doc xml:space="preserve">level to set them to</doc>
          <type name="DebugLevel" c:type="GstDebugLevel"/>
        </parameter>
      </parameters>
    </function>
    <function name="debug_set_threshold_from_string"
              c:identifier="gst_debug_set_threshold_from_string"
              version="1.2">
      <doc xml:space="preserve">Sets the debug logging wanted in the same form as with the GST_DEBUG
environment variable. You can use wildcards such as '*', but note that
the order matters when you use wild cards, e.g. "foosrc:6,*src:3,*:2" sets
everything to log level 2.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="list" transfer-ownership="none">
          <doc xml:space="preserve">comma-separated list of "category:level" pairs to be used
    as debug logging levels</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="reset" transfer-ownership="none">
          <doc xml:space="preserve">%TRUE to clear all previously-set debug levels before setting
    new thresholds
%FALSE if adding the threshold described by @list to the one already set.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
      </parameters>
    </function>
    <function name="debug_unset_threshold_for_name"
              c:identifier="gst_debug_unset_threshold_for_name">
      <doc xml:space="preserve">Resets all categories with the given name back to the default level.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="name" transfer-ownership="none">
          <doc xml:space="preserve">name of the categories to set</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="deinit" c:identifier="gst_deinit">
      <doc xml:space="preserve">Clean up any resources created by GStreamer in gst_init().

It is normally not needed to call this function in a normal application
as the resources will automatically be freed when the program terminates.
This function is therefore mostly used by testsuites and other memory
profiling tools.

After this call GStreamer (including this method) should not be used anymore.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
    </function>
    <function name="dynamic_type_register"
              c:identifier="gst_dynamic_type_register">
      <return-value transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="plugin" transfer-ownership="none">
          <type name="Plugin" c:type="GstPlugin*"/>
        </parameter>
        <parameter name="type" transfer-ownership="none">
          <type name="GType" c:type="GType"/>
        </parameter>
      </parameters>
    </function>
    <function name="error_get_message" c:identifier="gst_error_get_message">
      <doc xml:space="preserve">Get a string describing the error message in the current locale.</doc>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve">a newly allocated string describing
    the error message (in UTF-8 encoding)</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="domain" transfer-ownership="none">
          <doc xml:space="preserve">the GStreamer error domain this error belongs to.</doc>
          <type name="GLib.Quark" c:type="GQuark"/>
        </parameter>
        <parameter name="code" transfer-ownership="none">
          <doc xml:space="preserve">the error code belonging to the domain.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="event_type_get_flags"
              c:identifier="gst_event_type_get_flags"
              moved-to="EventType.get_flags">
      <doc xml:space="preserve">Gets the #GstEventTypeFlags associated with @type.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">a #GstEventTypeFlags.</doc>
        <type name="EventTypeFlags" c:type="GstEventTypeFlags"/>
      </return-value>
      <parameters>
        <parameter name="type" transfer-ownership="none">
          <doc xml:space="preserve">a #GstEventType</doc>
          <type name="EventType" c:type="GstEventType"/>
        </parameter>
      </parameters>
    </function>
    <function name="event_type_get_name"
              c:identifier="gst_event_type_get_name"
              moved-to="EventType.get_name">
      <doc xml:space="preserve">Get a printable name for the given event type. Do not modify or free.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">a reference to the static name of the event.</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="type" transfer-ownership="none">
          <doc xml:space="preserve">the event type</doc>
          <type name="EventType" c:type="GstEventType"/>
        </parameter>
      </parameters>
    </function>
    <function name="event_type_to_quark"
              c:identifier="gst_event_type_to_quark"
              moved-to="EventType.to_quark">
      <doc xml:space="preserve">Get the unique quark for the given event type.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the quark associated with the event type</doc>
        <type name="GLib.Quark" c:type="GQuark"/>
      </return-value>
      <parameters>
        <parameter name="type" transfer-ownership="none">
          <doc xml:space="preserve">the event type</doc>
          <type name="EventType" c:type="GstEventType"/>
        </parameter>
      </parameters>
    </function>
    <function name="filename_to_uri"
              c:identifier="gst_filename_to_uri"
              throws="1">
      <doc xml:space="preserve">Similar to g_filename_to_uri(), but attempts to handle relative file paths
as well. Before converting @filename into an URI, it will be prefixed by
the current working directory if it is a relative path, and then the path
will be canonicalised so that it doesn't contain any './' or '../' segments.

On Windows #filename should be in UTF-8 encoding.</doc>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve">newly-allocated URI string, or NULL on error. The caller must
  free the URI string with g_free() when no longer needed.</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="filename" transfer-ownership="none">
          <doc xml:space="preserve">absolute or relative file name path</doc>
          <type name="filename" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="flow_get_name" c:identifier="gst_flow_get_name">
      <doc xml:space="preserve">Gets a string representing the given flow return.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">a static string with the name of the flow return.</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="ret" transfer-ownership="none">
          <doc xml:space="preserve">a #GstFlowReturn to get the name of.</doc>
          <type name="FlowReturn" c:type="GstFlowReturn"/>
        </parameter>
      </parameters>
    </function>
    <function name="flow_to_quark" c:identifier="gst_flow_to_quark">
      <doc xml:space="preserve">Get the unique quark for the given GstFlowReturn.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the quark associated with the flow return or 0 if an
invalid return was specified.</doc>
        <type name="GLib.Quark" c:type="GQuark"/>
      </return-value>
      <parameters>
        <parameter name="ret" transfer-ownership="none">
          <doc xml:space="preserve">a #GstFlowReturn to get the quark of.</doc>
          <type name="FlowReturn" c:type="GstFlowReturn"/>
        </parameter>
      </parameters>
    </function>
    <function name="format_get_by_nick"
              c:identifier="gst_format_get_by_nick"
              moved-to="Format.get_by_nick">
      <doc xml:space="preserve">Return the format registered with the given nick.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">The format with @nick or GST_FORMAT_UNDEFINED
if the format was not registered.</doc>
        <type name="Format" c:type="GstFormat"/>
      </return-value>
      <parameters>
        <parameter name="nick" transfer-ownership="none">
          <doc xml:space="preserve">The nick of the format</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="format_get_details"
              c:identifier="gst_format_get_details"
              moved-to="Format.get_details">
      <doc xml:space="preserve">Get details about the given format.</doc>
      <return-value transfer-ownership="none" nullable="1">
        <doc xml:space="preserve">The #GstFormatDefinition for @format or %NULL
on failure.

MT safe.</doc>
        <type name="FormatDefinition" c:type="const GstFormatDefinition*"/>
      </return-value>
      <parameters>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve">The format to get details of</doc>
          <type name="Format" c:type="GstFormat"/>
        </parameter>
      </parameters>
    </function>
    <function name="format_get_name"
              c:identifier="gst_format_get_name"
              moved-to="Format.get_name">
      <doc xml:space="preserve">Get a printable name for the given format. Do not modify or free.</doc>
      <return-value transfer-ownership="none" nullable="1">
        <doc xml:space="preserve">a reference to the static name of the format
or %NULL if the format is unknown.</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve">a #GstFormat</doc>
          <type name="Format" c:type="GstFormat"/>
        </parameter>
      </parameters>
    </function>
    <function name="format_iterate_definitions"
              c:identifier="gst_format_iterate_definitions"
              moved-to="Format.iterate_definitions">
      <doc xml:space="preserve">Iterate all the registered formats. The format definition is read
only.</doc>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve">a GstIterator of #GstFormatDefinition.</doc>
        <type name="Iterator" c:type="GstIterator*"/>
      </return-value>
    </function>
    <function name="format_register"
              c:identifier="gst_format_register"
              moved-to="Format.register">
      <doc xml:space="preserve">Create a new GstFormat based on the nick or return an
already registered format with that nick.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">A new GstFormat or an already registered format
with the same nick.

MT safe.</doc>
        <type name="Format" c:type="GstFormat"/>
      </return-value>
      <parameters>
        <parameter name="nick" transfer-ownership="none">
          <doc xml:space="preserve">The nick of the new format</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="description" transfer-ownership="none">
          <doc xml:space="preserve">The description of the new format</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="format_to_quark"
              c:identifier="gst_format_to_quark"
              moved-to="Format.to_quark">
      <doc xml:space="preserve">Get the unique quark for the given format.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the quark associated with the format or 0 if the format
is unknown.</doc>
        <type name="GLib.Quark" c:type="GQuark"/>
      </return-value>
      <parameters>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve">a #GstFormat</doc>
          <type name="Format" c:type="GstFormat"/>
        </parameter>
      </parameters>
    </function>
    <function name="formats_contains" c:identifier="gst_formats_contains">
      <doc xml:space="preserve">See if the given format is inside the format array.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the format is found inside the array</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="formats" transfer-ownership="none">
          <doc xml:space="preserve">The format array to search</doc>
          <array c:type="GstFormat*">
            <type name="Format" c:type="GstFormat"/>
          </array>
        </parameter>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve">the format to find</doc>
          <type name="Format" c:type="GstFormat"/>
        </parameter>
      </parameters>
    </function>
    <function name="get_main_executable_path"
              c:identifier="gst_get_main_executable_path"
              version="1.14">
      <doc xml:space="preserve">This helper is mostly helpful for plugins that need to
inspect the folder of the main executable to determine
their set of features.

When a plugin is initialized from the gst-plugin-scanner
external process, the returned path will be the same as from the
parent process.</doc>
      <return-value transfer-ownership="none" nullable="1">
        <doc xml:space="preserve">The path of the executable that
  initialized GStreamer, or %NULL if it could not be determined.</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
    </function>
    <function name="info_strdup_printf"
              c:identifier="gst_info_strdup_printf"
              version="1.8"
              introspectable="0">
      <doc xml:space="preserve">Allocates, fills and returns a 0-terminated string from the printf style
@format string and corresponding arguments.

See gst_info_vasprintf() for when this function is required.

Free with g_free().</doc>
      <return-value transfer-ownership="full" nullable="1">
        <doc xml:space="preserve">a newly allocated null terminated string or %NULL on any error</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve">a printf style format string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="..." transfer-ownership="none">
          <doc xml:space="preserve">the printf arguments for @format</doc>
          <varargs/>
        </parameter>
      </parameters>
    </function>
    <function name="info_strdup_vprintf"
              c:identifier="gst_info_strdup_vprintf"
              version="1.8"
              introspectable="0">
      <doc xml:space="preserve">Allocates, fills and returns a null terminated string from the printf style
@format string and @args.

See gst_info_vasprintf() for when this function is required.

Free with g_free().</doc>
      <return-value transfer-ownership="full" nullable="1">
        <doc xml:space="preserve">a newly allocated null terminated string or %NULL on any error</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve">a printf style format string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="args" transfer-ownership="none">
          <doc xml:space="preserve">the va_list of printf arguments for @format</doc>
          <type name="va_list" c:type="va_list"/>
        </parameter>
      </parameters>
    </function>
    <function name="info_vasprintf"
              c:identifier="gst_info_vasprintf"
              version="1.8"
              introspectable="0">
      <doc xml:space="preserve">Allocates and fills a string large enough (including the terminating null
byte) to hold the specified printf style @format and @args.

This function deals with the GStreamer specific printf specifiers
#GST_PTR_FORMAT and #GST_SEGMENT_FORMAT.  If you do not have these specifiers
in your @format string, you do not need to use this function and can use
alternatives such as g_vasprintf().

Free @result with g_free().</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the length of the string allocated into @result or -1 on any error</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="result"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">the resulting string</doc>
          <type name="utf8" c:type="gchar**"/>
        </parameter>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve">a printf style format string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="args" transfer-ownership="none">
          <doc xml:space="preserve">the va_list of printf arguments for @format</doc>
          <type name="va_list" c:type="va_list"/>
        </parameter>
      </parameters>
    </function>
    <function name="init" c:identifier="gst_init">
      <doc xml:space="preserve">Initializes the GStreamer library, setting up internal path lists,
registering built-in elements, and loading standard plugins.

Unless the plugin registry is disabled at compile time, the registry will be
loaded. By default this will also check if the registry cache needs to be
updated and rescan all plugins if needed. See gst_update_registry() for
details and section
&lt;link linkend="gst-running"&gt;Running GStreamer Applications&lt;/link&gt;
for how to disable automatic registry updates.

&gt; This function will terminate your program if it was unable to initialize
&gt; GStreamer for some reason.  If you want your program to fall back,
&gt; use gst_init_check() instead.

WARNING: This function does not work in the same way as corresponding
functions in other glib-style libraries, such as gtk_init\(\). In
particular, unknown command line options cause this function to
abort program execution.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="argc"
                   direction="inout"
                   caller-allocates="0"
                   transfer-ownership="full"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">pointer to application's argc</doc>
          <type name="gint" c:type="int*"/>
        </parameter>
        <parameter name="argv"
                   direction="inout"
                   caller-allocates="0"
                   transfer-ownership="full"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">pointer to application's argv</doc>
          <array length="0" zero-terminated="0" c:type="char**">
            <type name="utf8" c:type="char*"/>
          </array>
        </parameter>
      </parameters>
    </function>
    <function name="init_check" c:identifier="gst_init_check" throws="1">
      <doc xml:space="preserve">Initializes the GStreamer library, setting up internal path lists,
registering built-in elements, and loading standard plugins.

This function will return %FALSE if GStreamer could not be initialized
for some reason.  If you want your program to fail fatally,
use gst_init() instead.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if GStreamer could be initialized.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="argc"
                   direction="inout"
                   caller-allocates="0"
                   transfer-ownership="full"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">pointer to application's argc</doc>
          <type name="gint" c:type="int*"/>
        </parameter>
        <parameter name="argv"
                   direction="inout"
                   caller-allocates="0"
                   transfer-ownership="full"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">pointer to application's argv</doc>
          <array length="0" zero-terminated="0" c:type="char**">
            <type name="utf8" c:type="char*"/>
          </array>
        </parameter>
      </parameters>
    </function>
    <function name="init_get_option_group"
              c:identifier="gst_init_get_option_group"
              introspectable="0">
      <doc xml:space="preserve">Returns a #GOptionGroup with GStreamer's argument specifications. The
group is set up to use standard GOption callbacks, so when using this
group in combination with GOption parsing methods, all argument parsing
and initialization is automated.

This function is useful if you want to integrate GStreamer with other
libraries that use GOption (see g_option_context_add_group() ).

If you use this function, you should make sure you initialise the GLib
threading system as one of the very first things in your program
(see the example at the beginning of this section).</doc>
      <return-value transfer-ownership="full" nullable="1">
        <doc xml:space="preserve">a pointer to GStreamer's option group.</doc>
        <type name="GLib.OptionGroup" c:type="GOptionGroup*"/>
      </return-value>
    </function>
    <function name="is_caps_features" c:identifier="gst_is_caps_features">
      <return-value transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="obj"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <type name="gpointer" c:type="gconstpointer"/>
        </parameter>
      </parameters>
    </function>
    <function name="is_initialized" c:identifier="gst_is_initialized">
      <doc xml:space="preserve">Use this function to check if GStreamer has been initialized with gst_init()
or gst_init_check().</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if initialization has been done, %FALSE otherwise.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
    </function>
    <function name="library_error_quark"
              c:identifier="gst_library_error_quark"
              moved-to="LibraryError.quark">
      <return-value transfer-ownership="none">
        <type name="GLib.Quark" c:type="GQuark"/>
      </return-value>
    </function>
    <function name="make_element_message_details"
              c:identifier="gst_make_element_message_details"
              introspectable="0">
      <return-value transfer-ownership="full">
        <type name="Structure" c:type="GstStructure*"/>
      </return-value>
      <parameters>
        <parameter name="name" transfer-ownership="none">
          <type name="utf8" c:type="const char*"/>
        </parameter>
        <parameter name="..." transfer-ownership="none">
          <varargs/>
        </parameter>
      </parameters>
    </function>
    <function name="message_type_get_name"
              c:identifier="gst_message_type_get_name"
              moved-to="MessageType.get_name">
      <doc xml:space="preserve">Get a printable name for the given message type. Do not modify or free.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">a reference to the static name of the message.</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="type" transfer-ownership="none">
          <doc xml:space="preserve">the message type</doc>
          <type name="MessageType" c:type="GstMessageType"/>
        </parameter>
      </parameters>
    </function>
    <function name="message_type_to_quark"
              c:identifier="gst_message_type_to_quark"
              moved-to="MessageType.to_quark">
      <doc xml:space="preserve">Get the unique quark for the given message type.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the quark associated with the message type</doc>
        <type name="GLib.Quark" c:type="GQuark"/>
      </return-value>
      <parameters>
        <parameter name="type" transfer-ownership="none">
          <doc xml:space="preserve">the message type</doc>
          <type name="MessageType" c:type="GstMessageType"/>
        </parameter>
      </parameters>
    </function>
    <function name="meta_api_type_get_tags"
              c:identifier="gst_meta_api_type_get_tags"
              moved-to="Meta.api_type_get_tags"
              version="1.2">
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">an array of tags as strings.</doc>
        <array c:type="gchar**">
          <type name="utf8"/>
        </array>
      </return-value>
      <parameters>
        <parameter name="api" transfer-ownership="none">
          <doc xml:space="preserve">an API</doc>
          <type name="GType" c:type="GType"/>
        </parameter>
      </parameters>
    </function>
    <function name="meta_api_type_has_tag"
              c:identifier="gst_meta_api_type_has_tag"
              moved-to="Meta.api_type_has_tag">
      <doc xml:space="preserve">Check if @api was registered with @tag.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if @api was registered with @tag.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="api" transfer-ownership="none">
          <doc xml:space="preserve">an API</doc>
          <type name="GType" c:type="GType"/>
        </parameter>
        <parameter name="tag" transfer-ownership="none">
          <doc xml:space="preserve">the tag to check</doc>
          <type name="GLib.Quark" c:type="GQuark"/>
        </parameter>
      </parameters>
    </function>
    <function name="meta_api_type_register"
              c:identifier="gst_meta_api_type_register"
              moved-to="Meta.api_type_register">
      <doc xml:space="preserve">Register and return a GType for the @api and associate it with
@tags.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">a unique GType for @api.</doc>
        <type name="GType" c:type="GType"/>
      </return-value>
      <parameters>
        <parameter name="api" transfer-ownership="none">
          <doc xml:space="preserve">an API to register</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="tags" transfer-ownership="none">
          <doc xml:space="preserve">tags for @api</doc>
          <type name="utf8" c:type="const gchar**"/>
        </parameter>
      </parameters>
    </function>
    <function name="meta_get_info"
              c:identifier="gst_meta_get_info"
              moved-to="Meta.get_info">
      <doc xml:space="preserve">Lookup a previously registered meta info structure by its implementation name
@impl.</doc>
      <return-value transfer-ownership="none" nullable="1">
        <doc xml:space="preserve">a #GstMetaInfo with @impl, or
%NULL when no such metainfo exists.</doc>
        <type name="MetaInfo" c:type="const GstMetaInfo*"/>
      </return-value>
      <parameters>
        <parameter name="impl" transfer-ownership="none">
          <doc xml:space="preserve">the name</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="meta_register"
              c:identifier="gst_meta_register"
              moved-to="Meta.register">
      <doc xml:space="preserve">Register a new #GstMeta implementation.

The same @info can be retrieved later with gst_meta_get_info() by using
@impl as the key.</doc>
      <return-value transfer-ownership="none" nullable="1">
        <doc xml:space="preserve">a #GstMetaInfo that can be used to
access metadata.</doc>
        <type name="MetaInfo" c:type="const GstMetaInfo*"/>
      </return-value>
      <parameters>
        <parameter name="api" transfer-ownership="none">
          <doc xml:space="preserve">the type of the #GstMeta API</doc>
          <type name="GType" c:type="GType"/>
        </parameter>
        <parameter name="impl" transfer-ownership="none">
          <doc xml:space="preserve">the name of the #GstMeta implementation</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="size" transfer-ownership="none">
          <doc xml:space="preserve">the size of the #GstMeta structure</doc>
          <type name="gsize" c:type="gsize"/>
        </parameter>
        <parameter name="init_func" transfer-ownership="none" scope="async">
          <doc xml:space="preserve">a #GstMetaInitFunction</doc>
          <type name="MetaInitFunction" c:type="GstMetaInitFunction"/>
        </parameter>
        <parameter name="free_func" transfer-ownership="none" scope="async">
          <doc xml:space="preserve">a #GstMetaFreeFunction</doc>
          <type name="MetaFreeFunction" c:type="GstMetaFreeFunction"/>
        </parameter>
        <parameter name="transform_func"
                   transfer-ownership="none"
                   scope="async">
          <doc xml:space="preserve">a #GstMetaTransformFunction</doc>
          <type name="MetaTransformFunction"
                c:type="GstMetaTransformFunction"/>
        </parameter>
      </parameters>
    </function>
    <function name="mini_object_replace"
              c:identifier="gst_mini_object_replace"
              moved-to="MiniObject.replace">
      <doc xml:space="preserve">Atomically modifies a pointer to point to a new mini-object.
The reference count of @olddata is decreased and the reference count of
@newdata is increased.

Either @newdata and the value pointed to by @olddata may be %NULL.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if @newdata was different from @olddata</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="olddata"
                   direction="inout"
                   caller-allocates="0"
                   transfer-ownership="full"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">pointer to a pointer to a
    mini-object to be replaced</doc>
          <type name="MiniObject" c:type="GstMiniObject**"/>
        </parameter>
        <parameter name="newdata"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">pointer to new mini-object</doc>
          <type name="MiniObject" c:type="GstMiniObject*"/>
        </parameter>
      </parameters>
    </function>
    <function name="mini_object_steal"
              c:identifier="gst_mini_object_steal"
              moved-to="MiniObject.steal"
              introspectable="0">
      <doc xml:space="preserve">Replace the current #GstMiniObject pointer to by @olddata with %NULL and
return the old value.</doc>
      <return-value nullable="1">
        <doc xml:space="preserve">the #GstMiniObject at @oldata</doc>
        <type name="MiniObject" c:type="GstMiniObject*"/>
      </return-value>
      <parameters>
        <parameter name="olddata"
                   direction="inout"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">pointer to a pointer to a mini-object to
    be stolen</doc>
          <type name="MiniObject" c:type="GstMiniObject**"/>
        </parameter>
      </parameters>
    </function>
    <function name="mini_object_take"
              c:identifier="gst_mini_object_take"
              moved-to="MiniObject.take">
      <doc xml:space="preserve">Modifies a pointer to point to a new mini-object. The modification
is done atomically. This version is similar to gst_mini_object_replace()
except that it does not increase the refcount of @newdata and thus
takes ownership of @newdata.

Either @newdata and the value pointed to by @olddata may be %NULL.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if @newdata was different from @olddata</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="olddata"
                   direction="inout"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">pointer to a pointer to a mini-object to
    be replaced</doc>
          <type name="MiniObject" c:type="GstMiniObject**"/>
        </parameter>
        <parameter name="newdata" transfer-ownership="none">
          <doc xml:space="preserve">pointer to new mini-object</doc>
          <type name="MiniObject" c:type="GstMiniObject*"/>
        </parameter>
      </parameters>
    </function>
    <function name="pad_mode_get_name"
              c:identifier="gst_pad_mode_get_name"
              moved-to="PadMode.get_name">
      <doc xml:space="preserve">Return the name of a pad mode, for use in debug messages mostly.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">short mnemonic for pad mode @mode</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="mode" transfer-ownership="none">
          <doc xml:space="preserve">the pad mode</doc>
          <type name="PadMode" c:type="GstPadMode"/>
        </parameter>
      </parameters>
    </function>
    <function name="param_spec_array"
              c:identifier="gst_param_spec_array"
              version="1.14">
      <doc xml:space="preserve">This function creates a GstArray GParamSpec for use by objects/elements
that want to expose properties of GstArray type. This function is
typically * used in connection with g_object_class_install_property() in a
GObjects's instance_init function.</doc>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve">a newly created parameter specification</doc>
        <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
      </return-value>
      <parameters>
        <parameter name="name" transfer-ownership="none">
          <doc xml:space="preserve">canonical name of the property specified</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="nick" transfer-ownership="none">
          <doc xml:space="preserve">nick name for the property specified</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="blurb" transfer-ownership="none">
          <doc xml:space="preserve">description of the property specified</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="element_spec" transfer-ownership="none">
          <doc xml:space="preserve">GParamSpec of the array</doc>
          <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
        </parameter>
        <parameter name="flags" transfer-ownership="none">
          <doc xml:space="preserve">flags for the property specified</doc>
          <type name="GObject.ParamFlags" c:type="GParamFlags"/>
        </parameter>
      </parameters>
    </function>
    <function name="param_spec_fraction"
              c:identifier="gst_param_spec_fraction">
      <doc xml:space="preserve">This function creates a fraction GParamSpec for use by objects/elements
that want to expose properties of fraction type. This function is typically
used in connection with g_object_class_install_property() in a GObjects's
instance_init function.</doc>
      <return-value transfer-ownership="full" nullable="1">
        <doc xml:space="preserve">a newly created parameter specification</doc>
        <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
      </return-value>
      <parameters>
        <parameter name="name" transfer-ownership="none">
          <doc xml:space="preserve">canonical name of the property specified</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="nick" transfer-ownership="none">
          <doc xml:space="preserve">nick name for the property specified</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="blurb" transfer-ownership="none">
          <doc xml:space="preserve">description of the property specified</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="min_num" transfer-ownership="none">
          <doc xml:space="preserve">minimum value (fraction numerator)</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="min_denom" transfer-ownership="none">
          <doc xml:space="preserve">minimum value (fraction denominator)</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="max_num" transfer-ownership="none">
          <doc xml:space="preserve">maximum value (fraction numerator)</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="max_denom" transfer-ownership="none">
          <doc xml:space="preserve">maximum value (fraction denominator)</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="default_num" transfer-ownership="none">
          <doc xml:space="preserve">default value (fraction numerator)</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="default_denom" transfer-ownership="none">
          <doc xml:space="preserve">default value (fraction denominator)</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="flags" transfer-ownership="none">
          <doc xml:space="preserve">flags for the property specified</doc>
          <type name="GObject.ParamFlags" c:type="GParamFlags"/>
        </parameter>
      </parameters>
    </function>
    <function name="parent_buffer_meta_api_get_type"
              c:identifier="gst_parent_buffer_meta_api_get_type">
      <return-value transfer-ownership="none">
        <type name="GType" c:type="GType"/>
      </return-value>
    </function>
    <function name="parent_buffer_meta_get_info"
              c:identifier="gst_parent_buffer_meta_get_info"
              moved-to="ParentBufferMeta.get_info"
              version="1.6">
      <doc xml:space="preserve">Get the global #GstMetaInfo describing  the #GstParentBufferMeta meta.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">The #GstMetaInfo</doc>
        <type name="MetaInfo" c:type="const GstMetaInfo*"/>
      </return-value>
    </function>
    <function name="parse_bin_from_description"
              c:identifier="gst_parse_bin_from_description"
              throws="1">
      <doc xml:space="preserve">This is a convenience wrapper around gst_parse_launch() to create a
#GstBin from a gst-launch-style pipeline description. See
gst_parse_launch() and the gst-launch man page for details about the
syntax. Ghost pads on the bin for unlinked source or sink pads
within the bin can automatically be created (but only a maximum of
one ghost pad for each direction will be created; if you expect
multiple unlinked source pads or multiple unlinked sink pads
and want them all ghosted, you will have to create the ghost pads
yourself).</doc>
      <return-value transfer-ownership="none" nullable="1">
        <doc xml:space="preserve">a
  newly-created bin, or %NULL if an error occurred.</doc>
        <type name="Bin" c:type="GstElement*"/>
      </return-value>
      <parameters>
        <parameter name="bin_description" transfer-ownership="none">
          <doc xml:space="preserve">command line describing the bin</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="ghost_unlinked_pads" transfer-ownership="none">
          <doc xml:space="preserve">whether to automatically create ghost pads
    for unlinked source or sink pads within the bin</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
      </parameters>
    </function>
    <function name="parse_bin_from_description_full"
              c:identifier="gst_parse_bin_from_description_full"
              throws="1">
      <doc xml:space="preserve">This is a convenience wrapper around gst_parse_launch() to create a
#GstBin from a gst-launch-style pipeline description. See
gst_parse_launch() and the gst-launch man page for details about the
syntax. Ghost pads on the bin for unlinked source or sink pads
within the bin can automatically be created (but only a maximum of
one ghost pad for each direction will be created; if you expect
multiple unlinked source pads or multiple unlinked sink pads
and want them all ghosted, you will have to create the ghost pads
yourself).</doc>
      <return-value transfer-ownership="none" nullable="1">
        <doc xml:space="preserve">a newly-created
  element, which is guaranteed to be a bin unless
  GST_FLAG_NO_SINGLE_ELEMENT_BINS was passed, or %NULL if an error
  occurred.</doc>
        <type name="Element" c:type="GstElement*"/>
      </return-value>
      <parameters>
        <parameter name="bin_description" transfer-ownership="none">
          <doc xml:space="preserve">command line describing the bin</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="ghost_unlinked_pads" transfer-ownership="none">
          <doc xml:space="preserve">whether to automatically create ghost pads
    for unlinked source or sink pads within the bin</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
        <parameter name="context"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">a parse context allocated with
    gst_parse_context_new(), or %NULL</doc>
          <type name="ParseContext" c:type="GstParseContext*"/>
        </parameter>
        <parameter name="flags" transfer-ownership="none">
          <doc xml:space="preserve">parsing options, or #GST_PARSE_FLAG_NONE</doc>
          <type name="ParseFlags" c:type="GstParseFlags"/>
        </parameter>
      </parameters>
    </function>
    <function name="parse_error_quark"
              c:identifier="gst_parse_error_quark"
              moved-to="ParseError.quark">
      <doc xml:space="preserve">Get the error quark used by the parsing subsystem.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the quark of the parse errors.</doc>
        <type name="GLib.Quark" c:type="GQuark"/>
      </return-value>
    </function>
    <function name="parse_launch" c:identifier="gst_parse_launch" throws="1">
      <doc xml:space="preserve">Create a new pipeline based on command line syntax.
Please note that you might get a return value that is not %NULL even though
the @error is set. In this case there was a recoverable parsing error and you
can try to play the pipeline.</doc>
      <return-value transfer-ownership="none" nullable="1">
        <doc xml:space="preserve">a new element on success, %NULL on
  failure. If more than one toplevel element is specified by the
  @pipeline_description, all elements are put into a #GstPipeline, which
  than is returned.</doc>
        <type name="Element" c:type="GstElement*"/>
      </return-value>
      <parameters>
        <parameter name="pipeline_description" transfer-ownership="none">
          <doc xml:space="preserve">the command line describing the pipeline</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="parse_launch_full"
              c:identifier="gst_parse_launch_full"
              throws="1">
      <doc xml:space="preserve">Create a new pipeline based on command line syntax.
Please note that you might get a return value that is not %NULL even though
the @error is set. In this case there was a recoverable parsing error and you
can try to play the pipeline.</doc>
      <return-value transfer-ownership="none" nullable="1">
        <doc xml:space="preserve">a new element on success, %NULL on
   failure. If more than one toplevel element is specified by the
   @pipeline_description, all elements are put into a #GstPipeline, which
   then is returned (unless the GST_PARSE_FLAG_PLACE_IN_BIN flag is set, in
   which case they are put in a #GstBin instead).</doc>
        <type name="Element" c:type="GstElement*"/>
      </return-value>
      <parameters>
        <parameter name="pipeline_description" transfer-ownership="none">
          <doc xml:space="preserve">the command line describing the pipeline</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="context"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">a parse context allocated with
     gst_parse_context_new(), or %NULL</doc>
          <type name="ParseContext" c:type="GstParseContext*"/>
        </parameter>
        <parameter name="flags" transfer-ownership="none">
          <doc xml:space="preserve">parsing options, or #GST_PARSE_FLAG_NONE</doc>
          <type name="ParseFlags" c:type="GstParseFlags"/>
        </parameter>
      </parameters>
    </function>
    <function name="parse_launchv" c:identifier="gst_parse_launchv" throws="1">
      <doc xml:space="preserve">Create a new element based on command line syntax.
@error will contain an error message if an erroneous pipeline is specified.
An error does not mean that the pipeline could not be constructed.</doc>
      <return-value transfer-ownership="none" nullable="1">
        <doc xml:space="preserve">a new element on success and %NULL
on failure.</doc>
        <type name="Element" c:type="GstElement*"/>
      </return-value>
      <parameters>
        <parameter name="argv" transfer-ownership="none">
          <doc xml:space="preserve">null-terminated array of arguments</doc>
          <array c:type="gchar**">
            <type name="utf8" c:type="gchar*"/>
          </array>
        </parameter>
      </parameters>
    </function>
    <function name="parse_launchv_full"
              c:identifier="gst_parse_launchv_full"
              throws="1">
      <doc xml:space="preserve">Create a new element based on command line syntax.
@error will contain an error message if an erroneous pipeline is specified.
An error does not mean that the pipeline could not be constructed.</doc>
      <return-value transfer-ownership="none" nullable="1">
        <doc xml:space="preserve">a new element on success; on
  failure, either %NULL or a partially-constructed bin or element will be
  returned and @error will be set (unless you passed
  #GST_PARSE_FLAG_FATAL_ERRORS in @flags, then %NULL will always be returned
  on failure)</doc>
        <type name="Element" c:type="GstElement*"/>
      </return-value>
      <parameters>
        <parameter name="argv" transfer-ownership="none">
          <doc xml:space="preserve">null-terminated array of arguments</doc>
          <array c:type="gchar**">
            <type name="utf8" c:type="gchar*"/>
          </array>
        </parameter>
        <parameter name="context"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">a parse context allocated with
    gst_parse_context_new(), or %NULL</doc>
          <type name="ParseContext" c:type="GstParseContext*"/>
        </parameter>
        <parameter name="flags" transfer-ownership="none">
          <doc xml:space="preserve">parsing options, or #GST_PARSE_FLAG_NONE</doc>
          <type name="ParseFlags" c:type="GstParseFlags"/>
        </parameter>
      </parameters>
    </function>
    <function name="plugin_error_quark"
              c:identifier="gst_plugin_error_quark"
              moved-to="PluginError.quark">
      <doc xml:space="preserve">Get the error quark.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">The error quark used in GError messages</doc>
        <type name="GLib.Quark" c:type="GQuark"/>
      </return-value>
    </function>
    <function name="poll_new"
              c:identifier="gst_poll_new"
              moved-to="Poll.new"
              introspectable="0">
      <doc xml:space="preserve">Create a new file descriptor set. If @controllable, it
is possible to restart or flush a call to gst_poll_wait() with
gst_poll_restart() and gst_poll_set_flushing() respectively.

Free-function: gst_poll_free</doc>
      <return-value transfer-ownership="full" nullable="1">
        <doc xml:space="preserve">a new #GstPoll, or %NULL in
    case of an error.  Free with gst_poll_free().</doc>
        <type name="Poll" c:type="GstPoll*"/>
      </return-value>
      <parameters>
        <parameter name="controllable" transfer-ownership="none">
          <doc xml:space="preserve">whether it should be possible to control a wait.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
      </parameters>
    </function>
    <function name="poll_new_timer"
              c:identifier="gst_poll_new_timer"
              moved-to="Poll.new_timer"
              introspectable="0">
      <doc xml:space="preserve">Create a new poll object that can be used for scheduling cancellable
timeouts.

A timeout is performed with gst_poll_wait(). Multiple timeouts can be
performed from different threads.

Free-function: gst_poll_free</doc>
      <return-value transfer-ownership="full" nullable="1">
        <doc xml:space="preserve">a new #GstPoll, or %NULL in
    case of an error.  Free with gst_poll_free().</doc>
        <type name="Poll" c:type="GstPoll*"/>
      </return-value>
    </function>
    <function name="preset_get_app_dir"
              c:identifier="gst_preset_get_app_dir"
              moved-to="Preset.get_app_dir">
      <doc xml:space="preserve">Gets the directory for application specific presets if set by the
application.</doc>
      <return-value transfer-ownership="none" nullable="1">
        <doc xml:space="preserve">the directory or %NULL, don't free or modify
the string</doc>
        <type name="filename" c:type="const gchar*"/>
      </return-value>
    </function>
    <function name="preset_set_app_dir"
              c:identifier="gst_preset_set_app_dir"
              moved-to="Preset.set_app_dir">
      <doc xml:space="preserve">Sets an extra directory as an absolute path that should be considered when
looking for presets. Any presets in the application dir will shadow the
system presets.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE for success, %FALSE if the dir already has been set</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="app_dir" transfer-ownership="none">
          <doc xml:space="preserve">the application specific preset dir</doc>
          <type name="filename" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="print"
              c:identifier="gst_print"
              version="1.12"
              introspectable="0">
      <doc xml:space="preserve">Outputs a formatted message via the GLib print handler. The default print
handler simply outputs the message to stdout.

This function will not append a new-line character at the end, unlike
gst_println() which will.

All strings must be in ASCII or UTF-8 encoding.

This function differs from g_print() in that it supports all the additional
printf specifiers that are supported by GStreamer's debug logging system,
such as #GST_PTR_FORMAT and #GST_SEGMENT_FORMAT.

This function is primarily for printing debug output.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve">a printf style format string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="..." transfer-ownership="none">
          <doc xml:space="preserve">the printf arguments for @format</doc>
          <varargs/>
        </parameter>
      </parameters>
    </function>
    <function name="printerr"
              c:identifier="gst_printerr"
              version="1.12"
              introspectable="0">
      <doc xml:space="preserve">Outputs a formatted message via the GLib error message handler. The default
handler simply outputs the message to stderr.

This function will not append a new-line character at the end, unlike
gst_printerrln() which will.

All strings must be in ASCII or UTF-8 encoding.

This function differs from g_printerr() in that it supports the additional
printf specifiers that are supported by GStreamer's debug logging system,
such as #GST_PTR_FORMAT and #GST_SEGMENT_FORMAT.

This function is primarily for printing debug output.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve">a printf style format string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="..." transfer-ownership="none">
          <doc xml:space="preserve">the printf arguments for @format</doc>
          <varargs/>
        </parameter>
      </parameters>
    </function>
    <function name="printerrln"
              c:identifier="gst_printerrln"
              version="1.12"
              introspectable="0">
      <doc xml:space="preserve">Outputs a formatted message via the GLib error message handler. The default
handler simply outputs the message to stderr.

This function will append a new-line character at the end, unlike
gst_printerr() which will not.

All strings must be in ASCII or UTF-8 encoding.

This function differs from g_printerr() in that it supports the additional
printf specifiers that are supported by GStreamer's debug logging system,
such as #GST_PTR_FORMAT and #GST_SEGMENT_FORMAT.

This function is primarily for printing debug output.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve">a printf style format string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="..." transfer-ownership="none">
          <doc xml:space="preserve">the printf arguments for @format</doc>
          <varargs/>
        </parameter>
      </parameters>
    </function>
    <function name="println"
              c:identifier="gst_println"
              version="1.12"
              introspectable="0">
      <doc xml:space="preserve">Outputs a formatted message via the GLib print handler. The default print
handler simply outputs the message to stdout.

This function will append a new-line character at the end, unlike
gst_print() which will not.

All strings must be in ASCII or UTF-8 encoding.

This function differs from g_print() in that it supports all the additional
printf specifiers that are supported by GStreamer's debug logging system,
such as #GST_PTR_FORMAT and #GST_SEGMENT_FORMAT.

This function is primarily for printing debug output.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve">a printf style format string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="..." transfer-ownership="none">
          <doc xml:space="preserve">the printf arguments for @format</doc>
          <varargs/>
        </parameter>
      </parameters>
    </function>
    <function name="protection_filter_systems_by_available_decryptors"
              c:identifier="gst_protection_filter_systems_by_available_decryptors"
              version="1.14">
      <doc xml:space="preserve">Iterates the supplied list of UUIDs and checks the GstRegistry for
all the decryptors supporting one of the supplied UUIDs.</doc>
      <return-value transfer-ownership="full" nullable="1">
        <doc xml:space="preserve">A null terminated array containing all
the @system_identifiers supported by the set of available decryptors, or
%NULL if no matches were found.</doc>
        <array c:type="gchar**">
          <type name="utf8"/>
        </array>
      </return-value>
      <parameters>
        <parameter name="system_identifiers" transfer-ownership="none">
          <doc xml:space="preserve">A null terminated array of strings
that contains the UUID values of each protection system that is to be
checked.</doc>
          <type name="utf8" c:type="const gchar**"/>
        </parameter>
      </parameters>
    </function>
    <function name="protection_meta_api_get_type"
              c:identifier="gst_protection_meta_api_get_type">
      <return-value transfer-ownership="none">
        <type name="GType" c:type="GType"/>
      </return-value>
    </function>
    <function name="protection_meta_get_info"
              c:identifier="gst_protection_meta_get_info"
              moved-to="ProtectionMeta.get_info">
      <return-value transfer-ownership="none">
        <type name="MetaInfo" c:type="const GstMetaInfo*"/>
      </return-value>
    </function>
    <function name="protection_select_system"
              c:identifier="gst_protection_select_system"
              version="1.6">
      <doc xml:space="preserve">Iterates the supplied list of UUIDs and checks the GstRegistry for
an element that supports one of the supplied UUIDs. If more than one
element matches, the system ID of the highest ranked element is selected.</doc>
      <return-value transfer-ownership="none" nullable="1">
        <doc xml:space="preserve">One of the strings from
@system_identifiers that indicates the highest ranked element that
implements the protection system indicated by that system ID, or %NULL if no
element has been found.</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="system_identifiers" transfer-ownership="none">
          <doc xml:space="preserve">A null terminated array of strings
that contains the UUID values of each protection system that is to be
checked.</doc>
          <array c:type="gchar**">
            <type name="utf8" c:type="gchar*"/>
          </array>
        </parameter>
      </parameters>
    </function>
    <function name="query_type_get_flags"
              c:identifier="gst_query_type_get_flags"
              moved-to="QueryType.get_flags">
      <doc xml:space="preserve">Gets the #GstQueryTypeFlags associated with @type.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">a #GstQueryTypeFlags.</doc>
        <type name="QueryTypeFlags" c:type="GstQueryTypeFlags"/>
      </return-value>
      <parameters>
        <parameter name="type" transfer-ownership="none">
          <doc xml:space="preserve">a #GstQueryType</doc>
          <type name="QueryType" c:type="GstQueryType"/>
        </parameter>
      </parameters>
    </function>
    <function name="query_type_get_name"
              c:identifier="gst_query_type_get_name"
              moved-to="QueryType.get_name">
      <doc xml:space="preserve">Get a printable name for the given query type. Do not modify or free.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">a reference to the static name of the query.</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="type" transfer-ownership="none">
          <doc xml:space="preserve">the query type</doc>
          <type name="QueryType" c:type="GstQueryType"/>
        </parameter>
      </parameters>
    </function>
    <function name="query_type_to_quark"
              c:identifier="gst_query_type_to_quark"
              moved-to="QueryType.to_quark">
      <doc xml:space="preserve">Get the unique quark for the given query type.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the quark associated with the query type</doc>
        <type name="GLib.Quark" c:type="GQuark"/>
      </return-value>
      <parameters>
        <parameter name="type" transfer-ownership="none">
          <doc xml:space="preserve">the query type</doc>
          <type name="QueryType" c:type="GstQueryType"/>
        </parameter>
      </parameters>
    </function>
    <function name="reference_timestamp_meta_api_get_type"
              c:identifier="gst_reference_timestamp_meta_api_get_type">
      <return-value transfer-ownership="none">
        <type name="GType" c:type="GType"/>
      </return-value>
    </function>
    <function name="reference_timestamp_meta_get_info"
              c:identifier="gst_reference_timestamp_meta_get_info"
              moved-to="ReferenceTimestampMeta.get_info"
              version="1.14">
      <doc xml:space="preserve">Get the global #GstMetaInfo describing  the #GstReferenceTimestampMeta meta.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">The #GstMetaInfo</doc>
        <type name="MetaInfo" c:type="const GstMetaInfo*"/>
      </return-value>
    </function>
    <function name="resource_error_quark"
              c:identifier="gst_resource_error_quark"
              moved-to="ResourceError.quark">
      <return-value transfer-ownership="none">
        <type name="GLib.Quark" c:type="GQuark"/>
      </return-value>
    </function>
    <function name="segtrap_is_enabled" c:identifier="gst_segtrap_is_enabled">
      <doc xml:space="preserve">Some functions in the GStreamer core might install a custom SIGSEGV handler
to better catch and report errors to the application. Currently this feature
is enabled by default when loading plugins.

Applications might want to disable this behaviour with the
gst_segtrap_set_enabled() function. This is typically done if the application
wants to install its own handler without GStreamer interfering.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if GStreamer is allowed to install a custom SIGSEGV handler.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
    </function>
    <function name="segtrap_set_enabled"
              c:identifier="gst_segtrap_set_enabled">
      <doc xml:space="preserve">Applications might want to disable/enable the SIGSEGV handling of
the GStreamer core. See gst_segtrap_is_enabled() for more information.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="enabled" transfer-ownership="none">
          <doc xml:space="preserve">whether a custom SIGSEGV handler should be installed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
      </parameters>
    </function>
    <function name="state_change_get_name"
              c:identifier="gst_state_change_get_name"
              moved-to="StateChange.get_name"
              version="1.14">
      <doc xml:space="preserve">Gets a string representing the given state transition.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">a string with the name of the state
   result.</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="transition" transfer-ownership="none">
          <doc xml:space="preserve">a #GstStateChange to get the name of.</doc>
          <type name="StateChange" c:type="GstStateChange"/>
        </parameter>
      </parameters>
    </function>
    <function name="static_caps_get_type"
              c:identifier="gst_static_caps_get_type">
      <return-value transfer-ownership="none">
        <type name="GType" c:type="GType"/>
      </return-value>
    </function>
    <function name="static_pad_template_get_type"
              c:identifier="gst_static_pad_template_get_type">
      <return-value transfer-ownership="none">
        <type name="GType" c:type="GType"/>
      </return-value>
    </function>
    <function name="stream_error_quark"
              c:identifier="gst_stream_error_quark"
              moved-to="StreamError.quark">
      <return-value transfer-ownership="none">
        <type name="GLib.Quark" c:type="GQuark"/>
      </return-value>
    </function>
    <function name="stream_type_get_name"
              c:identifier="gst_stream_type_get_name"
              moved-to="StreamType.get_name"
              version="1.10">
      <doc xml:space="preserve">Get a descriptive string for a given #GstStreamType</doc>
      <return-value transfer-ownership="none" nullable="1">
        <doc xml:space="preserve">A string describing the stream type</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="stype" transfer-ownership="none">
          <doc xml:space="preserve">a #GstStreamType</doc>
          <type name="StreamType" c:type="GstStreamType"/>
        </parameter>
      </parameters>
    </function>
    <function name="structure_from_string"
              c:identifier="gst_structure_from_string"
              moved-to="Structure.from_string">
      <doc xml:space="preserve">Creates a #GstStructure from a string representation.
If end is not %NULL, a pointer to the place inside the given string
where parsing ended will be returned.

Free-function: gst_structure_free</doc>
      <return-value transfer-ownership="full" nullable="1">
        <doc xml:space="preserve">a new #GstStructure or %NULL
    when the string could not be parsed. Free with
    gst_structure_free() after use.</doc>
        <type name="Structure" c:type="GstStructure*"/>
      </return-value>
      <parameters>
        <parameter name="string" transfer-ownership="none">
          <doc xml:space="preserve">a string representation of a #GstStructure.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="end"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="none"
                   optional="1"
                   allow-none="1"
                   skip="1">
          <doc xml:space="preserve">pointer to store the end of the string in.</doc>
          <type name="utf8" c:type="gchar**"/>
        </parameter>
      </parameters>
    </function>
    <function name="tag_exists" c:identifier="gst_tag_exists">
      <doc xml:space="preserve">Checks if the given type is already registered.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the type is already registered</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="tag" transfer-ownership="none">
          <doc xml:space="preserve">name of the tag</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="tag_get_description"
              c:identifier="gst_tag_get_description">
      <doc xml:space="preserve">Returns the human-readable description of this tag, You must not change or
free this string.</doc>
      <return-value transfer-ownership="none" nullable="1">
        <doc xml:space="preserve">the human-readable description of this tag</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="tag" transfer-ownership="none">
          <doc xml:space="preserve">the tag</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="tag_get_flag" c:identifier="gst_tag_get_flag">
      <doc xml:space="preserve">Gets the flag of @tag.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the flag of this tag.</doc>
        <type name="TagFlag" c:type="GstTagFlag"/>
      </return-value>
      <parameters>
        <parameter name="tag" transfer-ownership="none">
          <doc xml:space="preserve">the tag</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="tag_get_nick" c:identifier="gst_tag_get_nick">
      <doc xml:space="preserve">Returns the human-readable name of this tag, You must not change or free
this string.</doc>
      <return-value transfer-ownership="none" nullable="1">
        <doc xml:space="preserve">the human-readable name of this tag</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="tag" transfer-ownership="none">
          <doc xml:space="preserve">the tag</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="tag_get_type" c:identifier="gst_tag_get_type">
      <doc xml:space="preserve">Gets the #GType used for this tag.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the #GType of this tag</doc>
        <type name="GType" c:type="GType"/>
      </return-value>
      <parameters>
        <parameter name="tag" transfer-ownership="none">
          <doc xml:space="preserve">the tag</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="tag_is_fixed" c:identifier="gst_tag_is_fixed">
      <doc xml:space="preserve">Checks if the given tag is fixed. A fixed tag can only contain one value.
Unfixed tags can contain lists of values.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE, if the given tag is fixed.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="tag" transfer-ownership="none">
          <doc xml:space="preserve">tag to check</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="tag_list_copy_value"
              c:identifier="gst_tag_list_copy_value"
              moved-to="TagList.copy_value">
      <doc xml:space="preserve">Copies the contents for the given tag into the value,
merging multiple values into one if multiple values are associated
with the tag.
You must g_value_unset() the value after use.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE, if a value was copied, %FALSE if the tag didn't exist in the
         given list.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="dest"
                   direction="out"
                   caller-allocates="1"
                   transfer-ownership="none">
          <doc xml:space="preserve">uninitialized #GValue to copy into</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="list" transfer-ownership="none">
          <doc xml:space="preserve">list to get the tag from</doc>
          <type name="TagList" c:type="const GstTagList*"/>
        </parameter>
        <parameter name="tag" transfer-ownership="none">
          <doc xml:space="preserve">tag to read out</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="tag_merge_strings_with_comma"
              c:identifier="gst_tag_merge_strings_with_comma">
      <doc xml:space="preserve">This is a convenience function for the func argument of gst_tag_register().
It concatenates all given strings using a comma. The tag must be registered
as a G_TYPE_STRING or this function will fail.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="dest"
                   direction="out"
                   caller-allocates="1"
                   transfer-ownership="none">
          <doc xml:space="preserve">uninitialized GValue to store result in</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="src" transfer-ownership="none">
          <doc xml:space="preserve">GValue to copy from</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="tag_merge_use_first"
              c:identifier="gst_tag_merge_use_first">
      <doc xml:space="preserve">This is a convenience function for the func argument of gst_tag_register().
It creates a copy of the first value from the list.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="dest"
                   direction="out"
                   caller-allocates="1"
                   transfer-ownership="none">
          <doc xml:space="preserve">uninitialized GValue to store result in</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="src" transfer-ownership="none">
          <doc xml:space="preserve">GValue to copy from</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="tag_register" c:identifier="gst_tag_register">
      <doc xml:space="preserve">Registers a new tag type for the use with GStreamer's type system. If a type
with that name is already registered, that one is used.
The old registration may have used a different type however. So don't rely
on your supplied values.

Important: if you do not supply a merge function the implication will be
that there can only be one single value for this tag in a tag list and
any additional values will silently be discarded when being added (unless
#GST_TAG_MERGE_REPLACE, #GST_TAG_MERGE_REPLACE_ALL, or
#GST_TAG_MERGE_PREPEND is used as merge mode, in which case the new
value will replace the old one in the list).

The merge function will be called from gst_tag_list_copy_value() when
it is required that one or more values for a tag be condensed into
one single value. This may happen from gst_tag_list_get_string(),
gst_tag_list_get_int(), gst_tag_list_get_double() etc. What will happen
exactly in that case depends on how the tag was registered and if a
merge function was supplied and if so which one.

Two default merge functions are provided: gst_tag_merge_use_first() and
gst_tag_merge_strings_with_comma().</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="name" transfer-ownership="none">
          <doc xml:space="preserve">the name or identifier string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="flag" transfer-ownership="none">
          <doc xml:space="preserve">a flag describing the type of tag info</doc>
          <type name="TagFlag" c:type="GstTagFlag"/>
        </parameter>
        <parameter name="type" transfer-ownership="none">
          <doc xml:space="preserve">the type this data is in</doc>
          <type name="GType" c:type="GType"/>
        </parameter>
        <parameter name="nick" transfer-ownership="none">
          <doc xml:space="preserve">human-readable name</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="blurb" transfer-ownership="none">
          <doc xml:space="preserve">a human-readable description about this tag</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="func"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   scope="call">
          <doc xml:space="preserve">function for merging multiple values of this tag, or %NULL</doc>
          <type name="TagMergeFunc" c:type="GstTagMergeFunc"/>
        </parameter>
      </parameters>
    </function>
    <function name="tag_register_static"
              c:identifier="gst_tag_register_static">
      <doc xml:space="preserve">Registers a new tag type for the use with GStreamer's type system.

Same as gst_tag_register(), but @name, @nick, and @blurb must be
static strings or inlined strings, as they will not be copied. (GStreamer
plugins will be made resident once loaded, so this function can be used
even from dynamically loaded plugins.)</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="name" transfer-ownership="none">
          <doc xml:space="preserve">the name or identifier string (string constant)</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="flag" transfer-ownership="none">
          <doc xml:space="preserve">a flag describing the type of tag info</doc>
          <type name="TagFlag" c:type="GstTagFlag"/>
        </parameter>
        <parameter name="type" transfer-ownership="none">
          <doc xml:space="preserve">the type this data is in</doc>
          <type name="GType" c:type="GType"/>
        </parameter>
        <parameter name="nick" transfer-ownership="none">
          <doc xml:space="preserve">human-readable name or short description (string constant)</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="blurb" transfer-ownership="none">
          <doc xml:space="preserve">a human-readable description for this tag (string constant)</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="func"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   scope="call">
          <doc xml:space="preserve">function for merging multiple values of this tag, or %NULL</doc>
          <type name="TagMergeFunc" c:type="GstTagMergeFunc"/>
        </parameter>
      </parameters>
    </function>
    <function name="toc_entry_type_get_nick"
              c:identifier="gst_toc_entry_type_get_nick"
              moved-to="TocEntryType.get_nick">
      <doc xml:space="preserve">Converts @type to a string representation.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">Returns a human-readable string for @type. This string is
   only for debugging purpose and should not be displayed in a user
   interface.</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="type" transfer-ownership="none">
          <doc xml:space="preserve">a #GstTocEntryType.</doc>
          <type name="TocEntryType" c:type="GstTocEntryType"/>
        </parameter>
      </parameters>
    </function>
    <function name="type_find_get_type" c:identifier="gst_type_find_get_type">
      <return-value transfer-ownership="none">
        <type name="GType" c:type="GType"/>
      </return-value>
    </function>
    <function name="type_find_register"
              c:identifier="gst_type_find_register"
              moved-to="TypeFind.register">
      <doc xml:space="preserve">Registers a new typefind function to be used for typefinding. After
registering this function will be available for typefinding.
This function is typically called during an element's plugin initialization.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE on success, %FALSE otherwise</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="plugin"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">A #GstPlugin, or %NULL for a static typefind function</doc>
          <type name="Plugin" c:type="GstPlugin*"/>
        </parameter>
        <parameter name="name" transfer-ownership="none">
          <doc xml:space="preserve">The name for registering</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="rank" transfer-ownership="none">
          <doc xml:space="preserve">The rank (or importance) of this typefind function</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
        <parameter name="func"
                   transfer-ownership="none"
                   scope="notified"
                   closure="6"
                   destroy="7">
          <doc xml:space="preserve">The #GstTypeFindFunction to use</doc>
          <type name="TypeFindFunction" c:type="GstTypeFindFunction"/>
        </parameter>
        <parameter name="extensions"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">Optional comma-separated list of extensions
    that could belong to this type</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="possible_caps" transfer-ownership="none">
          <doc xml:space="preserve">Optionally the caps that could be returned when typefinding
                succeeds</doc>
          <type name="Caps" c:type="GstCaps*"/>
        </parameter>
        <parameter name="data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">Optional user data. This user data must be available until the plugin
       is unloaded.</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
        <parameter name="data_notify" transfer-ownership="none" scope="async">
          <doc xml:space="preserve">a #GDestroyNotify that will be called on @data when the plugin
       is unloaded.</doc>
          <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
        </parameter>
      </parameters>
    </function>
    <function name="update_registry" c:identifier="gst_update_registry">
      <doc xml:space="preserve">Forces GStreamer to re-scan its plugin paths and update the default
plugin registry.

Applications will almost never need to call this function, it is only
useful if the application knows new plugins have been installed (or old
ones removed) since the start of the application (or, to be precise, the
first call to gst_init()) and the application wants to make use of any
newly-installed plugins without restarting the application.

Applications should assume that the registry update is neither atomic nor
thread-safe and should therefore not have any dynamic pipelines running
(including the playbin and decodebin elements) and should also not create
any elements or access the GStreamer registry while the update is in
progress.

Note that this function may block for a significant amount of time.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the registry has been updated successfully (does not
         imply that there were changes), otherwise %FALSE.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
    </function>
    <function name="uri_construct"
              c:identifier="gst_uri_construct"
              moved-to="Uri.construct"
              deprecated="1">
      <doc xml:space="preserve">Constructs a URI for a given valid protocol and location.

Free-function: g_free</doc>
      <doc-deprecated xml:space="preserve">Use GstURI instead.</doc-deprecated>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve">a new string for this URI. Returns %NULL if the
    given URI protocol is not valid, or the given location is %NULL.</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="protocol" transfer-ownership="none">
          <doc xml:space="preserve">Protocol for URI</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="location" transfer-ownership="none">
          <doc xml:space="preserve">Location for URI</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="uri_error_quark"
              c:identifier="gst_uri_error_quark"
              moved-to="URIError.quark">
      <return-value transfer-ownership="none">
        <type name="GLib.Quark" c:type="GQuark"/>
      </return-value>
    </function>
    <function name="uri_from_string"
              c:identifier="gst_uri_from_string"
              moved-to="Uri.from_string"
              version="1.6">
      <doc xml:space="preserve">Parses a URI string into a new #GstUri object. Will return NULL if the URI
cannot be parsed.</doc>
      <return-value transfer-ownership="full" nullable="1">
        <doc xml:space="preserve">A new #GstUri object, or NULL.</doc>
        <type name="Uri" c:type="GstUri*"/>
      </return-value>
      <parameters>
        <parameter name="uri" transfer-ownership="none">
          <doc xml:space="preserve">The URI string to parse.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="uri_get_location"
              c:identifier="gst_uri_get_location"
              moved-to="Uri.get_location">
      <doc xml:space="preserve">Extracts the location out of a given valid URI, ie. the protocol and "://"
are stripped from the URI, which means that the location returned includes
the hostname if one is specified. The returned string must be freed using
g_free().

Free-function: g_free</doc>
      <return-value transfer-ownership="full" nullable="1">
        <doc xml:space="preserve">the location for this URI. Returns
    %NULL if the URI isn't valid. If the URI does not contain a location, an
    empty string is returned.</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="uri" transfer-ownership="none">
          <doc xml:space="preserve">A URI string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="uri_get_protocol"
              c:identifier="gst_uri_get_protocol"
              moved-to="Uri.get_protocol">
      <doc xml:space="preserve">Extracts the protocol out of a given valid URI. The returned string must be
freed using g_free().</doc>
      <return-value transfer-ownership="full" nullable="1">
        <doc xml:space="preserve">The protocol for this URI.</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="uri" transfer-ownership="none">
          <doc xml:space="preserve">A URI string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="uri_has_protocol"
              c:identifier="gst_uri_has_protocol"
              moved-to="Uri.has_protocol">
      <doc xml:space="preserve">Checks if the protocol of a given valid URI matches @protocol.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the protocol matches.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="uri" transfer-ownership="none">
          <doc xml:space="preserve">a URI string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="protocol" transfer-ownership="none">
          <doc xml:space="preserve">a protocol string (e.g. "http")</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="uri_is_valid"
              c:identifier="gst_uri_is_valid"
              moved-to="Uri.is_valid">
      <doc xml:space="preserve">Tests if the given string is a valid URI identifier. URIs start with a valid
scheme followed by ":" and maybe a string identifying the location.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the string is a valid URI</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="uri" transfer-ownership="none">
          <doc xml:space="preserve">A URI string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="uri_join_strings"
              c:identifier="gst_uri_join_strings"
              moved-to="Uri.join_strings"
              version="1.6">
      <doc xml:space="preserve">This is a convenience function to join two URI strings and return the result.
The returned string should be g_free()'d after use.</doc>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve">A string representing the percent-encoded join of
         the two URIs.</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="base_uri" transfer-ownership="none">
          <doc xml:space="preserve">The percent-encoded base URI.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="ref_uri" transfer-ownership="none">
          <doc xml:space="preserve">The percent-encoded reference URI to join to the @base_uri.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="uri_protocol_is_supported"
              c:identifier="gst_uri_protocol_is_supported"
              moved-to="Uri.protocol_is_supported">
      <doc xml:space="preserve">Checks if an element exists that supports the given URI protocol. Note
that a positive return value does not imply that a subsequent call to
gst_element_make_from_uri() is guaranteed to work.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="type" transfer-ownership="none">
          <doc xml:space="preserve">Whether to check for a source or a sink</doc>
          <type name="URIType" c:type="const GstURIType"/>
        </parameter>
        <parameter name="protocol" transfer-ownership="none">
          <doc xml:space="preserve">Protocol that should be checked for (e.g. "http" or "smb")</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="uri_protocol_is_valid"
              c:identifier="gst_uri_protocol_is_valid"
              moved-to="Uri.protocol_is_valid">
      <doc xml:space="preserve">Tests if the given string is a valid protocol identifier. Protocols
must consist of alphanumeric characters, '+', '-' and '.' and must
start with a alphabetic character. See RFC 3986 Section 3.1.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the string is a valid protocol identifier, %FALSE otherwise.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="protocol" transfer-ownership="none">
          <doc xml:space="preserve">A string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="util_array_binary_search"
              c:identifier="gst_util_array_binary_search">
      <doc xml:space="preserve">Searches inside @array for @search_data by using the comparison function
@search_func. @array must be sorted ascending.

As @search_data is always passed as second argument to @search_func it's
not required that @search_data has the same type as the array elements.

The complexity of this search function is O(log (num_elements)).</doc>
      <return-value transfer-ownership="none" nullable="1">
        <doc xml:space="preserve">The address of the found
element or %NULL if nothing was found</doc>
        <type name="gpointer" c:type="gpointer"/>
      </return-value>
      <parameters>
        <parameter name="array"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">the sorted input array</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
        <parameter name="num_elements" transfer-ownership="none">
          <doc xml:space="preserve">number of elements in the array</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
        <parameter name="element_size" transfer-ownership="none">
          <doc xml:space="preserve">size of every element in bytes</doc>
          <type name="gsize" c:type="gsize"/>
        </parameter>
        <parameter name="search_func"
                   transfer-ownership="none"
                   scope="call"
                   closure="6">
          <doc xml:space="preserve">function to compare two elements, @search_data will always be passed as second argument</doc>
          <type name="GLib.CompareDataFunc" c:type="GCompareDataFunc"/>
        </parameter>
        <parameter name="mode" transfer-ownership="none">
          <doc xml:space="preserve">search mode that should be used</doc>
          <type name="SearchMode" c:type="GstSearchMode"/>
        </parameter>
        <parameter name="search_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">element that should be found</doc>
          <type name="gpointer" c:type="gconstpointer"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">data to pass to @search_func</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </function>
    <function name="util_double_to_fraction"
              c:identifier="gst_util_double_to_fraction">
      <doc xml:space="preserve">Transforms a #gdouble to a fraction and simplifies
the result.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="src" transfer-ownership="none">
          <doc xml:space="preserve">#gdouble to transform</doc>
          <type name="gdouble" c:type="gdouble"/>
        </parameter>
        <parameter name="dest_n"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">pointer to a #gint to hold the result numerator</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
        <parameter name="dest_d"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">pointer to a #gint to hold the result denominator</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
      </parameters>
    </function>
    <function name="util_dump_buffer"
              c:identifier="gst_util_dump_buffer"
              version="1.14">
      <doc xml:space="preserve">Dumps the buffer memory into a hex representation. Useful for debugging.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="buf" transfer-ownership="none">
          <doc xml:space="preserve">a #GstBuffer whose memory to dump</doc>
          <type name="Buffer" c:type="GstBuffer*"/>
        </parameter>
      </parameters>
    </function>
    <function name="util_dump_mem" c:identifier="gst_util_dump_mem">
      <doc xml:space="preserve">Dumps the memory block into a hex representation. Useful for debugging.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="mem" transfer-ownership="none">
          <doc xml:space="preserve">a pointer to the memory to dump</doc>
          <type name="guint8" c:type="const guchar*"/>
        </parameter>
        <parameter name="size" transfer-ownership="none">
          <doc xml:space="preserve">the size of the memory block to dump</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
      </parameters>
    </function>
    <function name="util_fraction_add" c:identifier="gst_util_fraction_add">
      <doc xml:space="preserve">Adds the fractions @a_n/@a_d and @b_n/@b_d and stores
the result in @res_n and @res_d.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%FALSE on overflow, %TRUE otherwise.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="a_n" transfer-ownership="none">
          <doc xml:space="preserve">Numerator of first value</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="a_d" transfer-ownership="none">
          <doc xml:space="preserve">Denominator of first value</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="b_n" transfer-ownership="none">
          <doc xml:space="preserve">Numerator of second value</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="b_d" transfer-ownership="none">
          <doc xml:space="preserve">Denominator of second value</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="res_n"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">Pointer to #gint to hold the result numerator</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
        <parameter name="res_d"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">Pointer to #gint to hold the result denominator</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
      </parameters>
    </function>
    <function name="util_fraction_compare"
              c:identifier="gst_util_fraction_compare">
      <doc xml:space="preserve">Compares the fractions @a_n/@a_d and @b_n/@b_d and returns
-1 if a &lt; b, 0 if a = b and 1 if a &gt; b.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">-1 if a &lt; b; 0 if a = b; 1 if a &gt; b.</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="a_n" transfer-ownership="none">
          <doc xml:space="preserve">Numerator of first value</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="a_d" transfer-ownership="none">
          <doc xml:space="preserve">Denominator of first value</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="b_n" transfer-ownership="none">
          <doc xml:space="preserve">Numerator of second value</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="b_d" transfer-ownership="none">
          <doc xml:space="preserve">Denominator of second value</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="util_fraction_multiply"
              c:identifier="gst_util_fraction_multiply">
      <doc xml:space="preserve">Multiplies the fractions @a_n/@a_d and @b_n/@b_d and stores
the result in @res_n and @res_d.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%FALSE on overflow, %TRUE otherwise.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="a_n" transfer-ownership="none">
          <doc xml:space="preserve">Numerator of first value</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="a_d" transfer-ownership="none">
          <doc xml:space="preserve">Denominator of first value</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="b_n" transfer-ownership="none">
          <doc xml:space="preserve">Numerator of second value</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="b_d" transfer-ownership="none">
          <doc xml:space="preserve">Denominator of second value</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="res_n"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">Pointer to #gint to hold the result numerator</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
        <parameter name="res_d"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">Pointer to #gint to hold the result denominator</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
      </parameters>
    </function>
    <function name="util_fraction_to_double"
              c:identifier="gst_util_fraction_to_double">
      <doc xml:space="preserve">Transforms a fraction to a #gdouble.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="src_n" transfer-ownership="none">
          <doc xml:space="preserve">Fraction numerator as #gint</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="src_d" transfer-ownership="none">
          <doc xml:space="preserve">Fraction denominator #gint</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="dest"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">pointer to a #gdouble for the result</doc>
          <type name="gdouble" c:type="gdouble*"/>
        </parameter>
      </parameters>
    </function>
    <function name="util_gdouble_to_guint64"
              c:identifier="gst_util_gdouble_to_guint64">
      <return-value transfer-ownership="none">
        <type name="guint64" c:type="guint64"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <type name="gdouble" c:type="gdouble"/>
        </parameter>
      </parameters>
    </function>
    <function name="util_get_object_array"
              c:identifier="gst_util_get_object_array"
              version="1.12">
      <doc xml:space="preserve">Get a property of type %GST_TYPE_ARRAY and transform it into a
#GValueArray. This allow language bindings to get GST_TYPE_ARRAY
properties which are otherwise not an accessible type.</doc>
      <return-value transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="object" transfer-ownership="none">
          <doc xml:space="preserve">the object to set the array to</doc>
          <type name="GObject.Object" c:type="GObject*"/>
        </parameter>
        <parameter name="name" transfer-ownership="none">
          <doc xml:space="preserve">the name of the property to set</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="array"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">a return #GValueArray</doc>
          <type name="GObject.ValueArray" c:type="GValueArray**"/>
        </parameter>
      </parameters>
    </function>
    <function name="util_get_timestamp" c:identifier="gst_util_get_timestamp">
      <doc xml:space="preserve">Get a timestamp as GstClockTime to be used for interval measurements.
The timestamp should not be interpreted in any other way.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the timestamp</doc>
        <type name="ClockTime" c:type="GstClockTime"/>
      </return-value>
    </function>
    <function name="util_greatest_common_divisor"
              c:identifier="gst_util_greatest_common_divisor">
      <doc xml:space="preserve">Calculates the greatest common divisor of @a
and @b.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">Greatest common divisor of @a and @b</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="a" transfer-ownership="none">
          <doc xml:space="preserve">First value as #gint</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="b" transfer-ownership="none">
          <doc xml:space="preserve">Second value as #gint</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="util_greatest_common_divisor_int64"
              c:identifier="gst_util_greatest_common_divisor_int64">
      <doc xml:space="preserve">Calculates the greatest common divisor of @a
and @b.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">Greatest common divisor of @a and @b</doc>
        <type name="gint64" c:type="gint64"/>
      </return-value>
      <parameters>
        <parameter name="a" transfer-ownership="none">
          <doc xml:space="preserve">First value as #gint64</doc>
          <type name="gint64" c:type="gint64"/>
        </parameter>
        <parameter name="b" transfer-ownership="none">
          <doc xml:space="preserve">Second value as #gint64</doc>
          <type name="gint64" c:type="gint64"/>
        </parameter>
      </parameters>
    </function>
    <function name="util_group_id_next" c:identifier="gst_util_group_id_next">
      <doc xml:space="preserve">Return a constantly incrementing group id.

This function is used to generate a new group-id for the
stream-start event.

This function never returns %GST_GROUP_ID_INVALID (which is 0)</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">A constantly incrementing unsigned integer, which might
overflow back to 0 at some point.</doc>
        <type name="guint" c:type="guint"/>
      </return-value>
    </function>
    <function name="util_guint64_to_gdouble"
              c:identifier="gst_util_guint64_to_gdouble">
      <return-value transfer-ownership="none">
        <type name="gdouble" c:type="gdouble"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <type name="guint64" c:type="guint64"/>
        </parameter>
      </parameters>
    </function>
    <function name="util_seqnum_compare"
              c:identifier="gst_util_seqnum_compare">
      <doc xml:space="preserve">Compare two sequence numbers, handling wraparound.

The current implementation just returns (gint32)(@s1 - @s2).</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">A negative number if @s1 is before @s2, 0 if they are equal, or a
positive number if @s1 is after @s2.</doc>
        <type name="gint32" c:type="gint32"/>
      </return-value>
      <parameters>
        <parameter name="s1" transfer-ownership="none">
          <doc xml:space="preserve">A sequence number.</doc>
          <type name="guint32" c:type="guint32"/>
        </parameter>
        <parameter name="s2" transfer-ownership="none">
          <doc xml:space="preserve">Another sequence number.</doc>
          <type name="guint32" c:type="guint32"/>
        </parameter>
      </parameters>
    </function>
    <function name="util_seqnum_next" c:identifier="gst_util_seqnum_next">
      <doc xml:space="preserve">Return a constantly incrementing sequence number.

This function is used internally to GStreamer to be able to determine which
events and messages are "the same". For example, elements may set the seqnum
on a segment-done message to be the same as that of the last seek event, to
indicate that event and the message correspond to the same segment.

This function never returns %GST_SEQNUM_INVALID (which is 0).</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">A constantly incrementing 32-bit unsigned integer, which might
overflow at some point. Use gst_util_seqnum_compare() to make sure
you handle wraparound correctly.</doc>
        <type name="guint32" c:type="guint32"/>
      </return-value>
    </function>
    <function name="util_set_object_arg"
              c:identifier="gst_util_set_object_arg">
      <doc xml:space="preserve">Converts the string value to the type of the objects argument and
sets the argument with it.

Note that this function silently returns if @object has no property named
@name or when @value cannot be converted to the type of the property.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="object" transfer-ownership="none">
          <doc xml:space="preserve">the object to set the argument of</doc>
          <type name="GObject.Object" c:type="GObject*"/>
        </parameter>
        <parameter name="name" transfer-ownership="none">
          <doc xml:space="preserve">the name of the argument to set</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">the string value to set</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="util_set_object_array"
              c:identifier="gst_util_set_object_array"
              version="1.12">
      <doc xml:space="preserve">Transfer a #GValueArray to %GST_TYPE_ARRAY and set this value on the
specified property name. This allow language bindings to set GST_TYPE_ARRAY
properties which are otherwise not an accessible type.</doc>
      <return-value transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="object" transfer-ownership="none">
          <doc xml:space="preserve">the object to set the array to</doc>
          <type name="GObject.Object" c:type="GObject*"/>
        </parameter>
        <parameter name="name" transfer-ownership="none">
          <doc xml:space="preserve">the name of the property to set</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="array" transfer-ownership="none">
          <doc xml:space="preserve">a #GValueArray containing the values</doc>
          <type name="GObject.ValueArray" c:type="const GValueArray*"/>
        </parameter>
      </parameters>
    </function>
    <function name="util_set_value_from_string"
              c:identifier="gst_util_set_value_from_string">
      <doc xml:space="preserve">Converts the string to the type of the value and
sets the value with it.

Note that this function is dangerous as it does not return any indication
if the conversion worked or not.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="value"
                   direction="out"
                   caller-allocates="1"
                   transfer-ownership="none">
          <doc xml:space="preserve">the value to set</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="value_str" transfer-ownership="none">
          <doc xml:space="preserve">the string to get the value from</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="util_uint64_scale" c:identifier="gst_util_uint64_scale">
      <doc xml:space="preserve">Scale @val by the rational number @num / @denom, avoiding overflows and
underflows and without loss of precision.

This function can potentially be very slow if val and num are both
greater than G_MAXUINT32.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">@val * @num / @denom.  In the case of an overflow, this
function returns G_MAXUINT64.  If the result is not exactly
representable as an integer it is truncated.  See also
gst_util_uint64_scale_round(), gst_util_uint64_scale_ceil(),
gst_util_uint64_scale_int(), gst_util_uint64_scale_int_round(),
gst_util_uint64_scale_int_ceil().</doc>
        <type name="guint64" c:type="guint64"/>
      </return-value>
      <parameters>
        <parameter name="val" transfer-ownership="none">
          <doc xml:space="preserve">the number to scale</doc>
          <type name="guint64" c:type="guint64"/>
        </parameter>
        <parameter name="num" transfer-ownership="none">
          <doc xml:space="preserve">the numerator of the scale ratio</doc>
          <type name="guint64" c:type="guint64"/>
        </parameter>
        <parameter name="denom" transfer-ownership="none">
          <doc xml:space="preserve">the denominator of the scale ratio</doc>
          <type name="guint64" c:type="guint64"/>
        </parameter>
      </parameters>
    </function>
    <function name="util_uint64_scale_ceil"
              c:identifier="gst_util_uint64_scale_ceil">
      <doc xml:space="preserve">Scale @val by the rational number @num / @denom, avoiding overflows and
underflows and without loss of precision.

This function can potentially be very slow if val and num are both
greater than G_MAXUINT32.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">@val * @num / @denom.  In the case of an overflow, this
function returns G_MAXUINT64.  If the result is not exactly
representable as an integer, it is rounded up.  See also
gst_util_uint64_scale(), gst_util_uint64_scale_round(),
gst_util_uint64_scale_int(), gst_util_uint64_scale_int_round(),
gst_util_uint64_scale_int_ceil().</doc>
        <type name="guint64" c:type="guint64"/>
      </return-value>
      <parameters>
        <parameter name="val" transfer-ownership="none">
          <doc xml:space="preserve">the number to scale</doc>
          <type name="guint64" c:type="guint64"/>
        </parameter>
        <parameter name="num" transfer-ownership="none">
          <doc xml:space="preserve">the numerator of the scale ratio</doc>
          <type name="guint64" c:type="guint64"/>
        </parameter>
        <parameter name="denom" transfer-ownership="none">
          <doc xml:space="preserve">the denominator of the scale ratio</doc>
          <type name="guint64" c:type="guint64"/>
        </parameter>
      </parameters>
    </function>
    <function name="util_uint64_scale_int"
              c:identifier="gst_util_uint64_scale_int">
      <doc xml:space="preserve">Scale @val by the rational number @num / @denom, avoiding overflows and
underflows and without loss of precision.  @num must be non-negative and
@denom must be positive.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">@val * @num / @denom.  In the case of an overflow, this
function returns G_MAXUINT64.  If the result is not exactly
representable as an integer, it is truncated.  See also
gst_util_uint64_scale_int_round(), gst_util_uint64_scale_int_ceil(),
gst_util_uint64_scale(), gst_util_uint64_scale_round(),
gst_util_uint64_scale_ceil().</doc>
        <type name="guint64" c:type="guint64"/>
      </return-value>
      <parameters>
        <parameter name="val" transfer-ownership="none">
          <doc xml:space="preserve">guint64 (such as a #GstClockTime) to scale.</doc>
          <type name="guint64" c:type="guint64"/>
        </parameter>
        <parameter name="num" transfer-ownership="none">
          <doc xml:space="preserve">numerator of the scale factor.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="denom" transfer-ownership="none">
          <doc xml:space="preserve">denominator of the scale factor.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="util_uint64_scale_int_ceil"
              c:identifier="gst_util_uint64_scale_int_ceil">
      <doc xml:space="preserve">Scale @val by the rational number @num / @denom, avoiding overflows and
underflows and without loss of precision.  @num must be non-negative and
@denom must be positive.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">@val * @num / @denom.  In the case of an overflow, this
function returns G_MAXUINT64.  If the result is not exactly
representable as an integer, it is rounded up.  See also
gst_util_uint64_scale_int(), gst_util_uint64_scale_int_round(),
gst_util_uint64_scale(), gst_util_uint64_scale_round(),
gst_util_uint64_scale_ceil().</doc>
        <type name="guint64" c:type="guint64"/>
      </return-value>
      <parameters>
        <parameter name="val" transfer-ownership="none">
          <doc xml:space="preserve">guint64 (such as a #GstClockTime) to scale.</doc>
          <type name="guint64" c:type="guint64"/>
        </parameter>
        <parameter name="num" transfer-ownership="none">
          <doc xml:space="preserve">numerator of the scale factor.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="denom" transfer-ownership="none">
          <doc xml:space="preserve">denominator of the scale factor.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="util_uint64_scale_int_round"
              c:identifier="gst_util_uint64_scale_int_round">
      <doc xml:space="preserve">Scale @val by the rational number @num / @denom, avoiding overflows and
underflows and without loss of precision.  @num must be non-negative and
@denom must be positive.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">@val * @num / @denom.  In the case of an overflow, this
function returns G_MAXUINT64.  If the result is not exactly
representable as an integer, it is rounded to the nearest integer
(half-way cases are rounded up).  See also gst_util_uint64_scale_int(),
gst_util_uint64_scale_int_ceil(), gst_util_uint64_scale(),
gst_util_uint64_scale_round(), gst_util_uint64_scale_ceil().</doc>
        <type name="guint64" c:type="guint64"/>
      </return-value>
      <parameters>
        <parameter name="val" transfer-ownership="none">
          <doc xml:space="preserve">guint64 (such as a #GstClockTime) to scale.</doc>
          <type name="guint64" c:type="guint64"/>
        </parameter>
        <parameter name="num" transfer-ownership="none">
          <doc xml:space="preserve">numerator of the scale factor.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="denom" transfer-ownership="none">
          <doc xml:space="preserve">denominator of the scale factor.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="util_uint64_scale_round"
              c:identifier="gst_util_uint64_scale_round">
      <doc xml:space="preserve">Scale @val by the rational number @num / @denom, avoiding overflows and
underflows and without loss of precision.

This function can potentially be very slow if val and num are both
greater than G_MAXUINT32.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">@val * @num / @denom.  In the case of an overflow, this
function returns G_MAXUINT64.  If the result is not exactly
representable as an integer, it is rounded to the nearest integer
(half-way cases are rounded up).  See also gst_util_uint64_scale(),
gst_util_uint64_scale_ceil(), gst_util_uint64_scale_int(),
gst_util_uint64_scale_int_round(), gst_util_uint64_scale_int_ceil().</doc>
        <type name="guint64" c:type="guint64"/>
      </return-value>
      <parameters>
        <parameter name="val" transfer-ownership="none">
          <doc xml:space="preserve">the number to scale</doc>
          <type name="guint64" c:type="guint64"/>
        </parameter>
        <parameter name="num" transfer-ownership="none">
          <doc xml:space="preserve">the numerator of the scale ratio</doc>
          <type name="guint64" c:type="guint64"/>
        </parameter>
        <parameter name="denom" transfer-ownership="none">
          <doc xml:space="preserve">the denominator of the scale ratio</doc>
          <type name="guint64" c:type="guint64"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_can_compare" c:identifier="gst_value_can_compare">
      <doc xml:space="preserve">Determines if @value1 and @value2 can be compared.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the values can be compared</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="value1" transfer-ownership="none">
          <doc xml:space="preserve">a value to compare</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
        <parameter name="value2" transfer-ownership="none">
          <doc xml:space="preserve">another value to compare</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_can_intersect"
              c:identifier="gst_value_can_intersect">
      <doc xml:space="preserve">Determines if intersecting two values will produce a valid result.
Two values will produce a valid intersection if they have the same
type.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the values can intersect</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="value1" transfer-ownership="none">
          <doc xml:space="preserve">a value to intersect</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
        <parameter name="value2" transfer-ownership="none">
          <doc xml:space="preserve">another value to intersect</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_can_subtract" c:identifier="gst_value_can_subtract">
      <doc xml:space="preserve">Checks if it's possible to subtract @subtrahend from @minuend.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if a subtraction is possible</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="minuend" transfer-ownership="none">
          <doc xml:space="preserve">the value to subtract from</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
        <parameter name="subtrahend" transfer-ownership="none">
          <doc xml:space="preserve">the value to subtract</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_can_union" c:identifier="gst_value_can_union">
      <doc xml:space="preserve">Determines if @value1 and @value2 can be non-trivially unioned.
Any two values can be trivially unioned by adding both of them
to a GstValueList.  However, certain types have the possibility
to be unioned in a simpler way.  For example, an integer range
and an integer can be unioned if the integer is a subset of the
integer range.  If there is the possibility that two values can
be unioned, this function returns %TRUE.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if there is a function allowing the two values to
be unioned.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="value1" transfer-ownership="none">
          <doc xml:space="preserve">a value to union</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
        <parameter name="value2" transfer-ownership="none">
          <doc xml:space="preserve">another value to union</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_compare" c:identifier="gst_value_compare">
      <doc xml:space="preserve">Compares @value1 and @value2.  If @value1 and @value2 cannot be
compared, the function returns GST_VALUE_UNORDERED.  Otherwise,
if @value1 is greater than @value2, GST_VALUE_GREATER_THAN is returned.
If @value1 is less than @value2, GST_VALUE_LESS_THAN is returned.
If the values are equal, GST_VALUE_EQUAL is returned.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">comparison result</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="value1" transfer-ownership="none">
          <doc xml:space="preserve">a value to compare</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
        <parameter name="value2" transfer-ownership="none">
          <doc xml:space="preserve">another value to compare</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_deserialize" c:identifier="gst_value_deserialize">
      <doc xml:space="preserve">Tries to deserialize a string into the type specified by the given GValue.
If the operation succeeds, %TRUE is returned, %FALSE otherwise.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE on success</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="dest"
                   direction="out"
                   caller-allocates="1"
                   transfer-ownership="none">
          <doc xml:space="preserve">#GValue to fill with contents of
    deserialization</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="src" transfer-ownership="none">
          <doc xml:space="preserve">string to deserialize</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_fixate" c:identifier="gst_value_fixate">
      <doc xml:space="preserve">Fixate @src into a new value @dest.
For ranges, the first element is taken. For lists and arrays, the
first item is fixated and returned.
If @src is already fixed, this function returns %FALSE.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if @dest contains a fixated version of @src.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="dest" transfer-ownership="none">
          <doc xml:space="preserve">the #GValue destination</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="src" transfer-ownership="none">
          <doc xml:space="preserve">the #GValue to fixate</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_fraction_multiply"
              c:identifier="gst_value_fraction_multiply">
      <doc xml:space="preserve">Multiplies the two #GValue items containing a #GST_TYPE_FRACTION and sets
@product to the product of the two fractions.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%FALSE in case of an error (like integer overflow), %TRUE otherwise.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="product" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to #GST_TYPE_FRACTION</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="factor1" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to #GST_TYPE_FRACTION</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
        <parameter name="factor2" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to #GST_TYPE_FRACTION</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_fraction_subtract"
              c:identifier="gst_value_fraction_subtract">
      <doc xml:space="preserve">Subtracts the @subtrahend from the @minuend and sets @dest to the result.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%FALSE in case of an error (like integer overflow), %TRUE otherwise.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="dest" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to #GST_TYPE_FRACTION</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="minuend" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to #GST_TYPE_FRACTION</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
        <parameter name="subtrahend" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to #GST_TYPE_FRACTION</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_get_bitmask" c:identifier="gst_value_get_bitmask">
      <doc xml:space="preserve">Gets the bitmask specified by @value.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the bitmask.</doc>
        <type name="guint64" c:type="guint64"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to #GST_TYPE_BITMASK</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_get_caps" c:identifier="gst_value_get_caps">
      <doc xml:space="preserve">Gets the contents of @value. The reference count of the returned
#GstCaps will not be modified, therefore the caller must take one
before getting rid of the @value.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the contents of @value</doc>
        <type name="Caps" c:type="const GstCaps*"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to GST_TYPE_CAPS</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_get_caps_features"
              c:identifier="gst_value_get_caps_features">
      <doc xml:space="preserve">Gets the contents of @value.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the contents of @value</doc>
        <type name="CapsFeatures" c:type="const GstCapsFeatures*"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to GST_TYPE_CAPS_FEATURES</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_get_double_range_max"
              c:identifier="gst_value_get_double_range_max">
      <doc xml:space="preserve">Gets the maximum of the range specified by @value.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the maximum of the range</doc>
        <type name="gdouble" c:type="gdouble"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to GST_TYPE_DOUBLE_RANGE</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_get_double_range_min"
              c:identifier="gst_value_get_double_range_min">
      <doc xml:space="preserve">Gets the minimum of the range specified by @value.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the minimum of the range</doc>
        <type name="gdouble" c:type="gdouble"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to GST_TYPE_DOUBLE_RANGE</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_get_flagset_flags"
              c:identifier="gst_value_get_flagset_flags"
              version="1.6">
      <doc xml:space="preserve">Retrieve the flags field of a GstFlagSet @value.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the flags field of the flagset instance.</doc>
        <type name="guint" c:type="guint"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to #GST_TYPE_FLAG_SET</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_get_flagset_mask"
              c:identifier="gst_value_get_flagset_mask"
              version="1.6">
      <doc xml:space="preserve">Retrieve the mask field of a GstFlagSet @value.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the mask field of the flagset instance.</doc>
        <type name="guint" c:type="guint"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to #GST_TYPE_FLAG_SET</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_get_fraction_denominator"
              c:identifier="gst_value_get_fraction_denominator">
      <doc xml:space="preserve">Gets the denominator of the fraction specified by @value.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the denominator of the fraction.</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to #GST_TYPE_FRACTION</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_get_fraction_numerator"
              c:identifier="gst_value_get_fraction_numerator">
      <doc xml:space="preserve">Gets the numerator of the fraction specified by @value.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the numerator of the fraction.</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to #GST_TYPE_FRACTION</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_get_fraction_range_max"
              c:identifier="gst_value_get_fraction_range_max">
      <doc xml:space="preserve">Gets the maximum of the range specified by @value.</doc>
      <return-value transfer-ownership="none" nullable="1">
        <doc xml:space="preserve">the maximum of the range</doc>
        <type name="GObject.Value" c:type="const GValue*"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to GST_TYPE_FRACTION_RANGE</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_get_fraction_range_min"
              c:identifier="gst_value_get_fraction_range_min">
      <doc xml:space="preserve">Gets the minimum of the range specified by @value.</doc>
      <return-value transfer-ownership="none" nullable="1">
        <doc xml:space="preserve">the minimum of the range</doc>
        <type name="GObject.Value" c:type="const GValue*"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to GST_TYPE_FRACTION_RANGE</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_get_int64_range_max"
              c:identifier="gst_value_get_int64_range_max">
      <doc xml:space="preserve">Gets the maximum of the range specified by @value.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the maximum of the range</doc>
        <type name="gint64" c:type="gint64"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to GST_TYPE_INT64_RANGE</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_get_int64_range_min"
              c:identifier="gst_value_get_int64_range_min">
      <doc xml:space="preserve">Gets the minimum of the range specified by @value.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the minimum of the range</doc>
        <type name="gint64" c:type="gint64"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to GST_TYPE_INT64_RANGE</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_get_int64_range_step"
              c:identifier="gst_value_get_int64_range_step">
      <doc xml:space="preserve">Gets the step of the range specified by @value.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the step of the range</doc>
        <type name="gint64" c:type="gint64"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to GST_TYPE_INT64_RANGE</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_get_int_range_max"
              c:identifier="gst_value_get_int_range_max">
      <doc xml:space="preserve">Gets the maximum of the range specified by @value.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the maximum of the range</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to GST_TYPE_INT_RANGE</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_get_int_range_min"
              c:identifier="gst_value_get_int_range_min">
      <doc xml:space="preserve">Gets the minimum of the range specified by @value.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the minimum of the range</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to GST_TYPE_INT_RANGE</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_get_int_range_step"
              c:identifier="gst_value_get_int_range_step">
      <doc xml:space="preserve">Gets the step of the range specified by @value.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the step of the range</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to GST_TYPE_INT_RANGE</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_get_structure"
              c:identifier="gst_value_get_structure">
      <doc xml:space="preserve">Gets the contents of @value.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the contents of @value</doc>
        <type name="Structure" c:type="const GstStructure*"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to GST_TYPE_STRUCTURE</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_init_and_copy"
              c:identifier="gst_value_init_and_copy">
      <doc xml:space="preserve">Initialises the target value to be of the same type as source and then copies
the contents from source to target.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="dest"
                   direction="out"
                   caller-allocates="1"
                   transfer-ownership="none">
          <doc xml:space="preserve">the target value</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="src" transfer-ownership="none">
          <doc xml:space="preserve">the source value</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_intersect" c:identifier="gst_value_intersect">
      <doc xml:space="preserve">Calculates the intersection of two values.  If the values have
a non-empty intersection, the value representing the intersection
is placed in @dest, unless %NULL.  If the intersection is non-empty,
@dest is not modified.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the intersection is non-empty</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="dest"
                   direction="out"
                   caller-allocates="1"
                   transfer-ownership="full"
                   optional="1"
                   allow-none="1">
          <doc xml:space="preserve">
  a uninitialized #GValue that will hold the calculated
  intersection value. May be %NULL if the resulting set if not
  needed.</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="value1" transfer-ownership="none">
          <doc xml:space="preserve">a value to intersect</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
        <parameter name="value2" transfer-ownership="none">
          <doc xml:space="preserve">another value to intersect</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_is_fixed" c:identifier="gst_value_is_fixed">
      <doc xml:space="preserve">Tests if the given GValue, if available in a GstStructure (or any other
container) contains a "fixed" (which means: one value) or an "unfixed"
(which means: multiple possible values, such as data lists or data
ranges) value.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">true if the value is "fixed".</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">the #GValue to check</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_is_subset" c:identifier="gst_value_is_subset">
      <doc xml:space="preserve">Check that @value1 is a subset of @value2.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE is @value1 is a subset of @value2</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="value1" transfer-ownership="none">
          <doc xml:space="preserve">a #GValue</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
        <parameter name="value2" transfer-ownership="none">
          <doc xml:space="preserve">a #GValue</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_register" c:identifier="gst_value_register">
      <doc xml:space="preserve">Registers functions to perform calculations on #GValue items of a given
type. Each type can only be added once.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="table" transfer-ownership="none">
          <doc xml:space="preserve">structure containing functions to register</doc>
          <type name="ValueTable" c:type="const GstValueTable*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_serialize" c:identifier="gst_value_serialize">
      <doc xml:space="preserve">tries to transform the given @value into a string representation that allows
getting back this string later on using gst_value_deserialize().

Free-function: g_free</doc>
      <return-value transfer-ownership="full" nullable="1">
        <doc xml:space="preserve">the serialization for @value
or %NULL if none exists</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a #GValue to serialize</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_set_bitmask" c:identifier="gst_value_set_bitmask">
      <doc xml:space="preserve">Sets @value to the bitmask specified by @bitmask.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to #GST_TYPE_BITMASK</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="bitmask" transfer-ownership="none">
          <doc xml:space="preserve">the bitmask</doc>
          <type name="guint64" c:type="guint64"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_set_caps" c:identifier="gst_value_set_caps">
      <doc xml:space="preserve">Sets the contents of @value to @caps. A reference to the
provided @caps will be taken by the @value.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to GST_TYPE_CAPS</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="caps" transfer-ownership="none">
          <doc xml:space="preserve">the caps to set the value to</doc>
          <type name="Caps" c:type="const GstCaps*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_set_caps_features"
              c:identifier="gst_value_set_caps_features">
      <doc xml:space="preserve">Sets the contents of @value to @features.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to GST_TYPE_CAPS_FEATURES</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="features" transfer-ownership="none">
          <doc xml:space="preserve">the features to set the value to</doc>
          <type name="CapsFeatures" c:type="const GstCapsFeatures*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_set_double_range"
              c:identifier="gst_value_set_double_range">
      <doc xml:space="preserve">Sets @value to the range specified by @start and @end.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to GST_TYPE_DOUBLE_RANGE</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="start" transfer-ownership="none">
          <doc xml:space="preserve">the start of the range</doc>
          <type name="gdouble" c:type="gdouble"/>
        </parameter>
        <parameter name="end" transfer-ownership="none">
          <doc xml:space="preserve">the end of the range</doc>
          <type name="gdouble" c:type="gdouble"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_set_flagset"
              c:identifier="gst_value_set_flagset"
              version="1.6">
      <doc xml:space="preserve">Sets @value to the flags and mask values provided in @flags and @mask.
The @flags value indicates the values of flags, the @mask represents
which bits in the flag value have been set, and which are "don't care"</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to %GST_TYPE_FLAG_SET</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="flags" transfer-ownership="none">
          <doc xml:space="preserve">The value of the flags set or unset</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
        <parameter name="mask" transfer-ownership="none">
          <doc xml:space="preserve">The mask indicate which flags bits must match for comparisons</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_set_fraction" c:identifier="gst_value_set_fraction">
      <doc xml:space="preserve">Sets @value to the fraction specified by @numerator over @denominator.
The fraction gets reduced to the smallest numerator and denominator,
and if necessary the sign is moved to the numerator.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to #GST_TYPE_FRACTION</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="numerator" transfer-ownership="none">
          <doc xml:space="preserve">the numerator of the fraction</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="denominator" transfer-ownership="none">
          <doc xml:space="preserve">the denominator of the fraction</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_set_fraction_range"
              c:identifier="gst_value_set_fraction_range">
      <doc xml:space="preserve">Sets @value to the range specified by @start and @end.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to GST_TYPE_FRACTION_RANGE</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="start" transfer-ownership="none">
          <doc xml:space="preserve">the start of the range (a GST_TYPE_FRACTION GValue)</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
        <parameter name="end" transfer-ownership="none">
          <doc xml:space="preserve">the end of the range (a GST_TYPE_FRACTION GValue)</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_set_fraction_range_full"
              c:identifier="gst_value_set_fraction_range_full">
      <doc xml:space="preserve">Sets @value to the range specified by @numerator_start/@denominator_start
and @numerator_end/@denominator_end.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to GST_TYPE_FRACTION_RANGE</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="numerator_start" transfer-ownership="none">
          <doc xml:space="preserve">the numerator start of the range</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="denominator_start" transfer-ownership="none">
          <doc xml:space="preserve">the denominator start of the range</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="numerator_end" transfer-ownership="none">
          <doc xml:space="preserve">the numerator end of the range</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="denominator_end" transfer-ownership="none">
          <doc xml:space="preserve">the denominator end of the range</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_set_int64_range"
              c:identifier="gst_value_set_int64_range">
      <doc xml:space="preserve">Sets @value to the range specified by @start and @end.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to GST_TYPE_INT64_RANGE</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="start" transfer-ownership="none">
          <doc xml:space="preserve">the start of the range</doc>
          <type name="gint64" c:type="gint64"/>
        </parameter>
        <parameter name="end" transfer-ownership="none">
          <doc xml:space="preserve">the end of the range</doc>
          <type name="gint64" c:type="gint64"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_set_int64_range_step"
              c:identifier="gst_value_set_int64_range_step">
      <doc xml:space="preserve">Sets @value to the range specified by @start, @end and @step.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to GST_TYPE_INT64_RANGE</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="start" transfer-ownership="none">
          <doc xml:space="preserve">the start of the range</doc>
          <type name="gint64" c:type="gint64"/>
        </parameter>
        <parameter name="end" transfer-ownership="none">
          <doc xml:space="preserve">the end of the range</doc>
          <type name="gint64" c:type="gint64"/>
        </parameter>
        <parameter name="step" transfer-ownership="none">
          <doc xml:space="preserve">the step of the range</doc>
          <type name="gint64" c:type="gint64"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_set_int_range"
              c:identifier="gst_value_set_int_range">
      <doc xml:space="preserve">Sets @value to the range specified by @start and @end.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to GST_TYPE_INT_RANGE</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="start" transfer-ownership="none">
          <doc xml:space="preserve">the start of the range</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="end" transfer-ownership="none">
          <doc xml:space="preserve">the end of the range</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_set_int_range_step"
              c:identifier="gst_value_set_int_range_step">
      <doc xml:space="preserve">Sets @value to the range specified by @start, @end and @step.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to GST_TYPE_INT_RANGE</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="start" transfer-ownership="none">
          <doc xml:space="preserve">the start of the range</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="end" transfer-ownership="none">
          <doc xml:space="preserve">the end of the range</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="step" transfer-ownership="none">
          <doc xml:space="preserve">the step of the range</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_set_structure"
              c:identifier="gst_value_set_structure">
      <doc xml:space="preserve">Sets the contents of @value to @structure.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">a GValue initialized to GST_TYPE_STRUCTURE</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="structure" transfer-ownership="none">
          <doc xml:space="preserve">the structure to set the value to</doc>
          <type name="Structure" c:type="const GstStructure*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_subtract" c:identifier="gst_value_subtract">
      <doc xml:space="preserve">Subtracts @subtrahend from @minuend and stores the result in @dest.
Note that this means subtraction as in sets, not as in mathematics.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the subtraction is not empty</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="dest"
                   direction="out"
                   caller-allocates="1"
                   transfer-ownership="none"
                   optional="1"
                   allow-none="1">
          <doc xml:space="preserve">the destination value
    for the result if the subtraction is not empty. May be %NULL,
    in which case the resulting set will not be computed, which can
    give a fair speedup.</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="minuend" transfer-ownership="none">
          <doc xml:space="preserve">the value to subtract from</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
        <parameter name="subtrahend" transfer-ownership="none">
          <doc xml:space="preserve">the value to subtract</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="value_union" c:identifier="gst_value_union">
      <doc xml:space="preserve">Creates a GValue corresponding to the union of @value1 and @value2.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the union succeeded.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="dest"
                   direction="out"
                   caller-allocates="1"
                   transfer-ownership="none">
          <doc xml:space="preserve">the destination value</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="value1" transfer-ownership="none">
          <doc xml:space="preserve">a value to union</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
        <parameter name="value2" transfer-ownership="none">
          <doc xml:space="preserve">another value to union</doc>
          <type name="GObject.Value" c:type="const GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="version" c:identifier="gst_version">
      <doc xml:space="preserve">Gets the version number of the GStreamer library.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="major"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">pointer to a guint to store the major version number</doc>
          <type name="guint" c:type="guint*"/>
        </parameter>
        <parameter name="minor"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">pointer to a guint to store the minor version number</doc>
          <type name="guint" c:type="guint*"/>
        </parameter>
        <parameter name="micro"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">pointer to a guint to store the micro version number</doc>
          <type name="guint" c:type="guint*"/>
        </parameter>
        <parameter name="nano"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">pointer to a guint to store the nano version number</doc>
          <type name="guint" c:type="guint*"/>
        </parameter>
      </parameters>
    </function>
    <function name="version_string" c:identifier="gst_version_string">
      <doc xml:space="preserve">This function returns a string that is useful for describing this version
of GStreamer to the outside world: user agent strings, logging, ...</doc>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve">a newly allocated string describing this version
    of GStreamer.</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
    </function>
  </namespace>
</repository>