projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac9423f
)
msdkvpp: allow UYVY in the src pad
author
Haihao Xiang
<haihao.xiang@intel.com>
Thu, 14 Feb 2019 05:56:52 +0000
(13:56 +0800)
committer
Víctor Manuel Jáquez Leal
<vjaquez@igalia.com>
Tue, 19 Feb 2019 11:04:47 +0000
(11:04 +0000)
This make the pipeline below works:
gst-launch-1.0 videotestsrc num-buffers=1 ! msdkvpp ! \
video/x-raw,format=UYVY ! filesink location=a.yuv
Once https://github.com/intel/media-driver/pull/526 in the media-driver
is merged, the pipeline below also works:
gst-launch-1.0 videotestsrc num-buffers=1 ! msdkvpp ! \
video/x-raw\(memory:DMABuf\),format=UYVY ! filesink location=a.yuv
sys/msdk/gstmsdkvpp.c
patch
|
blob
|
history
diff --git
a/sys/msdk/gstmsdkvpp.c
b/sys/msdk/gstmsdkvpp.c
index
26ba057
..
69ee5b4
100644
(file)
--- a/
sys/msdk/gstmsdkvpp.c
+++ b/
sys/msdk/gstmsdkvpp.c
@@
-67,8
+67,8
@@
static GstStaticPadTemplate gst_msdkvpp_src_factory =
GST_PAD_ALWAYS,
GST_STATIC_CAPS (GST_VIDEO_CAPS_MAKE_WITH_FEATURES
(GST_CAPS_FEATURE_MEMORY_DMABUF,
- "{ BGRA, YUY2, NV12, BGRx, P010_10LE}") ";"
- GST_VIDEO_CAPS_MAKE ("{ BGRA, NV12, YUY2, BGRx, P010_10LE }") ", "
+ "{ BGRA, YUY2,
UYVY,
NV12, BGRx, P010_10LE}") ";"
+ GST_VIDEO_CAPS_MAKE ("{ BGRA, NV12, YUY2,
UYVY,
BGRx, P010_10LE }") ", "
"interlace-mode = (string){ progressive, interleaved, mixed }" ";"));
enum