diff --git a/gstreamer/src/memory.rs b/gstreamer/src/memory.rs index 4cfe309dc..8179055c6 100644 --- a/gstreamer/src/memory.rs +++ b/gstreamer/src/memory.rs @@ -287,7 +287,7 @@ impl MemoryRef { phantom: PhantomData, }) } else { - Err(glib_bool_error!("Failed to map memory readable")) + Err(glib_bool_error!("Failed to map memory writable")) } } }