gst-omx: rpi encoder don't pass IDR as one buffer
Submitted by m][sko
Link to original bug (#736829)
Description
rpi encoder don't pass IDR frame as one buffer sometimes
so we have situations like
SPS, PPS, IDR(some data), IDR(rest of data), SLICEs
problem is that first IDR is flagged as OMX_BUFFERFLAG_SYNCFRAME
second part of IDR is flagged as full
OMX_BUFFERFLAG_SYNCFRAME + OMX_BUFFERFLAG_ENDOFFRAME