gstreamer/sys
Xu Guangxin 52be289847 msdkvpp: fix "failed to create new MSDK memory"
all msdk output surfaces come from out_alloc_resp, so the buffer count is not resizable.
we need set min_buffers, max_buffers to same size.

steps to reproduce
1. ffmpeg -f lavfi -i testsrc=duration=10:size=320x240:rate=30:decimals=3 -pix_fmt yuv420p -c:v libx265 ~/bits/hevc/test.265
2. GST_GL_PLATFORM=egl gst-launch-1.0 -v filesrc location=~/bits/hevc/test.265  ! h265parse ! msdkh265dec  ! msdkvpp ! queue ! glimagesink
you will see error like this:
ERROR                default gstmsdkvideomemory.c:77:gst_msdk_video_allocator_get_surface: failed to get surface available
ERROR         msdkbufferpool gstmsdkbufferpool.c:270:gst_msdk_buffer_pool_alloc_buffer:<msdkbufferpool2> failed to create new MSDK memory
ERROR                msdkvpp gstmsdkvpp.c:297:create_output_buffer:<msdkvpp0> failed to create output video buffer
ERROR                msdkdec gstmsdkdec.c:699:gst_msdkdec_finish_task:<msdkh265dec0> Failed to finish frame
ERROR                msdkdec gstmsdkdec.c:1085:gst_msdkdec_handle_frame:<msdkh265dec0> Failed to finish a task

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1278>
2020-06-01 02:09:04 +00:00
..
androidmedia amc/videodec: only retrieve the stride/slice-height for raw output 2020-05-21 12:40:21 +00:00
applemedia applemedia: Add some properties to GstAvfDevice 2020-03-23 12:05:19 +00:00
bluez Remove autotools build system 2019-10-14 13:54:27 +01:00
d3d11 d3d11window_win32: Create internal window on parent window's thread 2020-05-27 05:08:48 +09:00
d3dvideosink d3dvideosink: hold class lock for entire duration of class destruction 2019-12-18 13:15:06 -05:00
decklink decklink: Remove spurious gtk-doc marker 2020-03-15 10:46:54 +00:00
directsound bad: use of g_value_dup_string 2019-12-30 14:13:03 +00:00
dshowdecwrapper documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
dshowsrcwrapper bad: use of g_value_dup_string 2019-12-30 14:13:03 +00:00
dshowvideosink documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
dvb Don't pass default GLib marshallers for signals 2019-11-06 14:27:46 +00:00
fbdev Remove autotools build system 2019-10-14 13:54:27 +01:00
ipcpipeline ipcpipeline: Minimal fixes that allow building with MSVC 2020-01-14 09:23:02 +05:30
kms kmssink: Add support for P010 and P016 formats 2020-04-22 22:39:04 +00:00
magicleap mlaudiosink: Fix crash when stopping pipeline 2019-12-06 15:29:29 +00:00
mediafoundation mediafoundation: Use core dispatcher of current view instead of main view 2020-05-29 23:01:08 +09:00
msdk msdkvpp: fix "failed to create new MSDK memory" 2020-06-01 02:09:04 +00:00
nvcodec nvh264sldec: Fix wrong scaling list matrix scan order 2020-05-23 01:06:28 +09:00
opensles opensles: Remove hard-coded buffer-/latency-time values 2020-05-16 19:23:06 +00:00
shm Don't pass default GLib marshallers for signals 2019-11-06 14:27:46 +00:00
tinyalsa Remove autotools build system 2019-10-14 13:54:27 +01:00
uvch264 remove various useless linefeed in logs 2019-12-11 10:51:29 +01:00
v4l2codecs v4l2codecs: h264: Add missing break 2020-05-21 20:12:07 +00:00
wasapi wasapisrc: Correctly handle BUFFERFLAGS_SILENT 2019-11-28 08:59:41 +00:00
winks documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
winscreencap documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
meson.build mediafoundation: Introduce Microsoft Media Foundation plugin 2020-04-28 14:37:31 +00:00