Commit 09c4cc55 authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

qtmux: Don't deref NULL pads in debug output

That tends to crash.
parent 324cc4dc
......@@ -3591,8 +3591,12 @@ find_best_pad (GstQTMux * qtmux, GstCollectPads * pads)
gst_buffer_unref (tmp_buf);
if (best_pad) {
GST_DEBUG_OBJECT (qtmux, "Choosing pad %s:%s",
GST_DEBUG_PAD_NAME (best_pad->collect.pad));
} else {
GST_DEBUG_OBJECT (qtmux, "No best pad: EOS");
return best_pad;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment