VirtualBox

Changeset 45740 in vbox for trunk


Ignore:
Timestamp:
Apr 25, 2013 7:56:04 PM (12 years ago)
Author:
vboxsync
Message:

Main/VideoRec: use milliseconds as time units to get more precise video timing; fixed several variable prefixes; cleanup)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/DisplayImpl.cpp

    r45731 r45740  
    27252725    }
    27262726
    2727     if (RT_SUCCESS(rc) && pDisplay->maFramebuffers[aScreenId].u32ResizeStatus == ResizeStatus_Void)
     2727    if (   RT_SUCCESS(rc)
     2728        && pDisplay->maFramebuffers[aScreenId].u32ResizeStatus == ResizeStatus_Void)
    27282729        pDisplay->mParent->consoleVRDPServer()->SendUpdateBitmap(aScreenId, x, y, width, height);
    27292730
     
    33673368            }
    33683369
    3369                 /* Just return in case of failure without any assertion */
     3370            /* Just return in case of failure without any assertion */
     3371            if (RT_SUCCESS(rc))
     3372            {
     3373                rc = VideoRecDoRGBToYUV(pDisplay->mpVideoRecContext, u32VideoRecImgFormat);
    33703374                if (RT_SUCCESS(rc))
    3371                     if (RT_SUCCESS(VideoRecDoRGBToYUV(pDisplay->mpVideoRecContext, u32VideoRecImgFormat)))
    3372                         VideoRecEncodeAndWrite(pDisplay->mpVideoRecContext, ulGuestWidth, ulGuestHeight);
     3375                    VideoRecEncodeAndWrite(pDisplay->mpVideoRecContext, ulGuestWidth, ulGuestHeight);
     3376            }
    33733377        }
    33743378    }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette