summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Schmidt <jan@centricular.com>2020-09-15 00:27:24 +1000
committerTim-Philipp Müller <tim@centricular.com>2020-12-14 09:57:15 +0000
commit9d46df77ed064244590478021c6b1d118eeddbd1 (patch)
tree37ad2fa495900c1fbed8a259c11c62e7caaf6475
parente00810b2d03e7711d9b0e5624189dd75593b99ab (diff)
downloadgstreamer-plugins-good-9d46df77ed064244590478021c6b1d118eeddbd1.tar.gz
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: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/840>
-rw-r--r--gst/multifile/gstsplitmuxsink.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/multifile/gstsplitmuxsink.c b/gst/multifile/gstsplitmuxsink.c
index 2c5c5ed20..ff0b5f9dd 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 */