From 9c4c8c393219ff1d2d3446ac5130323bd445c077 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Thu, 10 Nov 2022 20:47:44 +0900 Subject: [PATCH] cudacontext: Store texture alignment it was missed in the previous refactoring Part-of: --- subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudacontext.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudacontext.c b/subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudacontext.c index 9b721736ca..05bfb7b102 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudacontext.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudacontext.c @@ -554,6 +554,7 @@ gst_cuda_context_new_wrapped (CUcontext handler, CUdevice device) self = g_object_new (GST_TYPE_CUDA_CONTEXT, "cuda-device-id", device, NULL); self->priv->context = handler; self->priv->device = device; + self->priv->tex_align = tex_align; gst_object_ref_sink (self); #ifdef GST_CUDA_HAS_D3D