summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gsttracelib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gsttracelib.c b/src/gsttracelib.c
index af24f9b..d114157 100644
--- a/src/gsttracelib.c
+++ b/src/gsttracelib.c
@@ -902,7 +902,7 @@ _do_pad_stats(GstPad * pad, GsttlPadStats *stats, GstBuffer *buffer, GstClockTim
_log_entry(
"chkcaps_pad_%s %" GST_TIME_FORMAT " %lf, buffer-caps are not fixed\n",
stats->name, GST_TIME_ARGS (elapsed), GSTTL_TIME_AS_SECOND (elapsed));
- } else if (pad_caps && buffer_caps && !gst_caps_is_equal_fixed (pad_caps, buffer_caps)) {
+ } else if (pad_caps && buffer_caps && gst_caps_is_fixed(pad_caps) && gst_caps_is_fixed(buffer_caps) && (pad_caps != buffer_caps) && !gst_caps_is_equal_fixed(pad_caps, buffer_caps)) {
_log_entry(
"chkcaps_pad_%s %" GST_TIME_FORMAT " %lf, buffer-caps and pad-caps differ\n",
stats->name, GST_TIME_ARGS (elapsed), GSTTL_TIME_AS_SECOND (elapsed));