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

github.com/sdroege/gst-plugin-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/video
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2022-12-29 12:11:20 +0300
committerSebastian Dröge <sebastian@centricular.com>2022-12-29 12:13:25 +0300
commit439ada614c05e1f18ca249d82598c3f5e6a918fa (patch)
tree455920c67d8665aae8fe67664f1e43588e877d4e /video
parentf72540f5c2244dd1dd4680a23c82bba18d4b0d04 (diff)
gtk4: Rename a variable to make more sense
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1032>
Diffstat (limited to 'video')
-rw-r--r--video/gtk4/src/sink/imp.rs16
1 files changed, 8 insertions, 8 deletions
diff --git a/video/gtk4/src/sink/imp.rs b/video/gtk4/src/sink/imp.rs
index 82bd710c..fd78b497 100644
--- a/video/gtk4/src/sink/imp.rs
+++ b/video/gtk4/src/sink/imp.rs
@@ -735,7 +735,7 @@ impl PaintableSink {
fn initialize_x11egl(
&self,
display: gdk::Display,
- display_ctx_guard: &mut Option<gst_gl::GLDisplay>,
+ display_guard: &mut Option<gst_gl::GLDisplay>,
app_ctx_guard: &mut Option<gst_gl::GLContext>,
) {
gst::info!(
@@ -778,7 +778,7 @@ impl PaintableSink {
Some(gst_app_context) => gst_app_context,
};
- display_ctx_guard.replace(gst_display);
+ display_guard.replace(gst_display);
app_ctx_guard.replace(gst_app_context);
}
}
@@ -787,7 +787,7 @@ impl PaintableSink {
fn initialize_x11glx(
&self,
display: gdk::Display,
- display_ctx_guard: &mut Option<gst_gl::GLDisplay>,
+ display_guard: &mut Option<gst_gl::GLDisplay>,
app_ctx_guard: &mut Option<gst_gl::GLContext>,
) {
gst::info!(
@@ -830,7 +830,7 @@ impl PaintableSink {
Some(gst_app_context) => gst_app_context,
};
- display_ctx_guard.replace(gst_display);
+ display_guard.replace(gst_display);
app_ctx_guard.replace(gst_app_context);
}
}
@@ -839,7 +839,7 @@ impl PaintableSink {
fn initialize_waylandegl(
&self,
display: gdk::Display,
- display_ctx_guard: &mut Option<gst_gl::GLDisplay>,
+ display_guard: &mut Option<gst_gl::GLDisplay>,
app_ctx_guard: &mut Option<gst_gl::GLContext>,
) {
gst::info!(
@@ -887,7 +887,7 @@ impl PaintableSink {
Some(gst_app_context) => gst_app_context,
};
- display_ctx_guard.replace(gst_display);
+ display_guard.replace(gst_display);
app_ctx_guard.replace(gst_app_context);
}
}
@@ -896,7 +896,7 @@ impl PaintableSink {
fn initialize_macosgl(
&self,
display: gdk::Display,
- display_ctx_guard: &mut Option<gst_gl::GLDisplay>,
+ display_guard: &mut Option<gst_gl::GLDisplay>,
app_ctx_guard: &mut Option<gst_gl::GLContext>,
) {
gst::info!(
@@ -927,7 +927,7 @@ impl PaintableSink {
Some(gst_app_context) => gst_app_context,
};
- display_ctx_guard.replace(gst_display);
+ display_guard.replace(gst_display);
app_ctx_guard.replace(gst_app_context);
}
}