Commit a1746a01 authored by François Grisez's avatar François Grisez
Browse files

Fix compilation bug when video feature is disabled

parent e3fe44b8
...@@ -111,7 +111,7 @@ stream_manager_t * stream_manager_new(MSFormatType type) { ...@@ -111,7 +111,7 @@ stream_manager_t * stream_manager_new(MSFormatType type) {
mgr->video_stream=video_stream_new (mgr->local_rtp, mgr->local_rtcp,FALSE); mgr->video_stream=video_stream_new (mgr->local_rtp, mgr->local_rtcp,FALSE);
rtp_session_register_event_queue(mgr->video_stream->ms.sessions.rtp_session,mgr->evq); rtp_session_register_event_queue(mgr->video_stream->ms.sessions.rtp_session,mgr->evq);
#else #else
ms_fatal("Unsupported stream type [%s]",ms_stream_type_to_string(mgr->type)); ms_fatal("Unsupported stream type [%s]",ms_format_type_to_string(mgr->type));
#endif #endif
} }
...@@ -129,7 +129,7 @@ static void stream_manager_delete(stream_manager_t * mgr) { ...@@ -129,7 +129,7 @@ static void stream_manager_delete(stream_manager_t * mgr) {
rtp_session_unregister_event_queue(mgr->video_stream->ms.sessions.rtp_session,mgr->evq); rtp_session_unregister_event_queue(mgr->video_stream->ms.sessions.rtp_session,mgr->evq);
video_stream_stop(mgr->video_stream); video_stream_stop(mgr->video_stream);
#else #else
ms_fatal("Unsupported stream type [%s]",ms_stream_type_to_string(mgr->type)); ms_fatal("Unsupported stream type [%s]",ms_format_type_to_string(mgr->type));
#endif #endif
} }
ortp_ev_queue_destroy(mgr->evq); ortp_ev_queue_destroy(mgr->evq);
...@@ -259,7 +259,7 @@ void start_adaptive_stream(MSFormatType type, stream_manager_t ** pmarielle, str ...@@ -259,7 +259,7 @@ void start_adaptive_stream(MSFormatType type, stream_manager_t ** pmarielle, str
video_manager_start(margaux,payload,marielle->local_rtp,0,NULL); video_manager_start(margaux,payload,marielle->local_rtp,0,NULL);
#else #else
ms_fatal("Unsupported stream type [%s]",ms_stream_type_to_string(marielle->type)); ms_fatal("Unsupported stream type [%s]",ms_format_type_to_string(marielle->type));
#endif #endif
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment