[Bug 770221] rtponviftimestamp: Implement property "Immediate"

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Sep 6 11:02:47 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=770221

--- Comment #7 from Joakim Johansson <Joakim.Johansson at axis.com> ---
I will write a new patch that only sets the d-bit flag at FLUSH STOP and test
that with the compliant tool.

However, I noticed that the value is overwritten with the discont flag in the
GST_EVENT_CUSTOM_DOWNSTREAM event.

And tracing back in the code gives that this discont flag is set in:
/libs/gst-plugins-recordingdemuxbin/gst-plugins-recordingdemuxbin/src/gstrecordingdemuxbin.c

The discont flag is set to FALSE in these methods when calling
gst_recording_demux_bin_create_ntp_offset_event: 
   - gst_recording_demux_bin_perform_seek
   - gst_recording_demux_bin_setup_source


And is set to TRUE in (if a gap is detected):
   - gst_recording_demux_bin_change_file_unlocked

This means that it is not true that we receive a DISCONT flag in all cases
where we would like to set the D-bit but as far as I understand can we set the
D-bit at Flush Stop and override the discont flag if d-bit is set when the
event is received.

I will test that, but do you think that this is a solution that you will take?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list