From: Wim Taymans Date: Wed, 21 Dec 2011 17:14:45 +0000 (+0100) Subject: x11: reset alignment X-Git-Tag: 1.19.3~511^2~7036 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3fc48e114b03bcb4ceb45cb47c7dcbf579b96146;p=platform%2Fupstream%2Fgstreamer.git x11: reset alignment --- diff --git a/sys/ximage/ximagepool.c b/sys/ximage/ximagepool.c index 4674f19..7ad88e9 100644 --- a/sys/ximage/ximagepool.c +++ b/sys/ximage/ximagepool.c @@ -507,6 +507,8 @@ ximage_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 */ diff --git a/sys/xvimage/xvimagepool.c b/sys/xvimage/xvimagepool.c index a2b9cb7..86dab28 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 */