Failure to print out custom stream-start event during final EOS is processing in decodebin3
Dear All
I encounter an unexpected symptom during final EOS is processing in decodebin3.
It's part of related log.
0:00:11.533119672 2016 0xefb04a60 DEBUG decodebin3 gstdecodebin3.c:1823:check_all_slot_for_eos:<decodebin3-0> All active slots are drained, and no pending input, push EOS
0:00:11.533160422 2016 0xefb04a60 DEBUG decodebin3 gstdecodebin3.c:1844:check_all_slot_for_eos:<multiqueue0:sink_0> (null)
0:00:11.533243047 2016 0xefb04a60 DEBUG GST_EVENT gstpad.c:5675:gst_pad_send_event_unchecked:<multiqueue0:sink_0> have event type stream-start event: 0xedd064f0, time 99:99:99.999999999, seq-num 59, GstEventStreamStart, stream-id=(string)85a4771591a79e5e80ad79ef9fd991fff18bea226e7a23c4a80e0d143f684c56/001, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE, group-id=(uint)3, stream=(GstStream)"\(GstStream\)\ stream1", decodebin3-flushing-stream-start=(boolean)true;
0:00:11.533291755 2016 0xefb04a60 DEBUG multiqueue gstmultiqueue.c:2965:gst_multi_queue_sink_event:<multiqueue0> SingleQueue 0 : Enqueuing event 0xedd064f0 of type stream-start with id 2330
0:00:11.533354922 2016 0xefb04a90 DEBUG multiqueue gstmultiqueue.c:2309:gst_single_queue_push_one:<multiqueue0> SingleQueue 0 : Pushing event 0xedd064f0 of type stream-start
0:00:11.533484005 2016 0xefb04a90 DEBUG decodebin3 gstdecodebin3-tv.c:1542:priv_multiqueue_src_probe:<multiqueue0:src_0> Got event 0xedd064f0 stream-start
0:00:11.533492755 2016 0xefb04a60 DEBUG decodebin3 gstdecodebin3.c:1884:check_all_slot_for_eos:<multiqueue0:sink_0> Pushing final eos: eos event: 0xedd06538, time 99:99:99.999999999, seq-num 957, (NULL)
0:00:11.533517672 2016 0xefb04a60 DEBUG GST_EVENT gstpad.c:5675:gst_pad_send_event_unchecked:<multiqueue0:sink_0> have event type eos event: 0xedd06538, time 99:99:99.999999999, seq-num 957, (NULL)
0:00:11.533553172 2016 0xefb04a60 DEBUG multiqueue gstmultiqueue.c:2965:gst_multi_queue_sink_event:<multiqueue0> SingleQueue 0 : Enqueuing event 0xedd06538 of type eos with id 2331
0:00:11.534083172 2016 0xefb04a60 DEBUG decodebin3 gstdecodebin3.c:1844:check_all_slot_for_eos:<multiqueue0:sink_1> (null)
0:00:11.534149422 2016 0xefb04a60 DEBUG GST_EVENT gstpad.c:5675:gst_pad_send_event_unchecked:<multiqueue0:sink_1> have event type stream-start event: 0xedd06580, time 99:99:99.999999999, seq-num 88, GstEventStreamStart, stream-id=(string)85a4771591a79e5e80ad79ef9fd991fff18bea226e7a23c4a80e0d143f684c56/002, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE, group-id=(uint)3, stream=(GstStream)"\(GstStream\)\ stream2", decodebin3-flushing-stream-start=(boolean)true;
0:00:11.534248714 2016 0xefb04a90 DEBUG decodebin3 gstdecodebin3-tv.c:1542:priv_multiqueue_src_probe:<multiqueue0:src_0> Got event 0xedd06538 eos
0:00:11.534270214 2016 0xefb04a90 FIXME decodebin3 gstdecodebin3-tv.c:1731:priv_multiqueue_src_probe:<multiqueue0:src_0> EOS on multiqueue source pad. input:0xefb6f288
0:00:11.534364255 2016 0xefb04a90 DEBUG decodebin3 gstdecodebin3.c:1777:priv_multiqueue_src_probe:<multiqueue0:src_0> Got final eos, propagating downstream
0:00:11.534450005 2016 0xefb04a60 DEBUG decodebin3 gstdecodebin3.c:1884:check_all_slot_for_eos:<multiqueue0:sink_1> Pushing final eos: eos event: 0xedd065c8, time 99:99:99.999999999, seq-num 959, (NULL)
0:00:11.534534839 2016 0xefb04a60 DEBUG GST_EVENT gstpad.c:5675:gst_pad_send_event_unchecked:<multiqueue0:sink_1> have event type eos event: 0xedd065c8, time 99:99:99.999999999, seq-num 959, (NULL)
Decodebin3 try to send custom stream-start event to multiqueue in order to handle final EOS. And it prints out the custom stream-start as GST_PTR_FORMAT. ==> GST_DEBUG_OBJECT (peer, "Pushing custom stream-start: %", GST_PTR_FORMAT, custom_stream_start);
It is printed out as (null) but, actually the custom stream-start is delivered to multiqueue as well with (decodebin3-flushing-stream-start=(boolean)true).
Thus, I am a bit confused.
Is there anyone why custom stream-start event is printed out as (null) ??
Thanks.