added start for suspended threads

was issue - if all threads start before tsmf_stream_set_format - unknown format of threads, not remember exactly gstreamer or ffmpeg problem was.
This commit is contained in:
Maxim 2015-05-14 17:06:34 +03:00
parent ed89fc7861
commit c9d6611170

View File

@ -179,6 +179,7 @@ int tsmf_ifman_add_stream(TSMF_IFMAN* ifman)
stream = tsmf_stream_new(presentation, StreamId);
if (stream)
tsmf_stream_set_format(stream, ifman->decoder_name, ifman->input);
tsmf_stream_start_threads(stream);
}
ifman->output_pending = TRUE;
return status;