mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-05-19 00:38:20 +00:00
Compare commits
4 commits
a401920f8a
...
f21a28dcae
Author | SHA1 | Date | |
---|---|---|---|
f21a28dcae | |||
a87eaa4b79 | |||
88cbc93338 | |||
f1d0667e0b |
|
@ -649,7 +649,7 @@ impl BaseTransformImpl for HrtfRender {
|
|||
|
||||
if direction == gst::PadDirection::Sink {
|
||||
s.set("channels", 2);
|
||||
s.set("channel-mask", 0x3);
|
||||
s.set("channel-mask", gst::Bitmask(0x3));
|
||||
} else {
|
||||
let settings = self.settings.lock().unwrap();
|
||||
if let Some(objs) = &settings.spatial_objects {
|
||||
|
|
16
meson.build
16
meson.build
|
@ -472,12 +472,18 @@ if pkg_config.found()
|
|||
extra_env += {'PKG_CONFIG': pkg_config.full_path()}
|
||||
endif
|
||||
|
||||
pkg_config_path = get_option('pkg_config_path')
|
||||
# Prepend any Meson-provided dependencies (such as the GStreamer
|
||||
# global project's)
|
||||
pkg_config_path = [
|
||||
meson.global_build_root() / 'meson-uninstalled',
|
||||
meson.project_build_root() / 'meson-uninstalled',
|
||||
]
|
||||
if get_option('pkg_config_path').length() > 0
|
||||
pkg_config_path += [get_option('pkg_config_path')]
|
||||
endif
|
||||
|
||||
if pkg_config_path.length() > 0
|
||||
pathsep = ':'
|
||||
if host_system == 'windows'
|
||||
pathsep = ';'
|
||||
endif
|
||||
pathsep = host_system == 'windows' ? ';' : ':'
|
||||
extra_env += {'PKG_CONFIG_PATH': pathsep.join(pkg_config_path)}
|
||||
endif
|
||||
|
||||
|
|
|
@ -134,7 +134,7 @@ impl Dav1dDec {
|
|||
let matrix = match pic.matrix_coefficients() {
|
||||
pixel::MatrixCoefficients::Identity => gst_video::VideoColorMatrix::Rgb,
|
||||
pixel::MatrixCoefficients::BT709 => gst_video::VideoColorMatrix::Bt709,
|
||||
pixel::MatrixCoefficients::Unspecified => gst_video::VideoColorMatrix::Unknown,
|
||||
pixel::MatrixCoefficients::Unspecified => gst_video::VideoColorMatrix::Bt709,
|
||||
pixel::MatrixCoefficients::BT470M => gst_video::VideoColorMatrix::Fcc,
|
||||
pixel::MatrixCoefficients::BT470BG => gst_video::VideoColorMatrix::Bt601,
|
||||
pixel::MatrixCoefficients::ST240M => gst_video::VideoColorMatrix::Smpte240m,
|
||||
|
@ -149,7 +149,7 @@ impl Dav1dDec {
|
|||
|
||||
let transfer = match pic.transfer_characteristic() {
|
||||
pixel::TransferCharacteristic::BT1886 => gst_video::VideoTransferFunction::Bt709,
|
||||
pixel::TransferCharacteristic::Unspecified => gst_video::VideoTransferFunction::Unknown,
|
||||
pixel::TransferCharacteristic::Unspecified => gst_video::VideoTransferFunction::Bt709,
|
||||
pixel::TransferCharacteristic::BT470M => gst_video::VideoTransferFunction::Bt709,
|
||||
pixel::TransferCharacteristic::BT470BG => gst_video::VideoTransferFunction::Gamma28,
|
||||
pixel::TransferCharacteristic::ST170M => gst_video::VideoTransferFunction::Bt601,
|
||||
|
@ -180,7 +180,7 @@ impl Dav1dDec {
|
|||
|
||||
let primaries = match pic.color_primaries() {
|
||||
pixel::ColorPrimaries::BT709 => gst_video::VideoColorPrimaries::Bt709,
|
||||
pixel::ColorPrimaries::Unspecified => gst_video::VideoColorPrimaries::Unknown,
|
||||
pixel::ColorPrimaries::Unspecified => gst_video::VideoColorPrimaries::Bt709,
|
||||
pixel::ColorPrimaries::BT470M => gst_video::VideoColorPrimaries::Bt470m,
|
||||
pixel::ColorPrimaries::BT470BG => gst_video::VideoColorPrimaries::Bt470bg,
|
||||
pixel::ColorPrimaries::ST240M => gst_video::VideoColorPrimaries::Smpte240m,
|
||||
|
|
Loading…
Reference in a new issue