From 67f70af1bb7694044e663ff883e531a2cb308910 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Tue, 15 Sep 2020 00:27:24 +1000 Subject: [PATCH] splitmuxsink: Add debug for fragment opened/closed msgs When posting fragment-opened and fragment-closed messages, put a debug statement in the logs Part-of: --- gst/multifile/gstsplitmuxsink.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gst/multifile/gstsplitmuxsink.c b/gst/multifile/gstsplitmuxsink.c index 2c5c5ed..ff0b5f9 100644 --- a/gst/multifile/gstsplitmuxsink.c +++ b/gst/multifile/gstsplitmuxsink.c @@ -1108,6 +1108,9 @@ send_fragment_opened_closed_msg (GstSplitMuxSink * splitmux, gboolean opened, "location") != NULL) g_object_get (sink, "location", &location, NULL); + GST_DEBUG_OBJECT (splitmux, + "Sending %s message. Running time %" GST_TIME_FORMAT " location %s", + msg_name, GST_TIME_ARGS (running_time), GST_STR_NULL (location)); /* If it's in the middle of a teardown, the reference_ctc might have become * NULL */ -- 2.7.4