Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #29 from AugmendTech/liam/source_rect_fix
Browse files Browse the repository at this point in the history
Fix for windows which change size - stop setting the source rect on SCStreamConfiguration (v0.3.4)
  • Loading branch information
OutOfTheVoid authored May 17, 2024
2 parents 01869a7 + 304df5f commit 61f7925
Show file tree
Hide file tree
Showing 157 changed files with 209 additions and 323 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "crabgrab"
description = "A cross-platform screen/window capture crate"
version = "0.3.3"
version = "0.3.4"
edition = "2021"
authors = ["Augmend, Inc. <https://github.com/AugmendTech>", "Liam Taylor <https://github.com/OutOfTheVoid>", "Tim Misiak <https://github.com/TimMisiak>"]
documentation = "https://docs.rs/crabgrab"
Expand Down
2 changes: 1 addition & 1 deletion docs/macos_docs/crabgrab/all.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="List of all items in this crate"><title>List of all items in this crate</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-e935ef01ae1c1829.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="crabgrab" data-themes="" data-resource-suffix="" data-rustdoc-version="1.78.0-nightly (3246e7951 2024-02-19)" data-channel="nightly" data-search-js="search-dd67cee4cfa65049.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-4c98445ec4002617.js"></script><script defer src="../static.files/main-c37d3936c59ababd.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-04d5337699b92874.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod sys"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../crabgrab/index.html">crabgrab</a><span class="version">0.3.3</span></h2></div><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#traits">Traits</a></li><li><a href="#functions">Functions</a></li></ul></section></div></nav><div class="sidebar-resizer"></div>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="List of all items in this crate"><title>List of all items in this crate</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-e935ef01ae1c1829.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="crabgrab" data-themes="" data-resource-suffix="" data-rustdoc-version="1.78.0-nightly (3246e7951 2024-02-19)" data-channel="nightly" data-search-js="search-dd67cee4cfa65049.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-4c98445ec4002617.js"></script><script defer src="../static.files/main-c37d3936c59ababd.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-04d5337699b92874.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod sys"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../crabgrab/index.html">crabgrab</a><span class="version">0.3.4</span></h2></div><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#traits">Traits</a></li><li><a href="#functions">Functions</a></li></ul></section></div></nav><div class="sidebar-resizer"></div>
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../crabgrab/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><h1>List of all items</h1><h3 id="structs">Structs</h3><ul class="all-items"><li><a href="capturable_content/struct.CapturableApplication.html">capturable_content::CapturableApplication</a></li><li><a href="capturable_content/struct.CapturableContent.html">capturable_content::CapturableContent</a></li><li><a href="capturable_content/struct.CapturableContentFilter.html">capturable_content::CapturableContentFilter</a></li><li><a href="capturable_content/struct.CapturableDisplay.html">capturable_content::CapturableDisplay</a></li><li><a href="capturable_content/struct.CapturableDisplayIterator.html">capturable_content::CapturableDisplayIterator</a></li><li><a href="capturable_content/struct.CapturableWindow.html">capturable_content::CapturableWindow</a></li><li><a href="capturable_content/struct.CapturableWindowFilter.html">capturable_content::CapturableWindowFilter</a></li><li><a href="capturable_content/struct.CapturableWindowIterator.html">capturable_content::CapturableWindowIterator</a></li><li><a href="capture_stream/struct.AudioCaptureConfig.html">capture_stream::AudioCaptureConfig</a></li><li><a href="capture_stream/struct.CaptureAccessToken.html">capture_stream::CaptureAccessToken</a></li><li><a href="capture_stream/struct.CaptureConfig.html">capture_stream::CaptureConfig</a></li><li><a href="capture_stream/struct.CaptureStream.html">capture_stream::CaptureStream</a></li><li><a href="feature/bitmap/struct.FrameBitmapBgraUnorm8x4.html">feature::bitmap::FrameBitmapBgraUnorm8x4</a></li><li><a href="feature/bitmap/struct.FrameBitmapRgbaF16x4.html">feature::bitmap::FrameBitmapRgbaF16x4</a></li><li><a href="feature/bitmap/struct.FrameBitmapRgbaUnormPacked1010102.html">feature::bitmap::FrameBitmapRgbaUnormPacked1010102</a></li><li><a href="feature/bitmap/struct.FrameBitmapYCbCr.html">feature::bitmap::FrameBitmapYCbCr</a></li><li><a href="feature/iosurface/struct.IoSurface.html">feature::iosurface::IoSurface</a></li><li><a href="frame/struct.AudioChannelDataSamples.html">frame::AudioChannelDataSamples</a></li><li><a href="frame/struct.AudioFrame.html">frame::AudioFrame</a></li><li><a href="frame/struct.VideoFrame.html">frame::VideoFrame</a></li><li><a href="util/struct.Point.html">util::Point</a></li><li><a href="util/struct.Rect.html">util::Rect</a></li><li><a href="util/struct.Size.html">util::Size</a></li></ul><h3 id="enums">Enums</h3><ul class="all-items"><li><a href="capturable_content/enum.CapturableContentError.html">capturable_content::CapturableContentError</a></li><li><a href="capture_stream/enum.CaptureConfigError.html">capture_stream::CaptureConfigError</a></li><li><a href="capture_stream/enum.CapturePixelFormat.html">capture_stream::CapturePixelFormat</a></li><li><a href="capture_stream/enum.StreamCreateError.html">capture_stream::StreamCreateError</a></li><li><a href="capture_stream/enum.StreamError.html">capture_stream::StreamError</a></li><li><a href="capture_stream/enum.StreamEvent.html">capture_stream::StreamEvent</a></li><li><a href="capture_stream/enum.StreamStopError.html">capture_stream::StreamStopError</a></li><li><a href="feature/bitmap/enum.FrameBitmap.html">feature::bitmap::FrameBitmap</a></li><li><a href="feature/bitmap/enum.VideoFrameBitmapError.html">feature::bitmap::VideoFrameBitmapError</a></li><li><a href="feature/bitmap/enum.VideoRange.html">feature::bitmap::VideoRange</a></li><li><a href="feature/iosurface/enum.GetIoSurfaceError.html">feature::iosurface::GetIoSurfaceError</a></li><li><a href="feature/metal/enum.MacosVideoFrameError.html">feature::metal::MacosVideoFrameError</a></li><li><a href="feature/metal/enum.MetalVideoFramePlaneTexture.html">feature::metal::MetalVideoFramePlaneTexture</a></li><li><a href="feature/screenshot/enum.ScreenshotError.html">feature::screenshot::ScreenshotError</a></li><li><a href="feature/wgpu/enum.WgpuVideoFrameError.html">feature::wgpu::WgpuVideoFrameError</a></li><li><a href="feature/wgpu/enum.WgpuVideoFramePlaneTexture.html">feature::wgpu::WgpuVideoFramePlaneTexture</a></li><li><a href="frame/enum.AudioBufferError.html">frame::AudioBufferError</a></li><li><a href="frame/enum.AudioChannelCount.html">frame::AudioChannelCount</a></li><li><a href="frame/enum.AudioChannelData.html">frame::AudioChannelData</a></li><li><a href="frame/enum.AudioSampleRate.html">frame::AudioSampleRate</a></li><li><a href="platform/macos/enum.MacosWindowLevel.html">platform::macos::MacosWindowLevel</a></li></ul><h3 id="traits">Traits</h3><ul class="all-items"><li><a href="feature/bitmap/trait.VideoFrameBitmap.html">feature::bitmap::VideoFrameBitmap</a></li><li><a href="feature/iosurface/trait.MacosIoSurfaceVideoFrameExt.html">feature::iosurface::MacosIoSurfaceVideoFrameExt</a></li><li><a href="feature/metal/trait.MetalCaptureStreamExt.html">feature::metal::MetalCaptureStreamExt</a></li><li><a href="feature/metal/trait.MetalVideoFrameExt.html">feature::metal::MetalVideoFrameExt</a></li><li><a href="feature/wgpu/trait.WgpuCaptureConfigExt.html">feature::wgpu::WgpuCaptureConfigExt</a></li><li><a href="feature/wgpu/trait.WgpuCaptureStreamExt.html">feature::wgpu::WgpuCaptureStreamExt</a></li><li><a href="feature/wgpu/trait.WgpuVideoFrameExt.html">feature::wgpu::WgpuVideoFrameExt</a></li><li><a href="platform/macos/trait.MacosAudioCaptureConfigExt.html">platform::macos::MacosAudioCaptureConfigExt</a></li><li><a href="platform/macos/trait.MacosCapturableContentFilterExt.html">platform::macos::MacosCapturableContentFilterExt</a></li><li><a href="platform/macos/trait.MacosCapturableWindowExt.html">platform::macos::MacosCapturableWindowExt</a></li><li><a href="platform/macos/trait.MacosCaptureConfigExt.html">platform::macos::MacosCaptureConfigExt</a></li></ul><h3 id="functions">Functions</h3><ul class="all-items"><li><a href="feature/screenshot/fn.take_screenshot.html">feature::screenshot::take_screenshot</a></li></ul></section></div></main></body></html>
Loading

0 comments on commit 61f7925

Please sign in to comment.