diff --git a/subprojects/gst-plugins-base/gst-libs/gst/app/gstappsrc.c b/subprojects/gst-plugins-base/gst-libs/gst/app/gstappsrc.c index ce0875d614..16d2a325c1 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/app/gstappsrc.c +++ b/subprojects/gst-plugins-base/gst-libs/gst/app/gstappsrc.c @@ -2761,6 +2761,10 @@ gst_app_src_push_sample_internal (GstAppSrc * appsrc, GstSample * sample) GST_LOG_OBJECT (appsrc, "segment wasn't changed"); g_mutex_unlock (&priv->mutex); goto handle_buffer; + } else { + GST_LOG_OBJECT (appsrc, + "segment changed %" GST_SEGMENT_FORMAT " -> %" GST_SEGMENT_FORMAT, + &priv->last_segment, segment); } /* will be pushed to queue with next buffer/buffer-list */