[Bug 731769] add element implementing the ONVIF RTP extension
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Jun 23 13:20:29 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=731769
GStreamer | gst-plugins-bad | unspecified
--- Comment #1 from Olivier Crete (Tester) <olivier.crete at ocrete.ca> 2014-06-23 20:20:23 UTC ---
Review of attachment 278581:
--> (https://bugzilla.gnome.org/review?bug=731769&attachment=278581)
This generally looks good, but it introduces a one frame latency without ever
declaring it. Which is quite annoying to do because it's in RTP land and we
have no idea of the buffer rate.
::: gst/onvif/gstonvif.c
@@ +31,3 @@
+{
+ if (!gst_element_register (plugin, "onviftimestamp_apply", GST_RANK_NONE,
+ GST_TYPE_ONVIF_TIMESTAMP_APPLY))
I don't like the name too much, any reason not to name it "rtponviftimestamp"
for example? That would say it's about RTP, and you can use "timestamp" as a
verb"
::: gst/onvif/gstonviftimestamp-apply.c
@@ +212,3 @@
+ gst_event_copy_segment (event, &self->segment);
+ } else if (GST_EVENT_TYPE (event) == GST_EVENT_FLUSH_START) {
+ gst_segment_init (&self->segment, GST_FORMAT_UNDEFINED);
This should probably happen on flush stop (as in this case, the stream lock is
held).
This function may also be a good case for a switch/case.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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