[Bug 757520] rtpbin: logically dead code

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Mar 23 03:03:22 UTC 2016


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

--- Comment #3 from jihae <vegas8001 at gmail.com> ---

static void
gst_rtp_bin_associate()
{
..

      /* warn and bail for clarity out if no sane values */
      if (!use_rtp) {
        GST_WARNING_OBJECT (bin, "unable to sync to provided rtptime");
        return;
      }
...
    switch (rtcp_sync) {
      case GST_RTP_BIN_RTCP_SYNC_RTP:
        if (!use_rtp)
          break;
..
}

ok.
perhaps, it might be needed in the future. 
but, it is not needed currently . 
it would be returned before going to the dead code place if '!use_rtp' is true.

-- 
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