GNOME Bugzilla – Bug 796103
decklinksrc: Aggregate dropped frame/packet logging
Last modified: 2018-11-03 14:22:56 UTC
Decklinksrc currently prints a log entry for every dropped frame and audio packet. That completely spams the log file. Attached patch aggregates information about dropped packets and only prints a message when dropping starts, and a summary when dropping ends.
Created attachment 372013 [details] [review] decklinksrc: Aggregate dropped frame/packet logging
Review of attachment 372013 [details] [review]: ::: sys/decklink/gstdecklinkvideosrc.cpp @@ +267,3 @@ + self->skipped_last = 0; + self->skip_from_timestamp = GST_CLOCK_TIME_NONE; + self->skip_to_timestamp = GST_CLOCK_TIME_NONE; These should also be reset in GST_STATE_CHANGE_NULL_TO_READY
Created attachment 372069 [details] [review] decklinksrc: Aggregate dropped frame/packet logging
Review of attachment 372069 [details] [review]: ::: sys/decklink/gstdecklinkvideosrc.cpp @@ +1236,3 @@ + self->skipped_last = 0; + self->skip_from_timestamp = GST_CLOCK_TIME_NONE; + self->skip_to_timestamp = GST_CLOCK_TIME_NONE; And the same for the audio source of course :)
Created attachment 372509 [details] [review] decklinksrc: Aggregate dropped frame/packet logging
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/705.