mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
x11: reset alignment
This commit is contained in:
parent
f50573fd66
commit
3fc48e114b
2 changed files with 4 additions and 0 deletions
|
@ -507,6 +507,8 @@ ximage_buffer_pool_set_config (GstBufferPool * pool, GstStructure * config)
|
||||||
|
|
||||||
/* we need the video metadata too now */
|
/* we need the video metadata too now */
|
||||||
priv->add_metavideo = TRUE;
|
priv->add_metavideo = TRUE;
|
||||||
|
} else {
|
||||||
|
gst_video_alignment_reset (&priv->align);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* add the padding */
|
/* add the padding */
|
||||||
|
|
|
@ -543,6 +543,8 @@ xvimage_buffer_pool_set_config (GstBufferPool * pool, GstStructure * config)
|
||||||
|
|
||||||
/* we need the video metadata too now */
|
/* we need the video metadata too now */
|
||||||
priv->add_metavideo = TRUE;
|
priv->add_metavideo = TRUE;
|
||||||
|
} else {
|
||||||
|
gst_video_alignment_reset (&priv->align);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* add the padding */
|
/* add the padding */
|
||||||
|
|
Loading…
Reference in a new issue