diff options
Diffstat (limited to 'gst')
-rw-r--r-- | gst/videofilters/gstscenechange.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/videofilters/gstscenechange.c b/gst/videofilters/gstscenechange.c index d5d7fb4d1..7abfc8b1d 100644 --- a/gst/videofilters/gstscenechange.c +++ b/gst/videofilters/gstscenechange.c @@ -184,6 +184,7 @@ gst_scene_change_transform_frame_ip (GstVideoFilter * filter, scenechange->n_diffs = 0; memset (scenechange->diffs, 0, sizeof (double) * SC_N_DIFFS); scenechange->oldbuf = gst_buffer_ref (frame->buffer); + memcpy (&scenechange->oldinfo, &frame->info, sizeof (GstVideoInfo)); return GST_FLOW_OK; } |