Remove the confusing internal-only use of
the GST_VIDEO_DECODER_FLOW_NEED_DATA return code.
dropping:
{
GST_WARNING_OBJECT (dec, "dropping frame because we need a keyframe");
- return GST_VIDEO_DECODER_FLOW_NEED_DATA;
+ return GST_CUSTOM_FLOW_DROP;
}
dropping_qos:
{
res = gst_video_decoder_finish_frame (bdec, frame);
break;
case GST_CUSTOM_FLOW_DROP:
- case GST_VIDEO_DECODER_FLOW_NEED_DATA:
res = gst_video_decoder_drop_frame (bdec, frame);
break;
default: