summaryrefslogtreecommitdiff
path: root/sys/xvimage/xvimagepool.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/xvimage/xvimagepool.c')
-rw-r--r--sys/xvimage/xvimagepool.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/xvimage/xvimagepool.c b/sys/xvimage/xvimagepool.c
index a2b9cb7c5..86dab2870 100644
--- a/sys/xvimage/xvimagepool.c
+++ b/sys/xvimage/xvimagepool.c
@@ -543,6 +543,8 @@ xvimage_buffer_pool_set_config (GstBufferPool * pool, GstStructure * config)
/* we need the video metadata too now */
priv->add_metavideo = TRUE;
+ } else {
+ gst_video_alignment_reset (&priv->align);
}
/* add the padding */