]> git.sesse.net Git - casparcg/blobdiff - core/video_format.cpp
2.0.0: Changed square PAL to wide square PAL.
[casparcg] / core / video_format.cpp
index d412fbabed86639857da994d6d1b06fbc7c1e466..e08181b25a2fbc20dc3f03aa3b2bd6e8bc690b3e 100644 (file)
        (m == field_mode::progressive ? 1 : 2),\\r
        ((w)*(h)*4),\\r
        (name),\\r
-       (2),\\r
        (48000),\\r
        (2),\\r
-       (static_cast<size_t>(48000.0*2.0/((double)scale/(double)duration)+0.99))\\r
+       (static_cast<size_t>(48000.0/((double)scale/(double)duration)+0.99)*2)\\r
 }\r
 \r
 namespace caspar { namespace core {\r
        \r
 const video_format_desc format_descs[video_format::count] =  \r
 {                                                                         \r
-       DEFINE_VIDEOFORMATDESC(video_format::pal                ,720,  576,  768,  576,  field_mode::upper,                     25,             1,              L"PAL"), \r
+       DEFINE_VIDEOFORMATDESC(video_format::pal                ,720,  576,  1024,  576,  field_mode::upper,            25,             1,              L"PAL"), \r
        DEFINE_VIDEOFORMATDESC(video_format::ntsc               ,720,  486,  720,  547,  field_mode::lower,                     30000,  1001,   L"NTSC"), \r
        DEFINE_VIDEOFORMATDESC(video_format::x576p2500  ,720,  576,  720,  576,  field_mode::progressive,       25,             1,              L"576p2500"),\r
        DEFINE_VIDEOFORMATDESC(video_format::x720p2500  ,1280, 720,  1280, 720,  field_mode::progressive,       25,             1,              L"720p2500"), \r