msdkdec: add parse callback for non-packetized input
commit 55c0d720 added the capability to handle non-packetized bitstream, and there is a loop to handle multiple frames in a non-packetized buffer in gst_msdkdec_handle_frame. However it is possible that a non-packetized buffer still contains valid data but there is no long any pending unfinished frame. Currently gst_video_decoder_decode_frame is invoked to send a new frame with new input data, the situaltion is repeated till an EOS is received. An application has to exit when receiving an EOS, however there is still valid data in a non-packetezied input buffer, hence some frames are dropped.
This fix adds a parse callback for non-packeteized input, a new frame will be sent to the subclass as soon as the input buffer has valid data
This fixes #665 (closed)