diff options
author | Haihao Xiang <haihao.xiang@intel.com> | 2019-02-28 12:00:56 +0800 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2019-02-28 11:51:06 +0000 |
commit | 4b8e3b215a7be3c2fd45333fc9616a933d0b967f (patch) | |
tree | 83025862d8591d8a6f4186906392d075d25480bf | |
parent | 18d410b81a5d18703c19898dd5d8ec132c6bbb5a (diff) |
msdkdec: fix for small resolution
-rw-r--r-- | sys/msdk/gstmsdkdec.c | 2 | ||||
-rw-r--r-- | sys/msdk/gstmsdkh265dec.c | 2 | ||||
-rw-r--r-- | sys/msdk/gstmsdkvp9dec.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/msdk/gstmsdkdec.c b/sys/msdk/gstmsdkdec.c index 8625e0b81..b7c9b4c9d 100644 --- a/sys/msdk/gstmsdkdec.c +++ b/sys/msdk/gstmsdkdec.c @@ -50,7 +50,7 @@ static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src", GST_STATIC_CAPS ("video/x-raw, " "format = (string) { NV12 }, " "framerate = (fraction) [0, MAX], " - "width = (int) [ 16, MAX ], height = (int) [ 16, MAX ]," + "width = (int) [ 1, MAX ], height = (int) [ 1, MAX ]," "interlace-mode = (string) progressive;" GST_VIDEO_CAPS_MAKE_WITH_FEATURES (GST_CAPS_FEATURE_MEMORY_DMABUF, "{ NV12 }") ";") diff --git a/sys/msdk/gstmsdkh265dec.c b/sys/msdk/gstmsdkh265dec.c index 9b4efd76c..496f77b1c 100644 --- a/sys/msdk/gstmsdkh265dec.c +++ b/sys/msdk/gstmsdkh265dec.c @@ -57,7 +57,7 @@ static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src", GST_STATIC_CAPS ("video/x-raw, " "format = (string) { NV12, P010_10LE }, " "framerate = (fraction) [0, MAX], " - "width = (int) [ 16, MAX ], height = (int) [ 16, MAX ]," + "width = (int) [ 1, MAX ], height = (int) [ 1, MAX ]," "interlace-mode = (string) progressive;" GST_VIDEO_CAPS_MAKE_WITH_FEATURES (GST_CAPS_FEATURE_MEMORY_DMABUF, "{ NV12, P010_10LE }") ";") diff --git a/sys/msdk/gstmsdkvp9dec.c b/sys/msdk/gstmsdkvp9dec.c index 6835dadcc..7a9427a44 100644 --- a/sys/msdk/gstmsdkvp9dec.c +++ b/sys/msdk/gstmsdkvp9dec.c @@ -56,7 +56,7 @@ static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src", GST_STATIC_CAPS ("video/x-raw, " "format = (string) { NV12, P010_10LE }, " "framerate = (fraction) [0, MAX], " - "width = (int) [ 16, MAX ], height = (int) [ 16, MAX ]," + "width = (int) [ 1, MAX ], height = (int) [ 1, MAX ]," "interlace-mode = (string) progressive;" GST_VIDEO_CAPS_MAKE_WITH_FEATURES (GST_CAPS_FEATURE_MEMORY_DMABUF, "{ NV12, P010_10LE }") ";") |