msdkh265enc: output main-10 bitstream if the input is P010_10LE
authorXiang, Haihao <haihao.xiang@intel.com>
Tue, 27 Nov 2018 07:56:03 +0000 (15:56 +0800)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Wed, 12 Dec 2018 09:00:13 +0000 (09:00 +0000)
commit9a9e01a1a5f253cb465326664200820453afabfc
tree6507b042a6de3e90efea6532c9985da552cf3522
parent9711a21008f16aaad4f91a612f8f863e5f302892
msdkh265enc: output main-10 bitstream if the input is P010_10LE

Tested on KBL using the following command:
gst-launch-1.0 videotestsrc num_buffers=100 ! video/x-raw,format=P010_10LE ! \
msdkh265enc ! filesink location=a.hevc

This fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/829
sys/msdk/gstmsdkh265enc.c