projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
367e742
)
msdkdec: remove unneeded code
author
Haihao Xiang
<haihao.xiang@intel.com>
Tue, 23 Jul 2019 05:28:17 +0000
(13:28 +0800)
committer
Haihao Xiang
<haihao.xiang@intel.com>
Wed, 24 Jul 2019 00:17:29 +0000
(08:17 +0800)
Before calling gst_msdkdec_create_buffer_pool, the alignment parameters
have been adjusted.
sys/msdk/gstmsdkdec.c
patch
|
blob
|
history
diff --git
a/sys/msdk/gstmsdkdec.c
b/sys/msdk/gstmsdkdec.c
index
e2f4852
..
20694bf
100644
(file)
--- a/
sys/msdk/gstmsdkdec.c
+++ b/
sys/msdk/gstmsdkdec.c
@@
-1120,12
+1120,6
@@
gst_msdkdec_create_buffer_pool (GstMsdkDec * thiz, GstVideoInfo * info,
if (!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);
/* allocators should use the same width/height/stride/height_alignment of