mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +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;
|
GstMapInfo info;
|
||||||
gboolean res;
|
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;
|
return GST_FLOW_OK;
|
||||||
|
}
|
||||||
|
|
||||||
res = gst_buffer_map (buffer, &info, GST_MAP_READWRITE);
|
res = gst_buffer_map (buffer, &info, GST_MAP_READWRITE);
|
||||||
if (!res) {
|
if (!res) {
|
||||||
|
|
Loading…
Reference in a new issue