Commit c075a410 authored by François Grisez's avatar François Grisez

Bugfix: bad format type returned by ms_factory_get_video_format()

parent f24fc4de
......@@ -687,7 +687,7 @@ const MSFmtDescriptor * ms_factory_get_audio_format(MSFactory *obj, const char *
const MSFmtDescriptor * ms_factory_get_video_format(MSFactory *obj, const char *mime, const MSVideoSize *size, const char *fmtp){
MSFmtDescriptor tmp={0};
MSVideoSize undef={0};
tmp.type=MSAudio;
tmp.type=MSVideo;
tmp.encoding=(char*)mime;
tmp.rate=90000;
tmp.vsize=size ? *size : undef;
......
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