Commit 9cd60159 authored by Sandrine Avakian's avatar Sandrine Avakian

Fixing mistake.

parent b3b4e324
......@@ -564,7 +564,7 @@ static void configure_video_source(VideoStream *stream){
stream->pixconv=ms_factory_create_filter(stream->ms.factory, MS_MJPEG_DEC_ID);
}else if (format==MS_PIX_FMT_UNKNOWN){
stream->pixconv = ms_factory_create_filter(stream->ms.factory, pf.fmt->encoding);
stream->pixconv = ms_factory_create_decoder(stream->ms.factory, pf.fmt->encoding);
}else{
stream->pixconv = ms_factory_create_filter(stream->ms.factory, MS_PIX_CONV_ID);
/*set it to the pixconv */
......
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