mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
GStreamer multimedia framework
1cece5bde5
The C API provides the gst_pad_set_caps() helper which makes it easier to set caps on pads (see gst/gstcompat.h in gstreamer core). Add such handy helper to the python bindings too. The implementation follows as close as possible the one in gstcompat.h with two changes: 1. the type check on the pad has been removed because self is guaranteed to be a Gst.Pad in python. 2. the null check on the caps has been extended to be a type check. Fixes https://gitlab.freedesktop.org/gstreamer/gst-python/issues/19 |
||
---|---|---|
common@59cb678164 | ||
examples | ||
gi | ||
hooks | ||
old_examples | ||
plugin | ||
testsuite | ||
.gitignore | ||
.gitlab-ci.yml | ||
.gitmodules | ||
acinclude.m4 | ||
AUTHORS | ||
autogen.sh | ||
ChangeLog | ||
configure.ac | ||
COPYING | ||
env | ||
gst-python.doap | ||
Makefile.am | ||
meson.build | ||
meson_options.txt | ||
NEWS | ||
pygst.py.in | ||
README | ||
RELEASE | ||
TODO |
This file will be autogenerated. Please read README-docs.