GstClockTimeDiff diff;
GstClockTime timestamp;
- gst_event_parse_qos (event, &proportion, &diff, ×tamp);
+ gst_event_parse_qos (event, NULL, &proportion, &diff, ×tamp);
/* save stuff for the _chain function */
GST_OBJECT_LOCK (visual);
GstClockTimeDiff diff;
GstClockTime timestamp;
- gst_event_parse_qos (event, &proportion, &diff, ×tamp);
+ gst_event_parse_qos (event, NULL, &proportion, &diff, ×tamp);
/* we cannot randomly skip frame decoding since we don't have
* B frames. we can however use the timestamp and diff to not
gint64 running_time_diff;
GstStream *stream;
- gst_event_parse_qos (event, &proportion, &diff, ×tamp);
+ gst_event_parse_qos (event, NULL, &proportion, &diff, ×tamp);
gst_event_unref (event);
GST_STREAM_SYNCHRONIZER_LOCK (self);
goto out;
}
- event = gst_event_new_qos (proportion, diff, timestamp);
+ event =
+ gst_event_new_qos (GST_QOS_TYPE_UNDERFLOW, proportion, diff,
+ timestamp);
break;
}
default: