Ticket #4897: 4897-dbg-v1.patch

File 4897-dbg-v1.patch, 606 bytes (added by danielk, 13 years ago)

Possible fix

  • libs/libmythtv/videooutbase.cpp

     
    605605    (void)myth_codec_id;
    606606    (void)codec_private;
    607607
    608     video_disp_dim = fix_1080i(input_size);
    609     video_dim      = fix_alignment(input_size);
     608    if (input_size.width() >= 0 && input_size.height() >= 0)
     609    {
     610        video_disp_dim = fix_1080i(input_size);
     611        video_dim      = fix_alignment(input_size);
     612    }
    610613
    611614    db_vdisp_profile->SetInput(video_dim);
    612615