rdp / screen-capture-recorder-to-video-windows-free

a free open source windows "screen capture" device and recorder (also allows VLC/ffmpeg and others to capture/stream desktop/audio)
https://github.com/rdp/screen-capture-recorder-to-video-windows-free/releases
Other
2.09k stars 458 forks source link

Update PushSourceDesktop.cpp #42

Closed mca64 closed 10 years ago

mca64 commented 10 years ago

client window --> whole window

but good to have both

rdp commented 10 years ago

Was this tested then?

On Wed, Jul 30, 2014 at 1:25 PM, mca64 notifications@github.com wrote:

client window --> whole window

but good to have both

You can merge this Pull Request by running

git pull https://github.com/mca64/screen-capture-recorder-to-video-windows-free patch-1

Or view, comment on, or merge it at:

https://github.com/rdp/screen-capture-recorder-to-video-windows-free/pull/42 Commit Summary

  • Update PushSourceDesktop.cpp

File Changes

Patch Links:

- https://github.com/rdp/screen-capture-recorder-to-video-windows-free/pull/42.patch

https://github.com/rdp/screen-capture-recorder-to-video-windows-free/pull/42.diff

— Reply to this email directly or view it on GitHub https://github.com/rdp/screen-capture-recorder-to-video-windows-free/pull/42 .

mca64 commented 10 years ago

i didnt compile it, but this changes i use for screenshot in delphi to get client or full window. Here you can see (client for StarCraft, full window for rest active app): http://pastebin.com/vkrPNgnz

for client: DC := GetDC(Okno); Windows.GetClientRect(Okno, Wspolrzedne);

for full window: DC := GetWindowDC(Okno); Windows.GetWindowRect(Okno, Wspolrzedne);

rdp commented 10 years ago

OK I think we got this one mostly :)