Advertisement
wellthatsucks

Untitled

Feb 7th, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.17 KB | None | 0 0
  1. error[E0308]: mismatched types
  2. --> gstreamer-rtsp-server/src/auto/r_t_s_p_stream.rs:290:79
  3. |
  4. 290 | from_glib(ffi::gst_rtsp_stream_get_rtpinfo(self.to_glib_none().0, rtptime, seq, clock_rate, running_time.to_glib()))
  5. | ^^^^^^^ expected *-ptr, found type parameter
  6. |
  7. = note: expected type `*mut u32`
  8. found type `P`
  9.  
  10. error[E0308]: mismatched types
  11. --> gstreamer-rtsp-server/src/auto/r_t_s_p_stream.rs:290:88
  12. |
  13. 290 | from_glib(ffi::gst_rtsp_stream_get_rtpinfo(self.to_glib_none().0, rtptime, seq, clock_rate, running_time.to_glib()))
  14. | ^^^ expected *-ptr, found type parameter
  15. |
  16. = note: expected type `*mut u32`
  17. found type `Q`
  18.  
  19. error[E0308]: mismatched types
  20. --> gstreamer-rtsp-server/src/auto/r_t_s_p_stream.rs:290:93
  21. |
  22. 290 | from_glib(ffi::gst_rtsp_stream_get_rtpinfo(self.to_glib_none().0, rtptime, seq, clock_rate, running_time.to_glib()))
  23. | ^^^^^^^^^^ expected *-ptr, found type parameter
  24. |
  25. = note: expected type `*mut u32`
  26. found type `R`
  27.  
  28. error[E0308]: mismatched types
  29. --> gstreamer-rtsp-server/src/auto/r_t_s_p_stream.rs:290:105
  30. |
  31. 290 | from_glib(ffi::gst_rtsp_stream_get_rtpinfo(self.to_glib_none().0, rtptime, seq, clock_rate, running_time.to_glib()))
  32. | ^^^^^^^^^^^^^^^^^^^^^^ expected *-ptr, found u64
  33. |
  34. = note: expected type `*mut u64`
  35. found type `u64`
  36.  
  37. error[E0599]: no method named `to_glib_none_mut` found for type `std::option::Option<&gst::GstRc<gst::CapsRef>>` in the current scope
  38. --> gstreamer-rtsp-server/src/auto/r_t_s_p_stream.rs:489:94
  39. |
  40. 489 | from_glib(ffi::gst_rtsp_stream_update_crypto(self.to_glib_none().0, ssrc, crypto.to_glib_none_mut().0))
  41. | ^^^^^^^^^^^^^^^^
  42.  
  43. error[E0277]: the trait bound `gst_rtsp::RTSPUrl: glib::translate::FromGlibPtrNone<*const gst_rtsp_ffi::GstRTSPUrl>` is not satisfied
  44. --> gstreamer-rtsp-server/src/auto/r_t_s_p_stream_transport.rs:83:13
  45. |
  46. 83 | from_glib_none(ffi::gst_rtsp_stream_transport_get_url(self.to_glib_none().0))
  47. | ^^^^^^^^^^^^^^ the trait `glib::translate::FromGlibPtrNone<*const gst_rtsp_ffi::GstRTSPUrl>` is not implemented for `gst_rtsp::RTSPUrl`
  48. |
  49. = help: the following implementations were found:
  50. <gst_rtsp::RTSPUrl as glib::translate::FromGlibPtrNone<*mut gst_rtsp_ffi::GstRTSPUrl>>
  51. = note: required because of the requirements on the impl of `glib::translate::FromGlibPtrNone<*const gst_rtsp_ffi::GstRTSPUrl>` for `std::option::Option<gst_rtsp::RTSPUrl>`
  52. = note: required by `glib::translate::from_glib_none`
  53.  
  54. error: aborting due to 6 previous errors
  55.  
  56. error: Could not compile `gstreamer-rtsp-server`.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement