Somehow this didn't show up earlier, but gst_adapter_prev_timestamp() got
deprecated since GStreamer 1.0.
This patch replace it with gst_adapter_prev_pts()
Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
input_size -= got_unit_size;
if (gst_adapter_available (ps->output_adapter) == 0) {
- ps->current_frame->pts =
- gst_adapter_prev_timestamp (ps->input_adapter, NULL);
+ ps->current_frame->pts = gst_adapter_prev_pts (ps->input_adapter, NULL);
}
gst_adapter_push (ps->output_adapter, buffer);
}