Commit 0da5899b authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

medialibrary: Initialize video tracks width & height

parent 993db0eb
......@@ -110,6 +110,8 @@ static bool convertTracks( const medialibrary::IMedia* inputMedia, vlc_ml_media_
return false;
output->i_type = VLC_ML_TRACK_TYPE_VIDEO;
output->i_bitrate = t->bitrate();
output->v.i_width = t->width();
output->v.i_height = t->height();
output->v.i_fpsNum = t->fpsNum();
output->v.i_fpsDen = t->fpsDen();
output->v.i_sarNum = t->sarNum();
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