Browse Source

Fixed 'if' typo in VideoReceiver::_makeSource method

QGC4.4
Alexey 5 years ago
parent
commit
1985cf96a0
  1. 2
      src/VideoStreaming/VideoReceiver.cc

2
src/VideoStreaming/VideoReceiver.cc

@ -332,7 +332,7 @@ VideoReceiver::_makeSource(const QString& uri) @@ -332,7 +332,7 @@ VideoReceiver::_makeSource(const QString& uri)
qCCritical(VideoReceiverLog) << "gst_caps_from_string() failed";
break;
}
} else if (isUdp264) {
} else if (isUdp265) {
if ((caps = gst_caps_from_string("application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H265")) == nullptr) {
qCCritical(VideoReceiverLog) << "gst_caps_from_string() failed";
break;

Loading…
Cancel
Save