msdk: Heavy perf. degradation when filter elements are placed between msdkdec and msdkenc
This pipeline A
is super slower than B
. I feel like we need to revisit caps features for msdk as I tried at !655 (comment 219257) to use system memory even on Linux.
Pipeline A
gst-launch-1.0 souphttpsrc location=http://media.w3.org/2010/05/sintel/trailer.mp4 ! qtdemux ! h264parse ! msdkh264dec ! videoscale ! video/x-raw,width=1280,height=720 ! msdkh264enc ! fakesink
Pipeline B
gst-launch-1.0 souphttpsrc location=http://media.w3.org/2010/05/sintel/trailer.mp4 ! qtdemux ! h264parse ! msdkh264dec ! msdkh264enc ! fakesink