/usr/share/gir-1.0/GstPbutils-0.10.gir is in libgstreamer-plugins-base0.10-dev 0.10.36-1ubuntu0.2.
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 | <?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"/>
<include name="Gst" version="0.10"/>
<include name="libxml2" version="2.0"/>
<package name="gstreamer-pbutils-0.10"/>
<c:include name="gst/pbutils/codec-utils.h"/>
<c:include name="gst/pbutils/descriptions.h"/>
<c:include name="gst/pbutils/encoding-profile.h"/>
<c:include name="gst/pbutils/encoding-target.h"/>
<c:include name="gst/pbutils/gstdiscoverer.h"/>
<c:include name="gst/pbutils/gstpluginsbaseversion.h"/>
<c:include name="gst/pbutils/install-plugins.h"/>
<c:include name="gst/pbutils/missing-plugins.h"/>
<c:include name="gst/pbutils/pbutils-enumtypes.h"/>
<c:include name="gst/pbutils/pbutils.h"/>
<namespace name="GstPbutils"
version="0.10"
shared-library="libgstpbutils-0.10.so.0,libgstreamer-0.10.so.0"
c:identifier-prefixes="Gst"
c:symbol-prefixes="gst">
<alias name="DiscovererAudioInfoClass"
c:type="GstDiscovererAudioInfoClass">
<type name="Gst.MiniObjectClass" c:type="GstMiniObjectClass"/>
</alias>
<alias name="DiscovererContainerInfoClass"
c:type="GstDiscovererContainerInfoClass">
<type name="Gst.MiniObjectClass" c:type="GstMiniObjectClass"/>
</alias>
<alias name="DiscovererInfoClass" c:type="GstDiscovererInfoClass">
<type name="Gst.MiniObjectClass" c:type="GstMiniObjectClass"/>
</alias>
<alias name="DiscovererStreamInfoClass"
c:type="GstDiscovererStreamInfoClass">
<type name="Gst.MiniObjectClass" c:type="GstMiniObjectClass"/>
</alias>
<alias name="DiscovererSubtitleInfoClass"
c:type="GstDiscovererSubtitleInfoClass">
<type name="Gst.MiniObjectClass" c:type="GstMiniObjectClass"/>
</alias>
<alias name="DiscovererVideoInfoClass"
c:type="GstDiscovererVideoInfoClass">
<type name="Gst.MiniObjectClass" c:type="GstMiniObjectClass"/>
</alias>
<alias name="EncodingAudioProfileClass"
c:type="GstEncodingAudioProfileClass">
<type name="EncodingProfileClass" c:type="GstEncodingProfileClass"/>
</alias>
<alias name="EncodingContainerProfileClass"
c:type="GstEncodingContainerProfileClass">
<type name="EncodingProfileClass" c:type="GstEncodingProfileClass"/>
</alias>
<alias name="EncodingProfileClass" c:type="GstEncodingProfileClass">
<type name="Gst.MiniObjectClass" c:type="GstMiniObjectClass"/>
</alias>
<alias name="EncodingTargetClass" c:type="GstEncodingTargetClass">
<type name="Gst.MiniObjectClass" c:type="GstMiniObjectClass"/>
</alias>
<alias name="EncodingVideoProfileClass"
c:type="GstEncodingVideoProfileClass">
<type name="EncodingProfileClass" c:type="GstEncodingProfileClass"/>
</alias>
<class name="Discoverer"
c:symbol-prefix="discoverer"
c:type="GstDiscoverer"
version="0.10.31"
parent="GObject.Object"
glib:type-name="GstDiscoverer"
glib:get-type="gst_discoverer_get_type"
glib:type-struct="DiscovererClass">
<doc xml:whitespace="preserve">The #GstDiscoverer is a utility object which allows to get as much
information as possible from one or many URIs.
It provides two APIs, allowing usage in blocking or non-blocking mode.
The blocking mode just requires calling gst_discoverer_discover_uri()
with the URI one wishes to discover.
The non-blocking mode requires a running #GMainLoop in the default
#GMainContext, where one connects to the various signals, appends the
URIs to be processed (through gst_discoverer_discover_uri_async()) and then
asks for the discovery to begin (through gst_discoverer_start()).
All the information is returned in a #GstDiscovererInfo structure.</doc>
<constructor name="new"
c:identifier="gst_discoverer_new"
version="0.10.31"
throws="1">
<doc xml:whitespace="preserve">Creates a new #GstDiscoverer with the provided timeout.
If an error occurred when creating the discoverer, @err will be set
accordingly and %NULL will be returned. If @err is set, the caller must
free it when no longer needed using g_error_free().</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">The new #GstDiscoverer.</doc>
<type name="Discoverer" c:type="GstDiscoverer*"/>
</return-value>
<parameters>
<parameter name="timeout" transfer-ownership="none">
<doc xml:whitespace="preserve">timeout per file, in nanoseconds. Allowed are values between one second (#GST_SECOND) and one hour (3600 * #GST_SECOND)</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</parameter>
</parameters>
</constructor>
<virtual-method name="discovered">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="info" transfer-ownership="none">
<type name="DiscovererInfo" c:type="GstDiscovererInfo*"/>
</parameter>
<parameter name="err" transfer-ownership="none">
<type name="GLib.Error" c:type="GError*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="finished">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</virtual-method>
<virtual-method name="starting">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</virtual-method>
<method name="discover_uri"
c:identifier="gst_discoverer_discover_uri"
version="0.10.31"
throws="1">
<doc xml:whitespace="preserve">Synchronously discovers the given @uri.
A copy of @uri will be made internally, so the caller can safely g_free()
afterwards.
error occurred.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">the result of the scanning. Can be %NULL if an</doc>
<type name="DiscovererInfo" c:type="GstDiscovererInfo*"/>
</return-value>
<parameters>
<parameter name="uri" transfer-ownership="none">
<doc xml:whitespace="preserve">The URI to run on.</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
<method name="discover_uri_async"
c:identifier="gst_discoverer_discover_uri_async"
version="0.10.31">
<doc xml:whitespace="preserve">Appends the given @uri to the list of URIs to discoverer. The actual
discovery of the @uri will only take place if gst_discoverer_start() has
been called.
A copy of @uri will be made internally, so the caller can safely g_free()
afterwards.
uris, else %FALSE</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE if the @uri was successfully appended to the list of pending</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="uri" transfer-ownership="none">
<doc xml:whitespace="preserve">the URI to add.</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
<method name="start"
c:identifier="gst_discoverer_start"
version="0.10.31">
<doc xml:whitespace="preserve">Allow asynchronous discovering of URIs to take place.
A #GMainLoop must be available for #GstDiscoverer to properly work in
asynchronous mode.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</method>
<method name="stop" c:identifier="gst_discoverer_stop" version="0.10.31">
<doc xml:whitespace="preserve">Stop the discovery of any pending URIs and clears the list of
pending URIS (if any).</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</method>
<property name="timeout"
writable="1"
construct="1"
transfer-ownership="none">
<doc xml:whitespace="preserve">The duration (in nanoseconds) after which the discovery of an individual
URI will timeout.
If the discovery of a URI times out, the %GST_DISCOVERER_TIMEOUT will be
set on the result flags.</doc>
<type name="guint64"/>
</property>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv">
<type name="DiscovererPrivate" c:type="GstDiscovererPrivate*"/>
</field>
<field name="_reserved">
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
<glib:signal name="discovered" when="last">
<doc xml:whitespace="preserve">Will be emitted when all information on a URI could be discovered.</doc>
<return-value transfer-ownership="none">
<type name="none"/>
</return-value>
<parameters>
<parameter name="info" transfer-ownership="none">
<doc xml:whitespace="preserve">the results #GstDiscovererInfo</doc>
<type name="DiscovererInfo"/>
</parameter>
<parameter name="error" transfer-ownership="none">
<doc xml:whitespace="preserve">#GError, which will be non-NULL if an error occurred during discovery</doc>
<type name="GLib.Error"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="finished" when="last">
<doc xml:whitespace="preserve">Will be emitted when all pending URIs have been processed.</doc>
<return-value transfer-ownership="none">
<type name="none"/>
</return-value>
</glib:signal>
<glib:signal name="starting" when="last">
<doc xml:whitespace="preserve">Will be emitted when the discover starts analyzing the pending URIs</doc>
<return-value transfer-ownership="none">
<type name="none"/>
</return-value>
</glib:signal>
</class>
<class name="DiscovererAudioInfo"
c:symbol-prefix="discoverer_audio_info"
c:type="GstDiscovererAudioInfo"
version="0.10.31"
parent="DiscovererStreamInfo"
glib:type-name="GstDiscovererAudioInfo"
glib:get-type="gst_discoverer_audio_info_get_type"
glib:fundamental="1">
<doc xml:whitespace="preserve">#GstDiscovererStreamInfo specific to audio streams.</doc>
<method name="get_bitrate"
c:identifier="gst_discoverer_audio_info_get_bitrate"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the average or nominal bitrate of the stream in bits/second.</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="get_channels"
c:identifier="gst_discoverer_audio_info_get_channels"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the number of channels in the stream.</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="get_depth"
c:identifier="gst_discoverer_audio_info_get_depth"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the number of bits used per sample in each channel.</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="get_language"
c:identifier="gst_discoverer_audio_info_get_language"
version="0.10.36">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the language of the stream, or NULL if unknown.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
</method>
<method name="get_max_bitrate"
c:identifier="gst_discoverer_audio_info_get_max_bitrate"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the maximum bitrate of the stream in bits/second.</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="get_sample_rate"
c:identifier="gst_discoverer_audio_info_get_sample_rate"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the sample rate of the stream in Hertz.</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
</class>
<record name="DiscovererClass"
c:type="GstDiscovererClass"
glib:is-gtype-struct-for="Discoverer">
<field name="parentclass">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="finished">
<callback name="finished">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="discoverer" transfer-ownership="none">
<type name="Discoverer" c:type="GstDiscoverer*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="starting">
<callback name="starting">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="discoverer" transfer-ownership="none">
<type name="Discoverer" c:type="GstDiscoverer*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="discovered">
<callback name="discovered">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="discoverer" transfer-ownership="none">
<type name="Discoverer" c:type="GstDiscoverer*"/>
</parameter>
<parameter name="info" transfer-ownership="none">
<type name="DiscovererInfo" c:type="GstDiscovererInfo*"/>
</parameter>
<parameter name="err" transfer-ownership="none">
<type name="GLib.Error" c:type="GError*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="_reserved">
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</record>
<class name="DiscovererContainerInfo"
c:symbol-prefix="discoverer_container_info"
c:type="GstDiscovererContainerInfo"
version="0.10.31"
parent="DiscovererStreamInfo"
glib:type-name="GstDiscovererContainerInfo"
glib:get-type="gst_discoverer_container_info_get_type"
glib:fundamental="1">
<doc xml:whitespace="preserve">#GstDiscovererStreamInfo specific to container streams.</doc>
<method name="get_streams"
c:identifier="gst_discoverer_container_info_get_streams"
version="0.10.31"
introspectable="0">
<doc xml:whitespace="preserve">#GstDiscovererStreamInfo this container stream offers.
Free with gst_discoverer_stream_info_list_free() after usage.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">the list of</doc>
<type name="GLib.List" c:type="GList*">
<type name="Gst.DiscovererStreamInfo"/>
</type>
</return-value>
</method>
</class>
<class name="DiscovererInfo"
c:symbol-prefix="discoverer_info"
c:type="GstDiscovererInfo"
version="0.10.31"
parent="Gst.MiniObject"
glib:type-name="GstDiscovererInfo"
glib:get-type="gst_discoverer_info_get_type"
glib:fundamental="1">
<doc xml:whitespace="preserve">Structure containing the information of a URI analyzed by #GstDiscoverer.</doc>
<method name="copy"
c:identifier="gst_discoverer_info_copy"
introspectable="0">
<return-value>
<type name="DiscovererInfo" c:type="GstDiscovererInfo*"/>
</return-value>
</method>
<method name="get_audio_streams"
c:identifier="gst_discoverer_info_get_audio_streams"
version="0.10.31"
introspectable="0">
<doc xml:whitespace="preserve">Finds all the #GstDiscovererAudioInfo contained in @info
matching #GstDiscovererStreamInfo. The caller should free it with
gst_discoverer_stream_info_list_free().</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">A #GList of</doc>
<type name="GLib.List" c:type="GList*">
<type name="Gst.DiscovererStreamInfo"/>
</type>
</return-value>
</method>
<method name="get_container_streams"
c:identifier="gst_discoverer_info_get_container_streams"
version="0.10.31"
introspectable="0">
<doc xml:whitespace="preserve">Finds all the #GstDiscovererContainerInfo contained in @info
matching #GstDiscovererStreamInfo. The caller should free it with
gst_discoverer_stream_info_list_free().</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">A #GList of</doc>
<type name="GLib.List" c:type="GList*">
<type name="Gst.DiscovererStreamInfo"/>
</type>
</return-value>
</method>
<method name="get_duration"
c:identifier="gst_discoverer_info_get_duration"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the duration of the URI in #GstClockTime (nanoseconds).</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</return-value>
</method>
<method name="get_misc"
c:identifier="gst_discoverer_info_get_misc"
version="0.10.31">
<doc xml:whitespace="preserve">(for example: information about missing plugins). If you wish to use the
#GstStructure after the life-time of @info, you will need to copy it.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">Miscellaneous information stored as a #GstStructure</doc>
<type name="Gst.Structure" c:type="GstStructure*"/>
</return-value>
</method>
<method name="get_result"
c:identifier="gst_discoverer_info_get_result"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the result of the discovery as a #GstDiscovererResult.</doc>
<type name="DiscovererResult" c:type="GstDiscovererResult"/>
</return-value>
</method>
<method name="get_seekable"
c:identifier="gst_discoverer_info_get_seekable"
version="0.10.32">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the whether the URI is seekable.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
<method name="get_stream_info"
c:identifier="gst_discoverer_info_get_stream_info"
version="0.10.31">
<doc xml:whitespace="preserve">#GstDiscovererStreamInfo.
This structure can be traversed to see the original hierarchy. Unref with
gst_discoverer_stream_info_unref() after usage.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">the structure (or topology) of the URI as a</doc>
<type name="DiscovererStreamInfo" c:type="GstDiscovererStreamInfo*"/>
</return-value>
</method>
<method name="get_stream_list"
c:identifier="gst_discoverer_info_get_stream_list"
version="0.10.31"
introspectable="0">
<doc xml:whitespace="preserve">all streams contained in the #info. Free after usage
with gst_discoverer_stream_info_list_free().</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">the list of</doc>
<type name="GLib.List" c:type="GList*">
<type name="Gst.DiscovererStreamInfo"/>
</type>
</return-value>
</method>
<method name="get_streams"
c:identifier="gst_discoverer_info_get_streams"
version="0.10.31"
introspectable="0">
<doc xml:whitespace="preserve">Finds the #GstDiscovererStreamInfo contained in @info that match the
given @streamtype.
matching #GstDiscovererStreamInfo. The caller should free it with
gst_discoverer_stream_info_list_free().</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">A #GList of</doc>
<type name="GLib.List" c:type="GList*">
<type name="Gst.DiscovererStreamInfo"/>
</type>
</return-value>
<parameters>
<parameter name="streamtype" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GType derived from #GstDiscovererStreamInfo</doc>
<type name="GType" c:type="GType"/>
</parameter>
</parameters>
</method>
<method name="get_subtitle_streams"
c:identifier="gst_discoverer_info_get_subtitle_streams"
version="0.10.36"
introspectable="0">
<doc xml:whitespace="preserve">Finds all the #GstDiscovererSubtitleInfo contained in @info
matching #GstDiscovererStreamInfo. The caller should free it with
gst_discoverer_stream_info_list_free().</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">A #GList of</doc>
<type name="GLib.List" c:type="GList*">
<type name="Gst.DiscovererStreamInfo"/>
</type>
</return-value>
</method>
<method name="get_tags"
c:identifier="gst_discoverer_info_get_tags"
version="0.10.31">
<doc xml:whitespace="preserve">the tags after the life-time of @info, you will need to copy them.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">all tags contained in the URI. If you wish to use</doc>
<type name="Gst.TagList" c:type="GstTagList*"/>
</return-value>
</method>
<method name="get_uri"
c:identifier="gst_discoverer_info_get_uri"
version="0.10.31">
<doc xml:whitespace="preserve">Copy it if you wish to use it after the life-time of @info.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the URI to which this information corresponds to.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
</method>
<method name="get_video_streams"
c:identifier="gst_discoverer_info_get_video_streams"
version="0.10.31"
introspectable="0">
<doc xml:whitespace="preserve">Finds all the #GstDiscovererVideoInfo contained in @info
matching #GstDiscovererStreamInfo. The caller should free it with
gst_discoverer_stream_info_list_free().</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">A #GList of</doc>
<type name="GLib.List" c:type="GList*">
<type name="Gst.DiscovererStreamInfo"/>
</type>
</return-value>
</method>
</class>
<record name="DiscovererPrivate"
c:type="GstDiscovererPrivate"
disguised="1">
</record>
<enumeration name="DiscovererResult"
version="0.10.31"
glib:type-name="GstDiscovererResult"
glib:get-type="gst_discoverer_result_get_type"
c:type="GstDiscovererResult">
<doc xml:whitespace="preserve">Result values for the discovery process.</doc>
<member name="ok"
value="0"
c:identifier="GST_DISCOVERER_OK"
glib:nick="ok"/>
<member name="uri_invalid"
value="1"
c:identifier="GST_DISCOVERER_URI_INVALID"
glib:nick="uri-invalid"/>
<member name="error"
value="2"
c:identifier="GST_DISCOVERER_ERROR"
glib:nick="error"/>
<member name="timeout"
value="3"
c:identifier="GST_DISCOVERER_TIMEOUT"
glib:nick="timeout"/>
<member name="busy"
value="4"
c:identifier="GST_DISCOVERER_BUSY"
glib:nick="busy"/>
<member name="missing_plugins"
value="5"
c:identifier="GST_DISCOVERER_MISSING_PLUGINS"
glib:nick="missing-plugins"/>
</enumeration>
<class name="DiscovererStreamInfo"
c:symbol-prefix="discoverer_stream_info"
c:type="GstDiscovererStreamInfo"
version="0.10.31"
parent="Gst.MiniObject"
glib:type-name="GstDiscovererStreamInfo"
glib:get-type="gst_discoverer_stream_info_get_type"
glib:fundamental="1">
<doc xml:whitespace="preserve">Base structure for information concerning a media stream. Depending on the
stream type, one can find more media-specific information in
#GstDiscovererAudioInfo, #GstDiscovererVideoInfo, and
#GstDiscovererContainerInfo.
The #GstDiscovererStreamInfo represents the topology of the stream. Siblings
can be iterated over with gst_discoverer_stream_info_get_next() and
gst_discoverer_stream_info_get_previous(). Children (sub-streams) of a
stream can be accessed using the #GstDiscovererContainerInfo API.
As a simple example, if you run #GstDiscoverer on an AVI file with one audio
and one video stream, you will get a #GstDiscovererContainerInfo
corresponding to the AVI container, which in turn will have a
#GstDiscovererAudioInfo sub-stream and a #GstDiscovererVideoInfo sub-stream
for the audio and video streams respectively.</doc>
<function name="list_free"
c:identifier="gst_discoverer_stream_info_list_free"
introspectable="0">
<doc xml:whitespace="preserve">Decrements the reference count of all contained #GstDiscovererStreamInfo
and fress the #GList.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="infos" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GList of #GstDiscovererStreamInfo</doc>
<type name="GLib.List" c:type="GList*">
<type name="gpointer" c:type="gpointer"/>
</type>
</parameter>
</parameters>
</function>
<method name="get_caps"
c:identifier="gst_discoverer_stream_info_get_caps"
version="0.10.31">
<doc xml:whitespace="preserve">#gst_caps_unref after usage.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">the #GstCaps of the stream. Unref with</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</return-value>
</method>
<method name="get_misc"
c:identifier="gst_discoverer_stream_info_get_misc"
version="0.10.31">
<doc xml:whitespace="preserve">example codec version, profile, etc..). If you wish to use the #GstStructure
after the life-time of @info you will need to copy it.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">additional information regarding the stream (for</doc>
<type name="Gst.Structure" c:type="GstStructure*"/>
</return-value>
</method>
<method name="get_next"
c:identifier="gst_discoverer_stream_info_get_next"
version="0.10.31">
<doc xml:whitespace="preserve">for final streams.
Unref with #gst_discoverer_stream_info_unref after usage.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">the next #GstDiscovererStreamInfo in a chain. %NULL</doc>
<type name="DiscovererStreamInfo" c:type="GstDiscovererStreamInfo*"/>
</return-value>
</method>
<method name="get_previous"
c:identifier="gst_discoverer_stream_info_get_previous"
version="0.10.31">
<doc xml:whitespace="preserve">%NULL for starting points. Unref with #gst_discoverer_stream_info_unref
after usage.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">the previous #GstDiscovererStreamInfo in a chain.</doc>
<type name="DiscovererStreamInfo" c:type="GstDiscovererStreamInfo*"/>
</return-value>
</method>
<method name="get_stream_type_nick"
c:identifier="gst_discoverer_stream_info_get_stream_type_nick"
version="0.10.31">
<doc xml:whitespace="preserve">"container",...).</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">a human readable name for the stream type of the given @info (ex : "audio",</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
</method>
<method name="get_tags"
c:identifier="gst_discoverer_stream_info_get_tags"
version="0.10.31">
<doc xml:whitespace="preserve">use the tags after the life-time of @info you will need to copy them.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the tags contained in this stream. If you wish to</doc>
<type name="Gst.TagList" c:type="GstTagList*"/>
</return-value>
</method>
</class>
<class name="DiscovererSubtitleInfo"
c:symbol-prefix="discoverer_subtitle_info"
c:type="GstDiscovererSubtitleInfo"
version="0.10.36"
parent="DiscovererStreamInfo"
glib:type-name="GstDiscovererSubtitleInfo"
glib:get-type="gst_discoverer_subtitle_info_get_type"
glib:fundamental="1">
<doc xml:whitespace="preserve">#GstDiscovererStreamInfo specific to subtitle streams (this includes text and
image based ones).</doc>
<method name="get_language"
c:identifier="gst_discoverer_subtitle_info_get_language"
version="0.10.36">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the language of the stream, or NULL if unknown.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
</method>
</class>
<class name="DiscovererVideoInfo"
c:symbol-prefix="discoverer_video_info"
c:type="GstDiscovererVideoInfo"
version="0.10.31"
parent="DiscovererStreamInfo"
glib:type-name="GstDiscovererVideoInfo"
glib:get-type="gst_discoverer_video_info_get_type"
glib:fundamental="1">
<doc xml:whitespace="preserve">#GstDiscovererStreamInfo specific to video streams (this includes images).</doc>
<method name="get_bitrate"
c:identifier="gst_discoverer_video_info_get_bitrate"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the average or nominal bitrate of the video stream in bits/second.</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="get_depth"
c:identifier="gst_discoverer_video_info_get_depth"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the depth in bits of the video stream.</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="get_framerate_denom"
c:identifier="gst_discoverer_video_info_get_framerate_denom"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the framerate of the video stream (denominator).</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="get_framerate_num"
c:identifier="gst_discoverer_video_info_get_framerate_num"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the framerate of the video stream (numerator).</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="get_height"
c:identifier="gst_discoverer_video_info_get_height"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the height of the video stream in pixels.</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="get_max_bitrate"
c:identifier="gst_discoverer_video_info_get_max_bitrate"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the maximum bitrate of the video stream in bits/second.</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="get_par_denom"
c:identifier="gst_discoverer_video_info_get_par_denom"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the Pixel Aspect Ratio (PAR) of the video stream (denominator).</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="get_par_num"
c:identifier="gst_discoverer_video_info_get_par_num"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the Pixel Aspect Ratio (PAR) of the video stream (numerator).</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="get_width"
c:identifier="gst_discoverer_video_info_get_width"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the width of the video stream in pixels.</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="is_image"
c:identifier="gst_discoverer_video_info_is_image"
version="0.10.31">
<doc xml:whitespace="preserve">one frame).</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">#TRUE if the video stream corresponds to an image (i.e. only contains</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
<method name="is_interlaced"
c:identifier="gst_discoverer_video_info_is_interlaced"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE if the stream is interlaced, else %FALSE.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
</class>
<constant name="ENCODING_CATEGORY_CAPTURE"
value="capture"
c:type="GST_ENCODING_CATEGORY_CAPTURE">
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="ENCODING_CATEGORY_DEVICE"
value="device"
c:type="GST_ENCODING_CATEGORY_DEVICE">
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="ENCODING_CATEGORY_ONLINE_SERVICE"
value="online-service"
c:type="GST_ENCODING_CATEGORY_ONLINE_SERVICE">
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="ENCODING_CATEGORY_STORAGE_EDITING"
value="storage-editing"
c:type="GST_ENCODING_CATEGORY_STORAGE_EDITING">
<type name="utf8" c:type="gchar*"/>
</constant>
<class name="EncodingAudioProfile"
c:symbol-prefix="encoding_audio_profile"
c:type="GstEncodingAudioProfile"
version="0.10.32"
parent="EncodingProfile"
glib:type-name="GstEncodingAudioProfile"
glib:get-type="gst_encoding_audio_profile_get_type"
glib:fundamental="1">
<doc xml:whitespace="preserve">Variant of #GstEncodingProfile for audio streams.</doc>
<constructor name="new"
c:identifier="gst_encoding_audio_profile_new"
version="0.10.32">
<doc xml:whitespace="preserve">Creates a new #GstEncodingAudioProfile
All provided allocatable arguments will be internally copied, so can be
safely freed/unreferenced after calling this method.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">the newly created #GstEncodingAudioProfile.</doc>
<type name="EncodingAudioProfile" c:type="GstEncodingAudioProfile*"/>
</return-value>
<parameters>
<parameter name="format" transfer-ownership="none">
<doc xml:whitespace="preserve">the #GstCaps</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
<parameter name="preset" transfer-ownership="none">
<doc xml:whitespace="preserve">the preset(s) to use on the encoder, can be #NULL</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="restriction" transfer-ownership="none">
<doc xml:whitespace="preserve">the #GstCaps used to restrict the input to the encoder, can be NULL. See gst_encoding_profile_get_restriction() for more details.</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
<parameter name="presence" transfer-ownership="none">
<doc xml:whitespace="preserve">the number of time this stream must be used. 0 means any number of times (including never)</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</constructor>
</class>
<class name="EncodingContainerProfile"
c:symbol-prefix="encoding_container_profile"
c:type="GstEncodingContainerProfile"
version="0.10.32"
parent="EncodingProfile"
glib:type-name="GstEncodingContainerProfile"
glib:get-type="gst_encoding_container_profile_get_type"
glib:fundamental="1">
<doc xml:whitespace="preserve">Encoding profiles for containers. Keeps track of a list of #GstEncodingProfile</doc>
<constructor name="new"
c:identifier="gst_encoding_container_profile_new"
version="0.10.32">
<doc xml:whitespace="preserve">Creates a new #GstEncodingContainerProfile.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">The newly created #GstEncodingContainerProfile.</doc>
<type name="EncodingContainerProfile"
c:type="GstEncodingContainerProfile*"/>
</return-value>
<parameters>
<parameter name="name" transfer-ownership="none">
<doc xml:whitespace="preserve">The name of the container profile, can be %NULL</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="description" transfer-ownership="none">
<doc xml:whitespace="preserve">The description of the container profile, can be %NULL</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="format" transfer-ownership="none">
<doc xml:whitespace="preserve">The format to use for this profile</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
<parameter name="preset" transfer-ownership="none">
<doc xml:whitespace="preserve">The preset to use for this profile</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</constructor>
<method name="add_profile"
c:identifier="gst_encoding_container_profile_add_profile"
version="0.10.32">
<doc xml:whitespace="preserve">Add a #GstEncodingProfile to the list of profiles handled by @container.
No copy of @profile will be made, if you wish to use it elsewhere after this
method you should increment its reference count.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE if the @stream was properly added, else %FALSE.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="profile" transfer-ownership="none">
<doc xml:whitespace="preserve">the #GstEncodingProfile to add.</doc>
<type name="EncodingProfile" c:type="GstEncodingProfile*"/>
</parameter>
</parameters>
</method>
<method name="contains_profile"
c:identifier="gst_encoding_container_profile_contains_profile"
version="0.10.32">
<doc xml:whitespace="preserve">Checks if @container contains a #GstEncodingProfile identical to
@profile.
to @profile, else %FALSE.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE if @container contains a #GstEncodingProfile identical</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="profile" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GstEncodingProfile</doc>
<type name="EncodingProfile" c:type="GstEncodingProfile*"/>
</parameter>
</parameters>
</method>
<method name="get_profiles"
c:identifier="gst_encoding_container_profile_get_profiles"
introspectable="0">
<return-value transfer-ownership="none">
<type name="GLib.List" c:type="GList*">
<type name="gpointer" c:type="gpointer"/>
</type>
</return-value>
</method>
</class>
<class name="EncodingProfile"
c:symbol-prefix="encoding_profile"
c:type="GstEncodingProfile"
version="0.10.32"
parent="Gst.MiniObject"
glib:type-name="GstEncodingProfile"
glib:get-type="gst_encoding_profile_get_type"
glib:fundamental="1">
<doc xml:whitespace="preserve">The opaque base class object for all encoding profiles. This contains generic
information like name, description, format and preset.</doc>
<function name="find"
c:identifier="gst_encoding_profile_find"
version="0.10.32">
<doc xml:whitespace="preserve">Find the #GstEncodingProfile with the specified name and category.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">The matching #GstEncodingProfile or %NULL.</doc>
<type name="EncodingProfile" c:type="GstEncodingProfile*"/>
</return-value>
<parameters>
<parameter name="targetname" transfer-ownership="none">
<doc xml:whitespace="preserve">The name of the target</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="profilename" transfer-ownership="none">
<doc xml:whitespace="preserve">The name of the profile</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="category" transfer-ownership="none" allow-none="1">
<doc xml:whitespace="preserve">The target category. Can be %NULL</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</function>
<function name="from_discoverer"
c:identifier="gst_encoding_profile_from_discoverer"
version="0.10.36">
<doc xml:whitespace="preserve">Creates a #GstEncodingProfile matching the formats from the given
#GstEncodingProfile. Streams other than audio or video (eg,
subtitles), are currently ignored.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">The new #GstEncodingProfile or %NULL.</doc>
<type name="EncodingProfile" c:type="GstEncodingProfile*"/>
</return-value>
<parameters>
<parameter name="info" transfer-ownership="none">
<doc xml:whitespace="preserve">The #GstDiscovererInfo to read from</doc>
<type name="DiscovererInfo" c:type="GstDiscovererInfo*"/>
</parameter>
</parameters>
</function>
<method name="get_description"
c:identifier="gst_encoding_profile_get_description"
version="0.10.32">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the description of the profile, can be %NULL.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
</method>
<method name="get_format"
c:identifier="gst_encoding_profile_get_format"
version="0.10.32">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the #GstCaps corresponding to the media format used in the profile.</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</return-value>
</method>
<method name="get_input_caps"
c:identifier="gst_encoding_profile_get_input_caps"
version="0.10.32">
<doc xml:whitespace="preserve">Computes the full output caps that this @profile will be able to consume.
when you are done with the caps.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">The full caps the given @profile can consume. Call gst_caps_unref()</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</return-value>
</method>
<method name="get_name"
c:identifier="gst_encoding_profile_get_name"
version="0.10.32">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the name of the profile, can be %NULL.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
</method>
<method name="get_presence"
c:identifier="gst_encoding_profile_get_presence"
version="0.10.32">
<doc xml:whitespace="preserve">container profile. If 0, it is not a mandatory stream.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">The number of times the profile is used in its parent</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="get_preset"
c:identifier="gst_encoding_profile_get_preset"
version="0.10.32">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the name of the #GstPreset to be used in the profile.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
</method>
<method name="get_restriction"
c:identifier="gst_encoding_profile_get_restriction"
version="0.10.32">
<doc xml:whitespace="preserve">that will be used in the profile. The fields present in restriction caps are
properties of the raw stream (that is before encoding), such as height and
width for video and depth and sampling rate for audio. Does not apply to
#GstEncodingContainerProfile (since there is no corresponding raw stream).
Can be %NULL.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">The restriction #GstCaps to apply before the encoder</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</return-value>
</method>
<method name="get_type_nick"
c:identifier="gst_encoding_profile_get_type_nick"
version="0.10.32">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the human-readable name of the type of @profile.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
</method>
<method name="is_equal"
c:identifier="gst_encoding_profile_is_equal"
version="0.10.32">
<doc xml:whitespace="preserve">Checks whether the two #GstEncodingProfile are equal</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE if @a and @b are equal, else %FALSE.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="b" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GstEncodingProfile</doc>
<type name="EncodingProfile" c:type="GstEncodingProfile*"/>
</parameter>
</parameters>
</method>
<method name="set_description"
c:identifier="gst_encoding_profile_set_description"
version="0.10.32">
<doc xml:whitespace="preserve">Set @description as the given description for the @profile. A copy of @description will be made
internally.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="description" transfer-ownership="none">
<doc xml:whitespace="preserve">the description to set on the profile</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_format"
c:identifier="gst_encoding_profile_set_format"
version="0.10.32">
<doc xml:whitespace="preserve">Sets the media format used in the profile.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="format" transfer-ownership="none">
<doc xml:whitespace="preserve">the media format to use in the profile.</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
</parameters>
</method>
<method name="set_name"
c:identifier="gst_encoding_profile_set_name"
version="0.10.32">
<doc xml:whitespace="preserve">Set @name as the given name for the @profile. A copy of @name will be made
internally.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="name" transfer-ownership="none">
<doc xml:whitespace="preserve">the name to set on the profile</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_presence"
c:identifier="gst_encoding_profile_set_presence"
version="0.10.32">
<doc xml:whitespace="preserve">Set the number of time the profile is used in its parent
container profile. If 0, it is not a mandatory stream</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="presence" transfer-ownership="none">
<doc xml:whitespace="preserve">the number of time the profile can be used</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="set_preset"
c:identifier="gst_encoding_profile_set_preset"
version="0.10.32">
<doc xml:whitespace="preserve">Sets the preset to use for the profile.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="preset" transfer-ownership="none">
<doc xml:whitespace="preserve">the element preset to use</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_restriction"
c:identifier="gst_encoding_profile_set_restriction"
version="0.10.32">
<doc xml:whitespace="preserve">Set the restriction #GstCaps to apply before the encoder
that will be used in the profile. See gst_encoding_profile_set_restriction()
for more about restrictions. Does not apply to #GstEncodingContainerProfile.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="restriction" transfer-ownership="none">
<doc xml:whitespace="preserve">the restriction to apply</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
</parameters>
</method>
</class>
<class name="EncodingTarget"
c:symbol-prefix="encoding_target"
c:type="GstEncodingTarget"
version="0.10.32"
parent="Gst.MiniObject"
glib:type-name="GstEncodingTarget"
glib:get-type="gst_encoding_target_get_type"
glib:fundamental="1">
<doc xml:whitespace="preserve">Collection of #GstEncodingProfile for a specific target or use-case.
When being stored/loaded, targets come from a specific category, like
#GST_ENCODING_CATEGORY_DEVICE.</doc>
<constructor name="new"
c:identifier="gst_encoding_target_new"
version="0.10.32"
introspectable="0">
<doc xml:whitespace="preserve">Creates a new #GstEncodingTarget.
The name and category can only consist of lowercase ASCII letters for the
first character, followed by either lowercase ASCII letters, digits or
hyphens ('-').
The @category <emphasis>should</emphasis> be one of the existing
well-defined categories, like #GST_ENCODING_CATEGORY_DEVICE, but it
<emphasis>can</emphasis> be a application or user specific category if
needed.
there was an error.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">The newly created #GstEncodingTarget or %NULL if</doc>
<type name="EncodingTarget" c:type="GstEncodingTarget*"/>
</return-value>
<parameters>
<parameter name="name" transfer-ownership="none">
<doc xml:whitespace="preserve">The name of the target.</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="category" transfer-ownership="none">
<doc xml:whitespace="preserve">The name of the category to which this @target belongs. For example: #GST_ENCODING_CATEGORY_DEVICE.</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="description" transfer-ownership="none">
<doc xml:whitespace="preserve">A description of #GstEncodingTarget in the current locale.</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="profiles" transfer-ownership="none">
<doc xml:whitespace="preserve">A #GList of #GstEncodingProfile.</doc>
<type name="GLib.List" c:type="GList*">
<type name="Gst.EncodingProfile"/>
</type>
</parameter>
</parameters>
</constructor>
<function name="load"
c:identifier="gst_encoding_target_load"
version="0.10.32"
throws="1">
<doc xml:whitespace="preserve">Searches for the #GstEncodingTarget with the given name, loads it
and returns it.
If the category name is specified only targets from that category will be
searched for.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">The #GstEncodingTarget if available, else %NULL.</doc>
<type name="EncodingTarget" c:type="GstEncodingTarget*"/>
</return-value>
<parameters>
<parameter name="name" transfer-ownership="none">
<doc xml:whitespace="preserve">the name of the #GstEncodingTarget to load.</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="category" transfer-ownership="none" allow-none="1">
<doc xml:whitespace="preserve">the name of the target category, like #GST_ENCODING_CATEGORY_DEVICE. Can be %NULL</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</function>
<function name="load_from_file"
c:identifier="gst_encoding_target_load_from_file"
version="0.10.32"
throws="1">
<doc xml:whitespace="preserve">Opens the provided file and returns the contained #GstEncodingTarget.
%NULL</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">The #GstEncodingTarget contained in the file, else</doc>
<type name="EncodingTarget" c:type="GstEncodingTarget*"/>
</return-value>
<parameters>
<parameter name="filepath" transfer-ownership="none">
<doc xml:whitespace="preserve">The file location to load the #GstEncodingTarget from</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</function>
<method name="add_profile"
c:identifier="gst_encoding_target_add_profile"
version="0.10.32">
<doc xml:whitespace="preserve">Adds the given @profile to the @target. Each added profile must have
a unique name within the profile.
The @target will steal a reference to the @profile. If you wish to use
the profile after calling this method, you should increase its reference
count.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE if the profile was added, else %FALSE.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="profile" transfer-ownership="full">
<doc xml:whitespace="preserve">the #GstEncodingProfile to add</doc>
<type name="EncodingProfile" c:type="GstEncodingProfile*"/>
</parameter>
</parameters>
</method>
<method name="get_category"
c:identifier="gst_encoding_target_get_category"
version="0.10.32">
<doc xml:whitespace="preserve">#GST_ENCODING_CATEGORY_DEVICE.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">The category of the @target. For example:</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
</method>
<method name="get_description"
c:identifier="gst_encoding_target_get_description"
version="0.10.32">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">The description of the @target.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
</method>
<method name="get_name"
c:identifier="gst_encoding_target_get_name"
version="0.10.32">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">The name of the @target.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
</method>
<method name="get_profile"
c:identifier="gst_encoding_target_get_profile"
version="0.10.32">
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">The matching #GstEncodingProfile, or %NULL.</doc>
<type name="EncodingProfile" c:type="GstEncodingProfile*"/>
</return-value>
<parameters>
<parameter name="name" transfer-ownership="none">
<doc xml:whitespace="preserve">the name of the profile to retrieve</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
<method name="get_profiles"
c:identifier="gst_encoding_target_get_profiles"
version="0.10.32"
introspectable="0">
<doc xml:whitespace="preserve">#GstEncodingProfile(s) this @target handles.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">A list of</doc>
<type name="GLib.List" c:type="GList*">
<type name="Gst.EncodingProfile"/>
</type>
</return-value>
</method>
<method name="save"
c:identifier="gst_encoding_target_save"
version="0.10.32"
throws="1">
<doc xml:whitespace="preserve">Saves the @target to a default user-local directory.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE if the target was correctly saved, else %FALSE.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
<method name="save_to_file"
c:identifier="gst_encoding_target_save_to_file"
version="0.10.32"
throws="1">
<doc xml:whitespace="preserve">Saves the @target to the provided file location.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE if the target was correctly saved, else %FALSE.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="filepath" transfer-ownership="none">
<doc xml:whitespace="preserve">the location to store the @target at.</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
</class>
<class name="EncodingVideoProfile"
c:symbol-prefix="encoding_video_profile"
c:type="GstEncodingVideoProfile"
version="0.10.32"
parent="EncodingProfile"
glib:type-name="GstEncodingVideoProfile"
glib:get-type="gst_encoding_video_profile_get_type"
glib:fundamental="1">
<doc xml:whitespace="preserve">Variant of #GstEncodingProfile for video streams, allows specifying the @pass.</doc>
<constructor name="new"
c:identifier="gst_encoding_video_profile_new"
version="0.10.32">
<doc xml:whitespace="preserve">Creates a new #GstEncodingVideoProfile
All provided allocatable arguments will be internally copied, so can be
safely freed/unreferenced after calling this method.
If you wish to control the pass number (in case of multi-pass scenarios),
please refer to the gst_encoding_video_profile_set_pass() documentation.
If you wish to use/force a constant framerate please refer to the
gst_encoding_video_profile_set_variableframerate() documentation.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">the newly created #GstEncodingVideoProfile.</doc>
<type name="EncodingVideoProfile" c:type="GstEncodingVideoProfile*"/>
</return-value>
<parameters>
<parameter name="format" transfer-ownership="none">
<doc xml:whitespace="preserve">the #GstCaps</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
<parameter name="preset" transfer-ownership="none">
<doc xml:whitespace="preserve">the preset(s) to use on the encoder, can be #NULL</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="restriction" transfer-ownership="none">
<doc xml:whitespace="preserve">the #GstCaps used to restrict the input to the encoder, can be NULL. See gst_encoding_profile_get_restriction() for more details.</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
<parameter name="presence" transfer-ownership="none">
<doc xml:whitespace="preserve">the number of time this stream must be used. 0 means any number of times (including never)</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</constructor>
<method name="get_pass"
c:identifier="gst_encoding_video_profile_get_pass"
version="0.10.32">
<doc xml:whitespace="preserve">1 for multi-pass. 0 if this is not a multi-pass profile</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">The pass number if this is part of a multi-pass profile. Starts at</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="get_variableframerate"
c:identifier="gst_encoding_video_profile_get_variableframerate"
version="0.10.32">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">Whether non-constant video framerate is allowed for encoding.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
<method name="set_pass"
c:identifier="gst_encoding_video_profile_set_pass"
version="0.10.32">
<doc xml:whitespace="preserve">Sets the pass number of this video profile. The first pass profile should have
this value set to 1. If this video profile isn't part of a multi-pass profile,
you may set it to 0 (the default value).</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="pass" transfer-ownership="none">
<doc xml:whitespace="preserve">the pass number for this profile</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="set_variableframerate"
c:identifier="gst_encoding_video_profile_set_variableframerate"
version="0.10.32">
<doc xml:whitespace="preserve">If set to %TRUE, then the incoming stream will be allowed to have non-constant
framerate. If set to %FALSE (default value), then the incoming stream will
be normalized by dropping/duplicating frames in order to produce a
constance framerate.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="variableframerate" transfer-ownership="none">
<doc xml:whitespace="preserve">a boolean</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
</class>
<record name="InstallPluginsContext"
c:type="GstInstallPluginsContext"
version="0.10.12"
glib:type-name="GstInstallPluginsContext"
glib:get-type="gst_install_plugins_context_get_type"
c:symbol-prefix="install_plugins_context">
<doc xml:whitespace="preserve">Opaque context structure for the plugin installation. Use the provided
API to set details on it.</doc>
<constructor name="new"
c:identifier="gst_install_plugins_context_new"
version="0.10.12">
<doc xml:whitespace="preserve">Creates a new #GstInstallPluginsContext.
gst_install_plugins_context_free() when no longer needed</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">a new #GstInstallPluginsContext. Free with</doc>
<type name="InstallPluginsContext"
c:type="GstInstallPluginsContext*"/>
</return-value>
</constructor>
<method name="free"
c:identifier="gst_install_plugins_context_free"
version="0.10.12">
<doc xml:whitespace="preserve">Frees a #GstInstallPluginsContext.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</method>
<method name="set_xid"
c:identifier="gst_install_plugins_context_set_xid"
version="0.10.12">
<doc xml:whitespace="preserve">This function is for X11-based applications (such as most Gtk/Qt
applications on linux/unix) only. You can use it to tell the external
installer the XID of your main application window. That way the installer
can make its own window transient to your application window during the
installation.
If set, the XID will be passed to the installer via a --transient-for=XID
command line option.
Gtk+/Gnome application should be able to obtain the XID of the top-level
window like this:
<programlisting>
##include &lt;gtk/gtk.h&gt;
##ifdef GDK_WINDOWING_X11
##include &lt;gdk/gdkx.h&gt;
##endif
...
##ifdef GDK_WINDOWING_X11
xid = GDK_WINDOW_XWINDOW (GTK_WIDGET (application_window)-&gt;window);
##endif
...
</programlisting></doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="xid" transfer-ownership="none">
<doc xml:whitespace="preserve">the XWindow ID (XID) of the top-level application</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
</record>
<callback name="InstallPluginsResultFunc"
c:type="GstInstallPluginsResultFunc"
version="0.10.12">
<doc xml:whitespace="preserve">The prototype of the callback function that will be called once the
external plugin installer program has returned. You only need to provide
a callback function if you are using the asynchronous interface.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="result" transfer-ownership="none">
<doc xml:whitespace="preserve">whether the installation of the requested plugins succeeded or not</doc>
<type name="InstallPluginsReturn" c:type="GstInstallPluginsReturn"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" closure="1">
<doc xml:whitespace="preserve">the user data passed to gst_install_plugins_async()</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
<enumeration name="InstallPluginsReturn"
version="0.10.12"
glib:type-name="GstInstallPluginsReturn"
glib:get-type="gst_install_plugins_return_get_type"
c:type="GstInstallPluginsReturn">
<doc xml:whitespace="preserve">Result codes returned by gst_install_plugins_async() and
gst_install_plugins_sync(), and also the result code passed to the
#GstInstallPluginsResultFunc specified with gst_install_plugins_async().
These codes indicate success or failure of starting an external installer
program and to what extent the requested plugins could be installed.</doc>
<member name="success"
value="0"
c:identifier="GST_INSTALL_PLUGINS_SUCCESS"
glib:nick="success"/>
<member name="not_found"
value="1"
c:identifier="GST_INSTALL_PLUGINS_NOT_FOUND"
glib:nick="not-found"/>
<member name="error"
value="2"
c:identifier="GST_INSTALL_PLUGINS_ERROR"
glib:nick="error"/>
<member name="partial_success"
value="3"
c:identifier="GST_INSTALL_PLUGINS_PARTIAL_SUCCESS"
glib:nick="partial-success"/>
<member name="user_abort"
value="4"
c:identifier="GST_INSTALL_PLUGINS_USER_ABORT"
glib:nick="user-abort"/>
<member name="crashed"
value="100"
c:identifier="GST_INSTALL_PLUGINS_CRASHED"
glib:nick="crashed"/>
<member name="invalid"
value="101"
c:identifier="GST_INSTALL_PLUGINS_INVALID"
glib:nick="invalid"/>
<member name="started_ok"
value="200"
c:identifier="GST_INSTALL_PLUGINS_STARTED_OK"
glib:nick="started-ok"/>
<member name="internal_failure"
value="201"
c:identifier="GST_INSTALL_PLUGINS_INTERNAL_FAILURE"
glib:nick="internal-failure"/>
<member name="helper_missing"
value="202"
c:identifier="GST_INSTALL_PLUGINS_HELPER_MISSING"
glib:nick="helper-missing"/>
<member name="install_in_progress"
value="203"
c:identifier="GST_INSTALL_PLUGINS_INSTALL_IN_PROGRESS"
glib:nick="install-in-progress"/>
<function name="get_name"
c:identifier="gst_install_plugins_return_get_name"
version="0.10.12">
<doc xml:whitespace="preserve">Convenience function to return the descriptive string associated
with a status code. This function returns English strings and
should not be used for user messages. It is here only to assist
in debugging.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">a descriptive string for the status code in @ret</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="ret" transfer-ownership="none">
<doc xml:whitespace="preserve">the return status code</doc>
<type name="InstallPluginsReturn"
c:type="GstInstallPluginsReturn"/>
</parameter>
</parameters>
</function>
</enumeration>
<constant name="PLUGINS_BASE_VERSION_MAJOR"
value="0"
c:type="GST_PLUGINS_BASE_VERSION_MAJOR">
<type name="gint" c:type="gint"/>
</constant>
<constant name="PLUGINS_BASE_VERSION_MICRO"
value="36"
c:type="GST_PLUGINS_BASE_VERSION_MICRO">
<type name="gint" c:type="gint"/>
</constant>
<constant name="PLUGINS_BASE_VERSION_MINOR"
value="10"
c:type="GST_PLUGINS_BASE_VERSION_MINOR">
<type name="gint" c:type="gint"/>
</constant>
<constant name="PLUGINS_BASE_VERSION_NANO"
value="0"
c:type="GST_PLUGINS_BASE_VERSION_NANO">
<type name="gint" c:type="gint"/>
</constant>
<function name="codec_utils_aac_caps_set_level_and_profile"
c:identifier="gst_codec_utils_aac_caps_set_level_and_profile"
version="0.10.31">
<doc xml:whitespace="preserve">Sets the level and profile on @caps if it can be determined from
@audio_config. See gst_codec_utils_aac_get_level() and
gst_codec_utils_aac_get_profile() for more details on the parameters.
@caps must be audio/mpeg caps with an "mpegversion" field of either 2 or 4.
If mpegversion is 4, the "base-profile" field is also set in @caps.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE if the level and profile could be set, %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="caps" transfer-ownership="none">
<doc xml:whitespace="preserve">the #GstCaps to which level and profile fields are to be added</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
<parameter name="audio_config" transfer-ownership="none">
<doc xml:whitespace="preserve">a pointer to the AudioSpecificConfig as specified in the Elementary Stream Descriptor (esds) in ISO/IEC 14496-1 (see below for a more details).</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:whitespace="preserve">Length of @audio_config in bytes</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</function>
<function name="codec_utils_aac_get_level"
c:identifier="gst_codec_utils_aac_get_level"
version="0.10.31">
<doc xml:whitespace="preserve">Determines the level of a stream as defined in ISO/IEC 14496-3. For AAC LC
streams, the constraints from the AAC audio profile are applied. For AAC
Main, LTP, SSR and others, the Main profile is used.
The @audio_config parameter follows the following format, starting from the
most significant bit of the first byte:
<itemizedlist>
<listitem><para>
Bit 0:4 contains the AudioObjectType
</para></listitem>
<listitem><para>
Bit 5:8 contains the sample frequency index (if this is 0xf, then the
next 24 bits define the actual sample frequency, and subsequent
fields are appropriately shifted).
</para></listitem>
<listitem><para>
Bit 9:12 contains the channel configuration
</para></listitem>
</itemizedlist>
<note>
HE-AAC support has not yet been implemented.
</note>
determined.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">The level as a const string and %NULL if the level could not be</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="audio_config" transfer-ownership="none">
<doc xml:whitespace="preserve">a pointer to the AudioSpecificConfig as specified in the Elementary Stream Descriptor (esds) in ISO/IEC 14496-1.</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:whitespace="preserve">Length of @audio_config in bytes</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</function>
<function name="codec_utils_aac_get_profile"
c:identifier="gst_codec_utils_aac_get_profile"
version="0.10.31">
<doc xml:whitespace="preserve">Returns the profile of the given AAC stream as a string. The profile is
determined using the AudioObjectType field which is in the first 5 bits of
@audio_config.
<note>
HE-AAC support has not yet been implemented.
</note>
determined.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">The profile as a const string and %NULL if the profile could not be</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="audio_config" transfer-ownership="none">
<doc xml:whitespace="preserve">a pointer to the AudioSpecificConfig as specified in the Elementary Stream Descriptor (esds) in ISO/IEC 14496-1 (see gst_codec_utils_aac_get_level() for a more details).</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:whitespace="preserve">Length of @audio_config in bytes</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</function>
<function name="codec_utils_aac_get_sample_rate_from_index"
c:identifier="gst_codec_utils_aac_get_sample_rate_from_index"
version="0.10.31">
<doc xml:whitespace="preserve">Translates the sample rate index found in AAC headers to the actual sample
rate.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">The sample rate if @sr_idx is valid, 0 otherwise.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<parameter name="sr_idx" transfer-ownership="none">
<doc xml:whitespace="preserve">Sample rate index as from the AudioSpecificConfig (MPEG-4 container) or ADTS frame header</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</function>
<function name="codec_utils_h264_caps_set_level_and_profile"
c:identifier="gst_codec_utils_h264_caps_set_level_and_profile"
version="0.10.31">
<doc xml:whitespace="preserve">Sets the level and profile in @caps if it can be determined from @sps. See
gst_codec_utils_h264_get_level() and gst_codec_utils_h264_get_profile()
for more details on the parameters.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE if the level and profile could be set, %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="caps" transfer-ownership="none">
<doc xml:whitespace="preserve">the #GstCaps to which the level and profile are to be added</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
<parameter name="sps" transfer-ownership="none">
<doc xml:whitespace="preserve">Pointer to the sequence parameter set for the stream.</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:whitespace="preserve">Length of the data available in @sps.</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</function>
<function name="codec_utils_h264_get_level"
c:identifier="gst_codec_utils_h264_get_level"
version="0.10.31">
<doc xml:whitespace="preserve">Converts the level indication (level_idc) in the stream's
sequence parameter set into a string. The SPS is expected to have the
same format as for gst_codec_utils_h264_get_profile().</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">The level as a const string, or %NULL if there is an error.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="sps" transfer-ownership="none">
<doc xml:whitespace="preserve">Pointer to the sequence parameter set for the stream.</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:whitespace="preserve">Length of the data available in @sps.</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</function>
<function name="codec_utils_h264_get_level_idc"
c:identifier="gst_codec_utils_h264_get_level_idc"
version="0.10.36">
<doc xml:whitespace="preserve">Transform a level string from the caps into the level_idc</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the level_idc or 0 if the level is unknown</doc>
<type name="guint8" c:type="guint8"/>
</return-value>
<parameters>
<parameter name="level" transfer-ownership="none">
<doc xml:whitespace="preserve">A level string from caps</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</function>
<function name="codec_utils_h264_get_profile"
c:identifier="gst_codec_utils_h264_get_profile"
version="0.10.31">
<doc xml:whitespace="preserve">Converts the profile indication (profile_idc) in the stream's
sequence parameter set into a string. The SPS is expected to have the
following format, as defined in the H.264 specification. The SPS is viewed
as a bitstream here, with bit 0 being the most significant bit of the first
byte.
<itemizedlist>
<listitem><para>Bit 0:7 - Profile indication</para></listitem>
<listitem><para>Bit 8 - constraint_set0_flag</para></listitem>
<listitem><para>Bit 9 - constraint_set1_flag</para></listitem>
<listitem><para>Bit 10 - constraint_set2_flag</para></listitem>
<listitem><para>Bit 11 - constraint_set3_flag</para></listitem>
<listitem><para>Bit 12 - constraint_set3_flag</para></listitem>
<listitem><para>Bit 13:15 - Reserved</para></listitem>
<listitem><para>Bit 16:24 - Level indication</para></listitem>
</itemizedlist></doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">The profile as a const string, or %NULL if there is an error.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="sps" transfer-ownership="none">
<doc xml:whitespace="preserve">Pointer to the sequence parameter set for the stream.</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:whitespace="preserve">Length of the data available in @sps.</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</function>
<function name="codec_utils_mpeg4video_caps_set_level_and_profile"
c:identifier="gst_codec_utils_mpeg4video_caps_set_level_and_profile"
version="0.10.31">
<doc xml:whitespace="preserve">Sets the level and profile in @caps if it can be determined from
@vis_obj_seq. See gst_codec_utils_mpeg4video_get_level() and
gst_codec_utils_mpeg4video_get_profile() for more details on the
parameters.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE if the level and profile could be set, %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="caps" transfer-ownership="none">
<doc xml:whitespace="preserve">the #GstCaps to which the level and profile are to be added</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
<parameter name="vis_obj_seq" transfer-ownership="none">
<doc xml:whitespace="preserve">Pointer to the visual object sequence for the stream.</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:whitespace="preserve">Length of the data available in @sps.</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</function>
<function name="codec_utils_mpeg4video_get_level"
c:identifier="gst_codec_utils_mpeg4video_get_level"
version="0.10.31">
<doc xml:whitespace="preserve">Converts the level indication in the stream's visual object sequence into
a string. @vis_obj_seq is expected to be the data following the visual
object sequence start code. Only the first byte
(profile_and_level_indication) is used.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">The level as a const string, or NULL if there is an error.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="vis_obj_seq" transfer-ownership="none">
<doc xml:whitespace="preserve">Pointer to the visual object sequence for the stream.</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:whitespace="preserve">Length of the data available in @sps.</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</function>
<function name="codec_utils_mpeg4video_get_profile"
c:identifier="gst_codec_utils_mpeg4video_get_profile"
version="0.10.31">
<doc xml:whitespace="preserve">Converts the profile indication in the stream's visual object sequence into
a string. @vis_obj_seq is expected to be the data following the visual
object sequence start code. Only the first byte
(profile_and_level_indication) is used.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">The profile as a const string, or NULL if there is an error.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="vis_obj_seq" transfer-ownership="none">
<doc xml:whitespace="preserve">Pointer to the visual object sequence for the stream.</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:whitespace="preserve">Length of the data available in @sps.</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</function>
<function name="encoding_list_all_targets"
c:identifier="gst_encoding_list_all_targets"
version="0.10.32">
<doc xml:whitespace="preserve">List all available #GstEncodingTarget for the specified category, or all categories
if @categoryname is %NULL.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">The list of #GstEncodingTarget</doc>
<type name="GLib.List" c:type="GList*">
<type name="EncodingTarget"/>
</type>
</return-value>
<parameters>
<parameter name="categoryname"
transfer-ownership="none"
allow-none="1">
<doc xml:whitespace="preserve">The category, for ex: #GST_ENCODING_CATEGORY_DEVICE. Can be %NULL.</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</function>
<function name="encoding_list_available_categories"
c:identifier="gst_encoding_list_available_categories"
version="0.10.32">
<doc xml:whitespace="preserve">Lists all #GstEncodingTarget categories present on disk.
of #GstEncodingTarget categories.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">A list</doc>
<type name="GLib.List" c:type="GList*">
<type name="utf8"/>
</type>
</return-value>
</function>
<function name="install_plugins_async"
c:identifier="gst_install_plugins_async"
version="0.10.12">
<doc xml:whitespace="preserve">Requests plugin installation without blocking. Once the plugins have been
installed or installation has failed, @func will be called with the result
of the installation and your provided @user_data pointer.
This function requires a running GLib/Gtk main loop. If you are not
running a GLib/Gtk main loop, make sure to regularly call
g_main_context_iteration(NULL,FALSE).
The installer strings that make up @detail are typically obtained by
calling gst_missing_plugin_message_get_installer_detail() on missing-plugin
messages that have been caught on a pipeline's bus or created by the
application via the provided API, such as gst_missing_element_message_new().
It is possible to request the installation of multiple missing plugins in
one go (as might be required if there is a demuxer for a certain format
installed but no suitable video decoder and no suitable audio decoder).</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">result code whether an external installer could be started</doc>
<type name="InstallPluginsReturn" c:type="GstInstallPluginsReturn"/>
</return-value>
<parameters>
<parameter name="details" transfer-ownership="none">
<doc xml:whitespace="preserve">NULL-terminated array of installer string details (see below)</doc>
<type name="utf8" c:type="gchar**"/>
</parameter>
<parameter name="ctx" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GstInstallPluginsContext, or NULL</doc>
<type name="InstallPluginsContext"
c:type="GstInstallPluginsContext*"/>
</parameter>
<parameter name="func"
transfer-ownership="none"
scope="async"
closure="3">
<doc xml:whitespace="preserve">the function to call when the installer program returns</doc>
<type name="InstallPluginsResultFunc"
c:type="GstInstallPluginsResultFunc"/>
</parameter>
<parameter name="user_data" transfer-ownership="none">
<doc xml:whitespace="preserve">the user data to pass to @func when called, or NULL</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</function>
<function name="install_plugins_installation_in_progress"
c:identifier="gst_install_plugins_installation_in_progress"
version="0.10.12">
<doc xml:whitespace="preserve">Checks whether plugin installation (initiated by this application only)
is currently in progress.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">TRUE if plugin installation is in progress, otherwise FALSE</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
</function>
<function name="install_plugins_return_get_name"
c:identifier="gst_install_plugins_return_get_name"
moved-to="InstallPluginsReturn.get_name"
version="0.10.12">
<doc xml:whitespace="preserve">Convenience function to return the descriptive string associated
with a status code. This function returns English strings and
should not be used for user messages. It is here only to assist
in debugging.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">a descriptive string for the status code in @ret</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="ret" transfer-ownership="none">
<doc xml:whitespace="preserve">the return status code</doc>
<type name="InstallPluginsReturn" c:type="GstInstallPluginsReturn"/>
</parameter>
</parameters>
</function>
<function name="install_plugins_supported"
c:identifier="gst_install_plugins_supported"
version="0.10.15">
<doc xml:whitespace="preserve">Checks whether plugin installation is likely to be supported by the
current environment. This currently only checks whether the helper script
that is to be provided by the distribution or operating system vendor
exists.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">TRUE if plugin installation is likely to be supported.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
</function>
<function name="install_plugins_sync"
c:identifier="gst_install_plugins_sync"
version="0.10.12">
<doc xml:whitespace="preserve">Requests plugin installation and block until the plugins have been
installed or installation has failed.
This function should almost never be used, it only exists for cases where
a non-GLib main loop is running and the user wants to run it in a separate
thread and marshal the result back asynchronously into the main thread
using the other non-GLib main loop. You should almost always use
gst_install_plugins_async() instead of this function.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the result of the installation.</doc>
<type name="InstallPluginsReturn" c:type="GstInstallPluginsReturn"/>
</return-value>
<parameters>
<parameter name="details" transfer-ownership="none">
<doc xml:whitespace="preserve">NULL-terminated array of installer string details</doc>
<type name="utf8" c:type="gchar**"/>
</parameter>
<parameter name="ctx" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GstInstallPluginsContext, or NULL</doc>
<type name="InstallPluginsContext"
c:type="GstInstallPluginsContext*"/>
</parameter>
</parameters>
</function>
<function name="is_missing_plugin_message"
c:identifier="gst_is_missing_plugin_message">
<doc xml:whitespace="preserve">Checks whether @msg is a missing plugins message.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE if @msg is a missing-plugins message, otherwise %FALSE.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="msg" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GstMessage</doc>
<type name="Gst.Message" c:type="GstMessage*"/>
</parameter>
</parameters>
</function>
<function name="missing_decoder_installer_detail_new"
c:identifier="gst_missing_decoder_installer_detail_new"
version="0.10.15">
<doc xml:whitespace="preserve">Returns an opaque string containing all the details about the missing
element to be passed to an external installer called via
gst_install_plugins_async() or gst_install_plugins_sync().
This function is mainly for applications that call external plugin
installation mechanisms using one of the two above-mentioned functions in
the case where the application knows exactly what kind of plugin it is
missing.
with g_free() when not needed any longer.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">a newly-allocated detail string, or NULL on error. Free string</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="decode_caps" transfer-ownership="none">
<doc xml:whitespace="preserve">the (fixed) caps for which a decoder element is needed</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
</parameters>
</function>
<function name="missing_decoder_message_new"
c:identifier="gst_missing_decoder_message_new">
<doc xml:whitespace="preserve">Creates a missing-plugin message for @element to notify the application
that a decoder element for a particular set of (fixed) caps is missing.
This function is mainly for use in plugins.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">a new #GstMessage, or NULL on error</doc>
<type name="Gst.Message" c:type="GstMessage*"/>
</return-value>
<parameters>
<parameter name="element" transfer-ownership="none">
<doc xml:whitespace="preserve">the #GstElement posting the message</doc>
<type name="Gst.Element" c:type="GstElement*"/>
</parameter>
<parameter name="decode_caps" transfer-ownership="none">
<doc xml:whitespace="preserve">the (fixed) caps for which a decoder element is needed</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
</parameters>
</function>
<function name="missing_element_installer_detail_new"
c:identifier="gst_missing_element_installer_detail_new"
version="0.10.15">
<doc xml:whitespace="preserve">Returns an opaque string containing all the details about the missing
element to be passed to an external installer called via
gst_install_plugins_async() or gst_install_plugins_sync().
This function is mainly for applications that call external plugin
installation mechanisms using one of the two above-mentioned functions in
the case where the application knows exactly what kind of plugin it is
missing.
with g_free() when not needed any longer.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">a newly-allocated detail string, or NULL on error. Free string</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="factory_name" transfer-ownership="none">
<doc xml:whitespace="preserve">the name of the missing element (element factory), e.g. "videoscale" or "cdparanoiasrc"</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</function>
<function name="missing_element_message_new"
c:identifier="gst_missing_element_message_new">
<doc xml:whitespace="preserve">Creates a missing-plugin message for @element to notify the application
that a certain required element is missing. This function is mainly for
use in plugins.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">a new #GstMessage, or NULL on error</doc>
<type name="Gst.Message" c:type="GstMessage*"/>
</return-value>
<parameters>
<parameter name="element" transfer-ownership="none">
<doc xml:whitespace="preserve">the #GstElement posting the message</doc>
<type name="Gst.Element" c:type="GstElement*"/>
</parameter>
<parameter name="factory_name" transfer-ownership="none">
<doc xml:whitespace="preserve">the name of the missing element (element factory), e.g. "videoscale" or "cdparanoiasrc"</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</function>
<function name="missing_encoder_installer_detail_new"
c:identifier="gst_missing_encoder_installer_detail_new"
version="0.10.15">
<doc xml:whitespace="preserve">Returns an opaque string containing all the details about the missing
element to be passed to an external installer called via
gst_install_plugins_async() or gst_install_plugins_sync().
This function is mainly for applications that call external plugin
installation mechanisms using one of the two above-mentioned functions in
the case where the application knows exactly what kind of plugin it is
missing.
with g_free() when not needed any longer.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">a newly-allocated detail string, or NULL on error. Free string</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="encode_caps" transfer-ownership="none">
<doc xml:whitespace="preserve">the (fixed) caps for which an encoder element is needed</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
</parameters>
</function>
<function name="missing_encoder_message_new"
c:identifier="gst_missing_encoder_message_new">
<doc xml:whitespace="preserve">Creates a missing-plugin message for @element to notify the application
that an encoder element for a particular set of (fixed) caps is missing.
This function is mainly for use in plugins.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">a new #GstMessage, or NULL on error</doc>
<type name="Gst.Message" c:type="GstMessage*"/>
</return-value>
<parameters>
<parameter name="element" transfer-ownership="none">
<doc xml:whitespace="preserve">the #GstElement posting the message</doc>
<type name="Gst.Element" c:type="GstElement*"/>
</parameter>
<parameter name="encode_caps" transfer-ownership="none">
<doc xml:whitespace="preserve">the (fixed) caps for which an encoder element is needed</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
</parameters>
</function>
<function name="missing_plugin_message_get_description"
c:identifier="gst_missing_plugin_message_get_description">
<doc xml:whitespace="preserve">Returns a localised string describing the missing feature, for use in
error dialogs and the like. Should never return NULL unless @msg is not
a valid missing-plugin message.
This function is mainly for applications that need a human-readable string
describing a missing plugin, given a previously collected missing-plugin
message
string with g_free() when not needed any longer.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">a newly-allocated description string, or NULL on error. Free</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="msg" transfer-ownership="none">
<doc xml:whitespace="preserve">a missing-plugin #GstMessage of type #GST_MESSAGE_ELEMENT</doc>
<type name="Gst.Message" c:type="GstMessage*"/>
</parameter>
</parameters>
</function>
<function name="missing_plugin_message_get_installer_detail"
c:identifier="gst_missing_plugin_message_get_installer_detail">
<doc xml:whitespace="preserve">Returns an opaque string containing all the details about the missing
element to be passed to an external installer called via
gst_install_plugins_async() or gst_install_plugins_sync().
This function is mainly for applications that call external plugin
installation mechanisms using one of the two above-mentioned functions.
with g_free() when not needed any longer.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">a newly-allocated detail string, or NULL on error. Free string</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="msg" transfer-ownership="none">
<doc xml:whitespace="preserve">a missing-plugin #GstMessage of type #GST_MESSAGE_ELEMENT</doc>
<type name="Gst.Message" c:type="GstMessage*"/>
</parameter>
</parameters>
</function>
<function name="missing_uri_sink_installer_detail_new"
c:identifier="gst_missing_uri_sink_installer_detail_new"
version="0.10.15">
<doc xml:whitespace="preserve">Returns an opaque string containing all the details about the missing
element to be passed to an external installer called via
gst_install_plugins_async() or gst_install_plugins_sync().
This function is mainly for applications that call external plugin
installation mechanisms using one of the two above-mentioned functions in
the case where the application knows exactly what kind of plugin it is
missing.
with g_free() when not needed any longer.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">a newly-allocated detail string, or NULL on error. Free string</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="protocol" transfer-ownership="none">
<doc xml:whitespace="preserve">the URI protocol the missing source needs to implement, e.g. "http" or "mms"</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</function>
<function name="missing_uri_sink_message_new"
c:identifier="gst_missing_uri_sink_message_new">
<doc xml:whitespace="preserve">Creates a missing-plugin message for @element to notify the application
that a sink element for a particular URI protocol is missing. This
function is mainly for use in plugins.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">a new #GstMessage, or NULL on error</doc>
<type name="Gst.Message" c:type="GstMessage*"/>
</return-value>
<parameters>
<parameter name="element" transfer-ownership="none">
<doc xml:whitespace="preserve">the #GstElement posting the message</doc>
<type name="Gst.Element" c:type="GstElement*"/>
</parameter>
<parameter name="protocol" transfer-ownership="none">
<doc xml:whitespace="preserve">the URI protocol the missing sink needs to implement, e.g. "http" or "smb"</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</function>
<function name="missing_uri_source_installer_detail_new"
c:identifier="gst_missing_uri_source_installer_detail_new"
version="0.10.15">
<doc xml:whitespace="preserve">Returns an opaque string containing all the details about the missing
element to be passed to an external installer called via
gst_install_plugins_async() or gst_install_plugins_sync().
This function is mainly for applications that call external plugin
installation mechanisms using one of the two above-mentioned functions in
the case where the application knows exactly what kind of plugin it is
missing.
with g_free() when not needed any longer.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">a newly-allocated detail string, or NULL on error. Free string</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="protocol" transfer-ownership="none">
<doc xml:whitespace="preserve">the URI protocol the missing source needs to implement, e.g. "http" or "mms"</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</function>
<function name="missing_uri_source_message_new"
c:identifier="gst_missing_uri_source_message_new">
<doc xml:whitespace="preserve">Creates a missing-plugin message for @element to notify the application
that a source element for a particular URI protocol is missing. This
function is mainly for use in plugins.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">a new #GstMessage, or NULL on error</doc>
<type name="Gst.Message" c:type="GstMessage*"/>
</return-value>
<parameters>
<parameter name="element" transfer-ownership="none">
<doc xml:whitespace="preserve">the #GstElement posting the message</doc>
<type name="Gst.Element" c:type="GstElement*"/>
</parameter>
<parameter name="protocol" transfer-ownership="none">
<doc xml:whitespace="preserve">the URI protocol the missing source needs to implement, e.g. "http" or "mms"</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</function>
<function name="pb_utils_add_codec_description_to_tag_list"
c:identifier="gst_pb_utils_add_codec_description_to_tag_list">
<doc xml:whitespace="preserve">Adds a codec tag describing the format specified by @caps to @taglist.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">TRUE if a codec tag was added, FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="taglist" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GstTagList</doc>
<type name="Gst.TagList" c:type="GstTagList*"/>
</parameter>
<parameter name="codec_tag" transfer-ownership="none">
<doc xml:whitespace="preserve">a GStreamer codec tag such as #GST_TAG_AUDIO_CODEC, #GST_TAG_VIDEO_CODEC or #GST_TAG_CODEC</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="caps" transfer-ownership="none">
<doc xml:whitespace="preserve">the (fixed) #GstCaps for which a codec tag should be added.</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
</parameters>
</function>
<function name="pb_utils_get_codec_description"
c:identifier="gst_pb_utils_get_codec_description">
<doc xml:whitespace="preserve">Returns a localised (as far as this is possible) string describing the
media format specified in @caps, for use in error dialogs or other messages
to be seen by the user. Should never return NULL unless @caps is invalid.
Also see the convenience function
gst_pb_utils_add_codec_description_to_tag_list().
string with g_free() when not needed any longer.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">a newly-allocated description string, or NULL on error. Free</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="caps" transfer-ownership="none">
<doc xml:whitespace="preserve">the (fixed) #GstCaps for which an format description is needed</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
</parameters>
</function>
<function name="pb_utils_get_decoder_description"
c:identifier="gst_pb_utils_get_decoder_description">
<doc xml:whitespace="preserve">Returns a localised string describing an decoder for the format specified
in @caps, for use in error dialogs or other messages to be seen by the user.
Should never return NULL unless @factory_name or @caps are invalid.
This function is mainly for internal use, applications would typically
use gst_missing_plugin_message_get_description() to get a description of
a missing feature from a missing-plugin message.
string with g_free() when not needed any longer.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">a newly-allocated description string, or NULL on error. Free</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="caps" transfer-ownership="none">
<doc xml:whitespace="preserve">the (fixed) #GstCaps for which an decoder description is needed</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
</parameters>
</function>
<function name="pb_utils_get_element_description"
c:identifier="gst_pb_utils_get_element_description">
<doc xml:whitespace="preserve">Returns a localised string describing the given element, for use in
error dialogs or other messages to be seen by the user. Should never
return NULL unless @factory_name is invalid.
This function is mainly for internal use, applications would typically
use gst_missing_plugin_message_get_description() to get a description of
a missing feature from a missing-plugin message.
string with g_free() when not needed any longer.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">a newly-allocated description string, or NULL on error. Free</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="factory_name" transfer-ownership="none">
<doc xml:whitespace="preserve">the name of the element, e.g. "gnomevfssrc"</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</function>
<function name="pb_utils_get_encoder_description"
c:identifier="gst_pb_utils_get_encoder_description">
<doc xml:whitespace="preserve">Returns a localised string describing an encoder for the format specified
in @caps, for use in error dialogs or other messages to be seen by the user.
Should never return NULL unless @factory_name or @caps are invalid.
This function is mainly for internal use, applications would typically
use gst_missing_plugin_message_get_description() to get a description of
a missing feature from a missing-plugin message.
string with g_free() when not needed any longer.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">a newly-allocated description string, or NULL on error. Free</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="caps" transfer-ownership="none">
<doc xml:whitespace="preserve">the (fixed) #GstCaps for which an encoder description is needed</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
</parameters>
</function>
<function name="pb_utils_get_sink_description"
c:identifier="gst_pb_utils_get_sink_description">
<doc xml:whitespace="preserve">Returns a localised string describing a sink element handling the protocol
specified in @protocol, for use in error dialogs or other messages to be
seen by the user. Should never return NULL unless @protocol is invalid.
This function is mainly for internal use, applications would typically
use gst_missing_plugin_message_get_description() to get a description of
a missing feature from a missing-plugin message.
string with g_free() when not needed any longer.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">a newly-allocated description string, or NULL on error. Free</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="protocol" transfer-ownership="none">
<doc xml:whitespace="preserve">the protocol the sink element needs to handle, e.g. "http"</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</function>
<function name="pb_utils_get_source_description"
c:identifier="gst_pb_utils_get_source_description">
<doc xml:whitespace="preserve">Returns a localised string describing a source element handling the protocol
specified in @protocol, for use in error dialogs or other messages to be
seen by the user. Should never return NULL unless @protocol is invalid.
This function is mainly for internal use, applications would typically
use gst_missing_plugin_message_get_description() to get a description of
a missing feature from a missing-plugin message.
string with g_free() when not needed any longer.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">a newly-allocated description string, or NULL on error. Free</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="protocol" transfer-ownership="none">
<doc xml:whitespace="preserve">the protocol the source element needs to handle, e.g. "http"</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</function>
<function name="pb_utils_init"
c:identifier="gst_pb_utils_init"
version="0.10.12">
<doc xml:whitespace="preserve">Initialises the base utils support library. This function is not
thread-safe. Applications should call it after calling gst_init(),
plugins should call it from their plugin_init function.
This function may be called multiple times. It will do nothing if the
library has already been initialised.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</function>
<function name="plugins_base_version"
c:identifier="gst_plugins_base_version"
version="0.10.31">
<doc xml:whitespace="preserve">Gets the version number of the GStreamer Plugins Base libraries.</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:whitespace="preserve">pointer to a guint to store the major version number, or %NULL</doc>
<type name="guint" c:type="guint*"/>
</parameter>
<parameter name="minor"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:whitespace="preserve">pointer to a guint to store the minor version number, or %NULL</doc>
<type name="guint" c:type="guint*"/>
</parameter>
<parameter name="micro"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:whitespace="preserve">pointer to a guint to store the micro version number, or %NULL</doc>
<type name="guint" c:type="guint*"/>
</parameter>
<parameter name="nano"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:whitespace="preserve">pointer to a guint to store the nano version number, or %NULL</doc>
<type name="guint" c:type="guint*"/>
</parameter>
</parameters>
</function>
<function name="plugins_base_version_string"
c:identifier="gst_plugins_base_version_string"
version="0.10.31">
<doc xml:whitespace="preserve">This function returns a string that is useful for describing this version
of GStreamer's gst-plugins-base libraries to the outside world: user agent
strings, logging, about dialogs ...</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">a newly allocated string describing this version of gst-plugins-base</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
</function>
</namespace>
</repository>
|