Commit 643f96d3 authored by jehan's avatar jehan

fix compilation issue when compiling without video

parent 4a708d79
...@@ -174,7 +174,7 @@ static bool_t parse_args(int argc, char **argv, MediastreamDatas *out) ...@@ -174,7 +174,7 @@ static bool_t parse_args(int argc, char **argv, MediastreamDatas *out)
return TRUE; return TRUE;
} }
#ifdef VIDEO_ENABLED
static void reader_notify_cb(void *user_data, MSFilter *f, unsigned int event, void *eventdata) static void reader_notify_cb(void *user_data, MSFilter *f, unsigned int event, void *eventdata)
{ {
if (event == MS_PLAYER_EOF) { if (event == MS_PLAYER_EOF) {
...@@ -200,6 +200,7 @@ static void video_decoder_callback(void *user_data, MSFilter *f, unsigned int ev ...@@ -200,6 +200,7 @@ static void video_decoder_callback(void *user_data, MSFilter *f, unsigned int ev
break; break;
} }
} }
#endif
static MSFactory *factory; static MSFactory *factory;
......
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