Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/video/cdg
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2023-01-15 23:57:14 +0300
committerSebastian Dröge <sebastian@centricular.com>2023-01-15 23:58:44 +0300
commit6132788b02b38b5f0d0019f40a66a52e2d33177e (patch)
treee83ba65974bf4533ac6cb077cc65420cb08db036 /video/cdg
parent0c954135a34c16e62fa9a676c6ab165b2428a5f6 (diff)
Update for caps/structure-related string API changes
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1048>
Diffstat (limited to 'video/cdg')
-rw-r--r--video/cdg/src/cdgdec/imp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/cdg/src/cdgdec/imp.rs b/video/cdg/src/cdgdec/imp.rs
index 9d077731c..ae6874c89 100644
--- a/video/cdg/src/cdgdec/imp.rs
+++ b/video/cdg/src/cdgdec/imp.rs
@@ -204,7 +204,7 @@ impl VideoDecoderImpl for CdgDec {
let pools = query.allocation_pools();
if let Some((Some(ref pool), _, _, _)) = pools.first() {
let mut config = pool.config();
- config.add_option(&gst_video::BUFFER_POOL_OPTION_VIDEO_META);
+ config.add_option(gst_video::BUFFER_POOL_OPTION_VIDEO_META);
pool.set_config(config)
.map_err(|_| gst::loggable_error!(CAT, "Failed to configure buffer pool"))?;
}