mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
msdkdec: remove unneeded code
Before calling gst_msdkdec_create_buffer_pool, the alignment parameters have been adjusted.
This commit is contained in:
parent
367e742e5d
commit
8145a2236d
1 changed files with 0 additions and 6 deletions
|
@ -1120,12 +1120,6 @@ gst_msdkdec_create_buffer_pool (GstMsdkDec * thiz, GstVideoInfo * info,
|
||||||
if (!pool)
|
if (!pool)
|
||||||
goto error_no_pool;
|
goto error_no_pool;
|
||||||
|
|
||||||
if (G_UNLIKELY (!IS_ALIGNED (GST_VIDEO_INFO_WIDTH (info), 16)
|
|
||||||
|| !IS_ALIGNED (GST_VIDEO_INFO_HEIGHT (info), 32))) {
|
|
||||||
gst_msdk_set_video_alignment (info, &align);
|
|
||||||
gst_video_info_align (info, &align);
|
|
||||||
}
|
|
||||||
|
|
||||||
caps = gst_video_info_to_caps (info);
|
caps = gst_video_info_to_caps (info);
|
||||||
|
|
||||||
/* allocators should use the same width/height/stride/height_alignment of
|
/* allocators should use the same width/height/stride/height_alignment of
|
||||||
|
|
Loading…
Reference in a new issue