Commit 0f5f02a3 authored by Simon Morlat's avatar Simon Morlat

don't crash if mkv player is not there

parent a6730819
......@@ -62,6 +62,11 @@ RingStream * ring_start_with_cb(const char *file,int interval,MSSndCard *sndcard
stream=(RingStream *)ms_new0(RingStream,1);
if (file) {
if (stream->source == NULL){
ms_error("ring_start_with_cb(): could not create player for playing '%s'", file);
file = NULL;
} else {
/*create dummy source*/
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