mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-13 23:22:54 +00:00
avtp: crfsync: Warn when CRF package not yet received
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1075>
This commit is contained in:
parent
a66124a79c
commit
de95d3a1c4
1 changed files with 3 additions and 1 deletions
|
@ -149,8 +149,10 @@ gst_avtp_crf_sync_transform_ip (GstBaseTransform * parent, GstBuffer * buffer)
|
|||
GstMapInfo info;
|
||||
gboolean res;
|
||||
|
||||
if (!avg_period || !current_ts)
|
||||
if (!avg_period || !current_ts) {
|
||||
GST_WARNING_OBJECT (avtpcrfsync, "No CRF packet yet received!");
|
||||
return GST_FLOW_OK;
|
||||
}
|
||||
|
||||
res = gst_buffer_map (buffer, &info, GST_MAP_READWRITE);
|
||||
if (!res) {
|
||||
|
|
Loading…
Reference in a new issue