Skip to content

Commit

Permalink
Fixing include
Browse files Browse the repository at this point in the history
  • Loading branch information
ross-newman committed May 10, 2024
1 parent 3056516 commit 346d459
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion example/rtp_receive/receive-example.cc
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ int main(int argc, char *argv[]) {
break;
case mediax::rtp::ColourspaceType::kColourspaceH264Part10:
case mediax::rtp::ColourspaceType::kColourspaceH264Part4:
Receive::rtp_ = std::make_shared<mediax::rtp::h264::gst::vaapi::RtpH264GstOpenDepayloader>();
Receive::rtp_ = std::make_shared<mediax::rtp::h264::gst::vaapi::RtpH264GstVaapiDepayloader>();
break;
case mediax::rtp::ColourspaceType::kColourspaceH265:
Receive::rtp_ = std::make_shared<mediax::rtp::h265::gst::vaapi::RtpH265GstVaapiDepayloader>();
Expand Down
2 changes: 1 addition & 1 deletion example/rtp_transmit/transmit-example.cc
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ int main(int argc, char** argv) {
break;
case mediax::rtp::ColourspaceType::kColourspaceH264Part10:
case mediax::rtp::ColourspaceType::kColourspaceH264Part4:
rtp = std::make_unique<mediax::rtp::h264::gst::vaapi::RtpH264GstOpenPayloader>();
rtp = std::make_unique<mediax::rtp::h264::gst::vaapi::RtpH264GstVaapiPayloader>();
break;
case mediax::rtp::ColourspaceType::kColourspaceH265:
rtp = std::make_unique<mediax::rtp::h265::gst::vaapi::RtpH265GstVaapiPayloader>();
Expand Down
2 changes: 1 addition & 1 deletion example/simple/receive.cc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ void NvidiaH264() {
void VaapiH264() {
// [Receive example vaapi]
// To use another payloader, simply change the namespace i.e. Intel Video Accelleration API (VAAPI)
mediax::rtp::h264::gst::vaapi::RtpH264GstOpenPayloader rtp;
mediax::rtp::h264::gst::vaapi::RtpH264GstVaapiPayloader rtp;
// [Receive example vaapi]
}

Expand Down
2 changes: 1 addition & 1 deletion src/qt6/QtRtpH264Depayloader.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class QtRtpH264Depayloader : public QtRtpDepayloader {

private:
/// The underlying RTP H.264 depayloader
mediax::rtp::h264::gst::vaapi::RtpH264GstOpenDepayloader m_depayloader;
mediax::rtp::h264::gst::vaapi::RtpH264GstVaapiDepayloader m_depayloader;
};

} // namespace mediax::qt6
Expand Down
2 changes: 1 addition & 1 deletion src/qt6/QtRtpH264Payloader.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class QtRtpH264Payloader : public QtRtpPayloader {

private:
/// The GStreamer payloader
::mediax::rtp::h264::gst::vaapi::RtpH264GstOpenPayloader payloader_;
::mediax::rtp::h264::gst::vaapi::RtpH264GstVaapiPayloader payloader_;
};

} // namespace mediax::qt6
Expand Down

0 comments on commit 346d459

Please sign in to comment.