Compare commits
323 Commits
gstreamer-
...
main
Author | SHA1 | Date | |
---|---|---|---|
|
4417183bae | ||
|
581e72a23e | ||
|
feb6e1602a | ||
|
822bef51f0 | ||
|
5c4bf60c94 | ||
|
09cf44aa13 | ||
|
d273b790e1 | ||
|
e72e9a95d8 | ||
|
e627d02171 | ||
|
c5f9d4073f | ||
|
c14b135861 | ||
|
cedeef3cb1 | ||
|
7fe08e057c | ||
|
3df63a079c | ||
|
99aba78c88 | ||
|
75cf21d834 | ||
|
68815a3a15 | ||
|
50cad4a7fa | ||
|
d0b2e6cb68 | ||
|
8ff0a1c132 | ||
|
1fb633368e | ||
|
500f9b60af | ||
|
5521af04f8 | ||
|
2a44248bcd | ||
|
66b35a984d | ||
|
7b8d4c0974 | ||
|
00dfff821a | ||
|
515bf888a9 | ||
|
78a44afc22 | ||
|
f0e1591111 | ||
|
0201423142 | ||
|
da9365176b | ||
|
c3d2209c1f | ||
|
9754f31fdb | ||
|
e10b460ed4 | ||
|
60d9ad038c | ||
|
31660c3ad2 | ||
|
635e0ad5c1 | ||
|
9a04896293 | ||
|
8eb5e3771b | ||
|
a61ce97e48 | ||
|
a74bda813b | ||
|
73ef16864e | ||
|
98e8d3a127 | ||
|
4c6a0b655d | ||
|
e4d5cece28 | ||
|
32eaa0ae35 | ||
|
0ba85c84a1 | ||
|
331a381c66 | ||
|
099b8825a7 | ||
|
ac49baabb6 | ||
|
2dc485823c | ||
|
feb3df61a7 | ||
|
c796abbf0a | ||
|
707024f940 | ||
|
1383140c5c | ||
|
938a7a0de0 | ||
|
47308092dd | ||
|
571f32eec0 | ||
|
328b6bc55d | ||
|
8f627b1f9c | ||
|
7ffbb1ce34 | ||
|
34efd430e4 | ||
|
6072e54666 | ||
|
1c3bc57d00 | ||
|
bd3c267adb | ||
|
8099c7e186 | ||
|
daae2c18a4 | ||
|
6fc32cbe0e | ||
|
749987be2b | ||
|
5658683881 | ||
|
5fc7340a70 | ||
|
9e3d251c23 | ||
|
25cf5262dd | ||
|
c941ded4ba | ||
|
05782229ee | ||
|
5c188d90c0 | ||
|
ba05421ab2 | ||
|
1688d2c410 | ||
|
ceb1e6cd33 | ||
|
6c9f9761ad | ||
|
08143e9967 | ||
|
3968dd92a5 | ||
|
d33107226c | ||
|
19a330dba0 | ||
|
74f84484a2 | ||
|
46e13bca06 | ||
|
6ecf12f019 | ||
|
f6efbbfa2f | ||
|
6877ca4d62 | ||
|
f3b077ff9a | ||
|
c6fb458a3e | ||
|
c5520a7cae | ||
|
9fa7f8b001 | ||
|
8a30c6b13b | ||
|
cba7ce1228 | ||
|
118e66f59d | ||
|
137044195d | ||
|
45443603f8 | ||
|
8687ef453c | ||
|
98d8bb9a12 | ||
|
cd6d2f16a6 | ||
|
18db5538a0 | ||
|
d98df47e53 | ||
|
2b18846e39 | ||
|
f575fe763c | ||
|
ae4d505fe0 | ||
|
3ecb07c674 | ||
|
fec61cc546 | ||
|
af5cce9968 | ||
|
a6e58f7331 | ||
|
bb50741b73 | ||
|
cf2b1909ec | ||
|
ea577da12e | ||
|
08c56f3e2d | ||
|
6432f6a1f2 | ||
|
c03a5b0c1b | ||
|
818feea0b5 | ||
|
17d271057a | ||
|
9dc21492a3 | ||
|
d68f472683 | ||
|
faa912a31d | ||
|
ba8fd35e72 | ||
|
a332a411b7 | ||
|
a8e11cec9a | ||
|
ebaf87cd17 | ||
|
39cb7b38e7 | ||
|
11dccf43e0 | ||
|
bf05a050e9 | ||
|
af2b6b4c38 | ||
|
17474ebbb2 | ||
|
a9f5362ff7 | ||
|
19e35473f0 | ||
|
d3658eef72 | ||
|
80072383c5 | ||
|
42741ce897 | ||
|
0c0b4ad6d0 | ||
|
e4f60e44ee | ||
|
4fb0a06271 | ||
|
38ca8ae156 | ||
|
9d91e4cfc2 | ||
|
e81d0124da | ||
|
5867c7900a | ||
|
4d87ffb8f3 | ||
|
111c0a4186 | ||
|
f13c757696 | ||
|
ffed473992 | ||
|
38499c949d | ||
|
bef18d47cf | ||
|
7d45eca2ce | ||
|
0172e47a79 | ||
|
cff1d1962b | ||
|
d5995b9302 | ||
|
6833932e92 | ||
|
c2a4c3a53a | ||
|
20904a1b92 | ||
|
700b665bf7 | ||
|
57e8dbfeb4 | ||
|
ec60daa66d | ||
|
7f4282481e | ||
|
da2e67d5d8 | ||
|
d437e92049 | ||
|
ee59564d5c | ||
|
864068c045 | ||
|
14f833fdcf | ||
|
380a947155 | ||
|
ee0f2a0bb2 | ||
|
4f43ecc7c0 | ||
|
999c43ada1 | ||
|
86ef06ddff | ||
|
ba87e0112f | ||
|
9f4f543bf7 | ||
|
f9941b135f | ||
|
d40619ddbe | ||
|
fff260f1aa | ||
|
7f8b27837c | ||
|
737f653e7c | ||
|
5c16c8f0c1 | ||
|
f18123ea15 | ||
|
b461115699 | ||
|
352a8a8b12 | ||
|
d71d26d901 | ||
|
7a14b9020c | ||
|
1b023dee2e | ||
|
7c8a5cd28d | ||
|
ef7829b6ad | ||
|
8d4a6a7d64 | ||
|
82e6c1c640 | ||
|
4cf598bcf3 | ||
|
6bcf0e3276 | ||
|
16d34468fb | ||
|
b9a5efbe07 | ||
|
14d4c249ad | ||
|
128710caab | ||
|
fcf9f9ea06 | ||
|
2a26b0e75c | ||
|
80d9214747 | ||
|
5db574fc35 | ||
|
9b295cf7a2 | ||
|
f600959f3b | ||
|
c3d8347c81 | ||
|
834b702e66 | ||
|
e8e1430a5b | ||
|
4fa01d5e4c | ||
|
43e3796d7d | ||
|
a7c92cbcab | ||
|
b8f8e4391c | ||
|
b416aa9b8f | ||
|
92e91c25b5 | ||
|
48cbdf73a5 | ||
|
2c39756b24 | ||
|
39a39f0077 | ||
|
c4d2f6e87a | ||
|
1fdfab27a3 | ||
|
10ae8136be | ||
|
28d97212c5 | ||
|
7288b034ac | ||
|
1ae7ab03d9 | ||
|
e2f07cf314 | ||
|
50c5191179 | ||
|
eeb27f1c71 | ||
|
a03c4de48f | ||
|
df46cfcb28 | ||
|
b05a498187 | ||
|
036801222f | ||
|
37a57b57e6 | ||
|
d0e18d6353 | ||
|
b33ba2f264 | ||
|
bdf22740fe | ||
|
33f58f9da7 | ||
|
67cafe5999 | ||
|
068385e83f | ||
|
e3ae573651 | ||
|
c3f4b6bdaf | ||
|
df662b5904 | ||
|
7c7832fee1 | ||
|
e68eb7bb23 | ||
|
476bd6109e | ||
|
c8a802772c | ||
|
fe7cb2e5b1 | ||
|
9920897c4a | ||
|
953bc7cd0e | ||
|
bf87ad72e4 | ||
|
3f0808a910 | ||
|
55bf8d3903 | ||
|
c3f4bb532c | ||
|
420b32b953 | ||
|
2df08440fe | ||
|
72433cb942 | ||
|
d1f43f781a | ||
|
8c7ad20e4e | ||
|
cb67f760f0 | ||
|
239c0eb5f8 | ||
|
1c8b01ccbc | ||
|
24bcff5650 | ||
|
ece3a0c976 | ||
|
90902d36dd | ||
|
b144375974 | ||
|
80a23d7132 | ||
|
185e96aeec | ||
|
93af941ce7 | ||
|
37629385d0 | ||
|
9adf26cfd1 | ||
|
20739fa673 | ||
|
295c409115 | ||
|
68cf7a0df1 | ||
|
bdf39c3270 | ||
|
3450050b1a | ||
|
ed75968ff5 | ||
|
55e9e3cb13 | ||
|
42e31ee5ef | ||
|
e887b2e20e | ||
|
4c4e80d286 | ||
|
e649072584 | ||
|
c4bfa73391 | ||
|
db17f54253 | ||
|
2aa7dcd715 | ||
|
f9cd0f0d9b | ||
|
5ce342f8fd | ||
|
ca44d76c4f | ||
|
b9c3e7c162 | ||
|
17cf7226f4 | ||
|
2ce8a1aea9 | ||
|
22a83c8db6 | ||
|
1d014e6146 | ||
|
741d1e5039 | ||
|
a2793a4663 | ||
|
ba44f0c9e0 | ||
|
f110f9c290 | ||
|
ffaa4bbb38 | ||
|
7212848e41 | ||
|
bf24ca6d29 | ||
|
9ffab2199d | ||
|
a59810ef97 | ||
|
c48ba1ae10 | ||
|
4066b145b6 | ||
|
28fdf598e4 | ||
|
880053c52c | ||
|
f6115efe8d | ||
|
d1b4104cbc | ||
|
4fc8773371 | ||
|
a591dec87c | ||
|
8c017c79c5 | ||
|
4e0a184c2a | ||
|
1a55ae2c51 | ||
|
70af47ee17 | ||
|
9b19c10f39 | ||
|
d2086675a4 | ||
|
be63900324 | ||
|
75517d0faf | ||
|
98bcd041d1 | ||
|
601c772447 | ||
|
4718fc9be7 | ||
|
ac465ebfe1 | ||
|
b088d53970 | ||
|
19dea1507e | ||
|
aa15eb30ff | ||
|
0017384ae2 | ||
|
883ff6caaa | ||
|
d9bbfc27fd | ||
|
740b7564ee | ||
|
deee13a6c3 | ||
|
1bd5afa460 |
.devcontainer
.gitlab-ci.yml.gitlab-image-tags.yml.indent_cpp_list.pre-commit-config.yamlci
docker
checks
debian
fedora
windows
gitlab
scripts
girs
Gst-1.0.girGstAllocators-1.0.girGstAnalytics-1.0.girGstApp-1.0.girGstBase-1.0.girGstGL-1.0.girGstMse-1.0.girGstVideo-1.0.girGstWebRTC-1.0.gir
meson.buildmeson.optionsscripts
subprojects
fontconfig.wrapglib-networking.wrapgobject-introspection.wrapmeson.options
gst-devtools
dots-viewer
.gitignorebundle-entry.jsmeson.buildpackage-lock.jsonpackage.json
meson.optionsstatic
update_vendored.shwebpack.config.jsvalidate
gst-docs
examples/tutorials/xcode iOS
Tutorial 1
Tutorial 2
Tutorial 3
Tutorial 4
Tutorial 5
markdown
additional/design
installing
symbols
gst-editing-services/ges
ges-asset.cges-audio-track.cges-audio-uri-source.cges-clip-asset.cges-clip.cges-container.cges-effect-clip.cges-group.cges-image-source.cges-layer.cges-marker-list.cges-meta-container.cges-multi-file-source.cges-project.cges-test-clip.cges-text-overlay-clip.cges-timeline-element.cges-timeline.cges-title-clip.cges-track-element-asset.cges-track-element.cges-track.cges-transition-clip.cges-uri-asset.cges-uri-clip.cges-video-transition.c
35
.devcontainer/devcontainer.json
Normal file
35
.devcontainer/devcontainer.json
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
{
|
||||||
|
"name": "GStreamer Dev Toolbox",
|
||||||
|
"image": "registry.freedesktop.org/gstreamer/gstreamer/amd64/fedora:gst-toolbox-main",
|
||||||
|
"containerUser": "containeruser",
|
||||||
|
"remoteUser": "containeruser",
|
||||||
|
"postCreateCommand": ["python3", "${containerWorkspaceFolder}/ci/scripts/handle-subprojects-cache.py" ,"--cache-dir", "/subprojects", "subprojects/"],
|
||||||
|
"privileged": false,
|
||||||
|
"capAdd": [ "SYS_PTRACE" ],
|
||||||
|
"customizations": {
|
||||||
|
"vscode": {
|
||||||
|
"settings": {
|
||||||
|
"files.watcherExclude": {
|
||||||
|
"**/target/**": true
|
||||||
|
},
|
||||||
|
"[python]": {
|
||||||
|
"editor.defaultFormatter": "charliermarsh.ruff"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"extensions": [
|
||||||
|
"charliermarsh.ruff",
|
||||||
|
"GitLab.gitlab-workflow",
|
||||||
|
"mesonbuild.mesonbuild",
|
||||||
|
"ms-python.mypy-type-checker",
|
||||||
|
"ms-python.pylint",
|
||||||
|
"ms-python.python",
|
||||||
|
"ms-vscode.cpptools",
|
||||||
|
"redhat.vscode-xml",
|
||||||
|
"redhat.vscode-yaml",
|
||||||
|
"rust-lang.rust-analyzer",
|
||||||
|
"tamasfe.even-better-toml",
|
||||||
|
"vadimcn.vscode-lldb"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -72,6 +72,13 @@ variables:
|
|||||||
-Dgstreamer-sharp:werror=false
|
-Dgstreamer-sharp:werror=false
|
||||||
-Ddoc=disabled
|
-Ddoc=disabled
|
||||||
|
|
||||||
|
# Our gitlab instance and runner are using a proxy and have
|
||||||
|
# trouble with the normal fetch. git itself handles the proxy
|
||||||
|
# more reliably.
|
||||||
|
#
|
||||||
|
# https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli
|
||||||
|
CARGO_NET_GIT_FETCH_WITH_CLI: true
|
||||||
|
|
||||||
FF_TIMESTAMPS: true
|
FF_TIMESTAMPS: true
|
||||||
|
|
||||||
# Can set this as part of a schedule pipeline to test the gtk4 build if desired
|
# Can set this as part of a schedule pipeline to test the gtk4 build if desired
|
||||||
@ -138,7 +145,7 @@ trigger:
|
|||||||
FDO_DISTRIBUTION_VERSION: '40'
|
FDO_DISTRIBUTION_VERSION: '40'
|
||||||
FDO_REPO_SUFFIX: "$FEDORA_AMD64_SUFFIX"
|
FDO_REPO_SUFFIX: "$FEDORA_AMD64_SUFFIX"
|
||||||
FDO_DISTRIBUTION_TAG: "$FEDORA_TAG-$GST_UPSTREAM_BRANCH"
|
FDO_DISTRIBUTION_TAG: "$FEDORA_TAG-$GST_UPSTREAM_BRANCH"
|
||||||
FDO_DISTRIBUTION_EXEC: 'GIT_BRANCH=$CI_COMMIT_REF_NAME GIT_URL=$CI_REPOSITORY_URL bash ci/docker/fedora/prepare.sh'
|
FDO_DISTRIBUTION_EXEC: 'bash ci/docker/fedora/prepare.sh'
|
||||||
|
|
||||||
.fedora fluster image:
|
.fedora fluster image:
|
||||||
variables:
|
variables:
|
||||||
@ -192,7 +199,7 @@ fedora amd64 toolbox:
|
|||||||
FDO_DISTRIBUTION_VERSION: '12'
|
FDO_DISTRIBUTION_VERSION: '12'
|
||||||
FDO_REPO_SUFFIX: "$DEBIAN_AMD64_SUFFIX"
|
FDO_REPO_SUFFIX: "$DEBIAN_AMD64_SUFFIX"
|
||||||
FDO_DISTRIBUTION_TAG: "$DEBIAN_TAG-$GST_UPSTREAM_BRANCH"
|
FDO_DISTRIBUTION_TAG: "$DEBIAN_TAG-$GST_UPSTREAM_BRANCH"
|
||||||
FDO_DISTRIBUTION_EXEC: 'GIT_BRANCH=$CI_COMMIT_REF_NAME GIT_URL=$CI_REPOSITORY_URL bash ci/docker/debian/prepare.sh'
|
FDO_DISTRIBUTION_EXEC: 'bash ci/docker/debian/prepare.sh'
|
||||||
|
|
||||||
debian amd64 docker:
|
debian amd64 docker:
|
||||||
extends:
|
extends:
|
||||||
@ -258,7 +265,7 @@ windows amd64 docker:
|
|||||||
FDO_BASE_IMAGE: '$CI_REGISTRY_IMAGE/$FDO_REPO_SUFFIX:$FEDORA_TAG-$GST_UPSTREAM_BRANCH'
|
FDO_BASE_IMAGE: '$CI_REGISTRY_IMAGE/$FDO_REPO_SUFFIX:$FEDORA_TAG-$GST_UPSTREAM_BRANCH'
|
||||||
FDO_DISTRIBUTION_TAG: "abi-check-$ABI_CHECK_TAG-$GST_UPSTREAM_BRANCH"
|
FDO_DISTRIBUTION_TAG: "abi-check-$ABI_CHECK_TAG-$GST_UPSTREAM_BRANCH"
|
||||||
FDO_DISTRIBUTION_PACKAGES: 'libabigail'
|
FDO_DISTRIBUTION_PACKAGES: 'libabigail'
|
||||||
FDO_DISTRIBUTION_EXEC: 'GIT_BRANCH=$CI_COMMIT_REF_NAME GIT_URL=$CI_REPOSITORY_URL bash ci/docker/abi-check/prepare.sh'
|
FDO_DISTRIBUTION_EXEC: 'bash ci/docker/abi-check/prepare.sh'
|
||||||
ABI_CHECK_CACHE: '/abi-check-cache'
|
ABI_CHECK_CACHE: '/abi-check-cache'
|
||||||
|
|
||||||
abi-check docker:
|
abi-check docker:
|
||||||
@ -547,6 +554,9 @@ build vs2022 amd64:
|
|||||||
variables:
|
variables:
|
||||||
# FIXME: https://github.com/mesonbuild/meson/pull/11007
|
# FIXME: https://github.com/mesonbuild/meson/pull/11007
|
||||||
PKG_CONFIG: ${CI_PROJECT_DIR}/subprojects/win-pkgconfig/pkg-config.exe
|
PKG_CONFIG: ${CI_PROJECT_DIR}/subprojects/win-pkgconfig/pkg-config.exe
|
||||||
|
# Work around Meson issues if this env var contains characters that
|
||||||
|
# cannot be represented in the active code page (e.g. CP1252)
|
||||||
|
CI_COMMIT_AUTHOR: null
|
||||||
|
|
||||||
build vs2022 amd64 full-static:
|
build vs2022 amd64 full-static:
|
||||||
extends: ".build windows"
|
extends: ".build windows"
|
||||||
@ -563,6 +573,9 @@ build vs2022 amd64 full-static:
|
|||||||
-Dlibav=disabled
|
-Dlibav=disabled
|
||||||
-Ddoc=disabled
|
-Ddoc=disabled
|
||||||
-Dgst-full-target-type=static_library
|
-Dgst-full-target-type=static_library
|
||||||
|
# Work around Meson issues if this env var contains characters that
|
||||||
|
# cannot be represented in the active code page (e.g. CP1252)
|
||||||
|
CI_COMMIT_AUTHOR: null
|
||||||
|
|
||||||
.build windows cross:
|
.build windows cross:
|
||||||
extends: '.build windows'
|
extends: '.build windows'
|
||||||
|
@ -5,12 +5,12 @@ variables:
|
|||||||
# If you are hacking on them or need a them to rebuild, its enough
|
# If you are hacking on them or need a them to rebuild, its enough
|
||||||
# to change any part of the string of the image you want.
|
# to change any part of the string of the image you want.
|
||||||
###
|
###
|
||||||
FEDORA_TAG: '2025-03-13.0'
|
FEDORA_TAG: '2025-05-23.0'
|
||||||
|
|
||||||
DEBIAN_TAG: '2025-02-23.0'
|
DEBIAN_TAG: '2025-05-23.0'
|
||||||
|
|
||||||
CHECKS_TAG: '2025-02-04.0'
|
CHECKS_TAG: '2025-02-04.0'
|
||||||
|
|
||||||
ABI_CHECK_TAG: '2025-04-01.0'
|
ABI_CHECK_TAG: '2025-04-17.0'
|
||||||
|
|
||||||
WINDOWS_TAG: '2025-02-23.0'
|
WINDOWS_TAG: '2025-04-15.0'
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
subprojects/gst-plugins-bad/ext/nvcomp
|
subprojects/gst-plugins-bad/ext/nvcomp
|
||||||
subprojects/gst-plugins-bad/ext/nvdswrapper
|
subprojects/gst-plugins-bad/ext/nvdswrapper
|
||||||
subprojects/gst-plugins-bad/ext/qt6d3d11
|
subprojects/gst-plugins-bad/ext/qt6d3d11
|
||||||
|
subprojects/gst-plugins-bad/ext/wpe2
|
||||||
subprojects/gst-plugins-bad/gst-libs/gst/cuda
|
subprojects/gst-plugins-bad/gst-libs/gst/cuda
|
||||||
subprojects/gst-plugins-bad/gst-libs/gst/d3d11
|
subprojects/gst-plugins-bad/gst-libs/gst/d3d11
|
||||||
subprojects/gst-plugins-bad/gst-libs/gst/d3d12
|
subprojects/gst-plugins-bad/gst-libs/gst/d3d12
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
# Notes:
|
||||||
|
# - Python commands must be prefixed with `python` because pre-commit refuses to
|
||||||
|
# special-case shebangs on Windows where `python3` does not commonly exists.
|
||||||
|
# Luckily, the `python` command exists in the virtualenv created by pre-commit
|
||||||
|
# on all platforms. https://github.com/pre-commit/pre-commit/issues/3415,
|
||||||
|
# https://github.com/pre-commit/pre-commit/issues/3468
|
||||||
|
|
||||||
fail_fast: false
|
fail_fast: false
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/jorisroovers/gitlint
|
- repo: https://github.com/jorisroovers/gitlint
|
||||||
@ -16,7 +23,7 @@ repos:
|
|||||||
- id: gst-indent
|
- id: gst-indent
|
||||||
name: gst-indent
|
name: gst-indent
|
||||||
language: python
|
language: python
|
||||||
entry: ./scripts/gst-indent-all.py
|
entry: python ./scripts/gst-indent-all.py
|
||||||
pass_filenames: false
|
pass_filenames: false
|
||||||
types_or: ["c", "c++"]
|
types_or: ["c", "c++"]
|
||||||
additional_dependencies: ["gst-indent==1.0.0"]
|
additional_dependencies: ["gst-indent==1.0.0"]
|
||||||
@ -30,6 +37,6 @@ repos:
|
|||||||
- id: doc-checks
|
- id: doc-checks
|
||||||
name: doc-checks
|
name: doc-checks
|
||||||
language: python
|
language: python
|
||||||
entry: ./scripts/git-hooks/pre-commit-python.hook
|
entry: python ./scripts/git-hooks/pre-commit-python.hook
|
||||||
pass_filenames: false
|
pass_filenames: false
|
||||||
additional_dependencies: ["autopep8==2.3.2", "pycodestyle==2.12.1"]
|
additional_dependencies: ["autopep8==2.3.2", "pycodestyle==2.12.1"]
|
||||||
|
@ -33,8 +33,8 @@ python3 -m pip install pre-commit==3.6.0
|
|||||||
python3 -m pip install gitlint
|
python3 -m pip install gitlint
|
||||||
|
|
||||||
# Install Rust
|
# Install Rust
|
||||||
RUSTUP_VERSION=1.27.1
|
RUSTUP_VERSION=1.28.1
|
||||||
RUST_VERSION=1.85.0
|
RUST_VERSION=1.86.0
|
||||||
RUST_ARCH="x86_64-unknown-linux-gnu"
|
RUST_ARCH="x86_64-unknown-linux-gnu"
|
||||||
|
|
||||||
RUSTUP_URL=https://static.rust-lang.org/rustup/archive/$RUSTUP_VERSION/$RUST_ARCH/rustup-init
|
RUSTUP_URL=https://static.rust-lang.org/rustup/archive/$RUSTUP_VERSION/$RUST_ARCH/rustup-init
|
||||||
@ -49,7 +49,7 @@ chmod +x rustup-init;
|
|||||||
rm rustup-init;
|
rm rustup-init;
|
||||||
chmod -R a+w $RUSTUP_HOME $CARGO_HOME
|
chmod -R a+w $RUSTUP_HOME $CARGO_HOME
|
||||||
|
|
||||||
cargo install cargo-c --version 0.10.11+cargo-0.86.0 --locked
|
cargo install cargo-c --version 0.10.12+cargo-0.87.0 --locked
|
||||||
|
|
||||||
rustup --version
|
rustup --version
|
||||||
cargo --version
|
cargo --version
|
||||||
|
@ -7,6 +7,6 @@ apt install -y $(<./ci/docker/debian/deps.txt)
|
|||||||
|
|
||||||
apt remove -y rustc cargo
|
apt remove -y rustc cargo
|
||||||
|
|
||||||
pip3 install --break-system-packages meson==1.5.2 hotdoc python-gitlab tomli junitparser
|
pip3 install --break-system-packages meson==1.7.2 hotdoc python-gitlab tomli junitparser
|
||||||
|
|
||||||
apt clean all
|
apt clean all
|
||||||
|
@ -10,4 +10,9 @@ bash ./ci/scripts/install-rust.sh
|
|||||||
git config --global user.email "gstreamer@gstreamer.net"
|
git config --global user.email "gstreamer@gstreamer.net"
|
||||||
git config --global user.name "Gstbuild Runner"
|
git config --global user.name "Gstbuild Runner"
|
||||||
|
|
||||||
|
bash ./ci/scripts/create-container-user.sh
|
||||||
|
|
||||||
bash ./ci/scripts/create-subprojects-cache.sh
|
bash ./ci/scripts/create-subprojects-cache.sh
|
||||||
|
|
||||||
|
# leftover caches
|
||||||
|
rm -rf /root/.cache /root/.npm
|
||||||
|
@ -28,7 +28,7 @@ dnf install -y glib2-doc gdk-pixbuf2-devel gtk3-devel-docs gtk4-devel-docs libso
|
|||||||
# Make sure we don't end up installing these from some transient dependency
|
# Make sure we don't end up installing these from some transient dependency
|
||||||
dnf remove -y "gstreamer1*-devel" rust cargo meson 'fdk-aac-free*'
|
dnf remove -y "gstreamer1*-devel" rust cargo meson 'fdk-aac-free*'
|
||||||
|
|
||||||
pip3 install meson==1.5.2 python-gitlab tomli junitparser bs4
|
pip3 install meson==1.7.2 python-gitlab tomli junitparser bs4
|
||||||
pip3 install git+https://github.com/hotdoc/hotdoc.git@8c1cc997f5bc16e068710a8a8121f79ac25cbcce
|
pip3 install git+https://github.com/hotdoc/hotdoc.git@8c1cc997f5bc16e068710a8a8121f79ac25cbcce
|
||||||
|
|
||||||
# Install most debug symbols, except the big ones from things we use
|
# Install most debug symbols, except the big ones from things we use
|
||||||
|
@ -10,4 +10,9 @@ git config --global user.name "Gstbuild Runner"
|
|||||||
|
|
||||||
bash ./ci/scripts/install-rust.sh
|
bash ./ci/scripts/install-rust.sh
|
||||||
|
|
||||||
|
bash ./ci/scripts/create-container-user.sh
|
||||||
|
|
||||||
bash ./ci/scripts/create-subprojects-cache.sh
|
bash ./ci/scripts/create-subprojects-cache.sh
|
||||||
|
|
||||||
|
# leftover caches
|
||||||
|
rm -rf /root/.cache /root/.npm
|
||||||
|
@ -61,7 +61,7 @@ RUN C:\upgrade_msys2.ps1
|
|||||||
|
|
||||||
RUN C:\msys64\msys2_shell.cmd -ucrt64 -defterm -here -no-start -use-full-path -lc 'pacman -S --noconfirm mingw-w64-ucrt-x86_64-toolchain ninja openssh'
|
RUN C:\msys64\msys2_shell.cmd -ucrt64 -defterm -here -no-start -use-full-path -lc 'pacman -S --noconfirm mingw-w64-ucrt-x86_64-toolchain ninja openssh'
|
||||||
|
|
||||||
RUN python -m pip install meson==1.5.2 python-gitlab
|
RUN python -m pip install meson==1.7.2 python-gitlab
|
||||||
|
|
||||||
RUN 'git config --global user.email "cirunner@gstreamer.freedesktop.org"; git config --global user.name "GStreamer CI system"'
|
RUN 'git config --global user.email "cirunner@gstreamer.freedesktop.org"; git config --global user.name "GStreamer CI system"'
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
|
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
|
||||||
|
|
||||||
$rust_version = '1.85.0'
|
$rust_version = '1.86.0'
|
||||||
$rustup_url = 'https://win.rustup.rs/x86_64'
|
$rustup_url = 'https://win.rustup.rs/x86_64'
|
||||||
|
|
||||||
Invoke-WebRequest -Uri $rustup_url -OutFile C:\rustup-init.exe
|
Invoke-WebRequest -Uri $rustup_url -OutFile C:\rustup-init.exe
|
||||||
|
@ -48,16 +48,23 @@ if __name__ == "__main__":
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
cerbero = None
|
cerbero = None
|
||||||
# We do not want to run on (often out of date) user upstream branch
|
# Only look for user namespace cerbero branch when running in a merge request
|
||||||
if os.environ["CI_COMMIT_REF_NAME"] != os.environ['GST_UPSTREAM_BRANCH']:
|
if "CI_MERGE_REQUEST_SOURCE_BRANCH_NAME" in os.environ:
|
||||||
try:
|
print("GStreamer monorepo merge request")
|
||||||
cerbero_name = f'{os.environ["CI_PROJECT_NAMESPACE"]}/cerbero'
|
cerbero_branch = os.environ["CI_MERGE_REQUEST_SOURCE_BRANCH_NAME"]
|
||||||
cerbero_branch = os.environ["CI_COMMIT_REF_NAME"]
|
user_project_path = os.environ["CI_MERGE_REQUEST_SOURCE_PROJECT_PATH"]
|
||||||
cerbero = get_matching_user_project(cerbero_name, cerbero_branch)
|
user_ns = os.path.dirname(user_project_path)
|
||||||
except gitlab.exceptions.GitlabGetError:
|
cerbero_name = f'{user_ns}/cerbero'
|
||||||
pass
|
# We do not want to run on (often out of date) user upstream branch
|
||||||
|
if os.environ["CI_MERGE_REQUEST_SOURCE_BRANCH_NAME"] != os.environ["GST_UPSTREAM_BRANCH"]:
|
||||||
|
try:
|
||||||
|
cerbero = get_matching_user_project(cerbero_name, cerbero_branch)
|
||||||
|
except gitlab.exceptions.GitlabGetError as e:
|
||||||
|
print("No matching user project found: " + str(e))
|
||||||
|
pass
|
||||||
|
|
||||||
if cerbero is None:
|
if cerbero is None:
|
||||||
|
print("Using gstreamer org namespace")
|
||||||
cerbero_name = CERBERO_PROJECT
|
cerbero_name = CERBERO_PROJECT
|
||||||
cerbero_branch = os.environ["GST_UPSTREAM_BRANCH"]
|
cerbero_branch = os.environ["GST_UPSTREAM_BRANCH"]
|
||||||
cerbero = gl.projects.get(cerbero_name)
|
cerbero = gl.projects.get(cerbero_name)
|
||||||
|
@ -102,22 +102,21 @@ build_container() {
|
|||||||
buildah run $build_cntr dnf clean all
|
buildah run $build_cntr dnf clean all
|
||||||
buildah run $build_cntr rm -rf /var/lib/cache/dnf
|
buildah run $build_cntr rm -rf /var/lib/cache/dnf
|
||||||
|
|
||||||
# random uid
|
buildah config \
|
||||||
uid="10043"
|
--env RUSTUP_HOME="/usr/local/rustup" \
|
||||||
name="containeruser"
|
--env CARGO_HOME="/usr/local/cargo/" \
|
||||||
buildah run $build_cntr -- groupadd $name -g $uid
|
--env PATH="$PATH:/usr/local/cargo/bin/" \
|
||||||
buildah run $build_cntr -- useradd -u $uid -g $uid -ms /bin/bash $name
|
$build_cntr
|
||||||
|
|
||||||
buildah run $build_cntr -- usermod -aG wheel $name
|
# Install rust-analyzer so it can be used with IDEs and devcontainer
|
||||||
buildah run $build_cntr -- bash -c "echo $name ALL=\(ALL\) NOPASSWD:ALL > /etc/sudoers.d/$name"
|
buildah run $build_cntr rustup component add rust-analyzer rust-src
|
||||||
buildah run $build_cntr -- chmod 0440 /etc/sudoers.d/$name
|
|
||||||
|
|
||||||
# Remove the hardcoded HOME env var that ci-templates adds
|
# Remove the hardcoded HOME env var that ci-templates adds
|
||||||
# https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2433#note_2243222
|
# https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2433#note_2243222
|
||||||
# Also add the OCI labels that toolbox expects, to advertize that image is compatible
|
# Also add the OCI labels that toolbox expects, to advertize that image is compatible
|
||||||
# Additionally add a non-root default user
|
# Additionally add a non-root default user
|
||||||
buildah config --env HOME- \
|
buildah config --env HOME- \
|
||||||
--user $name \
|
--user containeruser \
|
||||||
--label com.github.containers.toolbox=true \
|
--label com.github.containers.toolbox=true \
|
||||||
--label org.opencontainers.image.base.name=$BASE_CI_IMAGE \
|
--label org.opencontainers.image.base.name=$BASE_CI_IMAGE \
|
||||||
$build_cntr
|
$build_cntr
|
||||||
@ -147,9 +146,13 @@ if ! check_image_base; then
|
|||||||
build_container
|
build_container
|
||||||
|
|
||||||
podman push "$TOOLBOX_IMAGE"
|
podman push "$TOOLBOX_IMAGE"
|
||||||
podman push "$TOOLBOX_LATEST"
|
if [ "$GST_UPSTREAM_BRANCH" == "$CI_COMMIT_BRANCH" ]; then
|
||||||
|
podman push "$TOOLBOX_LATEST"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Create your toolbox with either of the following commands"
|
echo "Create your toolbox with either of the following commands"
|
||||||
echo " $ toolbox create gst-toolbox --image $TOOLBOX_LATEST"
|
echo " $ toolbox create gst-$TOOLBOX_BRANCH --image $TOOLBOX_IMAGE"
|
||||||
echo " $ toolbox create gst-toolbox-$TOOLBOX_BRANCH --image $TOOLBOX_IMAGE"
|
if [ "$GST_UPSTREAM_BRANCH" == "$CI_COMMIT_BRANCH" ]; then
|
||||||
|
echo " $ toolbox create gst-$GST_UPSTREAM_BRANCH --image $TOOLBOX_LATEST"
|
||||||
|
fi
|
||||||
|
@ -22,7 +22,7 @@ if __name__ == "__main__":
|
|||||||
with open(diffname, 'w') as diff:
|
with open(diffname, 'w') as diff:
|
||||||
subprocess.check_call(['git', 'diff'], stdout=diff)
|
subprocess.check_call(['git', 'diff'], stdout=diff)
|
||||||
print(f'\033[91mYou have a diff in the {opts.name}. Please update with:\033[0m')
|
print(f'\033[91mYou have a diff in the {opts.name}. Please update with:\033[0m')
|
||||||
print(' $ curl %s/%s | git apply -' %
|
print(' $ curl -L %s/%s | git apply -' %
|
||||||
(os.environ.get('CI_ARTIFACTS_URL', "NOT_RUNNING_ON_CI"), diffname.replace('../', '')))
|
(os.environ.get('CI_ARTIFACTS_URL', "NOT_RUNNING_ON_CI"), diffname.replace('../', '')))
|
||||||
|
|
||||||
if res != 0:
|
if res != 0:
|
||||||
|
12
ci/scripts/create-container-user.sh
Normal file
12
ci/scripts/create-container-user.sh
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
set -eux
|
||||||
|
|
||||||
|
uid="10043"
|
||||||
|
name="containeruser"
|
||||||
|
groupadd $name -g $uid
|
||||||
|
useradd -u $uid -g $uid -ms /bin/bash $name
|
||||||
|
|
||||||
|
usermod -aG wheel $name || usermod -aG sudo $name
|
||||||
|
bash -c "echo $name ALL=\(ALL\) NOPASSWD:ALL > /etc/sudoers.d/$name"
|
||||||
|
chmod 0440 /etc/sudoers.d/$name
|
@ -2,11 +2,17 @@
|
|||||||
|
|
||||||
set -eux
|
set -eux
|
||||||
|
|
||||||
|
# Path where cbuild checks out the repo
|
||||||
|
cd /tmp/clone/
|
||||||
# get gstreamer and make all subprojects available
|
# get gstreamer and make all subprojects available
|
||||||
git clone -b "${GIT_BRANCH}" "${GIT_URL}" /gstreamer
|
git submodule update --init --depth=1
|
||||||
git -C /gstreamer submodule update --init --depth=1
|
meson subprojects download
|
||||||
meson subprojects download --sourcedir /gstreamer
|
./ci/scripts/handle-subprojects-cache.py --build --cache-dir /subprojects /tmp/clone/subprojects/
|
||||||
./ci/scripts/handle-subprojects-cache.py --build --cache-dir /subprojects /gstreamer/subprojects/
|
|
||||||
|
# Avoid the cache being owned by root
|
||||||
|
# and make sure its readable to anyone
|
||||||
|
chown containeruser:containeruser --recursive /subprojects/
|
||||||
|
chmod --recursive a+r /subprojects/
|
||||||
|
|
||||||
# Now remove the gstreamer clone
|
# Now remove the gstreamer clone
|
||||||
rm -rf /gstreamer
|
rm -rf /gstreamer
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
set -eux
|
set -eux
|
||||||
|
|
||||||
# Install Rust
|
# Install Rust
|
||||||
RUSTUP_VERSION=1.27.1
|
RUSTUP_VERSION=1.28.1
|
||||||
RUST_VERSION=1.85.0
|
RUST_VERSION=1.86.0
|
||||||
RUST_ARCH="x86_64-unknown-linux-gnu"
|
RUST_ARCH="x86_64-unknown-linux-gnu"
|
||||||
|
|
||||||
RUSTUP_URL=https://static.rust-lang.org/rustup/archive/$RUSTUP_VERSION/$RUST_ARCH/rustup-init
|
RUSTUP_URL=https://static.rust-lang.org/rustup/archive/$RUSTUP_VERSION/$RUST_ARCH/rustup-init
|
||||||
@ -17,9 +17,14 @@ export PATH="/usr/local/cargo/bin:$PATH"
|
|||||||
chmod +x rustup-init;
|
chmod +x rustup-init;
|
||||||
./rustup-init -y --no-modify-path --default-toolchain $RUST_VERSION;
|
./rustup-init -y --no-modify-path --default-toolchain $RUST_VERSION;
|
||||||
rm rustup-init;
|
rm rustup-init;
|
||||||
|
# We are root while creating the directory, but we want it to
|
||||||
|
# be accessible to all users
|
||||||
chmod -R a+w $RUSTUP_HOME $CARGO_HOME
|
chmod -R a+w $RUSTUP_HOME $CARGO_HOME
|
||||||
|
|
||||||
cargo install --locked cargo-c --version 0.10.11+cargo-0.86.0
|
cargo install --locked cargo-c --version 0.10.12+cargo-0.87.0
|
||||||
|
# We don't need them in the build image and they occupy
|
||||||
|
# 600mb of html files (athough they compress extremely well)
|
||||||
|
rustup component remove rust-docs
|
||||||
|
|
||||||
rustup --version
|
rustup --version
|
||||||
cargo --version
|
cargo --version
|
||||||
|
@ -2,6 +2,18 @@
|
|||||||
|
|
||||||
image_cache="${SUBPROJECTS_CACHE_DIR:-}"
|
image_cache="${SUBPROJECTS_CACHE_DIR:-}"
|
||||||
|
|
||||||
|
# Print useful metadata at the start of the build
|
||||||
|
if [[ -e "/etc/os-release" ]]; then
|
||||||
|
cat /etc/os-release
|
||||||
|
fi
|
||||||
|
|
||||||
|
whoami
|
||||||
|
id -u
|
||||||
|
id -g
|
||||||
|
date && date -u
|
||||||
|
echo $SHELL
|
||||||
|
echo $PATH
|
||||||
|
|
||||||
# On the CI image we install the rust toolcahin under this path
|
# On the CI image we install the rust toolcahin under this path
|
||||||
# If it exists set the HOME and PATH variables and print the versions
|
# If it exists set the HOME and PATH variables and print the versions
|
||||||
# of what we have installed
|
# of what we have installed
|
||||||
|
1284
girs/Gst-1.0.gir
1284
girs/Gst-1.0.gir
File diff suppressed because it is too large
Load Diff
@ -330,6 +330,43 @@ The memory is only mmapped on gst_buffer_map() request.</doc>
|
|||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
</function>
|
</function>
|
||||||
|
<function name="alloc_full" c:identifier="gst_fd_allocator_alloc_full" version="1.28">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.c">Return a %GstMemory that wraps a generic file descriptor.</doc>
|
||||||
|
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.h"/>
|
||||||
|
<return-value transfer-ownership="full" nullable="1">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.c">a GstMemory based on @allocator.
|
||||||
|
When the buffer will be released the allocator will close the @fd unless
|
||||||
|
the %GST_FD_MEMORY_FLAG_DONT_CLOSE flag is specified.
|
||||||
|
The memory is only mmapped on gst_buffer_map() request.</doc>
|
||||||
|
<type name="Gst.Memory" c:type="GstMemory*"/>
|
||||||
|
</return-value>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="allocator" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.c">allocator to be used for this memory</doc>
|
||||||
|
<type name="Gst.Allocator" c:type="GstAllocator*"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="fd" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.c">file descriptor</doc>
|
||||||
|
<type name="gint" c:type="gint"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="maxsize" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.c">the total size of the memory represented by @fd</doc>
|
||||||
|
<type name="gsize" c:type="gsize"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="offset" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.c">the offset of valid data in the memory</doc>
|
||||||
|
<type name="gsize" c:type="gsize"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="size" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.c">the size of valid data in the memory</doc>
|
||||||
|
<type name="gsize" c:type="gsize"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="flags" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstfdmemory.c">extra #GstFdMemoryFlags</doc>
|
||||||
|
<type name="FdMemoryFlags" c:type="GstFdMemoryFlags"/>
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</function>
|
||||||
<field name="parent">
|
<field name="parent">
|
||||||
<type name="Gst.Allocator" c:type="GstAllocator"/>
|
<type name="Gst.Allocator" c:type="GstAllocator"/>
|
||||||
</field>
|
</field>
|
||||||
@ -475,6 +512,10 @@ gst_shm_allocator_init_once() has not been previously called.</doc>
|
|||||||
<type name="none" c:type="void"/>
|
<type name="none" c:type="void"/>
|
||||||
</return-value>
|
</return-value>
|
||||||
</function>
|
</function>
|
||||||
|
<field name="parent_instance" version="1.28">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstshmallocator.h">Parent instance.</doc>
|
||||||
|
<type name="FdAllocator" c:type="GstFdAllocator"/>
|
||||||
|
</field>
|
||||||
</class>
|
</class>
|
||||||
<record name="ShmAllocatorClass" c:type="GstShmAllocatorClass" glib:is-gtype-struct-for="ShmAllocator">
|
<record name="ShmAllocatorClass" c:type="GstShmAllocatorClass" glib:is-gtype-struct-for="ShmAllocator">
|
||||||
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstshmallocator.h"/>
|
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/allocators/gstshmallocator.h"/>
|
||||||
|
@ -1385,6 +1385,20 @@ dimension is dynamic.</doc>
|
|||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
|
<function name="data_type_get_name" c:identifier="gst_tensor_data_type_get_name" version="1.28">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gsttensor.c">Get a string version of the data type</doc>
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gsttensor.h"/>
|
||||||
|
<return-value transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gsttensor.c">a constant string with the name of the data type</doc>
|
||||||
|
<type name="utf8" c:type="const gchar*"/>
|
||||||
|
</return-value>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="data_type" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gsttensor.c">a #GstTensorDataType</doc>
|
||||||
|
<type name="TensorDataType" c:type="GstTensorDataType"/>
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</function>
|
||||||
</record>
|
</record>
|
||||||
<enumeration name="TensorDataType" version="1.26" c:type="GstTensorDataType">
|
<enumeration name="TensorDataType" version="1.26" c:type="GstTensorDataType">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gsttensor.h">Describe the type of data contain in the tensor.</doc>
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gsttensor.h">Describe the type of data contain in the tensor.</doc>
|
||||||
@ -1481,6 +1495,25 @@ smaller than #GstTensorMeta.num_tensors</doc>
|
|||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="get_by_id" c:identifier="gst_tensor_meta_get_by_id" version="1.28">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gsttensormeta.c">Get the first tensor from the #GstTensorMeta identified by @id.</doc>
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gsttensormeta.h"/>
|
||||||
|
<return-value transfer-ownership="none" nullable="1">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gsttensormeta.c">a GstTensor with id matching @id.
|
||||||
|
Otherwise NULL will be returned.</doc>
|
||||||
|
<type name="Tensor" c:type="const GstTensor*"/>
|
||||||
|
</return-value>
|
||||||
|
<parameters>
|
||||||
|
<instance-parameter name="tmeta" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gsttensormeta.c">A #GstTensorMeta</doc>
|
||||||
|
<type name="TensorMeta" c:type="GstTensorMeta*"/>
|
||||||
|
</instance-parameter>
|
||||||
|
<parameter name="id" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gsttensormeta.c">A #GQuark identifying tensor-encoding</doc>
|
||||||
|
<type name="GLib.Quark" c:type="GQuark"/>
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
<method name="get_index_from_id" c:identifier="gst_tensor_meta_get_index_from_id" version="1.26">
|
<method name="get_index_from_id" c:identifier="gst_tensor_meta_get_index_from_id" version="1.26">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gsttensormeta.c">Finds the first tensor with the requsted ID in the meta</doc>
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gsttensormeta.c">Finds the first tensor with the requsted ID in the meta</doc>
|
||||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gsttensormeta.h"/>
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gsttensormeta.h"/>
|
||||||
@ -1724,6 +1757,94 @@ desired to track an object across many frames. This type of metadata holds
|
|||||||
information about the tracking, for example, it can be used alongside a
|
information about the tracking, for example, it can be used alongside a
|
||||||
#GstAnalyticsODMtd to track an object.</doc>
|
#GstAnalyticsODMtd to track an object.</doc>
|
||||||
</docsection>
|
</docsection>
|
||||||
|
<function name="image_util_iou_float" c:identifier="gst_analytics_image_util_iou_float" version="1.28">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalytics_image_util.c">Calculate the intersection over the union (IoU) of the two areas defined by
|
||||||
|
the bounding box 1 and bounding box 2. IoU is a measure of how much two
|
||||||
|
regions overlap.</doc>
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalytics_image_util.h"/>
|
||||||
|
<return-value transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalytics_image_util.c">IoU of bb1 and bb2.</doc>
|
||||||
|
<type name="gfloat" c:type="gfloat"/>
|
||||||
|
</return-value>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="bb1_x" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalytics_image_util.c">Bounding box 1, X coordinate</doc>
|
||||||
|
<type name="gfloat" c:type="gfloat"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="bb1_y" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalytics_image_util.c">Bounding box 1, Y coordinate</doc>
|
||||||
|
<type name="gfloat" c:type="gfloat"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="bb1_w" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalytics_image_util.c">Bounding box 1, width</doc>
|
||||||
|
<type name="gfloat" c:type="gfloat"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="bb1_h" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalytics_image_util.c">Bounding box 1, height</doc>
|
||||||
|
<type name="gfloat" c:type="gfloat"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="bb2_x" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalytics_image_util.c">Bounding box 2, X coordinate</doc>
|
||||||
|
<type name="gfloat" c:type="gfloat"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="bb2_y" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalytics_image_util.c">Bounding box 2, Y coordinate</doc>
|
||||||
|
<type name="gfloat" c:type="gfloat"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="bb2_w" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalytics_image_util.c">Bounding box 2, width</doc>
|
||||||
|
<type name="gfloat" c:type="gfloat"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="bb2_h" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalytics_image_util.c">Bounding box 2, height</doc>
|
||||||
|
<type name="gfloat" c:type="gfloat"/>
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</function>
|
||||||
|
<function name="image_util_iou_int" c:identifier="gst_analytics_image_util_iou_int" version="1.28">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalytics_image_util.c">Calculate the intersection over the union (IoU) of the two areas defined by
|
||||||
|
the bounding box 1 and bounding box 2. IoU is a measure of how much two
|
||||||
|
regions overlap.</doc>
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalytics_image_util.h"/>
|
||||||
|
<return-value transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalytics_image_util.c">IoU of bb1 and bb2.</doc>
|
||||||
|
<type name="gfloat" c:type="gfloat"/>
|
||||||
|
</return-value>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="bb1_x" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalytics_image_util.c">Bounding box 1, X coordinate</doc>
|
||||||
|
<type name="gint" c:type="gint"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="bb1_y" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalytics_image_util.c">Bounding box 1, Y coordinate</doc>
|
||||||
|
<type name="gint" c:type="gint"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="bb1_w" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalytics_image_util.c">Bounding box 1, width</doc>
|
||||||
|
<type name="gint" c:type="gint"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="bb1_h" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalytics_image_util.c">Bounding box 1, height</doc>
|
||||||
|
<type name="gint" c:type="gint"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="bb2_x" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalytics_image_util.c">Bounding box 2, X coordinate</doc>
|
||||||
|
<type name="gint" c:type="gint"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="bb2_y" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalytics_image_util.c">Bounding box 2, Y coordinate</doc>
|
||||||
|
<type name="gint" c:type="gint"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="bb2_w" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalytics_image_util.c">Bounding box 2, width</doc>
|
||||||
|
<type name="gint" c:type="gint"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="bb2_h" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalytics_image_util.c">Bounding box 2, height</doc>
|
||||||
|
<type name="gint" c:type="gint"/>
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</function>
|
||||||
<function name="mtd_type_get_name" c:identifier="gst_analytics_mtd_type_get_name" moved-to="Mtd.type_get_name" version="1.24">
|
<function name="mtd_type_get_name" c:identifier="gst_analytics_mtd_type_get_name" moved-to="Mtd.type_get_name" version="1.24">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalyticsmeta.c">Gets the string version of the name of this type of analytics data</doc>
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalyticsmeta.c">Gets the string version of the name of this type of analytics data</doc>
|
||||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalyticsmeta.h"/>
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalyticsmeta.h"/>
|
||||||
@ -1784,6 +1905,20 @@ metadata type.</doc>
|
|||||||
<type name="MtdType" c:type="GstAnalyticsMtdType"/>
|
<type name="MtdType" c:type="GstAnalyticsMtdType"/>
|
||||||
</return-value>
|
</return-value>
|
||||||
</function>
|
</function>
|
||||||
|
<function name="tensor_data_type_get_name" c:identifier="gst_tensor_data_type_get_name" moved-to="Tensor.data_type_get_name" version="1.28">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gsttensor.c">Get a string version of the data type</doc>
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gsttensor.h"/>
|
||||||
|
<return-value transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gsttensor.c">a constant string with the name of the data type</doc>
|
||||||
|
<type name="utf8" c:type="const gchar*"/>
|
||||||
|
</return-value>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="data_type" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gsttensor.c">a #GstTensorDataType</doc>
|
||||||
|
<type name="TensorDataType" c:type="GstTensorDataType"/>
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</function>
|
||||||
<function name="tensor_meta_api_get_type" c:identifier="gst_tensor_meta_api_get_type" version="1.26" introspectable="0">
|
<function name="tensor_meta_api_get_type" c:identifier="gst_tensor_meta_api_get_type" version="1.26" introspectable="0">
|
||||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gsttensormeta.h"/>
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gsttensormeta.h"/>
|
||||||
<return-value transfer-ownership="none">
|
<return-value transfer-ownership="none">
|
||||||
|
@ -7,6 +7,20 @@ and/or use gtk-doc annotations. -->
|
|||||||
<package name="gstreamer-app-1.0"/>
|
<package name="gstreamer-app-1.0"/>
|
||||||
<c:include name="gst/app/app.h"/>
|
<c:include name="gst/app/app.h"/>
|
||||||
<namespace name="GstApp" version="1.0" shared-library="libgstapp-1.0.so.0" c:identifier-prefixes="Gst" c:symbol-prefixes="gst">
|
<namespace name="GstApp" version="1.0" shared-library="libgstapp-1.0.so.0" c:identifier-prefixes="Gst" c:symbol-prefixes="gst">
|
||||||
|
<function-macro name="APP_DEPRECATED_FOR" c:identifier="GST_APP_DEPRECATED_FOR" introspectable="0">
|
||||||
|
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/app/app-prelude.h"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="f">
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</function-macro>
|
||||||
|
<function-macro name="APP_DEPRECATED_TYPE_FOR" c:identifier="GST_APP_DEPRECATED_TYPE_FOR" introspectable="0">
|
||||||
|
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/app/app-prelude.h"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="f">
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</function-macro>
|
||||||
<function-macro name="APP_SINK" c:identifier="GST_APP_SINK" introspectable="0">
|
<function-macro name="APP_SINK" c:identifier="GST_APP_SINK" introspectable="0">
|
||||||
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.h"/>
|
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.h"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
@ -80,7 +94,7 @@ which accept a timeout parameter to limit the amount of time to wait.
|
|||||||
Appsink will internally use a queue to collect buffers from the streaming
|
Appsink will internally use a queue to collect buffers from the streaming
|
||||||
thread. If the application is not pulling samples fast enough, this queue
|
thread. If the application is not pulling samples fast enough, this queue
|
||||||
will consume a lot of memory over time. The "max-buffers", "max-time" and "max-bytes"
|
will consume a lot of memory over time. The "max-buffers", "max-time" and "max-bytes"
|
||||||
properties can be used to limit the queue size. The "drop" property controls whether the
|
properties can be used to limit the queue size. The "leaky-type" property controls whether the
|
||||||
streaming thread blocks or if older buffers are dropped when the maximum
|
streaming thread blocks or if older buffers are dropped when the maximum
|
||||||
queue size is reached. Note that blocking the streaming thread can negatively
|
queue size is reached. Note that blocking the streaming thread can negatively
|
||||||
affect real-time performance and should be avoided.
|
affect real-time performance and should be avoided.
|
||||||
@ -323,9 +337,52 @@ condition.</doc>
|
|||||||
</instance-parameter>
|
</instance-parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_drop" c:identifier="gst_app_sink_get_drop" glib:get-property="drop">
|
<method name="get_current_level_buffers" c:identifier="gst_app_sink_get_current_level_buffers" glib:get-property="current-level-buffers" version="1.28">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">Get the number of currently queued buffers inside @appsink.</doc>
|
||||||
|
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.h"/>
|
||||||
|
<return-value transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">The number of currently queued buffers.</doc>
|
||||||
|
<type name="guint64" c:type="guint64"/>
|
||||||
|
</return-value>
|
||||||
|
<parameters>
|
||||||
|
<instance-parameter name="appsink" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">a #GstAppSink</doc>
|
||||||
|
<type name="AppSink" c:type="GstAppSink*"/>
|
||||||
|
</instance-parameter>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="get_current_level_bytes" c:identifier="gst_app_sink_get_current_level_bytes" glib:get-property="current-level-bytes" version="1.28">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">Get the number of currently queued bytes inside @appsink.</doc>
|
||||||
|
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.h"/>
|
||||||
|
<return-value transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">The number of currently queued bytes.</doc>
|
||||||
|
<type name="guint64" c:type="guint64"/>
|
||||||
|
</return-value>
|
||||||
|
<parameters>
|
||||||
|
<instance-parameter name="appsink" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">a #GstAppSink</doc>
|
||||||
|
<type name="AppSink" c:type="GstAppSink*"/>
|
||||||
|
</instance-parameter>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="get_current_level_time" c:identifier="gst_app_sink_get_current_level_time" glib:get-property="current-level-time" version="1.28">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">Get the amount of currently queued time inside @appsink.</doc>
|
||||||
|
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.h"/>
|
||||||
|
<return-value transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">The amount of currently queued time.</doc>
|
||||||
|
<type name="Gst.ClockTime" c:type="GstClockTime"/>
|
||||||
|
</return-value>
|
||||||
|
<parameters>
|
||||||
|
<instance-parameter name="appsink" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">a #GstAppSink</doc>
|
||||||
|
<type name="AppSink" c:type="GstAppSink*"/>
|
||||||
|
</instance-parameter>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="get_drop" c:identifier="gst_app_sink_get_drop" glib:get-property="drop" deprecated="1" deprecated-version="1.28">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">Check if @appsink will drop old buffers when the maximum amount of queued
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">Check if @appsink will drop old buffers when the maximum amount of queued
|
||||||
data is reached (meaning max buffers, time or bytes limit, whichever is hit first).</doc>
|
data is reached (meaning max buffers, time or bytes limit, whichever is hit first).</doc>
|
||||||
|
<doc-deprecated xml:space="preserve">Use gst_app_src_get_leaky_type() instead.</doc-deprecated>
|
||||||
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.h"/>
|
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.h"/>
|
||||||
<return-value transfer-ownership="none">
|
<return-value transfer-ownership="none">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">%TRUE if @appsink is dropping old buffers when the queue is
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">%TRUE if @appsink is dropping old buffers when the queue is
|
||||||
@ -354,6 +411,21 @@ signals.</doc>
|
|||||||
</instance-parameter>
|
</instance-parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="get_leaky_type" c:identifier="gst_app_sink_get_leaky_type" glib:get-property="leaky-type" version="1.28">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">Returns the currently set #GstAppLeakyType. See gst_app_sink_set_leaky_type()
|
||||||
|
for more details.</doc>
|
||||||
|
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.h"/>
|
||||||
|
<return-value transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">The currently set #GstAppLeakyType.</doc>
|
||||||
|
<type name="AppLeakyType" c:type="GstAppLeakyType"/>
|
||||||
|
</return-value>
|
||||||
|
<parameters>
|
||||||
|
<instance-parameter name="appsink" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">a #GstAppSink</doc>
|
||||||
|
<type name="AppSink" c:type="GstAppSink*"/>
|
||||||
|
</instance-parameter>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
<method name="get_max_buffers" c:identifier="gst_app_sink_get_max_buffers" glib:get-property="max-buffers">
|
<method name="get_max_buffers" c:identifier="gst_app_sink_get_max_buffers" glib:get-property="max-buffers">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">Get the maximum amount of buffers that can be queued in @appsink.</doc>
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">Get the maximum amount of buffers that can be queued in @appsink.</doc>
|
||||||
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.h"/>
|
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.h"/>
|
||||||
@ -593,9 +665,10 @@ you must check the caps on the samples to get the actual used caps.</doc>
|
|||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_drop" c:identifier="gst_app_sink_set_drop" glib:set-property="drop">
|
<method name="set_drop" c:identifier="gst_app_sink_set_drop" glib:set-property="drop" deprecated="1" deprecated-version="1.28">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">Instruct @appsink to drop old buffers when the maximum amount of queued
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">Instruct @appsink to drop old buffers when the maximum amount of queued
|
||||||
data is reached, that is, when any configured limit is hit (max-buffers, max-time or max-bytes).</doc>
|
data is reached, that is, when any configured limit is hit (max-buffers, max-time or max-bytes).</doc>
|
||||||
|
<doc-deprecated xml:space="preserve">Use gst_app_src_get_leaky_type() instead.</doc-deprecated>
|
||||||
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.h"/>
|
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.h"/>
|
||||||
<return-value transfer-ownership="none">
|
<return-value transfer-ownership="none">
|
||||||
<type name="none" c:type="void"/>
|
<type name="none" c:type="void"/>
|
||||||
@ -630,6 +703,26 @@ the application prefers to operate in pull mode.</doc>
|
|||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="set_leaky_type" c:identifier="gst_app_sink_set_leaky_type" glib:set-property="leaky-type" version="1.28">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">When set to any other value than GST_APP_LEAKY_TYPE_NONE then the appsink
|
||||||
|
will drop any buffers that are pushed into it once its internal queue is
|
||||||
|
full. The selected type defines whether to drop the oldest or new
|
||||||
|
buffers.</doc>
|
||||||
|
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.h"/>
|
||||||
|
<return-value transfer-ownership="none">
|
||||||
|
<type name="none" c:type="void"/>
|
||||||
|
</return-value>
|
||||||
|
<parameters>
|
||||||
|
<instance-parameter name="appsink" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">a #GstAppSink</doc>
|
||||||
|
<type name="AppSink" c:type="GstAppSink*"/>
|
||||||
|
</instance-parameter>
|
||||||
|
<parameter name="leaky" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">the #GstAppLeakyType</doc>
|
||||||
|
<type name="AppLeakyType" c:type="GstAppLeakyType"/>
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
<method name="set_max_buffers" c:identifier="gst_app_sink_set_max_buffers" glib:set-property="max-buffers">
|
<method name="set_max_buffers" c:identifier="gst_app_sink_set_max_buffers" glib:set-property="max-buffers">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">Set the maximum amount of buffers that can be queued in @appsink. After this
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">Set the maximum amount of buffers that can be queued in @appsink. After this
|
||||||
amount of buffers are queued in appsink, any more buffers will block upstream
|
amount of buffers are queued in appsink, any more buffers will block upstream
|
||||||
@ -817,15 +910,44 @@ condition.</doc>
|
|||||||
<property name="caps" writable="1" transfer-ownership="none" setter="set_caps" getter="get_caps">
|
<property name="caps" writable="1" transfer-ownership="none" setter="set_caps" getter="get_caps">
|
||||||
<type name="Gst.Caps"/>
|
<type name="Gst.Caps"/>
|
||||||
</property>
|
</property>
|
||||||
<property name="drop" writable="1" transfer-ownership="none" setter="set_drop" getter="get_drop" default-value="FALSE">
|
<property name="current-level-buffers" version="1.28" transfer-ownership="none" getter="get_current_level_buffers" default-value="0">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">The number of currently queued buffers inside appsink.</doc>
|
||||||
|
<type name="guint64" c:type="guint64"/>
|
||||||
|
</property>
|
||||||
|
<property name="current-level-bytes" version="1.28" transfer-ownership="none" getter="get_current_level_bytes" default-value="0">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">The number of currently queued bytes inside appsink.</doc>
|
||||||
|
<type name="guint64" c:type="guint64"/>
|
||||||
|
</property>
|
||||||
|
<property name="current-level-time" version="1.28" transfer-ownership="none" getter="get_current_level_time" default-value="0">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">The amount of currently queued time inside appsink.</doc>
|
||||||
|
<type name="guint64" c:type="guint64"/>
|
||||||
|
</property>
|
||||||
|
<property name="drop" deprecated="1" deprecated-version="1.28" writable="1" transfer-ownership="none" setter="set_drop" getter="get_drop" default-value="FALSE">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">Drop old buffers when the buffer queue is filled.</doc>
|
||||||
|
<doc-deprecated xml:space="preserve">Use "leaky-type" property instead.</doc-deprecated>
|
||||||
<type name="gboolean" c:type="gboolean"/>
|
<type name="gboolean" c:type="gboolean"/>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="dropped" version="1.28" transfer-ownership="none" default-value="0">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">Number of buffers that were dropped.</doc>
|
||||||
|
<type name="guint64" c:type="guint64"/>
|
||||||
|
</property>
|
||||||
<property name="emit-signals" writable="1" transfer-ownership="none" setter="set_emit_signals" getter="get_emit_signals" default-value="FALSE">
|
<property name="emit-signals" writable="1" transfer-ownership="none" setter="set_emit_signals" getter="get_emit_signals" default-value="FALSE">
|
||||||
<type name="gboolean" c:type="gboolean"/>
|
<type name="gboolean" c:type="gboolean"/>
|
||||||
</property>
|
</property>
|
||||||
<property name="eos" transfer-ownership="none" default-value="TRUE">
|
<property name="eos" transfer-ownership="none" default-value="TRUE">
|
||||||
<type name="gboolean" c:type="gboolean"/>
|
<type name="gboolean" c:type="gboolean"/>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="in" version="1.28" transfer-ownership="none" default-value="0">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">Number of input buffers that were queued.</doc>
|
||||||
|
<type name="guint64" c:type="guint64"/>
|
||||||
|
</property>
|
||||||
|
<property name="leaky-type" version="1.28" writable="1" transfer-ownership="none" setter="set_leaky_type" getter="get_leaky_type" default-value="GST_APP_LEAKY_TYPE_NONE">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">When set to any other value than GST_APP_LEAKY_TYPE_NONE then the appsink
|
||||||
|
will drop any buffers that are pushed into it once its internal queue is
|
||||||
|
full. The selected type defines whether to drop the oldest or new
|
||||||
|
buffers.</doc>
|
||||||
|
<type name="AppLeakyType"/>
|
||||||
|
</property>
|
||||||
<property name="max-buffers" writable="1" transfer-ownership="none" setter="set_max_buffers" getter="get_max_buffers" default-value="0">
|
<property name="max-buffers" writable="1" transfer-ownership="none" setter="set_max_buffers" getter="get_max_buffers" default-value="0">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">Maximum amount of buffers in the queue (0 = unlimited).</doc>
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">Maximum amount of buffers in the queue (0 = unlimited).</doc>
|
||||||
<type name="guint" c:type="guint"/>
|
<type name="guint" c:type="guint"/>
|
||||||
@ -838,6 +960,14 @@ condition.</doc>
|
|||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">Maximum total duration of data in the queue (0 = unlimited)</doc>
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">Maximum total duration of data in the queue (0 = unlimited)</doc>
|
||||||
<type name="guint64" c:type="guint64"/>
|
<type name="guint64" c:type="guint64"/>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="out" version="1.28" transfer-ownership="none" default-value="0">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">Number of output buffers that were dequeued.</doc>
|
||||||
|
<type name="guint64" c:type="guint64"/>
|
||||||
|
</property>
|
||||||
|
<property name="silent" version="1.28" writable="1" transfer-ownership="none" default-value="TRUE">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">Don't emit notify for input, output and dropped buffers.</doc>
|
||||||
|
<type name="gboolean" c:type="gboolean"/>
|
||||||
|
</property>
|
||||||
<property name="wait-on-eos" version="1.8" writable="1" transfer-ownership="none" setter="set_wait_on_eos" getter="get_wait_on_eos" default-value="TRUE">
|
<property name="wait-on-eos" version="1.8" writable="1" transfer-ownership="none" setter="set_wait_on_eos" getter="get_wait_on_eos" default-value="TRUE">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">Wait for all buffers to be processed after receiving an EOS.
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c">Wait for all buffers to be processed after receiving an EOS.
|
||||||
|
|
||||||
@ -967,7 +1097,7 @@ can pull samples at its own rate.
|
|||||||
Note that when the application does not pull samples fast enough, the
|
Note that when the application does not pull samples fast enough, the
|
||||||
queued samples could consume a lot of memory, especially when dealing with
|
queued samples could consume a lot of memory, especially when dealing with
|
||||||
raw video frames. It's possible to control the behaviour of the queue with
|
raw video frames. It's possible to control the behaviour of the queue with
|
||||||
the "drop" and "max-buffers" / "max-bytes" / "max-time" set of properties.
|
the "leaky-type" and "max-buffers" / "max-bytes" / "max-time" set of properties.
|
||||||
|
|
||||||
If an EOS event was received before any buffers, this function returns
|
If an EOS event was received before any buffers, this function returns
|
||||||
%NULL. Use gst_app_sink_is_eos () to check for the EOS condition.</doc>
|
%NULL. Use gst_app_sink_is_eos () to check for the EOS condition.</doc>
|
||||||
@ -988,7 +1118,7 @@ Events can be pulled when the appsink is in the READY, PAUSED or PLAYING state.
|
|||||||
Note that when the application does not pull samples fast enough, the
|
Note that when the application does not pull samples fast enough, the
|
||||||
queued samples could consume a lot of memory, especially when dealing with
|
queued samples could consume a lot of memory, especially when dealing with
|
||||||
raw video frames. It's possible to control the behaviour of the queue with
|
raw video frames. It's possible to control the behaviour of the queue with
|
||||||
the "drop" and "max-buffers" / "max-bytes" / "max-time" set of properties.
|
the "leaky-type" and "max-buffers" / "max-bytes" / "max-time" set of properties.
|
||||||
|
|
||||||
This function will only pull serialized events, excluding
|
This function will only pull serialized events, excluding
|
||||||
the EOS event for which this functions returns
|
the EOS event for which this functions returns
|
||||||
@ -1053,7 +1183,7 @@ can pull samples at its own rate.
|
|||||||
Note that when the application does not pull samples fast enough, the
|
Note that when the application does not pull samples fast enough, the
|
||||||
queued samples could consume a lot of memory, especially when dealing with
|
queued samples could consume a lot of memory, especially when dealing with
|
||||||
raw video frames. It's possible to control the behaviour of the queue with
|
raw video frames. It's possible to control the behaviour of the queue with
|
||||||
the "drop" and "max-buffers" / "max-bytes" / "max-time" set of properties.
|
the "leaky-type" and "max-buffers" / "max-bytes" / "max-time" set of properties.
|
||||||
|
|
||||||
If an EOS event was received before any buffers or the timeout expires,
|
If an EOS event was received before any buffers or the timeout expires,
|
||||||
this function returns %NULL. Use gst_app_sink_is_eos () to check
|
this function returns %NULL. Use gst_app_sink_is_eos () to check
|
||||||
@ -2076,6 +2206,10 @@ on outgoing buffers.</doc>
|
|||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsrc.c">The amount of currently queued time inside appsrc.</doc>
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsrc.c">The amount of currently queued time inside appsrc.</doc>
|
||||||
<type name="guint64" c:type="guint64"/>
|
<type name="guint64" c:type="guint64"/>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="dropped" version="1.28" transfer-ownership="none" default-value="0">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsrc.c">Number of buffers that were dropped.</doc>
|
||||||
|
<type name="guint64" c:type="guint64"/>
|
||||||
|
</property>
|
||||||
<property name="duration" version="1.10" writable="1" transfer-ownership="none" setter="set_duration" getter="get_duration" default-value="18446744073709551615">
|
<property name="duration" version="1.10" writable="1" transfer-ownership="none" setter="set_duration" getter="get_duration" default-value="18446744073709551615">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsrc.c">The total duration in nanoseconds of the data stream. If the total duration is known, it
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsrc.c">The total duration in nanoseconds of the data stream. If the total duration is known, it
|
||||||
is recommended to configure it with this property.</doc>
|
is recommended to configure it with this property.</doc>
|
||||||
@ -2103,6 +2237,10 @@ GstAppSrc::format should be time. However, possibly #GstAppSrc can support
|
|||||||
other formats.</doc>
|
other formats.</doc>
|
||||||
<type name="gboolean" c:type="gboolean"/>
|
<type name="gboolean" c:type="gboolean"/>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="in" version="1.28" transfer-ownership="none" default-value="0">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsrc.c">Number of input buffers that were queued.</doc>
|
||||||
|
<type name="guint64" c:type="guint64"/>
|
||||||
|
</property>
|
||||||
<property name="is-live" writable="1" transfer-ownership="none" default-value="FALSE">
|
<property name="is-live" writable="1" transfer-ownership="none" default-value="FALSE">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsrc.c">Instruct the source to behave like a live source. This includes that it
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsrc.c">Instruct the source to behave like a live source. This includes that it
|
||||||
will only push out buffers in the PLAYING state.</doc>
|
will only push out buffers in the PLAYING state.</doc>
|
||||||
@ -2146,6 +2284,14 @@ latency calculations of #GstBaseSrc.</doc>
|
|||||||
queue drops below this percentage of max-bytes.</doc>
|
queue drops below this percentage of max-bytes.</doc>
|
||||||
<type name="guint" c:type="guint"/>
|
<type name="guint" c:type="guint"/>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="out" version="1.28" transfer-ownership="none" default-value="0">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsrc.c">Number of output buffers that were dequeued.</doc>
|
||||||
|
<type name="guint64" c:type="guint64"/>
|
||||||
|
</property>
|
||||||
|
<property name="silent" version="1.28" writable="1" transfer-ownership="none" default-value="TRUE">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsrc.c">Don't emit notify for input, output and dropped buffers.</doc>
|
||||||
|
<type name="gboolean" c:type="gboolean"/>
|
||||||
|
</property>
|
||||||
<property name="size" writable="1" transfer-ownership="none" setter="set_size" getter="get_size" default-value="-1">
|
<property name="size" writable="1" transfer-ownership="none" setter="set_size" getter="get_size" default-value="-1">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsrc.c">The total size in bytes of the data stream. If the total size is known, it
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/app/gstappsrc.c">The total size in bytes of the data stream. If the total size is known, it
|
||||||
is recommended to configure it with this property.</doc>
|
is recommended to configure it with this property.</doc>
|
||||||
|
@ -2503,6 +2503,18 @@ usage.</doc>
|
|||||||
</instance-parameter>
|
</instance-parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
|
<property name="current-level-buffers" version="1.28" transfer-ownership="none" default-value="0">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/base/gstaggregator.c">The number of currently queued buffers inside this pad</doc>
|
||||||
|
<type name="guint64" c:type="guint64"/>
|
||||||
|
</property>
|
||||||
|
<property name="current-level-bytes" version="1.28" transfer-ownership="none" default-value="0">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/base/gstaggregator.c">The number of currently queued bytes inside this pad</doc>
|
||||||
|
<type name="guint64" c:type="guint64"/>
|
||||||
|
</property>
|
||||||
|
<property name="current-level-time" version="1.28" transfer-ownership="none" default-value="0">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/base/gstaggregator.c">The amount of currently queued time inside this pad</doc>
|
||||||
|
<type name="guint64" c:type="guint64"/>
|
||||||
|
</property>
|
||||||
<property name="emit-signals" version="1.16" writable="1" transfer-ownership="none" default-value="FALSE">
|
<property name="emit-signals" version="1.16" writable="1" transfer-ownership="none" default-value="FALSE">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/base/gstaggregator.c">Enables the emission of signals such as #GstAggregatorPad::buffer-consumed</doc>
|
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/base/gstaggregator.c">Enables the emission of signals such as #GstAggregatorPad::buffer-consumed</doc>
|
||||||
<type name="gboolean" c:type="gboolean"/>
|
<type name="gboolean" c:type="gboolean"/>
|
||||||
@ -3748,6 +3760,10 @@ into the frame data that the picture starts.</doc>
|
|||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
|
<property name="disable-clip" version="1.28" writable="1" transfer-ownership="none" default-value="TRUE">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/base/gstbaseparse.c">Disable dropping buffers that are out of segment</doc>
|
||||||
|
<type name="gboolean" c:type="gboolean"/>
|
||||||
|
</property>
|
||||||
<property name="disable-passthrough" writable="1" transfer-ownership="none" default-value="FALSE">
|
<property name="disable-passthrough" writable="1" transfer-ownership="none" default-value="FALSE">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/base/gstbaseparse.c">If set to %TRUE, baseparse will unconditionally force parsing of the
|
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/base/gstbaseparse.c">If set to %TRUE, baseparse will unconditionally force parsing of the
|
||||||
incoming data. This can be required in the rare cases where the incoming
|
incoming data. This can be required in the rare cases where the incoming
|
||||||
|
@ -8608,6 +8608,19 @@ require this to be called with a valid handle before drawing can commence.</doc>
|
|||||||
</instance-parameter>
|
</instance-parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="get_request_output_surface" c:identifier="gst_gl_window_get_request_output_surface" version="1.28">
|
||||||
|
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/gl/gstglwindow.h"/>
|
||||||
|
<return-value transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/gl/gstglwindow.c">whether an visible output surface has been requested</doc>
|
||||||
|
<type name="gboolean" c:type="gboolean"/>
|
||||||
|
</return-value>
|
||||||
|
<parameters>
|
||||||
|
<instance-parameter name="window" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/gl/gstglwindow.c">a #GstGLWindow</doc>
|
||||||
|
<type name="GLWindow" c:type="GstGLWindow*"/>
|
||||||
|
</instance-parameter>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
<method name="get_surface_dimensions" c:identifier="gst_gl_window_get_surface_dimensions" version="1.6">
|
<method name="get_surface_dimensions" c:identifier="gst_gl_window_get_surface_dimensions" version="1.6">
|
||||||
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/gl/gstglwindow.h"/>
|
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/gl/gstglwindow.h"/>
|
||||||
<return-value transfer-ownership="none">
|
<return-value transfer-ownership="none">
|
||||||
@ -8957,6 +8970,23 @@ according to the #GstVideoOverlay interface.</doc>
|
|||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="set_request_output_surface" c:identifier="gst_gl_window_set_request_output_surface" version="1.28">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/gl/gstglwindow.c">Configure whether a visible output surface is requested.</doc>
|
||||||
|
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/gl/gstglwindow.h"/>
|
||||||
|
<return-value transfer-ownership="none">
|
||||||
|
<type name="none" c:type="void"/>
|
||||||
|
</return-value>
|
||||||
|
<parameters>
|
||||||
|
<instance-parameter name="window" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/gl/gstglwindow.c">a #GstGLWindow</doc>
|
||||||
|
<type name="GLWindow" c:type="GstGLWindow*"/>
|
||||||
|
</instance-parameter>
|
||||||
|
<parameter name="output_surface" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/gl/gstglwindow.c">whether to request an output surface.</doc>
|
||||||
|
<type name="gboolean" c:type="gboolean"/>
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
<method name="set_resize_callback" c:identifier="gst_gl_window_set_resize_callback" version="1.4">
|
<method name="set_resize_callback" c:identifier="gst_gl_window_set_resize_callback" version="1.4">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/gl/gstglwindow.c">Sets the resize callback called every time a resize of the window occurs.</doc>
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/gl/gstglwindow.c">Sets the resize callback called every time a resize of the window occurs.</doc>
|
||||||
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/gl/gstglwindow.h"/>
|
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/gl/gstglwindow.h"/>
|
||||||
|
@ -682,7 +682,7 @@ the track buffers for playback purposes.
|
|||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/mse/gstsourcebuffer.c">#GstSourceBuffer instance</doc>
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/mse/gstsourcebuffer.c">#GstSourceBuffer instance</doc>
|
||||||
<type name="SourceBuffer" c:type="GstSourceBuffer*"/>
|
<type name="SourceBuffer" c:type="GstSourceBuffer*"/>
|
||||||
</instance-parameter>
|
</instance-parameter>
|
||||||
<parameter name="buf" transfer-ownership="none">
|
<parameter name="buf" transfer-ownership="full">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/mse/gstsourcebuffer.c">The media data to append</doc>
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/mse/gstsourcebuffer.c">The media data to append</doc>
|
||||||
<type name="Gst.Buffer" c:type="GstBuffer*"/>
|
<type name="Gst.Buffer" c:type="GstBuffer*"/>
|
||||||
</parameter>
|
</parameter>
|
||||||
|
@ -3068,7 +3068,7 @@ Formats are sorted by decreasing "quality", using these criteria by priority:
|
|||||||
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/video/video-format.h"/>
|
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/video/video-format.h"/>
|
||||||
<type name="utf8" c:type="gchar*"/>
|
<type name="utf8" c:type="gchar*"/>
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="VIDEO_FORMATS_ALL_STR" value="A444_16BE, A444_16LE, AYUV64, ARGB64, Y416_BE, RGBA64_BE, ARGB64_BE, BGRA64_BE, ABGR64_BE, Y416_LE, RGBA64_LE, ARGB64_LE, BGRA64_LE, ABGR64_LE, A422_16BE, A422_16LE, A420_16BE, A420_16LE, A444_12BE, GBRA_12BE, A444_12LE, GBRA_12LE, Y412_BE, Y412_LE, A422_12BE, A422_12LE, A420_12BE, A420_12LE, A444_10BE, GBRA_10BE, A444_10LE, GBRA_10LE, A422_10BE, A422_10LE, A420_10BE, A420_10LE, Y410, BGR10A2_LE, RGB10A2_LE, A444, GBRA, AYUV, VUYA, RGBA, RBGA, ARGB, BGRA, ABGR, A422, A420, AV12, Y444_16BE, GBR_16BE, Y444_16LE, GBR_16LE, Y216_BE, v216, Y216_LE, P016_BE, P016_LE, Y444_12BE, GBR_12BE, Y444_12LE, GBR_12LE, I422_12BE, I422_12LE, Y212_BE, Y212_LE, I420_12BE, I420_12LE, P012_BE, P012_LE, Y444_10BE, GBR_10BE, Y444_10LE, GBR_10LE, r210, I422_10BE, I422_10LE, NV16_10LE32, Y210, UYVP, v210, I420_10BE, I420_10LE, P010_10BE, MT2110R, MT2110T, NV12_10BE_8L128, NV12_10LE40_4L4, P010_10LE, NV12_10LE40, NV12_10LE32, Y444, BGRP, GBR, RGBP, NV24, v308, IYU2, RGBx, xRGB, BGRx, xBGR, RGB, BGR, Y42B, NV16, NV61, YUY2, YVYU, UYVY, VYUY, I420, YV12, NV12, NV21, NV12_16L32S, NV12_32L32, NV12_4L4, NV12_64Z32, NV12_8L128, Y41B, IYU1, YUV9, YVU9, BGR16, RGB16, BGR15, RGB15, RGB8P, GRAY16_BE, GRAY16_LE, GRAY10_LE16, GRAY10_LE32, GRAY8" c:type="GST_VIDEO_FORMATS_ALL_STR" version="1.24">
|
<constant name="VIDEO_FORMATS_ALL_STR" value="A444_16BE, A444_16LE, AYUV64, ARGB64, Y416_BE, RGBA64_BE, ARGB64_BE, BGRA64_BE, ABGR64_BE, Y416_LE, RGBA64_LE, ARGB64_LE, BGRA64_LE, ABGR64_LE, A422_16BE, A422_16LE, A420_16BE, A420_16LE, A444_12BE, GBRA_12BE, A444_12LE, GBRA_12LE, Y412_BE, Y412_LE, A422_12BE, A422_12LE, A420_12BE, A420_12LE, A444_10BE, GBRA_10BE, A444_10LE, GBRA_10LE, A422_10BE, A422_10LE, A420_10BE, A420_10LE, Y410, BGR10A2_LE, RGB10A2_LE, A444, GBRA, AYUV, VUYA, RGBA, RBGA, ARGB, BGRA, ABGR, A422, A420, AV12, Y444_16BE, GBR_16BE, Y444_16LE, GBR_16LE, Y216_BE, v216, Y216_LE, P016_BE, P016_LE, Y444_12BE, GBR_12BE, Y444_12LE, GBR_12LE, I422_12BE, I422_12LE, Y212_BE, Y212_LE, I420_12BE, I420_12LE, P012_BE, P012_LE, Y444_10BE, GBR_10BE, Y444_10LE, GBR_10LE, r210, I422_10BE, I422_10LE, NV16_10LE40, NV16_10LE32, Y210, UYVP, v210, I420_10BE, I420_10LE, P010_10BE, MT2110R, MT2110T, NV12_10BE_8L128, NV12_10LE40_4L4, P010_10LE, NV12_10LE40, NV12_10LE32, Y444, BGRP, GBR, RGBP, NV24, v308, IYU2, RGBx, xRGB, BGRx, xBGR, RGB, BGR, Y42B, NV16, NV61, YUY2, YVYU, UYVY, VYUY, I420, YV12, NV12, NV21, NV12_16L32S, NV12_32L32, NV12_4L4, NV12_64Z32, NV12_8L128, Y41B, IYU1, YUV9, YVU9, BGR16, RGB16, BGR15, RGB15, RGB8P, GRAY16_BE, GRAY16_LE, GRAY10_LE16, GRAY10_LE32, GRAY8" c:type="GST_VIDEO_FORMATS_ALL_STR" version="1.24">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/video/video-format.h">Declare all video formats as a string.
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/video/video-format.h">Declare all video formats as a string.
|
||||||
|
|
||||||
Formats are sorted by decreasing "quality", using these criteria by priority:
|
Formats are sorted by decreasing "quality", using these criteria by priority:
|
||||||
@ -3444,7 +3444,7 @@ Return the width of one tile in pixels, zero if its not an integer.</doc>
|
|||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
</function-macro>
|
</function-macro>
|
||||||
<constant name="VIDEO_FORMAT_LAST" value="139" c:type="GST_VIDEO_FORMAT_LAST" version="1.26">
|
<constant name="VIDEO_FORMAT_LAST" value="140" c:type="GST_VIDEO_FORMAT_LAST" version="1.26">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/video/video-format.h">Number of video formats in #GstVideoFormat.</doc>
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/video/video-format.h">Number of video formats in #GstVideoFormat.</doc>
|
||||||
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/video/video-format.h"/>
|
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/video/video-format.h"/>
|
||||||
<type name="gint" c:type="gint"/>
|
<type name="gint" c:type="gint"/>
|
||||||
@ -10742,6 +10742,9 @@ bits.</doc>
|
|||||||
<member name="gray10_le16" value="138" c:identifier="GST_VIDEO_FORMAT_GRAY10_LE16" version="1.26" glib:nick="gray10-le16" glib:name="GST_VIDEO_FORMAT_GRAY10_LE16">
|
<member name="gray10_le16" value="138" c:identifier="GST_VIDEO_FORMAT_GRAY10_LE16" version="1.26" glib:nick="gray10-le16" glib:name="GST_VIDEO_FORMAT_GRAY10_LE16">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/video/video-format.h">10-bit grayscale, packed into 16bit words (6 bits left padding)</doc>
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/video/video-format.h">10-bit grayscale, packed into 16bit words (6 bits left padding)</doc>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="nv16_10le40" value="139" c:identifier="GST_VIDEO_FORMAT_NV16_10LE40" version="1.28" glib:nick="nv16-10le40" glib:name="GST_VIDEO_FORMAT_NV16_10LE40">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/video/video-format.h">Fully packed variant of NV16_10LE32</doc>
|
||||||
|
</member>
|
||||||
<function name="from_fourcc" c:identifier="gst_video_format_from_fourcc">
|
<function name="from_fourcc" c:identifier="gst_video_format_from_fourcc">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/video/video-format.c">Converts a FOURCC value into the corresponding #GstVideoFormat.
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/video/video-format.c">Converts a FOURCC value into the corresponding #GstVideoFormat.
|
||||||
If the FOURCC cannot be represented by #GstVideoFormat,
|
If the FOURCC cannot be represented by #GstVideoFormat,
|
||||||
|
@ -190,6 +190,97 @@ and/or use gtk-doc annotations. -->
|
|||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
</function-macro>
|
</function-macro>
|
||||||
|
<function-macro name="WEBRTC_ICE_CANDIDATE_STATS_ADDRESS" c:identifier="GST_WEBRTC_ICE_CANDIDATE_STATS_ADDRESS" version="1.28" introspectable="0">
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="c">
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</function-macro>
|
||||||
|
<function-macro name="WEBRTC_ICE_CANDIDATE_STATS_FOUNDATION" c:identifier="GST_WEBRTC_ICE_CANDIDATE_STATS_FOUNDATION" version="1.28" introspectable="0">
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="c">
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</function-macro>
|
||||||
|
<function-macro name="WEBRTC_ICE_CANDIDATE_STATS_PORT" c:identifier="GST_WEBRTC_ICE_CANDIDATE_STATS_PORT" version="1.28" introspectable="0">
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="c">
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</function-macro>
|
||||||
|
<function-macro name="WEBRTC_ICE_CANDIDATE_STATS_PRIORITY" c:identifier="GST_WEBRTC_ICE_CANDIDATE_STATS_PRIORITY" version="1.28" introspectable="0">
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="c">
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</function-macro>
|
||||||
|
<function-macro name="WEBRTC_ICE_CANDIDATE_STATS_PROTOCOL" c:identifier="GST_WEBRTC_ICE_CANDIDATE_STATS_PROTOCOL" version="1.28" introspectable="0">
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="c">
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</function-macro>
|
||||||
|
<function-macro name="WEBRTC_ICE_CANDIDATE_STATS_RELATED_ADDRESS" c:identifier="GST_WEBRTC_ICE_CANDIDATE_STATS_RELATED_ADDRESS" version="1.28" introspectable="0">
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="c">
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</function-macro>
|
||||||
|
<function-macro name="WEBRTC_ICE_CANDIDATE_STATS_RELATED_PORT" c:identifier="GST_WEBRTC_ICE_CANDIDATE_STATS_RELATED_PORT" version="1.28" introspectable="0">
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="c">
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</function-macro>
|
||||||
|
<function-macro name="WEBRTC_ICE_CANDIDATE_STATS_RELAY_PROTOCOL" c:identifier="GST_WEBRTC_ICE_CANDIDATE_STATS_RELAY_PROTOCOL" version="1.28" introspectable="0">
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="c">
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</function-macro>
|
||||||
|
<function-macro name="WEBRTC_ICE_CANDIDATE_STATS_STREAM_ID" c:identifier="GST_WEBRTC_ICE_CANDIDATE_STATS_STREAM_ID" version="1.28" introspectable="0">
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="c">
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</function-macro>
|
||||||
|
<function-macro name="WEBRTC_ICE_CANDIDATE_STATS_TCP_TYPE" c:identifier="GST_WEBRTC_ICE_CANDIDATE_STATS_TCP_TYPE" version="1.28" introspectable="0">
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="c">
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</function-macro>
|
||||||
|
<function-macro name="WEBRTC_ICE_CANDIDATE_STATS_TYPE" c:identifier="GST_WEBRTC_ICE_CANDIDATE_STATS_TYPE" version="1.28" introspectable="0">
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="c">
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</function-macro>
|
||||||
|
<function-macro name="WEBRTC_ICE_CANDIDATE_STATS_URL" c:identifier="GST_WEBRTC_ICE_CANDIDATE_STATS_URL" version="1.28" introspectable="0">
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="c">
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</function-macro>
|
||||||
|
<function-macro name="WEBRTC_ICE_CANDIDATE_STATS_USERNAME_FRAGMENT" c:identifier="GST_WEBRTC_ICE_CANDIDATE_STATS_USERNAME_FRAGMENT" version="1.28" introspectable="0">
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="c">
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</function-macro>
|
||||||
<function-macro name="WEBRTC_ICE_CLASS" c:identifier="GST_WEBRTC_ICE_CLASS" introspectable="0">
|
<function-macro name="WEBRTC_ICE_CLASS" c:identifier="GST_WEBRTC_ICE_CLASS" introspectable="0">
|
||||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h"/>
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
@ -416,8 +507,9 @@ for more information.</doc>
|
|||||||
</instance-parameter>
|
</instance-parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="send_data" c:identifier="gst_webrtc_data_channel_send_data">
|
<method name="send_data" c:identifier="gst_webrtc_data_channel_send_data" deprecated="1" deprecated-version="1.22">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/datachannel.c">Send @data as a data message over @channel.</doc>
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/datachannel.c">Send @data as a data message over @channel.</doc>
|
||||||
|
<doc-deprecated xml:space="preserve">Use gst_webrtc_data_channel_send_data_full() instead</doc-deprecated>
|
||||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/datachannel.h"/>
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/datachannel.h"/>
|
||||||
<return-value transfer-ownership="none">
|
<return-value transfer-ownership="none">
|
||||||
<type name="none" c:type="void"/>
|
<type name="none" c:type="void"/>
|
||||||
@ -451,8 +543,9 @@ for more information.</doc>
|
|||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="send_string" c:identifier="gst_webrtc_data_channel_send_string">
|
<method name="send_string" c:identifier="gst_webrtc_data_channel_send_string" deprecated="1" deprecated-version="1.22">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/datachannel.c">Send @str as a string message over @channel.</doc>
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/datachannel.c">Send @str as a string message over @channel.</doc>
|
||||||
|
<doc-deprecated xml:space="preserve">Use gst_webrtc_data_channel_send_string_full() instead</doc-deprecated>
|
||||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/datachannel.h"/>
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/datachannel.h"/>
|
||||||
<return-value transfer-ownership="none">
|
<return-value transfer-ownership="none">
|
||||||
<type name="none" c:type="void"/>
|
<type name="none" c:type="void"/>
|
||||||
@ -573,7 +666,8 @@ for more information.</doc>
|
|||||||
<type name="none" c:type="void"/>
|
<type name="none" c:type="void"/>
|
||||||
</return-value>
|
</return-value>
|
||||||
</glib:signal>
|
</glib:signal>
|
||||||
<glib:signal name="send-data" when="last" action="1">
|
<glib:signal name="send-data" when="last" action="1" deprecated="1" deprecated-version="1.22">
|
||||||
|
<doc-deprecated xml:space="preserve">Use gst_webrtc_data_channel_send_data_full() instead</doc-deprecated>
|
||||||
<return-value transfer-ownership="none">
|
<return-value transfer-ownership="none">
|
||||||
<type name="none" c:type="void"/>
|
<type name="none" c:type="void"/>
|
||||||
</return-value>
|
</return-value>
|
||||||
@ -584,7 +678,8 @@ for more information.</doc>
|
|||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
</glib:signal>
|
</glib:signal>
|
||||||
<glib:signal name="send-string" when="last" action="1">
|
<glib:signal name="send-string" when="last" action="1" deprecated="1" deprecated-version="1.22">
|
||||||
|
<doc-deprecated xml:space="preserve">Use gst_webrtc_data_channel_send_string_full() instead</doc-deprecated>
|
||||||
<return-value transfer-ownership="none">
|
<return-value transfer-ownership="none">
|
||||||
<type name="none" c:type="void"/>
|
<type name="none" c:type="void"/>
|
||||||
</return-value>
|
</return-value>
|
||||||
@ -1485,34 +1580,66 @@ stops automatic ICE gathering.</doc>
|
|||||||
<record name="WebRTCICECandidateStats" c:type="GstWebRTCICECandidateStats" version="1.22" glib:type-name="GstWebRTCICECandidateStats" glib:get-type="gst_webrtc_ice_candidate_stats_get_type" c:symbol-prefix="webrtc_ice_candidate_stats">
|
<record name="WebRTCICECandidateStats" c:type="GstWebRTCICECandidateStats" version="1.22" glib:type-name="GstWebRTCICECandidateStats" glib:get-type="gst_webrtc_ice_candidate_stats_get_type" c:symbol-prefix="webrtc_ice_candidate_stats">
|
||||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h"/>
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h"/>
|
||||||
<field name="ipaddr" writable="1">
|
<field name="ipaddr" writable="1">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h">A string containing the address of the candidate. This value may be
|
||||||
|
an IPv4 address, an IPv6 address, or a fully-qualified domain name</doc>
|
||||||
<type name="utf8" c:type="gchar*"/>
|
<type name="utf8" c:type="gchar*"/>
|
||||||
</field>
|
</field>
|
||||||
<field name="port" writable="1">
|
<field name="port" writable="1">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h">The network port number used by the candidate</doc>
|
||||||
<type name="guint" c:type="guint"/>
|
<type name="guint" c:type="guint"/>
|
||||||
</field>
|
</field>
|
||||||
<field name="stream_id" writable="1">
|
<field name="stream_id" writable="1">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h">A string that uniquely identifies the object that is being
|
||||||
|
monitored to produce this set of statistics</doc>
|
||||||
<type name="guint" c:type="guint"/>
|
<type name="guint" c:type="guint"/>
|
||||||
</field>
|
</field>
|
||||||
<field name="type" writable="1">
|
<field name="type" writable="1">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h">The candidate type</doc>
|
||||||
<type name="utf8" c:type="const gchar*"/>
|
<type name="utf8" c:type="const gchar*"/>
|
||||||
</field>
|
</field>
|
||||||
<field name="proto" writable="1">
|
<field name="proto" writable="1">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h">A string specifying the protocol (tcp or udp) used to transmit data
|
||||||
|
on the @port</doc>
|
||||||
<type name="utf8" c:type="const gchar*"/>
|
<type name="utf8" c:type="const gchar*"/>
|
||||||
</field>
|
</field>
|
||||||
<field name="relay_proto" writable="1">
|
<field name="relay_proto" writable="1">
|
||||||
<type name="utf8" c:type="const gchar*"/>
|
<type name="utf8" c:type="const gchar*"/>
|
||||||
</field>
|
</field>
|
||||||
<field name="prio" writable="1">
|
<field name="prio" writable="1">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h">The candidate's priority, corresponding to RTCIceCandidate.priority</doc>
|
||||||
<type name="guint" c:type="guint"/>
|
<type name="guint" c:type="guint"/>
|
||||||
</field>
|
</field>
|
||||||
<field name="url" writable="1">
|
<field name="url" writable="1">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h">For local candidates, the url property is the URL of the ICE server
|
||||||
|
from which the candidate was received</doc>
|
||||||
<type name="utf8" c:type="gchar*"/>
|
<type name="utf8" c:type="gchar*"/>
|
||||||
</field>
|
</field>
|
||||||
<field name="_gst_reserved" writable="1">
|
<union name="ABI" c:type="ABI">
|
||||||
<array zero-terminated="0" fixed-size="20">
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h"/>
|
||||||
<type name="gpointer" c:type="gpointer"/>
|
<record name="abi" c:type="abi">
|
||||||
</array>
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h"/>
|
||||||
</field>
|
<field name="foundation" writable="1">
|
||||||
|
<type name="utf8" c:type="gchar*"/>
|
||||||
|
</field>
|
||||||
|
<field name="related_address" writable="1">
|
||||||
|
<type name="utf8" c:type="gchar*"/>
|
||||||
|
</field>
|
||||||
|
<field name="related_port" writable="1">
|
||||||
|
<type name="guint" c:type="guint"/>
|
||||||
|
</field>
|
||||||
|
<field name="username_fragment" writable="1">
|
||||||
|
<type name="utf8" c:type="gchar*"/>
|
||||||
|
</field>
|
||||||
|
<field name="tcp_type" writable="1">
|
||||||
|
<type name="WebRTCICETcpCandidateType" c:type="GstWebRTCICETcpCandidateType"/>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
<field name="_gst_reserved" readable="0" private="1">
|
||||||
|
<array zero-terminated="0" fixed-size="20">
|
||||||
|
<type name="gpointer" c:type="gpointer"/>
|
||||||
|
</array>
|
||||||
|
</field>
|
||||||
|
</union>
|
||||||
<method name="copy" c:identifier="gst_webrtc_ice_candidate_stats_copy" version="1.22">
|
<method name="copy" c:identifier="gst_webrtc_ice_candidate_stats_copy" version="1.22">
|
||||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h"/>
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h"/>
|
||||||
<return-value transfer-ownership="full">
|
<return-value transfer-ownership="full">
|
||||||
@ -2161,6 +2288,25 @@ Get HTTP Proxy to be used when connecting to TURN server.</doc>
|
|||||||
</callback>
|
</callback>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
<enumeration name="WebRTCICETcpCandidateType" version="1.28" glib:type-name="GstWebRTCICETcpCandidateType" glib:get-type="gst_webrtc_ice_tcp_candidate_type_get_type" c:type="GstWebRTCICETcpCandidateType">
|
||||||
|
<member name="active" value="0" c:identifier="GST_WEBRTC_ICE_TCP_CANDIDATE_TYPE_ACTIVE" glib:nick="active" glib:name="GST_WEBRTC_ICE_TCP_CANDIDATE_TYPE_ACTIVE">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc_fwd.h">An "active" TCP candidate is one for which the transport
|
||||||
|
will attempt to open an outbound connection but will not
|
||||||
|
receive incoming connection requests.</doc>
|
||||||
|
</member>
|
||||||
|
<member name="passive" value="1" c:identifier="GST_WEBRTC_ICE_TCP_CANDIDATE_TYPE_PASSIVE" glib:nick="passive" glib:name="GST_WEBRTC_ICE_TCP_CANDIDATE_TYPE_PASSIVE">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc_fwd.h">A "passive" TCP candidate is one for which the transport
|
||||||
|
will receive incoming connection attempts but not attempt
|
||||||
|
a connection.</doc>
|
||||||
|
</member>
|
||||||
|
<member name="so" value="2" c:identifier="GST_WEBRTC_ICE_TCP_CANDIDATE_TYPE_SO" glib:nick="so" glib:name="GST_WEBRTC_ICE_TCP_CANDIDATE_TYPE_SO">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc_fwd.h">An "so" candidate is one for which the transport will attempt
|
||||||
|
to open a connection simultaneously with its peer.</doc>
|
||||||
|
</member>
|
||||||
|
<member name="none" value="3" c:identifier="GST_WEBRTC_ICE_TCP_CANDIDATE_TYPE_NONE" glib:nick="none" glib:name="GST_WEBRTC_ICE_TCP_CANDIDATE_TYPE_NONE">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc_fwd.h">Value used for non-TCP candidate type.</doc>
|
||||||
|
</member>
|
||||||
|
</enumeration>
|
||||||
<class name="WebRTCICETransport" c:symbol-prefix="webrtc_ice_transport" c:type="GstWebRTCICETransport" parent="Gst.Object" abstract="1" glib:type-name="GstWebRTCICETransport" glib:get-type="gst_webrtc_ice_transport_get_type" glib:type-struct="WebRTCICETransportClass">
|
<class name="WebRTCICETransport" c:symbol-prefix="webrtc_ice_transport" c:type="GstWebRTCICETransport" parent="Gst.Object" abstract="1" glib:type-name="GstWebRTCICETransport" glib:get-type="gst_webrtc_ice_transport_get_type" glib:type-struct="WebRTCICETransportClass">
|
||||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/icetransport.h"/>
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/webrtc/icetransport.h"/>
|
||||||
<virtual-method name="gather_candidates">
|
<virtual-method name="gather_candidates">
|
||||||
|
15
meson.build
15
meson.build
@ -35,9 +35,16 @@ endif
|
|||||||
gitlint_req = '>= 0.18'
|
gitlint_req = '>= 0.18'
|
||||||
gitlint = find_program('gitlint', version: gitlint_req, required: false)
|
gitlint = find_program('gitlint', version: gitlint_req, required: false)
|
||||||
if gitlint.found()
|
if gitlint.found()
|
||||||
gitlint_status = run_command(gitlint, 'install-hook', check: false)
|
git = find_program('git', required: false)
|
||||||
if gitlint_status.returncode() != 0
|
if git.found() and fs.is_dir(meson.current_source_dir() / '.git')
|
||||||
warning(gitlint_status.stderr().strip())
|
gitlint_status = run_command(git, 'hook', 'run', 'commit-msg', check: false)
|
||||||
|
# exit code 253 means "wrong invocation" in Gitlint
|
||||||
|
if gitlint_status.returncode() != 253
|
||||||
|
gitlint_status = run_command(gitlint, 'install-hook', check: false)
|
||||||
|
if gitlint_status.returncode() != 0
|
||||||
|
warning(gitlint_status.stderr().strip())
|
||||||
|
endif
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
warning('gitlint not found or too old, please install it with your package manager or `python3 -m pip install gitlint` to enable the commit message hook')
|
warning('gitlint not found or too old, please install it with your package manager or `python3 -m pip install gitlint` to enable the commit message hook')
|
||||||
@ -166,7 +173,7 @@ endif
|
|||||||
|
|
||||||
orc_option = get_option('orc')
|
orc_option = get_option('orc')
|
||||||
# There is a check below to keep this in sync with subprojects/gst-plugins-base/meson.build
|
# There is a check below to keep this in sync with subprojects/gst-plugins-base/meson.build
|
||||||
orc_req = '>= 0.4.24'
|
orc_req = '>= 0.4.34'
|
||||||
orc_source_option = get_option('orc-source')
|
orc_source_option = get_option('orc-source')
|
||||||
orc_subproject = disabler()
|
orc_subproject = disabler()
|
||||||
if orc_option.allowed()
|
if orc_option.allowed()
|
||||||
|
@ -61,6 +61,8 @@ option('extra-checks', type : 'feature', value : 'enabled', description : 'Enabl
|
|||||||
option('benchmarks', type : 'feature', value : 'auto')
|
option('benchmarks', type : 'feature', value : 'auto')
|
||||||
option('tools', type : 'feature', value : 'auto', yield : true, description : 'Build command line tools')
|
option('tools', type : 'feature', value : 'auto', yield : true, description : 'Build command line tools')
|
||||||
option('orc', type : 'feature', value : 'auto', description : 'Optimized Inner Loop Runtime Compiler (SIMD)')
|
option('orc', type : 'feature', value : 'auto', description : 'Optimized Inner Loop Runtime Compiler (SIMD)')
|
||||||
|
option('qt-method', type: 'combo', value: 'auto', choices: ['auto', 'pkg-config', 'qmake'],
|
||||||
|
description: 'Method to use to find Qt')
|
||||||
option('qt5', type : 'feature', value : 'auto', description : 'Qt5 toolkit support')
|
option('qt5', type : 'feature', value : 'auto', description : 'Qt5 toolkit support')
|
||||||
option('qt6', type : 'feature', value : 'auto', description : 'Qt6 toolkit support')
|
option('qt6', type : 'feature', value : 'auto', description : 'Qt6 toolkit support')
|
||||||
option('webrtc', type : 'feature', value : 'auto', description : 'WebRTC support')
|
option('webrtc', type : 'feature', value : 'auto', description : 'WebRTC support')
|
@ -2,4 +2,5 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
rustfmt --version
|
||||||
find -name "*.rs" -exec rustfmt "$@" --edition 2021 {} +
|
find -name "*.rs" -exec rustfmt "$@" --edition 2021 {} +
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
from itertools import filterfalse
|
from itertools import filterfalse
|
||||||
import os
|
import os
|
||||||
@ -6,6 +6,7 @@ import re
|
|||||||
import subprocess
|
import subprocess
|
||||||
from gst_indent_common import indent
|
from gst_indent_common import indent
|
||||||
|
|
||||||
|
|
||||||
def readfile(f):
|
def readfile(f):
|
||||||
if os.path.exists(f):
|
if os.path.exists(f):
|
||||||
expressions = open(f, 'r', encoding='utf-8').read().splitlines()
|
expressions = open(f, 'r', encoding='utf-8').read().splitlines()
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
from sys import argv
|
from sys import argv
|
||||||
from gst_indent_common import indent
|
from gst_indent_common import indent
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
indent(argv[1:])
|
indent(*argv[1:])
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
[wrap-file]
|
[wrap-file]
|
||||||
directory = fontconfig-2.14.2
|
directory = fontconfig-2.15.0
|
||||||
source_url = https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.14.2.tar.xz
|
source_url = https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.15.0.tar.xz
|
||||||
source_filename = fontconfig-2.14.2.tar.xz
|
source_fallback_url = https://deb.debian.org/debian/pool/main/f/fontconfig/fontconfig_2.15.0.orig.tar.xz
|
||||||
source_hash = dba695b57bce15023d2ceedef82062c2b925e51f5d4cc4aef736cf13f60a468b
|
source_filename = fontconfig-2.15.0.tar.xz
|
||||||
diff_files = fontconfig-2.14.2/0001-meson-Always-use-posix-path-even-on-Windows.patch, fontconfig-2.14.2/0001-meson-Always-write-utf-8-files-with-LF-newlines.patch
|
source_hash = 63a0658d0e06e0fa886106452b58ef04f21f58202ea02a94c39de0d3335d7c0e
|
||||||
|
diff_files = fontconfig-2.15.0/0001-meson-Always-use-posix-path-even-on-Windows.patch
|
||||||
|
|
||||||
[provide]
|
[provide]
|
||||||
fontconfig = fontconfig_dep
|
fontconfig = fontconfig_dep
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[wrap-file]
|
[wrap-file]
|
||||||
directory = glib-networking-2.78.1
|
directory = glib-networking-2.80.1
|
||||||
source_url = https://download.gnome.org/sources/glib-networking/2.78/glib-networking-2.78.1.tar.xz
|
source_url = https://download.gnome.org/sources/glib-networking/2.80/glib-networking-2.80.1.tar.xz
|
||||||
source_fallback_url = https://ftp.acc.umu.se/pub/gnome/sources/glib-networking/2.78/glib-networking-2.78.1.tar.xz
|
source_fallback_url = https://deb.debian.org/debian/pool/main/g/glib-networking/glib-networking_2.80.1.orig.tar.xz
|
||||||
source_filename = glib-networking-2.78.1.tar.xz
|
source_filename = glib-networking-2.80.1.tar.xz
|
||||||
source_hash = e48f2ddbb049832cbb09230529c5e45daca9f0df0eda325f832f7379859bf09f
|
source_hash = b80e2874157cd55071f1b6710fa0b911d5ac5de106a9ee2a4c9c7bee61782f8e
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[wrap-file]
|
[wrap-file]
|
||||||
directory = gobject-introspection-1.74.0
|
directory = gobject-introspection-1.74.0
|
||||||
source_url = https://download.gnome.org/sources/gobject-introspection/1.74/gobject-introspection-1.74.0.tar.xz
|
source_url = https://download.gnome.org/sources/gobject-introspection/1.74/gobject-introspection-1.74.0.tar.xz
|
||||||
source_fallback_url = https://ftp.acc.umu.se/pub/gnome/sources/gobject-introspection/1.74/gobject-introspection-1.74.0.tar.xz
|
source_fallback_url = https://deb.debian.org/debian/pool/main/g/gobject-introspection/gobject-introspection_1.74.0.orig.tar.xz
|
||||||
source_filename = gobject-introspection-1.74.0.tar.xz
|
source_filename = gobject-introspection-1.74.0.tar.xz
|
||||||
source_hash = 347b3a719e68ba4c69ff2d57ee2689233ea8c07fc492205e573386779e42d653
|
source_hash = 347b3a719e68ba4c69ff2d57ee2689233ea8c07fc492205e573386779e42d653
|
||||||
wrapdb_version = 1.74.0-0
|
wrapdb_version = 1.74.0-0
|
||||||
|
3
subprojects/gst-devtools/dots-viewer/.gitignore
vendored
Normal file
3
subprojects/gst-devtools/dots-viewer/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
target/
|
||||||
|
node_modules/
|
||||||
|
|
18
subprojects/gst-devtools/dots-viewer/bundle-entry.js
Normal file
18
subprojects/gst-devtools/dots-viewer/bundle-entry.js
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
// Import all dependencies first
|
||||||
|
import $ from 'jquery';
|
||||||
|
import 'jquery-mousewheel';
|
||||||
|
import 'jquery-color';
|
||||||
|
import 'bootstrap';
|
||||||
|
import 'dragscroll';
|
||||||
|
import * as vizModule from '@viz-js/viz';
|
||||||
|
import FuseModule from 'fuse.js';
|
||||||
|
|
||||||
|
// Make required libraries available globally
|
||||||
|
window.$ = window.jQuery = $;
|
||||||
|
window.viz = vizModule;
|
||||||
|
window.instance = vizModule.instance;
|
||||||
|
window.Fuse = FuseModule;
|
||||||
|
|
||||||
|
|
||||||
|
// Import Bootstrap CSS
|
||||||
|
import 'bootstrap/dist/css/bootstrap.min.css';
|
@ -1,4 +1,4 @@
|
|||||||
if not add_languages('rust', required: get_option('dots_viewer'))
|
if not add_languages('rust', required: get_option('dots_viewer'), native: false)
|
||||||
subdir_done()
|
subdir_done()
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
3440
subprojects/gst-devtools/dots-viewer/package-lock.json
generated
3440
subprojects/gst-devtools/dots-viewer/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -4,12 +4,30 @@
|
|||||||
"description": "GStreamer dot files viewer",
|
"description": "GStreamer dot files viewer",
|
||||||
"main": "static/js/gstdots.js",
|
"main": "static/js/gstdots.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
|
"build": "webpack",
|
||||||
|
"build:dev": "webpack --config webpack.config.js --mode development"
|
||||||
},
|
},
|
||||||
"author": "Thibault Saunier <tsaunier@igalia.com>",
|
"author": "Thibault Saunier <tsaunier@igalia.com>",
|
||||||
"license": "MPL-2.0",
|
"license": "MPL-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@viz-js/viz": "^3.4.0",
|
"@viz-js/viz": "^3.4.0",
|
||||||
"fuse.js": "^7.0.0"
|
"bootstrap": "^3.3.4",
|
||||||
|
"dragscroll": "0.0.8",
|
||||||
|
"fuse.js": "^7.0.0",
|
||||||
|
"jquery": "^2.2.4",
|
||||||
|
"jquery-color": "^2.2.0",
|
||||||
|
"jquery-mousewheel": "^3.2.2"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"copy-webpack-plugin": "^11.0.0",
|
||||||
|
"css-loader": "^7.1.2",
|
||||||
|
"css-minimizer-webpack-plugin": "^7.0.2",
|
||||||
|
"file-loader": "^6.2.0",
|
||||||
|
"mini-css-extract-plugin": "^2.9.2",
|
||||||
|
"style-loader": "^4.0.0",
|
||||||
|
"terser-webpack-plugin": "^5.3.14",
|
||||||
|
"webpack": "^5.98.0",
|
||||||
|
"webpack-cli": "^5.1.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
5
subprojects/gst-devtools/dots-viewer/static/dist/bundle.css
vendored
Normal file
5
subprojects/gst-devtools/dots-viewer/static/dist/bundle.css
vendored
Normal file
File diff suppressed because one or more lines are too long
2
subprojects/gst-devtools/dots-viewer/static/dist/bundle.js
vendored
Normal file
2
subprojects/gst-devtools/dots-viewer/static/dist/bundle.js
vendored
Normal file
File diff suppressed because one or more lines are too long
40
subprojects/gst-devtools/dots-viewer/static/dist/bundle.js.LICENSE.txt
vendored
Normal file
40
subprojects/gst-devtools/dots-viewer/static/dist/bundle.js.LICENSE.txt
vendored
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
/*!
|
||||||
|
* Sizzle CSS Selector Engine v2.2.1
|
||||||
|
* http://sizzlejs.com/
|
||||||
|
*
|
||||||
|
* Copyright jQuery Foundation and other contributors
|
||||||
|
* Released under the MIT license
|
||||||
|
* http://jquery.org/license
|
||||||
|
*
|
||||||
|
* Date: 2015-10-17
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* jQuery Color Animations v2.2.0
|
||||||
|
* https://github.com/jquery/jquery-color
|
||||||
|
*
|
||||||
|
* Copyright OpenJS Foundation and other contributors
|
||||||
|
* Released under the MIT license.
|
||||||
|
* http://jquery.org/license
|
||||||
|
*
|
||||||
|
* Date: Sun May 10 09:02:36 2020 +0200
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* jQuery JavaScript Library v2.2.4
|
||||||
|
* http://jquery.com/
|
||||||
|
*
|
||||||
|
* Includes Sizzle.js
|
||||||
|
* http://sizzlejs.com/
|
||||||
|
*
|
||||||
|
* Copyright jQuery Foundation and other contributors
|
||||||
|
* Released under the MIT license
|
||||||
|
* http://jquery.org/license
|
||||||
|
*
|
||||||
|
* Date: 2016-05-20T17:23Z
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* jQuery Mousewheel 3.2.2
|
||||||
|
* Copyright OpenJS Foundation and other contributors
|
||||||
|
*/
|
File diff suppressed because one or more lines are too long
@ -1,5 +1,4 @@
|
|||||||
import { instance } from "/js/viz-standalone.mjs";
|
import "/dist/bundle.js";
|
||||||
import Fuse from '/js/fuse.min.mjs'
|
|
||||||
|
|
||||||
let ws = null;
|
let ws = null;
|
||||||
|
|
||||||
@ -54,7 +53,7 @@ async function generateSvg(img) {
|
|||||||
|
|
||||||
img.creating_svg = true;
|
img.creating_svg = true;
|
||||||
try {
|
try {
|
||||||
let viz = await instance();
|
let viz = await window.instance();
|
||||||
const svg = viz.renderSVGElement(img.dot_info.content);
|
const svg = viz.renderSVGElement(img.dot_info.content);
|
||||||
img.src = URL.createObjectURL(new Blob([svg.outerHTML], { type: 'image/svg+xml' }));
|
img.src = URL.createObjectURL(new Blob([svg.outerHTML], { type: 'image/svg+xml' }));
|
||||||
img.creating_svg = false;
|
img.creating_svg = false;
|
||||||
@ -303,7 +302,7 @@ function updateSearch() {
|
|||||||
title: div.querySelector('h2').textContent
|
title: div.querySelector('h2').textContent
|
||||||
}));
|
}));
|
||||||
|
|
||||||
const fuse = new Fuse(list, options);
|
const fuse = new window.Fuse(list, options);
|
||||||
const results = fuse.search(input.value);
|
const results = fuse.search(input.value);
|
||||||
|
|
||||||
for (let div of allDivs) {
|
for (let div of allDivs) {
|
||||||
|
File diff suppressed because one or more lines are too long
@ -22,7 +22,7 @@ furnished to do so, subject to the following conditions:
|
|||||||
|
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.4/css/bootstrap.min.css">
|
<link rel="stylesheet" href="/dist/bundle.css">
|
||||||
<link rel="stylesheet" href="/css/graphviz.svg.css">
|
<link rel="stylesheet" href="/css/graphviz.svg.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@ -52,13 +52,7 @@ furnished to do so, subject to the following conditions:
|
|||||||
<button id="save-svg" class="btn btn-primary btn-sm" style="margin-right: 5px;">Save SVG</button>
|
<button id="save-svg" class="btn btn-primary btn-sm" style="margin-right: 5px;">Save SVG</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script src='/dist/bundle.js'></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
|
|
||||||
<script type="text/javascript" src="https://cdn.rawgit.com/jquery/jquery-mousewheel/master/jquery.mousewheel.min.js"></script>
|
|
||||||
<script type="text/javascript" src="https://cdn.rawgit.com/jquery/jquery-color/master/jquery.color.js"></script>
|
|
||||||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.4/js/bootstrap.min.js"></script>
|
|
||||||
<script type="text/javascript" src="http://asvd.github.io/dragscroll/dragscroll.js"></script>
|
|
||||||
<script type="text/javascript" src="/js/jquery.graphviz.svg.js"></script>
|
<script type="text/javascript" src="/js/jquery.graphviz.svg.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
let url = new URL(window.location.href);
|
let url = new URL(window.location.href);
|
||||||
|
13
subprojects/gst-devtools/dots-viewer/update_vendored.sh
Executable file
13
subprojects/gst-devtools/dots-viewer/update_vendored.sh
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
if ! command -v npm &> /dev/null; then
|
||||||
|
echo "npm is not installed. Please install Node.js and npm first."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Installing dependencies..."
|
||||||
|
npm install
|
||||||
|
|
||||||
|
echo "Building bundles..."
|
||||||
|
npm run build
|
72
subprojects/gst-devtools/dots-viewer/webpack.config.js
Normal file
72
subprojects/gst-devtools/dots-viewer/webpack.config.js
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
const path = require('path');
|
||||||
|
const webpack = require('webpack');
|
||||||
|
const TerserPlugin = require('terser-webpack-plugin');
|
||||||
|
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
||||||
|
const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
mode: 'production',
|
||||||
|
entry: {
|
||||||
|
bundle: './bundle-entry.js'
|
||||||
|
},
|
||||||
|
output: {
|
||||||
|
path: path.resolve(__dirname, 'static/dist'),
|
||||||
|
filename: '[name].js',
|
||||||
|
},
|
||||||
|
module: {
|
||||||
|
rules: [
|
||||||
|
{
|
||||||
|
test: /\.css$/,
|
||||||
|
use: [
|
||||||
|
MiniCssExtractPlugin.loader,
|
||||||
|
'css-loader'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
// For Bootstrap fonts
|
||||||
|
{
|
||||||
|
test: /\.(woff|woff2|eot|ttf|svg)$/,
|
||||||
|
type: 'asset/resource',
|
||||||
|
generator: {
|
||||||
|
filename: 'fonts/[name][ext]'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
optimization: {
|
||||||
|
minimize: true,
|
||||||
|
minimizer: [
|
||||||
|
new TerserPlugin({
|
||||||
|
terserOptions: {
|
||||||
|
compress: {
|
||||||
|
drop_console: true,
|
||||||
|
passes: 2
|
||||||
|
},
|
||||||
|
mangle: true,
|
||||||
|
output: {
|
||||||
|
comments: false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}),
|
||||||
|
new CssMinimizerPlugin() // For CSS optimization
|
||||||
|
],
|
||||||
|
},
|
||||||
|
plugins: [
|
||||||
|
new webpack.ProvidePlugin({
|
||||||
|
$: 'jquery',
|
||||||
|
jQuery: 'jquery'
|
||||||
|
}),
|
||||||
|
new webpack.DefinePlugin({
|
||||||
|
'process.env.NODE_ENV': JSON.stringify('production')
|
||||||
|
}),
|
||||||
|
new MiniCssExtractPlugin({
|
||||||
|
filename: '[name].css'
|
||||||
|
})
|
||||||
|
],
|
||||||
|
resolve: {
|
||||||
|
alias: {
|
||||||
|
'jquery': path.resolve(__dirname, 'node_modules/jquery/dist/jquery.js'),
|
||||||
|
'/js/vendor/viz-standalone.mjs': path.resolve(__dirname, 'node_modules/@viz-js/viz/lib/viz-standalone.mjs'),
|
||||||
|
'/js/vendor/fuse.min.mjs': path.resolve(__dirname, 'node_modules/fuse.js/dist/fuse.mjs')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
@ -79,7 +79,7 @@ gst_mockdecryptor_class_init (GstMockDecryptorClass * klass)
|
|||||||
gst_element_class_add_static_pad_template (element_class,
|
gst_element_class_add_static_pad_template (element_class,
|
||||||
&gst_mockdecryptor_src_template);
|
&gst_mockdecryptor_src_template);
|
||||||
|
|
||||||
gst_element_class_set_metadata (element_class,
|
gst_element_class_set_static_metadata (element_class,
|
||||||
"Mock decryptor element for unit tests",
|
"Mock decryptor element for unit tests",
|
||||||
GST_ELEMENT_FACTORY_KLASS_DECRYPTOR,
|
GST_ELEMENT_FACTORY_KLASS_DECRYPTOR,
|
||||||
"Use in unit tests", "Charlie Turner <cturner@igalia.com>");
|
"Use in unit tests", "Charlie Turner <cturner@igalia.com>");
|
||||||
@ -168,6 +168,7 @@ gst_mockdecryptor_transform_caps (GstBaseTransform * base,
|
|||||||
gst_caps_intersect_full (transformed_caps, filter,
|
gst_caps_intersect_full (transformed_caps, filter,
|
||||||
GST_CAPS_INTERSECT_FIRST);
|
GST_CAPS_INTERSECT_FIRST);
|
||||||
gst_caps_replace (&transformed_caps, intersection);
|
gst_caps_replace (&transformed_caps, intersection);
|
||||||
|
gst_caps_unref (intersection);
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (base, "returning %" GST_PTR_FORMAT, transformed_caps);
|
GST_DEBUG_OBJECT (base, "returning %" GST_PTR_FORMAT, transformed_caps);
|
||||||
|
@ -488,6 +488,7 @@ _append_accept_caps_failure_details (GstValidatePadMonitor * monitor,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gst_caps_unref (refused_caps);
|
||||||
gst_caps_unref (possible_caps);
|
gst_caps_unref (possible_caps);
|
||||||
gst_object_unref (pad);
|
gst_object_unref (pad);
|
||||||
|
|
||||||
|
@ -699,8 +699,6 @@ gst_validate_report_init (void)
|
|||||||
gchar **wanted_files;
|
gchar **wanted_files;
|
||||||
wanted_files = g_strsplit (file_env, G_SEARCHPATH_SEPARATOR_S, 0);
|
wanted_files = g_strsplit (file_env, G_SEARCHPATH_SEPARATOR_S, 0);
|
||||||
|
|
||||||
/* FIXME: Make sure it is freed in the deinit function when that is
|
|
||||||
* implemented */
|
|
||||||
log_files =
|
log_files =
|
||||||
g_malloc0 (sizeof (FILE *) * (g_strv_length (wanted_files) + 1));
|
g_malloc0 (sizeof (FILE *) * (g_strv_length (wanted_files) + 1));
|
||||||
for (i = 0; i < g_strv_length (wanted_files); i++) {
|
for (i = 0; i < g_strv_length (wanted_files); i++) {
|
||||||
@ -745,6 +743,16 @@ gst_validate_report_deinit (void)
|
|||||||
|
|
||||||
g_clear_object (&socket_client);
|
g_clear_object (&socket_client);
|
||||||
g_clear_object (&server_connection);
|
g_clear_object (&server_connection);
|
||||||
|
|
||||||
|
if (log_files) {
|
||||||
|
gint i;
|
||||||
|
for (i = 0; log_files[i]; i++) {
|
||||||
|
if (log_files[i] != stdout && log_files[i] != stderr)
|
||||||
|
fclose (log_files[i]);
|
||||||
|
}
|
||||||
|
g_free (log_files);
|
||||||
|
log_files = NULL;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -90,6 +90,7 @@ gst_validate_reporter_get_priv (GstValidateReporter * reporter)
|
|||||||
g_direct_equal, NULL, (GDestroyNotify) gst_validate_report_unref);
|
g_direct_equal, NULL, (GDestroyNotify) gst_validate_report_unref);
|
||||||
|
|
||||||
g_mutex_init (&priv->reports_lock);
|
g_mutex_init (&priv->reports_lock);
|
||||||
|
g_weak_ref_init (&priv->runner, NULL);
|
||||||
g_object_set_data_full (G_OBJECT (reporter), REPORTER_PRIVATE, priv,
|
g_object_set_data_full (G_OBJECT (reporter), REPORTER_PRIVATE, priv,
|
||||||
(GDestroyNotify) _free_priv);
|
(GDestroyNotify) _free_priv);
|
||||||
}
|
}
|
||||||
|
@ -2207,6 +2207,7 @@ select_stream_data_free (SelectStreamData * d)
|
|||||||
{
|
{
|
||||||
gst_validate_action_unref (d->action);
|
gst_validate_action_unref (d->action);
|
||||||
g_list_free_full (d->wanted_streams, g_free);
|
g_list_free_full (d->wanted_streams, g_free);
|
||||||
|
g_rec_mutex_clear (&d->m);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -2311,7 +2312,7 @@ done:
|
|||||||
if (selected_streams && d->message_sid &&
|
if (selected_streams && d->message_sid &&
|
||||||
d->wanted_n_calls >= 1 && d->n_calls == d->wanted_n_calls) {
|
d->wanted_n_calls >= 1 && d->n_calls == d->wanted_n_calls) {
|
||||||
/* Consider action done once we get the STREAM_SELECTED signal */
|
/* Consider action done once we get the STREAM_SELECTED signal */
|
||||||
gst_validate_action_set_done (gst_validate_action_ref (d->action));
|
gst_validate_action_set_done (d->action);
|
||||||
gst_bus_disable_sync_message_emission (bus);
|
gst_bus_disable_sync_message_emission (bus);
|
||||||
g_signal_handler_disconnect (bus, d->message_sid);
|
g_signal_handler_disconnect (bus, d->message_sid);
|
||||||
d->message_sid = 0;
|
d->message_sid = 0;
|
||||||
@ -2347,7 +2348,7 @@ stream_selection_scenario_stopping_cb (GstValidateScenario * scenario,
|
|||||||
d->wanted_n_calls, d->n_calls);
|
d->wanted_n_calls, d->n_calls);
|
||||||
}
|
}
|
||||||
|
|
||||||
gst_validate_action_set_done (gst_validate_action_ref (d->action));
|
gst_validate_action_set_done (d->action);
|
||||||
|
|
||||||
if (bus && d->message_sid) {
|
if (bus && d->message_sid) {
|
||||||
gst_bus_disable_sync_message_emission (bus);
|
gst_bus_disable_sync_message_emission (bus);
|
||||||
@ -2911,6 +2912,8 @@ _execute_on_sub_scenario (GstValidateScenario * scenario,
|
|||||||
data->subaction_done_sigid);
|
data->subaction_done_sigid);
|
||||||
data->subaction_done_sigid = 0;
|
data->subaction_done_sigid = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gst_validate_action_set_done (subaction);
|
||||||
}
|
}
|
||||||
g_mutex_unlock (&data->sigid_lock);
|
g_mutex_unlock (&data->sigid_lock);
|
||||||
validate_action_foreign_scenario_data_unref (data);
|
validate_action_foreign_scenario_data_unref (data);
|
||||||
@ -4387,6 +4390,7 @@ _execute_appsrc_push (GstValidateScenario * scenario,
|
|||||||
|
|
||||||
g_signal_emit_by_name (appsink, "pull-sample", &sample, NULL);
|
g_signal_emit_by_name (appsink, "pull-sample", &sample, NULL);
|
||||||
|
|
||||||
|
g_strfreev (pipeline_elements);
|
||||||
goto push_sample;
|
goto push_sample;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -5199,11 +5203,6 @@ handle_bus_message (MessageData * d)
|
|||||||
GstValidateActionType *stop_action_type;
|
GstValidateActionType *stop_action_type;
|
||||||
GstStructure *s;
|
GstStructure *s;
|
||||||
|
|
||||||
if (!is_error && priv->ignore_eos) {
|
|
||||||
GST_INFO_OBJECT (scenario, "Got EOS but ignoring it!");
|
|
||||||
goto done;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (is_error && priv->allow_errors) {
|
if (is_error && priv->allow_errors) {
|
||||||
#ifndef GST_DISABLE_GST_DEBUG
|
#ifndef GST_DISABLE_GST_DEBUG
|
||||||
GError *err = NULL;
|
GError *err = NULL;
|
||||||
@ -5254,17 +5253,25 @@ handle_bus_message (MessageData * d)
|
|||||||
* Is it possible that this handler is run before _action_set_done(), so
|
* Is it possible that this handler is run before _action_set_done(), so
|
||||||
* we check at this point for actions that have a pending_set_done and
|
* we check at this point for actions that have a pending_set_done and
|
||||||
* call it before continuing. */
|
* call it before continuing. */
|
||||||
GList *actions = g_list_copy (priv->actions);
|
GList *actions = g_list_copy_deep (priv->actions,
|
||||||
|
(GCopyFunc) (gst_validate_action_ref), NULL);
|
||||||
GList *i;
|
GList *i;
|
||||||
for (i = actions; i; i = i->next) {
|
for (i = actions; i; i = i->next) {
|
||||||
GstValidateAction *action = (GstValidateAction *) i->data;
|
GstValidateAction *action = (GstValidateAction *) i->data;
|
||||||
if (action->priv->pending_set_done)
|
if (action->priv->pending_set_done)
|
||||||
_action_set_done (action);
|
_action_set_done (action);
|
||||||
}
|
}
|
||||||
g_list_free (actions);
|
g_list_free_full (actions, (GDestroyNotify) gst_validate_action_unref);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!is_error) {
|
if (!is_error) {
|
||||||
|
if (priv->ignore_eos) {
|
||||||
|
GST_INFO_OBJECT (scenario,
|
||||||
|
"Got EOS but ignoring it, executing next action?");
|
||||||
|
GST_VALIDATE_SCENARIO_EOS_HANDLING_UNLOCK (scenario);
|
||||||
|
goto done;
|
||||||
|
}
|
||||||
|
|
||||||
priv->got_eos = TRUE;
|
priv->got_eos = TRUE;
|
||||||
if (priv->wait_message_action) {
|
if (priv->wait_message_action) {
|
||||||
|
|
||||||
@ -5287,6 +5294,7 @@ handle_bus_message (MessageData * d)
|
|||||||
g_list_free_full (priv->seeks,
|
g_list_free_full (priv->seeks,
|
||||||
(GDestroyNotify) gst_validate_seek_information_free);
|
(GDestroyNotify) gst_validate_seek_information_free);
|
||||||
priv->seeks = NULL;
|
priv->seeks = NULL;
|
||||||
|
priv->current_seek = NULL;
|
||||||
SCENARIO_UNLOCK (scenario);
|
SCENARIO_UNLOCK (scenario);
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (scenario, "Got EOS; generate 'stop' action");
|
GST_DEBUG_OBJECT (scenario, "Got EOS; generate 'stop' action");
|
||||||
@ -5955,6 +5963,7 @@ gst_validate_scenario_dispose (GObject * object)
|
|||||||
}
|
}
|
||||||
|
|
||||||
gst_object_replace ((GstObject **) & priv->clock, NULL);
|
gst_object_replace ((GstObject **) & priv->clock, NULL);
|
||||||
|
gst_object_unref (runner);
|
||||||
|
|
||||||
G_OBJECT_CLASS (gst_validate_scenario_parent_class)->dispose (object);
|
G_OBJECT_CLASS (gst_validate_scenario_parent_class)->dispose (object);
|
||||||
}
|
}
|
||||||
@ -7595,6 +7604,7 @@ _execute_start_http_server (GstValidateScenario * scenario,
|
|||||||
err->message);
|
err->message);
|
||||||
REPORT_UNLESS (sscanf (line, "PORT: %d", &port) == 1, done,
|
REPORT_UNLESS (sscanf (line, "PORT: %d", &port) == 1, done,
|
||||||
"Failed to parse port number from server output: %s", line);
|
"Failed to parse port number from server output: %s", line);
|
||||||
|
g_free (line);
|
||||||
|
|
||||||
server.port = port;
|
server.port = port;
|
||||||
server.subprocess = subprocess;
|
server.subprocess = subprocess;
|
||||||
|
@ -518,7 +518,8 @@ gst_validate_deinit (void)
|
|||||||
g_list_free (core_config);
|
g_list_free (core_config);
|
||||||
core_config = NULL;
|
core_config = NULL;
|
||||||
|
|
||||||
g_list_free_full (all_configs, (GDestroyNotify) gst_structure_free);
|
g_list_free_full (g_steal_pointer (&all_configs),
|
||||||
|
(GDestroyNotify) gst_structure_free);
|
||||||
gst_validate_deinit_runner ();
|
gst_validate_deinit_runner ();
|
||||||
|
|
||||||
gst_validate_scenario_deinit ();
|
gst_validate_scenario_deinit ();
|
||||||
|
@ -701,6 +701,9 @@ class GstValidateSimpleTest(GstValidateTest):
|
|||||||
|
|
||||||
super().__init__(GstValidateBaseTestManager.COMMAND, *args, **kwargs)
|
super().__init__(GstValidateBaseTestManager.COMMAND, *args, **kwargs)
|
||||||
|
|
||||||
|
def is_autogenerated(self) -> bool:
|
||||||
|
return False
|
||||||
|
|
||||||
def build_arguments(self):
|
def build_arguments(self):
|
||||||
self.add_arguments('--set-test-file', self.test_file)
|
self.add_arguments('--set-test-file', self.test_file)
|
||||||
if self.options.mute:
|
if self.options.mute:
|
||||||
|
@ -154,12 +154,13 @@ class Test(Loggable):
|
|||||||
@hard_timeout: Max time the test can take in absolute
|
@hard_timeout: Max time the test can take in absolute
|
||||||
"""
|
"""
|
||||||
Loggable.__init__(self)
|
Loggable.__init__(self)
|
||||||
self.timeout = timeout * TIMEOUT_FACTOR * options.timeout_factor
|
self.orig_timeout = self.timeout = timeout * TIMEOUT_FACTOR * options.timeout_factor
|
||||||
if hard_timeout:
|
if hard_timeout:
|
||||||
self.hard_timeout = hard_timeout * TIMEOUT_FACTOR
|
self.hard_timeout = hard_timeout * TIMEOUT_FACTOR
|
||||||
self.hard_timeout *= options.timeout_factor
|
self.hard_timeout *= options.timeout_factor
|
||||||
else:
|
else:
|
||||||
self.hard_timeout = hard_timeout
|
self.hard_timeout = hard_timeout
|
||||||
|
self.orig_hard_timeout = self.hard_timeout
|
||||||
self.classname = classname
|
self.classname = classname
|
||||||
self.options = options
|
self.options = options
|
||||||
self.application = application_name
|
self.application = application_name
|
||||||
@ -192,6 +193,9 @@ class Test(Loggable):
|
|||||||
|
|
||||||
self.clean()
|
self.clean()
|
||||||
|
|
||||||
|
def is_autogenerated(self) -> bool:
|
||||||
|
return True
|
||||||
|
|
||||||
def remove_logs(self):
|
def remove_logs(self):
|
||||||
for logfile in set([self.logfile]) | self.extra_logfiles:
|
for logfile in set([self.logfile]) | self.extra_logfiles:
|
||||||
try:
|
try:
|
||||||
@ -252,6 +256,8 @@ class Test(Loggable):
|
|||||||
self.__env_variable = []
|
self.__env_variable = []
|
||||||
self.kill_subprocess()
|
self.kill_subprocess()
|
||||||
self.process = None
|
self.process = None
|
||||||
|
self.timeout = self.orig_timeout
|
||||||
|
self.hard_timeout = self.orig_hard_timeout
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
string = self.classname
|
string = self.classname
|
||||||
@ -645,9 +651,6 @@ class Test(Loggable):
|
|||||||
return command
|
return command
|
||||||
|
|
||||||
def use_valgrind(self, command, subenv):
|
def use_valgrind(self, command, subenv):
|
||||||
vglogsfile = os.path.splitext(self.logfile)[0] + '.valgrind'
|
|
||||||
self.extra_logfiles.add(vglogsfile)
|
|
||||||
|
|
||||||
vg_args = []
|
vg_args = []
|
||||||
|
|
||||||
for o, v in [('trace-children', 'yes'),
|
for o, v in [('trace-children', 'yes'),
|
||||||
@ -669,7 +672,7 @@ class Test(Loggable):
|
|||||||
if not self.options.redirect_logs:
|
if not self.options.redirect_logs:
|
||||||
vglogsfile = os.path.splitext(self.logfile)[0] + '.valgrind'
|
vglogsfile = os.path.splitext(self.logfile)[0] + '.valgrind'
|
||||||
self.extra_logfiles.add(vglogsfile)
|
self.extra_logfiles.add(vglogsfile)
|
||||||
vg_args.append("--%s=%s" % ('log-file', vglogsfile))
|
vg_args.append("--%s=%s" % ('log-file', vglogsfile.replace("%", "%%")))
|
||||||
|
|
||||||
for supp in self.get_valgrind_suppressions():
|
for supp in self.get_valgrind_suppressions():
|
||||||
vg_args.append("--suppressions=%s" % supp)
|
vg_args.append("--suppressions=%s" % supp)
|
||||||
@ -2084,7 +2087,7 @@ class _TestsLauncher(Loggable):
|
|||||||
if self.options.blacklisted_tests or self.options.wanted_tests:
|
if self.options.blacklisted_tests or self.options.wanted_tests:
|
||||||
return
|
return
|
||||||
|
|
||||||
tests_names = [test.classname for test in tests]
|
tests_names = [test.classname for test in tests if test.is_autogenerated()]
|
||||||
testlist_changed = False
|
testlist_changed = False
|
||||||
for testsuite in self.options.testsuites:
|
for testsuite in self.options.testsuites:
|
||||||
if not self._check_tester_has_other_testsuite(testsuite, tester) \
|
if not self._check_tester_has_other_testsuite(testsuite, tester) \
|
||||||
@ -2111,7 +2114,7 @@ class _TestsLauncher(Loggable):
|
|||||||
else:
|
else:
|
||||||
optional_out.append((test, None))
|
optional_out.append((test, None))
|
||||||
|
|
||||||
tests_names = sorted([(test.classname, test) for test in tests] + optional_out,
|
tests_names = sorted([(test.classname, test) for test in tests if test.is_autogenerated()] + optional_out,
|
||||||
key=lambda x: x[0].strip('~'))
|
key=lambda x: x[0].strip('~'))
|
||||||
|
|
||||||
for tname, test in tests_names:
|
for tname, test in tests_names:
|
||||||
|
@ -481,6 +481,7 @@ _set_videoconvert (ValidateSsimOverride * o,
|
|||||||
caps = gst_pad_get_current_caps (pad);
|
caps = gst_pad_get_current_caps (pad);
|
||||||
gst_object_unref (pad);
|
gst_object_unref (pad);
|
||||||
gst_caps_replace (&priv->last_caps, caps);
|
gst_caps_replace (&priv->last_caps, caps);
|
||||||
|
gst_caps_unref (caps);
|
||||||
|
|
||||||
gst_video_info_init (&priv->in_info);
|
gst_video_info_init (&priv->in_info);
|
||||||
gst_video_info_init (&priv->out_info);
|
gst_video_info_init (&priv->out_info);
|
||||||
|
@ -86,6 +86,8 @@ GST_START_TEST (monitors_cleanup)
|
|||||||
g_object_get_data ((GObject *) sink->sinkpads->data, "validate-monitor");
|
g_object_get_data ((GObject *) sink->sinkpads->data, "validate-monitor");
|
||||||
gst_check_objects_destroyed_on_unref (monitor, pmonitor1, pmonitor2, NULL);
|
gst_check_objects_destroyed_on_unref (monitor, pmonitor1, pmonitor2, NULL);
|
||||||
gst_check_objects_destroyed_on_unref (pipeline, src, sink, NULL);
|
gst_check_objects_destroyed_on_unref (pipeline, src, sink, NULL);
|
||||||
|
|
||||||
|
gst_object_unref (runner);
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
@ -154,6 +154,7 @@ GST_START_TEST (buffer_before_segment)
|
|||||||
_check_reports_refcount (srcpad, 2);
|
_check_reports_refcount (srcpad, 2);
|
||||||
gst_object_unref (srcpad);
|
gst_object_unref (srcpad);
|
||||||
gst_check_object_destroyed_on_unref (sink);
|
gst_check_object_destroyed_on_unref (sink);
|
||||||
|
gst_object_unref (monitor);
|
||||||
ASSERT_OBJECT_REFCOUNT (runner, "runner", 2);
|
ASSERT_OBJECT_REFCOUNT (runner, "runner", 2);
|
||||||
gst_object_unref (runner);
|
gst_object_unref (runner);
|
||||||
}
|
}
|
||||||
@ -221,11 +222,15 @@ GST_START_TEST (buffer_outside_segment)
|
|||||||
buffer = gst_discont_buffer_new ();
|
buffer = gst_discont_buffer_new ();
|
||||||
GST_BUFFER_PTS (buffer) = 10 * GST_SECOND;
|
GST_BUFFER_PTS (buffer) = 10 * GST_SECOND;
|
||||||
GST_BUFFER_DURATION (buffer) = GST_SECOND;
|
GST_BUFFER_DURATION (buffer) = GST_SECOND;
|
||||||
fail_if (GST_PAD_IS_FLUSHING (gst_element_get_static_pad (identity,
|
pad = gst_element_get_static_pad (identity, "sink");
|
||||||
"sink")));
|
fail_if (GST_PAD_IS_FLUSHING (pad));
|
||||||
fail_if (GST_PAD_IS_FLUSHING (gst_element_get_static_pad (identity,
|
gst_clear_object (&pad);
|
||||||
"src")));
|
pad = gst_element_get_static_pad (identity, "src");
|
||||||
fail_if (GST_PAD_IS_FLUSHING (gst_element_get_static_pad (sink, "sink")));
|
fail_if (GST_PAD_IS_FLUSHING (pad));
|
||||||
|
gst_clear_object (&pad);
|
||||||
|
pad = gst_element_get_static_pad (sink, "sink");
|
||||||
|
fail_if (GST_PAD_IS_FLUSHING (pad));
|
||||||
|
gst_clear_object (&pad);
|
||||||
fail_unless_equals_int (gst_pad_push (srcpad, buffer), GST_FLOW_OK);
|
fail_unless_equals_int (gst_pad_push (srcpad, buffer), GST_FLOW_OK);
|
||||||
|
|
||||||
reports = gst_validate_runner_get_reports (runner);
|
reports = gst_validate_runner_get_reports (runner);
|
||||||
|
@ -206,6 +206,10 @@ _create_issues (GstValidateRunner * runner)
|
|||||||
gst_object_unref (sinkpad);
|
gst_object_unref (sinkpad);
|
||||||
gst_object_unref (funnel_sink1);
|
gst_object_unref (funnel_sink1);
|
||||||
gst_object_unref (funnel_sink2);
|
gst_object_unref (funnel_sink2);
|
||||||
|
free_element_monitor (fakemixer);
|
||||||
|
free_element_monitor (sink);
|
||||||
|
free_element_monitor (src2);
|
||||||
|
free_element_monitor (src1);
|
||||||
gst_check_objects_destroyed_on_unref (fakemixer, funnel_sink1, funnel_sink2,
|
gst_check_objects_destroyed_on_unref (fakemixer, funnel_sink1, funnel_sink2,
|
||||||
NULL);
|
NULL);
|
||||||
gst_check_objects_destroyed_on_unref (src1, srcpad1, NULL);
|
gst_check_objects_destroyed_on_unref (src1, srcpad1, NULL);
|
||||||
|
@ -37,6 +37,9 @@ GST_START_TEST (test_expression_parser)
|
|||||||
fail_unless_equals_uint64 (start, 50 * GST_SECOND);
|
fail_unless_equals_uint64 (start, 50 * GST_SECOND);
|
||||||
gst_validate_action_unref (action);
|
gst_validate_action_unref (action);
|
||||||
|
|
||||||
|
gst_mini_object_unref (GST_MINI_OBJECT (seek_type));
|
||||||
|
gst_mini_object_unref (GST_MINI_OBJECT (set_vars));
|
||||||
|
gst_object_unref (scenario);
|
||||||
gst_object_unref (runner);
|
gst_object_unref (runner);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -155,8 +155,8 @@ GST_PLUGIN_STATIC_DECLARE(wavpack);
|
|||||||
#if defined(GST_IOS_PLUGIN_WAVPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_WAVPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_DECLARE(wavparse);
|
GST_PLUGIN_STATIC_DECLARE(wavparse);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_Y4MENC) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_Y4M) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_DECLARE(y4menc);
|
GST_PLUGIN_STATIC_DECLARE(y4m);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_ADPCMDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_ADPCMDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_DECLARE(adpcmdec);
|
GST_PLUGIN_STATIC_DECLARE(adpcmdec);
|
||||||
@ -212,9 +212,6 @@ GST_PLUGIN_STATIC_DECLARE(subenc);
|
|||||||
#if defined(GST_IOS_PLUGIN_VIDEOPARSERSBAD) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_VIDEOPARSERSBAD) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_DECLARE(videoparsersbad);
|
GST_PLUGIN_STATIC_DECLARE(videoparsersbad);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_Y4MDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
|
||||||
GST_PLUGIN_STATIC_DECLARE(y4mdec);
|
|
||||||
#endif
|
|
||||||
#if defined(GST_IOS_PLUGIN_JPEGFORMAT) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_JPEGFORMAT) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_DECLARE(jpegformat);
|
GST_PLUGIN_STATIC_DECLARE(jpegformat);
|
||||||
#endif
|
#endif
|
||||||
@ -715,8 +712,8 @@ gst_ios_init (void)
|
|||||||
#if defined(GST_IOS_PLUGIN_WAVPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_WAVPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_REGISTER(wavparse);
|
GST_PLUGIN_STATIC_REGISTER(wavparse);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_Y4MENC) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_Y4M) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_REGISTER(y4menc);
|
GST_PLUGIN_STATIC_REGISTER(y4m);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_ADPCMDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_ADPCMDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_REGISTER(adpcmdec);
|
GST_PLUGIN_STATIC_REGISTER(adpcmdec);
|
||||||
@ -772,9 +769,6 @@ gst_ios_init (void)
|
|||||||
#if defined(GST_IOS_PLUGIN_VIDEOPARSERSBAD) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_VIDEOPARSERSBAD) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_REGISTER(videoparsersbad);
|
GST_PLUGIN_STATIC_REGISTER(videoparsersbad);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_Y4MDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
|
||||||
GST_PLUGIN_STATIC_REGISTER(y4mdec);
|
|
||||||
#endif
|
|
||||||
#if defined(GST_IOS_PLUGIN_JPEGFORMAT) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_JPEGFORMAT) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_REGISTER(jpegformat);
|
GST_PLUGIN_STATIC_REGISTER(jpegformat);
|
||||||
#endif
|
#endif
|
||||||
|
@ -155,8 +155,8 @@ GST_PLUGIN_STATIC_DECLARE(wavpack);
|
|||||||
#if defined(GST_IOS_PLUGIN_WAVPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_WAVPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_DECLARE(wavparse);
|
GST_PLUGIN_STATIC_DECLARE(wavparse);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_Y4MENC) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_Y4M) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_DECLARE(y4menc);
|
GST_PLUGIN_STATIC_DECLARE(y4m);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_ADPCMDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_ADPCMDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_DECLARE(adpcmdec);
|
GST_PLUGIN_STATIC_DECLARE(adpcmdec);
|
||||||
@ -212,9 +212,6 @@ GST_PLUGIN_STATIC_DECLARE(subenc);
|
|||||||
#if defined(GST_IOS_PLUGIN_VIDEOPARSERSBAD) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_VIDEOPARSERSBAD) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_DECLARE(videoparsersbad);
|
GST_PLUGIN_STATIC_DECLARE(videoparsersbad);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_Y4MDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
|
||||||
GST_PLUGIN_STATIC_DECLARE(y4mdec);
|
|
||||||
#endif
|
|
||||||
#if defined(GST_IOS_PLUGIN_JPEGFORMAT) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_JPEGFORMAT) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_DECLARE(jpegformat);
|
GST_PLUGIN_STATIC_DECLARE(jpegformat);
|
||||||
#endif
|
#endif
|
||||||
@ -715,8 +712,8 @@ gst_ios_init (void)
|
|||||||
#if defined(GST_IOS_PLUGIN_WAVPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_WAVPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_REGISTER(wavparse);
|
GST_PLUGIN_STATIC_REGISTER(wavparse);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_Y4MENC) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_Y4M) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_REGISTER(y4menc);
|
GST_PLUGIN_STATIC_REGISTER(y4m);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_ADPCMDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_ADPCMDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_REGISTER(adpcmdec);
|
GST_PLUGIN_STATIC_REGISTER(adpcmdec);
|
||||||
@ -772,9 +769,6 @@ gst_ios_init (void)
|
|||||||
#if defined(GST_IOS_PLUGIN_VIDEOPARSERSBAD) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_VIDEOPARSERSBAD) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_REGISTER(videoparsersbad);
|
GST_PLUGIN_STATIC_REGISTER(videoparsersbad);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_Y4MDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
|
||||||
GST_PLUGIN_STATIC_REGISTER(y4mdec);
|
|
||||||
#endif
|
|
||||||
#if defined(GST_IOS_PLUGIN_JPEGFORMAT) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_JPEGFORMAT) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_REGISTER(jpegformat);
|
GST_PLUGIN_STATIC_REGISTER(jpegformat);
|
||||||
#endif
|
#endif
|
||||||
|
@ -155,8 +155,8 @@ GST_PLUGIN_STATIC_DECLARE(wavpack);
|
|||||||
#if defined(GST_IOS_PLUGIN_WAVPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_WAVPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_DECLARE(wavparse);
|
GST_PLUGIN_STATIC_DECLARE(wavparse);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_Y4MENC) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_Y4M) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_DECLARE(y4menc);
|
GST_PLUGIN_STATIC_DECLARE(y4m);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_ADPCMDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_ADPCMDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_DECLARE(adpcmdec);
|
GST_PLUGIN_STATIC_DECLARE(adpcmdec);
|
||||||
@ -212,9 +212,6 @@ GST_PLUGIN_STATIC_DECLARE(subenc);
|
|||||||
#if defined(GST_IOS_PLUGIN_VIDEOPARSERSBAD) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_VIDEOPARSERSBAD) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_DECLARE(videoparsersbad);
|
GST_PLUGIN_STATIC_DECLARE(videoparsersbad);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_Y4MDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
|
||||||
GST_PLUGIN_STATIC_DECLARE(y4mdec);
|
|
||||||
#endif
|
|
||||||
#if defined(GST_IOS_PLUGIN_JPEGFORMAT) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_JPEGFORMAT) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_DECLARE(jpegformat);
|
GST_PLUGIN_STATIC_DECLARE(jpegformat);
|
||||||
#endif
|
#endif
|
||||||
@ -715,8 +712,8 @@ gst_ios_init (void)
|
|||||||
#if defined(GST_IOS_PLUGIN_WAVPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_WAVPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_REGISTER(wavparse);
|
GST_PLUGIN_STATIC_REGISTER(wavparse);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_Y4MENC) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_Y4M) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_REGISTER(y4menc);
|
GST_PLUGIN_STATIC_REGISTER(y4m);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_ADPCMDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_ADPCMDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_REGISTER(adpcmdec);
|
GST_PLUGIN_STATIC_REGISTER(adpcmdec);
|
||||||
@ -772,9 +769,6 @@ gst_ios_init (void)
|
|||||||
#if defined(GST_IOS_PLUGIN_VIDEOPARSERSBAD) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_VIDEOPARSERSBAD) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_REGISTER(videoparsersbad);
|
GST_PLUGIN_STATIC_REGISTER(videoparsersbad);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_Y4MDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
|
||||||
GST_PLUGIN_STATIC_REGISTER(y4mdec);
|
|
||||||
#endif
|
|
||||||
#if defined(GST_IOS_PLUGIN_JPEGFORMAT) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_JPEGFORMAT) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_REGISTER(jpegformat);
|
GST_PLUGIN_STATIC_REGISTER(jpegformat);
|
||||||
#endif
|
#endif
|
||||||
|
@ -155,8 +155,8 @@ GST_PLUGIN_STATIC_DECLARE(wavpack);
|
|||||||
#if defined(GST_IOS_PLUGIN_WAVPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_WAVPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_DECLARE(wavparse);
|
GST_PLUGIN_STATIC_DECLARE(wavparse);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_Y4MENC) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_Y4M) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_DECLARE(y4menc);
|
GST_PLUGIN_STATIC_DECLARE(y4m);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_ADPCMDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_ADPCMDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_DECLARE(adpcmdec);
|
GST_PLUGIN_STATIC_DECLARE(adpcmdec);
|
||||||
@ -212,9 +212,6 @@ GST_PLUGIN_STATIC_DECLARE(subenc);
|
|||||||
#if defined(GST_IOS_PLUGIN_VIDEOPARSERSBAD) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_VIDEOPARSERSBAD) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_DECLARE(videoparsersbad);
|
GST_PLUGIN_STATIC_DECLARE(videoparsersbad);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_Y4MDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
|
||||||
GST_PLUGIN_STATIC_DECLARE(y4mdec);
|
|
||||||
#endif
|
|
||||||
#if defined(GST_IOS_PLUGIN_JPEGFORMAT) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_JPEGFORMAT) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_DECLARE(jpegformat);
|
GST_PLUGIN_STATIC_DECLARE(jpegformat);
|
||||||
#endif
|
#endif
|
||||||
@ -715,8 +712,8 @@ gst_ios_init (void)
|
|||||||
#if defined(GST_IOS_PLUGIN_WAVPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_WAVPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_REGISTER(wavparse);
|
GST_PLUGIN_STATIC_REGISTER(wavparse);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_Y4MENC) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_Y4M) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_REGISTER(y4menc);
|
GST_PLUGIN_STATIC_REGISTER(y4m);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_ADPCMDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_ADPCMDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_REGISTER(adpcmdec);
|
GST_PLUGIN_STATIC_REGISTER(adpcmdec);
|
||||||
@ -772,9 +769,6 @@ gst_ios_init (void)
|
|||||||
#if defined(GST_IOS_PLUGIN_VIDEOPARSERSBAD) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_VIDEOPARSERSBAD) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_REGISTER(videoparsersbad);
|
GST_PLUGIN_STATIC_REGISTER(videoparsersbad);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_Y4MDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
|
||||||
GST_PLUGIN_STATIC_REGISTER(y4mdec);
|
|
||||||
#endif
|
|
||||||
#if defined(GST_IOS_PLUGIN_JPEGFORMAT) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_JPEGFORMAT) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_REGISTER(jpegformat);
|
GST_PLUGIN_STATIC_REGISTER(jpegformat);
|
||||||
#endif
|
#endif
|
||||||
|
@ -155,8 +155,8 @@ GST_PLUGIN_STATIC_DECLARE(wavpack);
|
|||||||
#if defined(GST_IOS_PLUGIN_WAVPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_WAVPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_DECLARE(wavparse);
|
GST_PLUGIN_STATIC_DECLARE(wavparse);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_Y4MENC) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_Y4M) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_DECLARE(y4menc);
|
GST_PLUGIN_STATIC_DECLARE(y4m);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_ADPCMDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_ADPCMDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_DECLARE(adpcmdec);
|
GST_PLUGIN_STATIC_DECLARE(adpcmdec);
|
||||||
@ -212,9 +212,6 @@ GST_PLUGIN_STATIC_DECLARE(subenc);
|
|||||||
#if defined(GST_IOS_PLUGIN_VIDEOPARSERSBAD) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_VIDEOPARSERSBAD) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_DECLARE(videoparsersbad);
|
GST_PLUGIN_STATIC_DECLARE(videoparsersbad);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_Y4MDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
|
||||||
GST_PLUGIN_STATIC_DECLARE(y4mdec);
|
|
||||||
#endif
|
|
||||||
#if defined(GST_IOS_PLUGIN_JPEGFORMAT) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_JPEGFORMAT) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_DECLARE(jpegformat);
|
GST_PLUGIN_STATIC_DECLARE(jpegformat);
|
||||||
#endif
|
#endif
|
||||||
@ -715,8 +712,8 @@ gst_ios_init (void)
|
|||||||
#if defined(GST_IOS_PLUGIN_WAVPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_WAVPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_REGISTER(wavparse);
|
GST_PLUGIN_STATIC_REGISTER(wavparse);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_Y4MENC) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_Y4M) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_REGISTER(y4menc);
|
GST_PLUGIN_STATIC_REGISTER(y4m);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_ADPCMDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_ADPCMDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_REGISTER(adpcmdec);
|
GST_PLUGIN_STATIC_REGISTER(adpcmdec);
|
||||||
@ -772,9 +769,6 @@ gst_ios_init (void)
|
|||||||
#if defined(GST_IOS_PLUGIN_VIDEOPARSERSBAD) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_VIDEOPARSERSBAD) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_REGISTER(videoparsersbad);
|
GST_PLUGIN_STATIC_REGISTER(videoparsersbad);
|
||||||
#endif
|
#endif
|
||||||
#if defined(GST_IOS_PLUGIN_Y4MDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
|
||||||
GST_PLUGIN_STATIC_REGISTER(y4mdec);
|
|
||||||
#endif
|
|
||||||
#if defined(GST_IOS_PLUGIN_JPEGFORMAT) || defined(GST_IOS_PLUGINS_CODECS)
|
#if defined(GST_IOS_PLUGIN_JPEGFORMAT) || defined(GST_IOS_PLUGINS_CODECS)
|
||||||
GST_PLUGIN_STATIC_REGISTER(jpegformat);
|
GST_PLUGIN_STATIC_REGISTER(jpegformat);
|
||||||
#endif
|
#endif
|
||||||
|
@ -89,9 +89,11 @@ to `running_time` as follows:
|
|||||||
The following notation is used:
|
The following notation is used:
|
||||||
|
|
||||||
**B**: `GstBuffer`
|
**B**: `GstBuffer`
|
||||||
|
|
||||||
- B.timestamp = buffer timestamp (`GST_BUFFER_PTS` or `GST_BUFFER_DTS`)
|
- B.timestamp = buffer timestamp (`GST_BUFFER_PTS` or `GST_BUFFER_DTS`)
|
||||||
|
|
||||||
**S**: SEGMENT event preceding the buffers.
|
**S**: SEGMENT event preceding the buffers.
|
||||||
|
|
||||||
- S.start: start field in the SEGMENT event. This is the lowest allowed
|
- S.start: start field in the SEGMENT event. This is the lowest allowed
|
||||||
timestamp.
|
timestamp.
|
||||||
- S.stop: stop field in the SEGMENT event. This is the highers allowed
|
- S.stop: stop field in the SEGMENT event. This is the highers allowed
|
||||||
|
@ -328,7 +328,7 @@ rust plugins in `gst-build` (`rs` option), you would do:
|
|||||||
meson -Drs=disabled <build-directory>
|
meson -Drs=disabled <build-directory>
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also peek at the `meson_options.txt` files and `subproject/xyz/meson_options.txt`
|
You can also peek at the `meson.options` files and `subproject/xyz/meson.options`
|
||||||
files which is where the various project specific build options are listed.
|
files which is where the various project specific build options are listed.
|
||||||
These do not include all the standard Meson options however.
|
These do not include all the standard Meson options however.
|
||||||
|
|
||||||
|
@ -331,7 +331,7 @@ and used as follows:
|
|||||||
| `GSTREAMER_PLUGINS_EFFECTS` | alpha alphacolor audiofx cairo cutter debug deinterlace dtmf effectv equalizer gdkpixbuf imagefreeze interleave level multifile replaygain shapewipe smpte spectrum videobox videocrop videomixer accurip aiff audiofxbad autoconvert bayer coloreffects debugutilsbad fieldanalysis freeverb frei0r gaudieffects geometrictransform inter interlace ivtc rawparse removesilence segmentclip smooth speed soundtouch videofiltersbad audiomixer compositor webrtcdsp |
|
| `GSTREAMER_PLUGINS_EFFECTS` | alpha alphacolor audiofx cairo cutter debug deinterlace dtmf effectv equalizer gdkpixbuf imagefreeze interleave level multifile replaygain shapewipe smpte spectrum videobox videocrop videomixer accurip aiff audiofxbad autoconvert bayer coloreffects debugutilsbad fieldanalysis freeverb frei0r gaudieffects geometrictransform inter interlace ivtc rawparse removesilence segmentclip smooth speed soundtouch videofiltersbad audiomixer compositor webrtcdsp |
|
||||||
| `GSTREAMER_PLUGINS_NET` | tcp rtsp rtp rtpmanager soup udp dataurisrc sdp srtp rtspclientsink |
|
| `GSTREAMER_PLUGINS_NET` | tcp rtsp rtp rtpmanager soup udp dataurisrc sdp srtp rtspclientsink |
|
||||||
| `GSTREAMER_PLUGINS_NET_RESTRICTED` | rtmp |
|
| `GSTREAMER_PLUGINS_NET_RESTRICTED` | rtmp |
|
||||||
| `GSTREAMER_PLUGINS_CODECS` | subparse ogg theora vorbis opus alaw apetag audioparsers auparse avi dv flac flv flxdec icydemux id3demux isomp4 jpeg matroska mulaw multipart png speex taglib vpx wavenc wavpack wavparse y4menc adpcmdec adpcmenc dashdemux dvbsuboverlay dvdspu hls id3tag kate midi mxf openh264 opusparse pcapparse pnm rfbsrc schro gstsiren smoothstreaming subenc videoparsersbad y4mdec jpegformat gdp rsvg openjpeg spandsp sbc androidmedia |
|
| `GSTREAMER_PLUGINS_CODECS` | subparse ogg theora vorbis opus alaw apetag audioparsers auparse avi dv flac flv flxdec icydemux id3demux isomp4 jpeg matroska mulaw multipart png speex taglib vpx wavenc wavpack wavparse y4m adpcmdec adpcmenc dashdemux dvbsuboverlay dvdspu hls id3tag kate midi mxf openh264 opusparse pcapparse pnm rfbsrc schro gstsiren smoothstreaming subenc videoparsersbad jpegformat gdp rsvg openjpeg spandsp sbc androidmedia |
|
||||||
| `GSTREAMER_PLUGINS_CODECS_GPL` | assrender |
|
| `GSTREAMER_PLUGINS_CODECS_GPL` | assrender |
|
||||||
| `GSTREAMER_PLUGINS_CODECS_RESTRICTED` | asfmux dtsdec faad mpegpsdemux mpegpsmux mpegtsdemux mpegtsmux voaacenc a52dec amrnb amrwbdec asf dvdsub dvdlpcmdec mad mpeg2dec xingmux realmedia x264 lame mpg123 libav |
|
| `GSTREAMER_PLUGINS_CODECS_RESTRICTED` | asfmux dtsdec faad mpegpsdemux mpegpsmux mpegtsdemux mpegtsmux voaacenc a52dec amrnb amrwbdec asf dvdsub dvdlpcmdec mad mpeg2dec xingmux realmedia x264 lame mpg123 libav |
|
||||||
| `GSTREAMER_PLUGINS_SYS` | opensles opengl |
|
| `GSTREAMER_PLUGINS_SYS` | opensles opengl |
|
||||||
|
@ -20830,6 +20830,7 @@
|
|||||||
"GstWpeSrc:draw-background",
|
"GstWpeSrc:draw-background",
|
||||||
"GstWpeSrc:location",
|
"GstWpeSrc:location",
|
||||||
"GstWpeVideoSrc!src",
|
"GstWpeVideoSrc!src",
|
||||||
|
"GstWpeVideoSrc2!src",
|
||||||
"GstWrapperCameraBinSrc",
|
"GstWrapperCameraBinSrc",
|
||||||
"GstWrapperCameraBinSrc!imgsrc",
|
"GstWrapperCameraBinSrc!imgsrc",
|
||||||
"GstWrapperCameraBinSrc!vfsrc",
|
"GstWrapperCameraBinSrc!vfsrc",
|
||||||
@ -39216,6 +39217,7 @@
|
|||||||
"element-webvttenc",
|
"element-webvttenc",
|
||||||
"element-wildmididec",
|
"element-wildmididec",
|
||||||
"element-wpesrc",
|
"element-wpesrc",
|
||||||
|
"element-wpesrc2",
|
||||||
"element-wrappercamerabinsrc",
|
"element-wrappercamerabinsrc",
|
||||||
"element-x264enc",
|
"element-x264enc",
|
||||||
"element-x265enc",
|
"element-x265enc",
|
||||||
@ -69485,14 +69487,14 @@
|
|||||||
"plugin-winks",
|
"plugin-winks",
|
||||||
"plugin-winscreencap",
|
"plugin-winscreencap",
|
||||||
"plugin-wpe",
|
"plugin-wpe",
|
||||||
|
"plugin-wpe2",
|
||||||
"plugin-x264",
|
"plugin-x264",
|
||||||
"plugin-x265",
|
"plugin-x265",
|
||||||
"plugin-ximagesink",
|
"plugin-ximagesink",
|
||||||
"plugin-ximagesrc",
|
"plugin-ximagesrc",
|
||||||
"plugin-xingmux",
|
"plugin-xingmux",
|
||||||
"plugin-xvimagesink",
|
"plugin-xvimagesink",
|
||||||
"plugin-y4mdec",
|
"plugin-y4m",
|
||||||
"plugin-y4menc",
|
|
||||||
"plugin-zbar",
|
"plugin-zbar",
|
||||||
"plugin-zxing",
|
"plugin-zxing",
|
||||||
"png-encoder-pred",
|
"png-encoder-pred",
|
||||||
@ -72088,13 +72090,22 @@
|
|||||||
"wpesrc",
|
"wpesrc",
|
||||||
"wpesrc::configure-web-view",
|
"wpesrc::configure-web-view",
|
||||||
"wpesrc::load-bytes",
|
"wpesrc::load-bytes",
|
||||||
|
"wpesrc::run-javascript",
|
||||||
"wpesrc:draw-background",
|
"wpesrc:draw-background",
|
||||||
"wpesrc:location",
|
"wpesrc:location",
|
||||||
"wpevideosrc",
|
"wpevideosrc",
|
||||||
"wpevideosrc::configure-web-view",
|
"wpevideosrc::configure-web-view",
|
||||||
"wpevideosrc::load-bytes",
|
"wpevideosrc::load-bytes",
|
||||||
|
"wpevideosrc::run-javascript",
|
||||||
"wpevideosrc:draw-background",
|
"wpevideosrc:draw-background",
|
||||||
"wpevideosrc:location",
|
"wpevideosrc:location",
|
||||||
|
"wpevideosrc2",
|
||||||
|
"wpevideosrc2::configure-web-view",
|
||||||
|
"wpevideosrc2::load-bytes",
|
||||||
|
"wpevideosrc2::wpe-view-created",
|
||||||
|
"wpevideosrc2::run-javascript",
|
||||||
|
"wpevideosrc2:draw-background",
|
||||||
|
"wpevideosrc2:location",
|
||||||
"wrappercamerabinsrc",
|
"wrappercamerabinsrc",
|
||||||
"wrappercamerabinsrc:video-source",
|
"wrappercamerabinsrc:video-source",
|
||||||
"wrappercamerabinsrc:video-source-filter",
|
"wrappercamerabinsrc:video-source-filter",
|
||||||
@ -72205,4 +72216,4 @@
|
|||||||
"zxing:message",
|
"zxing:message",
|
||||||
"zxing:try-faster",
|
"zxing:try-faster",
|
||||||
"zxing:try-rotate"
|
"zxing:try-rotate"
|
||||||
]
|
]
|
||||||
|
@ -494,7 +494,8 @@ ges_asset_class_init (GESAssetClass * klass)
|
|||||||
_properties[PROP_TYPE] =
|
_properties[PROP_TYPE] =
|
||||||
g_param_spec_gtype ("extractable-type", "Extractable type",
|
g_param_spec_gtype ("extractable-type", "Extractable type",
|
||||||
"The type of the Object that can be extracted out of the asset",
|
"The type of the Object that can be extracted out of the asset",
|
||||||
G_TYPE_OBJECT, G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE);
|
G_TYPE_OBJECT,
|
||||||
|
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESAsset:id:
|
* GESAsset:id:
|
||||||
@ -512,7 +513,7 @@ ges_asset_class_init (GESAssetClass * klass)
|
|||||||
_properties[PROP_ID] =
|
_properties[PROP_ID] =
|
||||||
g_param_spec_string ("id", "Identifier",
|
g_param_spec_string ("id", "Identifier",
|
||||||
"The unique identifier of the asset", NULL,
|
"The unique identifier of the asset", NULL,
|
||||||
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE);
|
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESAsset:proxy:
|
* GESAsset:proxy:
|
||||||
@ -526,7 +527,8 @@ ges_asset_class_init (GESAssetClass * klass)
|
|||||||
*/
|
*/
|
||||||
_properties[PROP_PROXY] =
|
_properties[PROP_PROXY] =
|
||||||
g_param_spec_object ("proxy", "Proxy",
|
g_param_spec_object ("proxy", "Proxy",
|
||||||
"The asset default proxy.", GES_TYPE_ASSET, G_PARAM_READWRITE);
|
"The asset default proxy.", GES_TYPE_ASSET,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESAsset:proxy-target:
|
* GESAsset:proxy-target:
|
||||||
@ -546,7 +548,8 @@ ges_asset_class_init (GESAssetClass * klass)
|
|||||||
*/
|
*/
|
||||||
_properties[PROP_PROXY_TARGET] =
|
_properties[PROP_PROXY_TARGET] =
|
||||||
g_param_spec_object ("proxy-target", "Proxy target",
|
g_param_spec_object ("proxy-target", "Proxy target",
|
||||||
"The target of a proxy asset.", GES_TYPE_ASSET, G_PARAM_READABLE);
|
"The target of a proxy asset.", GES_TYPE_ASSET,
|
||||||
|
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||||
|
|
||||||
g_object_class_install_properties (object_class, PROP_LAST, _properties);
|
g_object_class_install_properties (object_class, PROP_LAST, _properties);
|
||||||
|
|
||||||
|
@ -50,14 +50,8 @@
|
|||||||
#include "ges-audio-track.h"
|
#include "ges-audio-track.h"
|
||||||
|
|
||||||
#define DEFAULT_CAPS "audio/x-raw"
|
#define DEFAULT_CAPS "audio/x-raw"
|
||||||
|
#define DEFAULT_RESTRICTION_CAPS "audio/x-raw, format=" GST_AUDIO_NE (S32) ", "\
|
||||||
#if G_BYTE_ORDER == G_LITTLE_ENDIAN
|
"channels=2, rate=44100, layout=interleaved"
|
||||||
#define DEFAULT_RESTRICTION_CAPS "audio/x-raw, format=S32LE, channels=2, "\
|
|
||||||
"rate=44100, layout=interleaved"
|
|
||||||
#else
|
|
||||||
#define DEFAULT_RESTRICTION_CAPS "audio/x-raw, format=S32BE, channels=2, "\
|
|
||||||
"rate=44100, layout=interleaved"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
struct _GESAudioTrackPrivate
|
struct _GESAudioTrackPrivate
|
||||||
{
|
{
|
||||||
|
@ -149,7 +149,8 @@ ges_audio_uri_source_class_init (GESAudioUriSourceClass * klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_URI,
|
g_object_class_install_property (object_class, PROP_URI,
|
||||||
g_param_spec_string ("uri", "URI", "uri of the resource",
|
g_param_spec_string ("uri", "URI", "uri of the resource",
|
||||||
NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
|
NULL,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
element_class->get_natural_framerate = _get_natural_framerate;
|
element_class->get_natural_framerate = _get_natural_framerate;
|
||||||
|
|
||||||
|
@ -131,7 +131,7 @@ ges_clip_asset_class_init (GESClipAssetClass * self_class)
|
|||||||
properties[PROP_SUPPORTED_FORMATS] = g_param_spec_flags ("supported-formats",
|
properties[PROP_SUPPORTED_FORMATS] = g_param_spec_flags ("supported-formats",
|
||||||
"Supported formats", "Formats supported by the file",
|
"Supported formats", "Formats supported by the file",
|
||||||
GES_TYPE_TRACK_TYPE, GES_TRACK_TYPE_AUDIO | GES_TRACK_TYPE_VIDEO,
|
GES_TYPE_TRACK_TYPE, GES_TRACK_TYPE_AUDIO | GES_TRACK_TYPE_VIDEO,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS);
|
||||||
|
|
||||||
g_object_class_install_property (object_class, PROP_SUPPORTED_FORMATS,
|
g_object_class_install_property (object_class, PROP_SUPPORTED_FORMATS,
|
||||||
properties[PROP_SUPPORTED_FORMATS]);
|
properties[PROP_SUPPORTED_FORMATS]);
|
||||||
|
@ -2588,7 +2588,7 @@ ges_clip_class_init (GESClipClass * klass)
|
|||||||
properties[PROP_SUPPORTED_FORMATS] = g_param_spec_flags ("supported-formats",
|
properties[PROP_SUPPORTED_FORMATS] = g_param_spec_flags ("supported-formats",
|
||||||
"Supported formats", "Formats supported by the clip",
|
"Supported formats", "Formats supported by the clip",
|
||||||
GES_TYPE_TRACK_TYPE, GES_TRACK_TYPE_AUDIO | GES_TRACK_TYPE_VIDEO,
|
GES_TYPE_TRACK_TYPE, GES_TRACK_TYPE_AUDIO | GES_TRACK_TYPE_VIDEO,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS);
|
||||||
|
|
||||||
g_object_class_install_property (object_class, PROP_SUPPORTED_FORMATS,
|
g_object_class_install_property (object_class, PROP_SUPPORTED_FORMATS,
|
||||||
properties[PROP_SUPPORTED_FORMATS]);
|
properties[PROP_SUPPORTED_FORMATS]);
|
||||||
@ -2604,7 +2604,8 @@ ges_clip_class_init (GESClipClass * klass)
|
|||||||
*/
|
*/
|
||||||
properties[PROP_LAYER] = g_param_spec_object ("layer", "Layer",
|
properties[PROP_LAYER] = g_param_spec_object ("layer", "Layer",
|
||||||
"The GESLayer where this clip is being used.",
|
"The GESLayer where this clip is being used.",
|
||||||
GES_TYPE_LAYER, G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY);
|
GES_TYPE_LAYER,
|
||||||
|
G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
|
||||||
g_object_class_install_property (object_class, PROP_LAYER,
|
g_object_class_install_property (object_class, PROP_LAYER,
|
||||||
properties[PROP_LAYER]);
|
properties[PROP_LAYER]);
|
||||||
|
|
||||||
@ -2631,7 +2632,8 @@ ges_clip_class_init (GESClipClass * klass)
|
|||||||
properties[PROP_DURATION_LIMIT] =
|
properties[PROP_DURATION_LIMIT] =
|
||||||
g_param_spec_uint64 ("duration-limit", "Duration Limit",
|
g_param_spec_uint64 ("duration-limit", "Duration Limit",
|
||||||
"A limit on the duration of the clip", 0, G_MAXUINT64,
|
"A limit on the duration of the clip", 0, G_MAXUINT64,
|
||||||
GST_CLOCK_TIME_NONE, G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY);
|
GST_CLOCK_TIME_NONE,
|
||||||
|
G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
|
||||||
g_object_class_install_property (object_class, PROP_DURATION_LIMIT,
|
g_object_class_install_property (object_class, PROP_DURATION_LIMIT,
|
||||||
properties[PROP_DURATION_LIMIT]);
|
properties[PROP_DURATION_LIMIT]);
|
||||||
|
|
||||||
|
@ -460,7 +460,7 @@ ges_container_class_init (GESContainerClass * klass)
|
|||||||
*/
|
*/
|
||||||
properties[PROP_HEIGHT] = g_param_spec_uint ("height", "Height",
|
properties[PROP_HEIGHT] = g_param_spec_uint ("height", "Height",
|
||||||
"The span of priorities this container occupies", 0, G_MAXUINT, 1,
|
"The span of priorities this container occupies", 0, G_MAXUINT, 1,
|
||||||
G_PARAM_READABLE);
|
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||||
g_object_class_install_property (object_class, PROP_HEIGHT,
|
g_object_class_install_property (object_class, PROP_HEIGHT,
|
||||||
properties[PROP_HEIGHT]);
|
properties[PROP_HEIGHT]);
|
||||||
|
|
||||||
|
@ -207,7 +207,8 @@ ges_effect_clip_class_init (GESEffectClipClass * klass)
|
|||||||
g_param_spec_string ("video-bin-description",
|
g_param_spec_string ("video-bin-description",
|
||||||
"Video bin description",
|
"Video bin description",
|
||||||
"Description of the video track of the effect",
|
"Description of the video track of the effect",
|
||||||
NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
|
NULL,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESEffectClip:audio-bin-description:
|
* GESEffectClip:audio-bin-description:
|
||||||
@ -221,7 +222,8 @@ ges_effect_clip_class_init (GESEffectClipClass * klass)
|
|||||||
g_param_spec_string ("audio-bin-description",
|
g_param_spec_string ("audio-bin-description",
|
||||||
"bin description",
|
"bin description",
|
||||||
"Bin description of the audio track of the effect",
|
"Bin description of the audio track of the effect",
|
||||||
NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
|
NULL,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
timobj_class->create_track_element = _create_track_element;
|
timobj_class->create_track_element = _create_track_element;
|
||||||
}
|
}
|
||||||
|
@ -583,7 +583,7 @@ ges_group_class_init (GESGroupClass * klass)
|
|||||||
*/
|
*/
|
||||||
properties[PROP_START] = g_param_spec_uint64 ("start", "Start",
|
properties[PROP_START] = g_param_spec_uint64 ("start", "Start",
|
||||||
"The position in the container", 0, G_MAXUINT64, 0,
|
"The position in the container", 0, G_MAXUINT64, 0,
|
||||||
G_PARAM_READWRITE | GES_PARAM_NO_SERIALIZATION);
|
G_PARAM_READWRITE | GES_PARAM_NO_SERIALIZATION | G_PARAM_STATIC_STRINGS);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESGroup:in-point:
|
* GESGroup:in-point:
|
||||||
@ -593,7 +593,8 @@ ges_group_class_init (GESGroupClass * klass)
|
|||||||
*/
|
*/
|
||||||
properties[PROP_INPOINT] =
|
properties[PROP_INPOINT] =
|
||||||
g_param_spec_uint64 ("in-point", "In-point", "The in-point", 0,
|
g_param_spec_uint64 ("in-point", "In-point", "The in-point", 0,
|
||||||
G_MAXUINT64, 0, G_PARAM_READWRITE | GES_PARAM_NO_SERIALIZATION);
|
G_MAXUINT64, 0,
|
||||||
|
G_PARAM_READWRITE | GES_PARAM_NO_SERIALIZATION | G_PARAM_STATIC_STRINGS);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESGroup:duration:
|
* GESGroup:duration:
|
||||||
@ -607,7 +608,7 @@ ges_group_class_init (GESGroupClass * klass)
|
|||||||
properties[PROP_DURATION] =
|
properties[PROP_DURATION] =
|
||||||
g_param_spec_uint64 ("duration", "Duration", "The duration to use", 0,
|
g_param_spec_uint64 ("duration", "Duration", "The duration to use", 0,
|
||||||
G_MAXUINT64, GST_CLOCK_TIME_NONE,
|
G_MAXUINT64, GST_CLOCK_TIME_NONE,
|
||||||
G_PARAM_READWRITE | GES_PARAM_NO_SERIALIZATION);
|
G_PARAM_READWRITE | GES_PARAM_NO_SERIALIZATION | G_PARAM_STATIC_STRINGS);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESGroup:max-duration:
|
* GESGroup:max-duration:
|
||||||
@ -618,7 +619,8 @@ ges_group_class_init (GESGroupClass * klass)
|
|||||||
properties[PROP_MAX_DURATION] =
|
properties[PROP_MAX_DURATION] =
|
||||||
g_param_spec_uint64 ("max-duration", "Maximum duration",
|
g_param_spec_uint64 ("max-duration", "Maximum duration",
|
||||||
"The maximum duration of the object", 0, G_MAXUINT64, GST_CLOCK_TIME_NONE,
|
"The maximum duration of the object", 0, G_MAXUINT64, GST_CLOCK_TIME_NONE,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | GES_PARAM_NO_SERIALIZATION);
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | GES_PARAM_NO_SERIALIZATION |
|
||||||
|
G_PARAM_STATIC_STRINGS);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESGroup:priority:
|
* GESGroup:priority:
|
||||||
@ -629,7 +631,7 @@ ges_group_class_init (GESGroupClass * klass)
|
|||||||
*/
|
*/
|
||||||
properties[PROP_PRIORITY] = g_param_spec_uint ("priority", "Priority",
|
properties[PROP_PRIORITY] = g_param_spec_uint ("priority", "Priority",
|
||||||
"The priority of the object", 0, G_MAXUINT, 0,
|
"The priority of the object", 0, G_MAXUINT, 0,
|
||||||
G_PARAM_READWRITE | GES_PARAM_NO_SERIALIZATION);
|
G_PARAM_READWRITE | GES_PARAM_NO_SERIALIZATION | G_PARAM_STATIC_STRINGS);
|
||||||
|
|
||||||
g_object_class_install_properties (object_class, PROP_LAST, properties);
|
g_object_class_install_properties (object_class, PROP_LAST, properties);
|
||||||
|
|
||||||
|
@ -173,7 +173,8 @@ ges_image_source_class_init (GESImageSourceClass * klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_URI,
|
g_object_class_install_property (object_class, PROP_URI,
|
||||||
g_param_spec_string ("uri", "URI", "uri of the resource",
|
g_param_spec_string ("uri", "URI", "uri of the resource",
|
||||||
NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
|
NULL,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
source_class->create_source = ges_image_source_create_source;
|
source_class->create_source = ges_image_source_create_source;
|
||||||
vsource_class->ABI.abi.get_natural_size =
|
vsource_class->ABI.abi.get_natural_size =
|
||||||
|
@ -231,7 +231,8 @@ ges_layer_class_init (GESLayerClass * klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_PRIORITY,
|
g_object_class_install_property (object_class, PROP_PRIORITY,
|
||||||
g_param_spec_uint ("priority", "Priority",
|
g_param_spec_uint ("priority", "Priority",
|
||||||
"The priority of the layer", 0, G_MAXUINT, 0, G_PARAM_READWRITE));
|
"The priority of the layer", 0, G_MAXUINT, 0,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESLayer:auto-transition:
|
* GESLayer:auto-transition:
|
||||||
@ -246,7 +247,8 @@ ges_layer_class_init (GESLayerClass * klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_AUTO_TRANSITION,
|
g_object_class_install_property (object_class, PROP_AUTO_TRANSITION,
|
||||||
g_param_spec_boolean ("auto-transition", "Auto-Transition",
|
g_param_spec_boolean ("auto-transition", "Auto-Transition",
|
||||||
"whether the transitions are added", FALSE, G_PARAM_READWRITE));
|
"whether the transitions are added", FALSE,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESLayer::clip-added:
|
* GESLayer::clip-added:
|
||||||
|
@ -100,7 +100,7 @@ ges_marker_class_init (GESMarkerClass * klass)
|
|||||||
marker_properties[PROP_MARKER_POSITION] =
|
marker_properties[PROP_MARKER_POSITION] =
|
||||||
g_param_spec_uint64 ("position", "Position",
|
g_param_spec_uint64 ("position", "Position",
|
||||||
"The position of the marker", 0, G_MAXUINT64,
|
"The position of the marker", 0, G_MAXUINT64,
|
||||||
GST_CLOCK_TIME_NONE, G_PARAM_READABLE);
|
GST_CLOCK_TIME_NONE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||||
g_object_class_install_property (object_class, PROP_MARKER_POSITION,
|
g_object_class_install_property (object_class, PROP_MARKER_POSITION,
|
||||||
marker_properties[PROP_MARKER_POSITION]);
|
marker_properties[PROP_MARKER_POSITION]);
|
||||||
|
|
||||||
@ -220,7 +220,7 @@ ges_marker_list_class_init (GESMarkerListClass * klass)
|
|||||||
g_param_spec_flags ("flags", "Flags",
|
g_param_spec_flags ("flags", "Flags",
|
||||||
"Functionalities the marker list should be used for",
|
"Functionalities the marker list should be used for",
|
||||||
GES_TYPE_MARKER_FLAGS, GES_MARKER_FLAG_NONE,
|
GES_TYPE_MARKER_FLAGS, GES_MARKER_FLAG_NONE,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS);
|
||||||
g_object_class_install_property (object_class, PROP_MARKER_LIST_FLAGS,
|
g_object_class_install_property (object_class, PROP_MARKER_LIST_FLAGS,
|
||||||
list_properties[PROP_MARKER_LIST_FLAGS]);
|
list_properties[PROP_MARKER_LIST_FLAGS]);
|
||||||
|
|
||||||
|
@ -235,11 +235,16 @@ _set_value (GESMetaContainer * container, const gchar * meta_item,
|
|||||||
gchar *val = gst_value_serialize (value);
|
gchar *val = gst_value_serialize (value);
|
||||||
|
|
||||||
if (val == NULL) {
|
if (val == NULL) {
|
||||||
GST_WARNING_OBJECT (container, "Could not set value on item: %s",
|
if (G_VALUE_TYPE (value) == G_TYPE_STRING) {
|
||||||
meta_item);
|
val = g_strdup ("");
|
||||||
|
} else {
|
||||||
|
GST_WARNING_OBJECT (container,
|
||||||
|
"Could not serialize value for: %s of type %s", meta_item,
|
||||||
|
G_VALUE_TYPE_NAME (value));
|
||||||
|
|
||||||
g_free (val);
|
g_free (val);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
structure = _meta_container_get_structure (container);
|
structure = _meta_container_get_structure (container);
|
||||||
@ -273,7 +278,8 @@ _can_write_value (GESMetaContainer * container, const gchar * item_name,
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
if ((static_item->flags & GES_META_WRITABLE) == FALSE) {
|
if ((static_item->flags & GES_META_WRITABLE) == FALSE) {
|
||||||
GST_WARNING_OBJECT (container, "Can not write %s", item_name);
|
GST_WARNING_OBJECT (container, "Can not write %s of type %s", item_name,
|
||||||
|
g_type_name (type));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -254,7 +254,8 @@ ges_multi_file_source_class_init (GESMultiFileSourceClass * klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_URI,
|
g_object_class_install_property (object_class, PROP_URI,
|
||||||
g_param_spec_string ("uri", "URI", "multifile uri",
|
g_param_spec_string ("uri", "URI", "multifile uri",
|
||||||
NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
|
NULL,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
|
||||||
source_class->create_source = ges_multi_file_source_create_source;
|
source_class->create_source = ges_multi_file_source_create_source;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -541,7 +541,8 @@ ges_project_class_init (GESProjectClass * klass)
|
|||||||
* The location of the project to use.
|
* The location of the project to use.
|
||||||
*/
|
*/
|
||||||
_properties[PROP_URI] = g_param_spec_string ("uri", "URI",
|
_properties[PROP_URI] = g_param_spec_string ("uri", "URI",
|
||||||
"uri of the project", NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
|
"uri of the project", NULL,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
|
||||||
|
|
||||||
g_object_class_install_properties (object_class, PROP_LAST, _properties);
|
g_object_class_install_properties (object_class, PROP_LAST, _properties);
|
||||||
|
|
||||||
|
@ -315,7 +315,8 @@ ges_test_clip_class_init (GESTestClipClass * klass)
|
|||||||
g_param_spec_enum ("vpattern", "VPattern",
|
g_param_spec_enum ("vpattern", "VPattern",
|
||||||
"Which video pattern to display. See videotestsrc element",
|
"Which video pattern to display. See videotestsrc element",
|
||||||
GES_VIDEO_TEST_PATTERN_TYPE,
|
GES_VIDEO_TEST_PATTERN_TYPE,
|
||||||
DEFAULT_VPATTERN, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
DEFAULT_VPATTERN,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESTestClip:freq:
|
* GESTestClip:freq:
|
||||||
@ -325,7 +326,8 @@ ges_test_clip_class_init (GESTestClipClass * klass)
|
|||||||
g_object_class_install_property (object_class, PROP_FREQ,
|
g_object_class_install_property (object_class, PROP_FREQ,
|
||||||
g_param_spec_double ("freq", "Audio Frequency",
|
g_param_spec_double ("freq", "Audio Frequency",
|
||||||
"The frequency to generate. See audiotestsrc element",
|
"The frequency to generate. See audiotestsrc element",
|
||||||
0, 20000, 440, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
0, 20000, 440,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESTestClip:volume:
|
* GESTestClip:volume:
|
||||||
@ -335,7 +337,8 @@ ges_test_clip_class_init (GESTestClipClass * klass)
|
|||||||
g_object_class_install_property (object_class, PROP_VOLUME,
|
g_object_class_install_property (object_class, PROP_VOLUME,
|
||||||
g_param_spec_double ("volume", "Audio Volume",
|
g_param_spec_double ("volume", "Audio Volume",
|
||||||
"The volume of the test audio signal.",
|
"The volume of the test audio signal.",
|
||||||
0, 1, DEFAULT_VOLUME, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
0, 1, DEFAULT_VOLUME,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -345,7 +348,8 @@ ges_test_clip_class_init (GESTestClipClass * klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_MUTE,
|
g_object_class_install_property (object_class, PROP_MUTE,
|
||||||
g_param_spec_boolean ("mute", "Mute", "Mute audio track",
|
g_param_spec_boolean ("mute", "Mute", "Mute audio track",
|
||||||
FALSE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
FALSE,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
clip_class->create_track_element = ges_test_clip_create_track_element;
|
clip_class->create_track_element = ges_test_clip_create_track_element;
|
||||||
}
|
}
|
||||||
|
@ -168,7 +168,8 @@ ges_text_overlay_clip_class_init (GESTextOverlayClipClass * klass)
|
|||||||
|
|
||||||
g_object_class_install_property (object_class, PROP_TEXT,
|
g_object_class_install_property (object_class, PROP_TEXT,
|
||||||
g_param_spec_string ("text", "Text", "The text to display",
|
g_param_spec_string ("text", "Text", "The text to display",
|
||||||
DEFAULT_PROP_TEXT, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
DEFAULT_PROP_TEXT,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESTextOverlayClip:font-desc:
|
* GESTextOverlayClip:font-desc:
|
||||||
@ -215,7 +216,8 @@ ges_text_overlay_clip_class_init (GESTextOverlayClipClass * klass)
|
|||||||
|
|
||||||
g_object_class_install_property (object_class, PROP_COLOR,
|
g_object_class_install_property (object_class, PROP_COLOR,
|
||||||
g_param_spec_uint ("color", "Color", "The color of the text",
|
g_param_spec_uint ("color", "Color", "The color of the text",
|
||||||
0, G_MAXUINT32, G_MAXUINT32, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
0, G_MAXUINT32, G_MAXUINT32,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESTextOverlayClip:xpos:
|
* GESTextOverlayClip:xpos:
|
||||||
@ -225,7 +227,8 @@ ges_text_overlay_clip_class_init (GESTextOverlayClipClass * klass)
|
|||||||
|
|
||||||
g_object_class_install_property (object_class, PROP_XPOS,
|
g_object_class_install_property (object_class, PROP_XPOS,
|
||||||
g_param_spec_double ("xpos", "Xpos", "The horizontal position",
|
g_param_spec_double ("xpos", "Xpos", "The horizontal position",
|
||||||
0, 1, 0.5, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
0, 1, 0.5,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESTextOverlayClip:ypos:
|
* GESTextOverlayClip:ypos:
|
||||||
@ -235,7 +238,8 @@ ges_text_overlay_clip_class_init (GESTextOverlayClipClass * klass)
|
|||||||
|
|
||||||
g_object_class_install_property (object_class, PROP_YPOS,
|
g_object_class_install_property (object_class, PROP_YPOS,
|
||||||
g_param_spec_double ("ypos", "Ypos", "The vertical position",
|
g_param_spec_double ("ypos", "Ypos", "The vertical position",
|
||||||
0, 1, 0.5, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
0, 1, 0.5,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -459,7 +459,7 @@ ges_timeline_element_class_init (GESTimelineElementClass * klass)
|
|||||||
properties[PROP_PARENT] =
|
properties[PROP_PARENT] =
|
||||||
g_param_spec_object ("parent", "Parent",
|
g_param_spec_object ("parent", "Parent",
|
||||||
"The parent container of the object", GES_TYPE_TIMELINE_ELEMENT,
|
"The parent container of the object", GES_TYPE_TIMELINE_ELEMENT,
|
||||||
G_PARAM_READWRITE);
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESTimelineElement:timeline:
|
* GESTimelineElement:timeline:
|
||||||
@ -469,7 +469,7 @@ ges_timeline_element_class_init (GESTimelineElementClass * klass)
|
|||||||
properties[PROP_TIMELINE] =
|
properties[PROP_TIMELINE] =
|
||||||
g_param_spec_object ("timeline", "Timeline",
|
g_param_spec_object ("timeline", "Timeline",
|
||||||
"The timeline the object is in", GES_TYPE_TIMELINE,
|
"The timeline the object is in", GES_TYPE_TIMELINE,
|
||||||
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
|
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESTimelineElement:start:
|
* GESTimelineElement:start:
|
||||||
@ -483,7 +483,7 @@ ges_timeline_element_class_init (GESTimelineElementClass * klass)
|
|||||||
*/
|
*/
|
||||||
properties[PROP_START] = g_param_spec_uint64 ("start", "Start",
|
properties[PROP_START] = g_param_spec_uint64 ("start", "Start",
|
||||||
"The position in the timeline", 0, G_MAXUINT64, 0,
|
"The position in the timeline", 0, G_MAXUINT64, 0,
|
||||||
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
|
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESTimelineElement:in-point: (getter get_inpoint)(setter set_inpoint)
|
* GESTimelineElement:in-point: (getter get_inpoint)(setter set_inpoint)
|
||||||
@ -504,7 +504,8 @@ ges_timeline_element_class_init (GESTimelineElementClass * klass)
|
|||||||
*/
|
*/
|
||||||
properties[PROP_INPOINT] =
|
properties[PROP_INPOINT] =
|
||||||
g_param_spec_uint64 ("in-point", "In-point", "The in-point", 0,
|
g_param_spec_uint64 ("in-point", "In-point", "The in-point", 0,
|
||||||
G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
|
G_MAXUINT64, 0,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESTimelineElement:duration:
|
* GESTimelineElement:duration:
|
||||||
@ -519,7 +520,7 @@ ges_timeline_element_class_init (GESTimelineElementClass * klass)
|
|||||||
properties[PROP_DURATION] =
|
properties[PROP_DURATION] =
|
||||||
g_param_spec_uint64 ("duration", "Duration", "The play duration", 0,
|
g_param_spec_uint64 ("duration", "Duration", "The play duration", 0,
|
||||||
G_MAXUINT64, GST_CLOCK_TIME_NONE,
|
G_MAXUINT64, GST_CLOCK_TIME_NONE,
|
||||||
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
|
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESTimelineElement:max-duration:
|
* GESTimelineElement:max-duration:
|
||||||
@ -542,7 +543,8 @@ ges_timeline_element_class_init (GESTimelineElementClass * klass)
|
|||||||
properties[PROP_MAX_DURATION] =
|
properties[PROP_MAX_DURATION] =
|
||||||
g_param_spec_uint64 ("max-duration", "Maximum duration",
|
g_param_spec_uint64 ("max-duration", "Maximum duration",
|
||||||
"The maximum duration of the object", 0, G_MAXUINT64, GST_CLOCK_TIME_NONE,
|
"The maximum duration of the object", 0, G_MAXUINT64, GST_CLOCK_TIME_NONE,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_EXPLICIT_NOTIFY);
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_EXPLICIT_NOTIFY |
|
||||||
|
G_PARAM_STATIC_STRINGS);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESTimelineElement:priority:
|
* GESTimelineElement:priority:
|
||||||
@ -552,7 +554,8 @@ ges_timeline_element_class_init (GESTimelineElementClass * klass)
|
|||||||
* Deprecated: 1.10: Priority management is now done by GES itself.
|
* Deprecated: 1.10: Priority management is now done by GES itself.
|
||||||
*/
|
*/
|
||||||
properties[PROP_PRIORITY] = g_param_spec_uint ("priority", "Priority",
|
properties[PROP_PRIORITY] = g_param_spec_uint ("priority", "Priority",
|
||||||
"The priority of the object", 0, G_MAXUINT, 0, G_PARAM_READWRITE);
|
"The priority of the object", 0, G_MAXUINT, 0,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESTimelineElement:name:
|
* GESTimelineElement:name:
|
||||||
@ -570,7 +573,7 @@ ges_timeline_element_class_init (GESTimelineElementClass * klass)
|
|||||||
*/
|
*/
|
||||||
properties[PROP_SERIALIZE] = g_param_spec_boolean ("serialize", "Serialize",
|
properties[PROP_SERIALIZE] = g_param_spec_boolean ("serialize", "Serialize",
|
||||||
"Whether the element should be serialized", TRUE,
|
"Whether the element should be serialized", TRUE,
|
||||||
G_PARAM_READWRITE | GES_PARAM_NO_SERIALIZATION);
|
G_PARAM_READWRITE | GES_PARAM_NO_SERIALIZATION | G_PARAM_STATIC_STRINGS);
|
||||||
|
|
||||||
g_object_class_install_properties (object_class, PROP_LAST, properties);
|
g_object_class_install_properties (object_class, PROP_LAST, properties);
|
||||||
|
|
||||||
|
@ -629,7 +629,7 @@ ges_timeline_class_init (GESTimelineClass * klass)
|
|||||||
properties[PROP_DURATION] =
|
properties[PROP_DURATION] =
|
||||||
g_param_spec_uint64 ("duration", "Duration",
|
g_param_spec_uint64 ("duration", "Duration",
|
||||||
"The duration of the timeline", 0, G_MAXUINT64,
|
"The duration of the timeline", 0, G_MAXUINT64,
|
||||||
GST_CLOCK_TIME_NONE, G_PARAM_READABLE);
|
GST_CLOCK_TIME_NONE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||||
g_object_class_install_property (object_class, PROP_DURATION,
|
g_object_class_install_property (object_class, PROP_DURATION,
|
||||||
properties[PROP_DURATION]);
|
properties[PROP_DURATION]);
|
||||||
|
|
||||||
@ -643,7 +643,8 @@ ges_timeline_class_init (GESTimelineClass * klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_AUTO_TRANSITION,
|
g_object_class_install_property (object_class, PROP_AUTO_TRANSITION,
|
||||||
g_param_spec_boolean ("auto-transition", "Auto-Transition",
|
g_param_spec_boolean ("auto-transition", "Auto-Transition",
|
||||||
"whether the transitions are added", FALSE, G_PARAM_READWRITE));
|
"whether the transitions are added", FALSE,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESTimeline:snapping-distance:
|
* GESTimeline:snapping-distance:
|
||||||
@ -656,7 +657,7 @@ ges_timeline_class_init (GESTimelineClass * klass)
|
|||||||
properties[PROP_SNAPPING_DISTANCE] =
|
properties[PROP_SNAPPING_DISTANCE] =
|
||||||
g_param_spec_uint64 ("snapping-distance", "Snapping distance",
|
g_param_spec_uint64 ("snapping-distance", "Snapping distance",
|
||||||
"Distance from which moving an object will snap with neighbours", 0,
|
"Distance from which moving an object will snap with neighbours", 0,
|
||||||
G_MAXUINT64, 0, G_PARAM_READWRITE);
|
G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
||||||
g_object_class_install_property (object_class, PROP_SNAPPING_DISTANCE,
|
g_object_class_install_property (object_class, PROP_SNAPPING_DISTANCE,
|
||||||
properties[PROP_SNAPPING_DISTANCE]);
|
properties[PROP_SNAPPING_DISTANCE]);
|
||||||
|
|
||||||
|
@ -152,7 +152,7 @@ ges_title_clip_class_init (GESTitleClipClass * klass)
|
|||||||
g_object_class_install_property (object_class, PROP_TEXT,
|
g_object_class_install_property (object_class, PROP_TEXT,
|
||||||
g_param_spec_string ("text", "Text", "The text to display",
|
g_param_spec_string ("text", "Text", "The text to display",
|
||||||
DEFAULT_TEXT, G_PARAM_READWRITE | G_PARAM_CONSTRUCT |
|
DEFAULT_TEXT, G_PARAM_READWRITE | G_PARAM_CONSTRUCT |
|
||||||
GES_PARAM_NO_SERIALIZATION));
|
GES_PARAM_NO_SERIALIZATION | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESTitleClip:font-desc:
|
* GESTitleClip:font-desc:
|
||||||
@ -220,7 +220,7 @@ ges_title_clip_class_init (GESTitleClipClass * klass)
|
|||||||
g_object_class_install_property (object_class, PROP_COLOR,
|
g_object_class_install_property (object_class, PROP_COLOR,
|
||||||
g_param_spec_uint ("color", "Color", "The color of the text",
|
g_param_spec_uint ("color", "Color", "The color of the text",
|
||||||
0, G_MAXUINT32, G_MAXUINT32, G_PARAM_READWRITE | G_PARAM_CONSTRUCT |
|
0, G_MAXUINT32, G_MAXUINT32, G_PARAM_READWRITE | G_PARAM_CONSTRUCT |
|
||||||
GES_PARAM_NO_SERIALIZATION));
|
GES_PARAM_NO_SERIALIZATION | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESTitleClip:background:
|
* GESTitleClip:background:
|
||||||
@ -235,7 +235,8 @@ ges_title_clip_class_init (GESTitleClipClass * klass)
|
|||||||
g_object_class_install_property (object_class, PROP_BACKGROUND,
|
g_object_class_install_property (object_class, PROP_BACKGROUND,
|
||||||
g_param_spec_uint ("background", "Background",
|
g_param_spec_uint ("background", "Background",
|
||||||
"The background of the text", 0, G_MAXUINT32, G_MAXUINT32,
|
"The background of the text", 0, G_MAXUINT32, G_MAXUINT32,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | GES_PARAM_NO_SERIALIZATION));
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | GES_PARAM_NO_SERIALIZATION |
|
||||||
|
G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESTitleClip:xpos:
|
* GESTitleClip:xpos:
|
||||||
@ -250,7 +251,7 @@ ges_title_clip_class_init (GESTitleClipClass * klass)
|
|||||||
g_object_class_install_property (object_class, PROP_XPOS,
|
g_object_class_install_property (object_class, PROP_XPOS,
|
||||||
g_param_spec_double ("xpos", "Xpos", "The horizontal position",
|
g_param_spec_double ("xpos", "Xpos", "The horizontal position",
|
||||||
0, 1, 0.5, G_PARAM_READWRITE | G_PARAM_CONSTRUCT
|
0, 1, 0.5, G_PARAM_READWRITE | G_PARAM_CONSTRUCT
|
||||||
| GES_PARAM_NO_SERIALIZATION));
|
| GES_PARAM_NO_SERIALIZATION | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESTitleClip:ypos:
|
* GESTitleClip:ypos:
|
||||||
@ -265,7 +266,7 @@ ges_title_clip_class_init (GESTitleClipClass * klass)
|
|||||||
g_object_class_install_property (object_class, PROP_YPOS,
|
g_object_class_install_property (object_class, PROP_YPOS,
|
||||||
g_param_spec_double ("ypos", "Ypos", "The vertical position",
|
g_param_spec_double ("ypos", "Ypos", "The vertical position",
|
||||||
0, 1, 0.5, G_PARAM_READWRITE | G_PARAM_CONSTRUCT
|
0, 1, 0.5, G_PARAM_READWRITE | G_PARAM_CONSTRUCT
|
||||||
| GES_PARAM_NO_SERIALIZATION));
|
| GES_PARAM_NO_SERIALIZATION | G_PARAM_STATIC_STRINGS));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -92,7 +92,7 @@ ges_track_element_asset_class_init (GESTrackElementAssetClass * klass)
|
|||||||
properties[PROP_TRACK_TYPE] = g_param_spec_flags ("track-type",
|
properties[PROP_TRACK_TYPE] = g_param_spec_flags ("track-type",
|
||||||
"Track type", "The GESTrackType in which the object is",
|
"Track type", "The GESTrackType in which the object is",
|
||||||
GES_TYPE_TRACK_TYPE, GES_TRACK_TYPE_UNKNOWN,
|
GES_TYPE_TRACK_TYPE, GES_TRACK_TYPE_UNKNOWN,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS);
|
||||||
|
|
||||||
g_object_class_install_property (object_class, PROP_TRACK_TYPE,
|
g_object_class_install_property (object_class, PROP_TRACK_TYPE,
|
||||||
properties[PROP_TRACK_TYPE]);
|
properties[PROP_TRACK_TYPE]);
|
||||||
|
@ -356,7 +356,7 @@ ges_track_element_class_init (GESTrackElementClass * klass)
|
|||||||
*/
|
*/
|
||||||
properties[PROP_ACTIVE] =
|
properties[PROP_ACTIVE] =
|
||||||
g_param_spec_boolean ("active", "Active", "Use object in output", TRUE,
|
g_param_spec_boolean ("active", "Active", "Use object in output", TRUE,
|
||||||
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
|
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
|
||||||
g_object_class_install_property (object_class, PROP_ACTIVE,
|
g_object_class_install_property (object_class, PROP_ACTIVE,
|
||||||
properties[PROP_ACTIVE]);
|
properties[PROP_ACTIVE]);
|
||||||
|
|
||||||
@ -371,7 +371,7 @@ ges_track_element_class_init (GESTrackElementClass * klass)
|
|||||||
properties[PROP_TRACK_TYPE] = g_param_spec_flags ("track-type", "Track Type",
|
properties[PROP_TRACK_TYPE] = g_param_spec_flags ("track-type", "Track Type",
|
||||||
"The track type of the object", GES_TYPE_TRACK_TYPE,
|
"The track type of the object", GES_TYPE_TRACK_TYPE,
|
||||||
GES_TRACK_TYPE_UNKNOWN, G_PARAM_READWRITE | G_PARAM_CONSTRUCT |
|
GES_TRACK_TYPE_UNKNOWN, G_PARAM_READWRITE | G_PARAM_CONSTRUCT |
|
||||||
G_PARAM_EXPLICIT_NOTIFY);
|
G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
|
||||||
g_object_class_install_property (object_class, PROP_TRACK_TYPE,
|
g_object_class_install_property (object_class, PROP_TRACK_TYPE,
|
||||||
properties[PROP_TRACK_TYPE]);
|
properties[PROP_TRACK_TYPE]);
|
||||||
|
|
||||||
@ -382,7 +382,8 @@ ges_track_element_class_init (GESTrackElementClass * klass)
|
|||||||
* belong to a track.
|
* belong to a track.
|
||||||
*/
|
*/
|
||||||
properties[PROP_TRACK] = g_param_spec_object ("track", "Track",
|
properties[PROP_TRACK] = g_param_spec_object ("track", "Track",
|
||||||
"The track the object is in", GES_TYPE_TRACK, G_PARAM_READABLE);
|
"The track the object is in", GES_TYPE_TRACK,
|
||||||
|
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||||
g_object_class_install_property (object_class, PROP_TRACK,
|
g_object_class_install_property (object_class, PROP_TRACK,
|
||||||
properties[PROP_TRACK]);
|
properties[PROP_TRACK]);
|
||||||
|
|
||||||
@ -429,7 +430,7 @@ ges_track_element_class_init (GESTrackElementClass * klass)
|
|||||||
properties[PROP_HAS_INTERNAL_SOURCE] =
|
properties[PROP_HAS_INTERNAL_SOURCE] =
|
||||||
g_param_spec_boolean ("has-internal-source", "Has Internal Source",
|
g_param_spec_boolean ("has-internal-source", "Has Internal Source",
|
||||||
"Whether the element has some internal source of stream data", FALSE,
|
"Whether the element has some internal source of stream data", FALSE,
|
||||||
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
|
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
|
||||||
g_object_class_install_property (object_class, PROP_HAS_INTERNAL_SOURCE,
|
g_object_class_install_property (object_class, PROP_HAS_INTERNAL_SOURCE,
|
||||||
properties[PROP_HAS_INTERNAL_SOURCE]);
|
properties[PROP_HAS_INTERNAL_SOURCE]);
|
||||||
|
|
||||||
@ -452,7 +453,7 @@ ges_track_element_class_init (GESTrackElementClass * klass)
|
|||||||
g_param_spec_boolean ("auto-clamp-control-sources",
|
g_param_spec_boolean ("auto-clamp-control-sources",
|
||||||
"Auto-Clamp Control Sources", "Whether to automatically update the "
|
"Auto-Clamp Control Sources", "Whether to automatically update the "
|
||||||
"control sources with a change in in-point or out-point", TRUE,
|
"control sources with a change in in-point or out-point", TRUE,
|
||||||
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
|
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_AUTO_CLAMP_CONTROL_SOURCES,
|
PROP_AUTO_CLAMP_CONTROL_SOURCES,
|
||||||
properties[PROP_AUTO_CLAMP_CONTROL_SOURCES]);
|
properties[PROP_AUTO_CLAMP_CONTROL_SOURCES]);
|
||||||
|
@ -734,7 +734,8 @@ ges_track_class_init (GESTrackClass * klass)
|
|||||||
*/
|
*/
|
||||||
properties[ARG_CAPS] = g_param_spec_boxed ("caps", "Caps",
|
properties[ARG_CAPS] = g_param_spec_boxed ("caps", "Caps",
|
||||||
"Caps used to choose the output stream",
|
"Caps used to choose the output stream",
|
||||||
GST_TYPE_CAPS, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
|
GST_TYPE_CAPS,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
|
||||||
g_object_class_install_property (object_class, ARG_CAPS,
|
g_object_class_install_property (object_class, ARG_CAPS,
|
||||||
properties[ARG_CAPS]);
|
properties[ARG_CAPS]);
|
||||||
|
|
||||||
@ -754,7 +755,7 @@ ges_track_class_init (GESTrackClass * klass)
|
|||||||
properties[ARG_RESTRICTION_CAPS] =
|
properties[ARG_RESTRICTION_CAPS] =
|
||||||
g_param_spec_boxed ("restriction-caps", "Restriction caps",
|
g_param_spec_boxed ("restriction-caps", "Restriction caps",
|
||||||
"Caps used as a final filter on the output stream", GST_TYPE_CAPS,
|
"Caps used as a final filter on the output stream", GST_TYPE_CAPS,
|
||||||
G_PARAM_READWRITE);
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
||||||
g_object_class_install_property (object_class, ARG_RESTRICTION_CAPS,
|
g_object_class_install_property (object_class, ARG_RESTRICTION_CAPS,
|
||||||
properties[ARG_RESTRICTION_CAPS]);
|
properties[ARG_RESTRICTION_CAPS]);
|
||||||
|
|
||||||
@ -769,7 +770,7 @@ ges_track_class_init (GESTrackClass * klass)
|
|||||||
* the underlying composition? */
|
* the underlying composition? */
|
||||||
properties[ARG_DURATION] = g_param_spec_uint64 ("duration", "Duration",
|
properties[ARG_DURATION] = g_param_spec_uint64 ("duration", "Duration",
|
||||||
"The current duration of the track", 0, G_MAXUINT64, GST_SECOND,
|
"The current duration of the track", 0, G_MAXUINT64, GST_SECOND,
|
||||||
G_PARAM_READABLE);
|
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||||
g_object_class_install_property (object_class, ARG_DURATION,
|
g_object_class_install_property (object_class, ARG_DURATION,
|
||||||
properties[ARG_DURATION]);
|
properties[ARG_DURATION]);
|
||||||
|
|
||||||
@ -786,7 +787,7 @@ ges_track_class_init (GESTrackClass * klass)
|
|||||||
properties[ARG_TYPE] = g_param_spec_flags ("track-type", "TrackType",
|
properties[ARG_TYPE] = g_param_spec_flags ("track-type", "TrackType",
|
||||||
"Type of stream the track outputs",
|
"Type of stream the track outputs",
|
||||||
GES_TYPE_TRACK_TYPE, GES_TRACK_TYPE_CUSTOM,
|
GES_TYPE_TRACK_TYPE, GES_TRACK_TYPE_CUSTOM,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
|
||||||
g_object_class_install_property (object_class, ARG_TYPE,
|
g_object_class_install_property (object_class, ARG_TYPE,
|
||||||
properties[ARG_TYPE]);
|
properties[ARG_TYPE]);
|
||||||
|
|
||||||
@ -801,7 +802,9 @@ ges_track_class_init (GESTrackClass * klass)
|
|||||||
*/
|
*/
|
||||||
properties[ARG_MIXING] = g_param_spec_boolean ("mixing", "Mixing",
|
properties[ARG_MIXING] = g_param_spec_boolean ("mixing", "Mixing",
|
||||||
"Whether layer mixing is activated on the track or not",
|
"Whether layer mixing is activated on the track or not",
|
||||||
TRUE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_EXPLICIT_NOTIFY);
|
TRUE,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_EXPLICIT_NOTIFY |
|
||||||
|
G_PARAM_STATIC_STRINGS);
|
||||||
g_object_class_install_property (object_class, ARG_MIXING,
|
g_object_class_install_property (object_class, ARG_MIXING,
|
||||||
properties[ARG_MIXING]);
|
properties[ARG_MIXING]);
|
||||||
|
|
||||||
|
@ -284,7 +284,7 @@ ges_transition_clip_class_init (GESTransitionClipClass * klass)
|
|||||||
"The SMPTE video wipe to use, or 0 for crossfade",
|
"The SMPTE video wipe to use, or 0 for crossfade",
|
||||||
GES_VIDEO_STANDARD_TRANSITION_TYPE_TYPE,
|
GES_VIDEO_STANDARD_TRANSITION_TYPE_TYPE,
|
||||||
GES_VIDEO_STANDARD_TRANSITION_TYPE_CROSSFADE,
|
GES_VIDEO_STANDARD_TRANSITION_TYPE_CROSSFADE,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
GES_TIMELINE_ELEMENT_CLASS (klass)->lookup_child = _lookup_child;
|
GES_TIMELINE_ELEMENT_CLASS (klass)->lookup_child = _lookup_child;
|
||||||
container_class->child_added = _child_added;
|
container_class->child_added = _child_added;
|
||||||
|
@ -287,7 +287,8 @@ ges_uri_clip_asset_class_init (GESUriClipAssetClass * klass)
|
|||||||
*/
|
*/
|
||||||
properties[PROP_DURATION] =
|
properties[PROP_DURATION] =
|
||||||
g_param_spec_uint64 ("duration", "Duration", "The duration to use", 0,
|
g_param_spec_uint64 ("duration", "Duration", "The duration to use", 0,
|
||||||
G_MAXUINT64, GST_CLOCK_TIME_NONE, G_PARAM_READWRITE);
|
G_MAXUINT64, GST_CLOCK_TIME_NONE,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
||||||
g_object_class_install_property (object_class, PROP_DURATION,
|
g_object_class_install_property (object_class, PROP_DURATION,
|
||||||
properties[PROP_DURATION]);
|
properties[PROP_DURATION]);
|
||||||
|
|
||||||
@ -300,7 +301,8 @@ ges_uri_clip_asset_class_init (GESUriClipAssetClass * klass)
|
|||||||
*/
|
*/
|
||||||
properties[PROP_IS_NESTED_TIMELINE] =
|
properties[PROP_IS_NESTED_TIMELINE] =
|
||||||
g_param_spec_boolean ("is-nested-timeline", "Is nested timeline",
|
g_param_spec_boolean ("is-nested-timeline", "Is nested timeline",
|
||||||
"Whether this is a nested timeline", FALSE, G_PARAM_READABLE);
|
"Whether this is a nested timeline", FALSE,
|
||||||
|
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||||
g_object_class_install_property (object_class, PROP_IS_NESTED_TIMELINE,
|
g_object_class_install_property (object_class, PROP_IS_NESTED_TIMELINE,
|
||||||
properties[PROP_IS_NESTED_TIMELINE]);
|
properties[PROP_IS_NESTED_TIMELINE]);
|
||||||
|
|
||||||
@ -330,9 +332,14 @@ _create_uri_source_asset (GESUriClipAsset * asset,
|
|||||||
g_strdup (gst_discoverer_stream_info_get_stream_id (sinfo));
|
g_strdup (gst_discoverer_stream_info_get_stream_id (sinfo));
|
||||||
|
|
||||||
if (stream_id == NULL) {
|
if (stream_id == NULL) {
|
||||||
GST_WARNING_OBJECT (asset,
|
if (type != GES_TRACK_TYPE_UNKNOWN) {
|
||||||
"No stream ID, ignoring stream info: %p off type: %s", sinfo,
|
GST_WARNING_OBJECT (asset,
|
||||||
ges_track_type_name (type));
|
"No stream ID, ignoring stream info: %p off type: %s", sinfo,
|
||||||
|
ges_track_type_name (type));
|
||||||
|
} else {
|
||||||
|
GST_INFO_OBJECT (asset, "No stream ID, ignoring stream info: %p", sinfo);
|
||||||
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -157,7 +157,7 @@ ges_uri_clip_class_init (GESUriClipClass * klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_URI,
|
g_object_class_install_property (object_class, PROP_URI,
|
||||||
g_param_spec_string ("uri", "URI", "uri of the resource", NULL,
|
g_param_spec_string ("uri", "URI", "uri of the resource", NULL,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESUriClip:mute:
|
* GESUriClip:mute:
|
||||||
@ -166,7 +166,8 @@ ges_uri_clip_class_init (GESUriClipClass * klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_MUTE,
|
g_object_class_install_property (object_class, PROP_MUTE,
|
||||||
g_param_spec_boolean ("mute", "Mute", "Mute audio track",
|
g_param_spec_boolean ("mute", "Mute", "Mute audio track",
|
||||||
FALSE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
FALSE,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESUriClip:is-image:
|
* GESUriClip:is-image:
|
||||||
@ -177,7 +178,8 @@ ges_uri_clip_class_init (GESUriClipClass * klass)
|
|||||||
g_object_class_install_property (object_class, PROP_IS_IMAGE,
|
g_object_class_install_property (object_class, PROP_IS_IMAGE,
|
||||||
g_param_spec_boolean ("is-image", "Is still image",
|
g_param_spec_boolean ("is-image", "Is still image",
|
||||||
"Whether the clip represents a still image or not",
|
"Whether the clip represents a still image or not",
|
||||||
FALSE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
FALSE,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
/* Redefine the supported formats property so the default value is UNKNOWN
|
/* Redefine the supported formats property so the default value is UNKNOWN
|
||||||
* and not AUDIO | VIDEO */
|
* and not AUDIO | VIDEO */
|
||||||
@ -185,7 +187,7 @@ ges_uri_clip_class_init (GESUriClipClass * klass)
|
|||||||
g_param_spec_flags ("supported-formats",
|
g_param_spec_flags ("supported-formats",
|
||||||
"Supported formats", "Formats supported by the file",
|
"Supported formats", "Formats supported by the file",
|
||||||
GES_TYPE_TRACK_TYPE, GES_TRACK_TYPE_UNKNOWN,
|
GES_TYPE_TRACK_TYPE, GES_TRACK_TYPE_UNKNOWN,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
element_class->set_max_duration = uri_clip_set_max_duration;
|
element_class->set_max_duration = uri_clip_set_max_duration;
|
||||||
|
|
||||||
|
@ -158,7 +158,7 @@ ges_video_transition_class_init (GESVideoTransitionClass * klass)
|
|||||||
*/
|
*/
|
||||||
properties[PROP_BORDER] =
|
properties[PROP_BORDER] =
|
||||||
g_param_spec_uint ("border", "Border", "The border width", 0,
|
g_param_spec_uint ("border", "Border", "The border width", 0,
|
||||||
G_MAXUINT, 0, G_PARAM_READWRITE);
|
G_MAXUINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
||||||
g_object_class_install_property (object_class, PROP_BORDER,
|
g_object_class_install_property (object_class, PROP_BORDER,
|
||||||
properties[PROP_BORDER]);
|
properties[PROP_BORDER]);
|
||||||
|
|
||||||
@ -172,7 +172,8 @@ ges_video_transition_class_init (GESVideoTransitionClass * klass)
|
|||||||
properties[PROP_TRANSITION_TYPE] =
|
properties[PROP_TRANSITION_TYPE] =
|
||||||
g_param_spec_enum ("transition-type", "Transition type",
|
g_param_spec_enum ("transition-type", "Transition type",
|
||||||
"The type of the transition", GES_VIDEO_STANDARD_TRANSITION_TYPE_TYPE,
|
"The type of the transition", GES_VIDEO_STANDARD_TRANSITION_TYPE_TYPE,
|
||||||
GES_VIDEO_STANDARD_TRANSITION_TYPE_CROSSFADE, G_PARAM_READWRITE);
|
GES_VIDEO_STANDARD_TRANSITION_TYPE_CROSSFADE,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
||||||
g_object_class_install_property (object_class, PROP_TRANSITION_TYPE,
|
g_object_class_install_property (object_class, PROP_TRANSITION_TYPE,
|
||||||
properties[PROP_TRANSITION_TYPE]);
|
properties[PROP_TRANSITION_TYPE]);
|
||||||
|
|
||||||
@ -185,7 +186,8 @@ ges_video_transition_class_init (GESVideoTransitionClass * klass)
|
|||||||
*/
|
*/
|
||||||
properties[PROP_INVERT] =
|
properties[PROP_INVERT] =
|
||||||
g_param_spec_boolean ("invert", "Invert",
|
g_param_spec_boolean ("invert", "Invert",
|
||||||
"Whether the transition is inverted", FALSE, G_PARAM_READWRITE);
|
"Whether the transition is inverted", FALSE,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
||||||
g_object_class_install_property (object_class, PROP_INVERT,
|
g_object_class_install_property (object_class, PROP_INVERT,
|
||||||
properties[PROP_INVERT]);
|
properties[PROP_INVERT]);
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user