X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=bmusb.cpp;h=c2c49abb476a2057eaa491d6181ef9cb16398be5;hb=0bcf6eaf20da221bb122445e057a0934acae9f15;hp=990a8ee280dcb7db944d0e023836fbaeb3e1a7b0;hpb=ec10aedf720f2356035255999827beb4158aa4a2;p=bmusb diff --git a/bmusb.cpp b/bmusb.cpp index 990a8ee..c2c49ab 100644 --- a/bmusb.cpp +++ b/bmusb.cpp @@ -1106,11 +1106,11 @@ void BMUSBCapture::stop_bm_thread() struct VideoFormatEntry { uint16_t normalized_video_format; int width, height; - int frame_rate_den, frame_rate_nom; + int frame_rate_nom, frame_rate_den; bool interlaced; }; -bool decode_video_format(uint16_t video_format, int *width, int *height, int *frame_rate_den, int *frame_rate_nom, bool *interlaced) +bool decode_video_format(uint16_t video_format, int *width, int *height, int *frame_rate_nom, int *frame_rate_den, bool *interlaced) { *interlaced = false;