Commit Graph

222 Commits (master)

Author SHA1 Message Date
jp9000 d57cba7edb DShowPlugin: Update version to 0.657 2015-11-23 14:53:23 -08:00
jp9000 65f5bd10cf DShowPlugin: Only dynamically change size in Preprocess
newCX and newCY were being changed when a sample was received.  However,
the sample associated with that size change will not be processed until
it's used in Preprocess, so it could often change the texture size
before the sample was even used.  This could cause crashes under certain
circumstances.

A simple fix to this is to only change newCX/newCY when the sample is
actually used.
2015-11-23 14:48:18 -08:00
jp9000 d0c8f56b8a Fix whitespace issue 2015-11-23 13:50:20 -08:00
jp9000 1e6b90e0af DShowPlugin: Don't use bad resolution if not found
If the source is set to a bad resolution, it never set the rendering
width/height to the new expected width/height.
2015-11-23 13:50:16 -08:00
jp9000 f60dc40fb9 Set version to 0.652 2015-07-08 11:09:13 -07:00
jp9000 01364ebdb2 Update resource files to 0.651 2015-03-24 23:06:18 -07:00
Richard Stanway 270c63a24f Set PE checksum in release builds 2015-03-14 17:06:16 +01:00
jp9000 2701fadbf4 DShowPlugin: Make sure use buffering on for Elgato
In the case in which you just started up the dialog, the strDevice
variable would be set to null, so it would not be able to check to make
sure whether the device is actually an Elgato or not, so just ignore
setting the use buffering checkbox if there is no strDevice set
2015-02-18 16:18:41 -08:00
FBirth 7813e6fc13 DShowPlugin: Use buffering for all Elgato devices
Enable buffering for every Elgato device to make sure device timestamps
are used.  Should improve sync issues.
2015-02-18 16:18:40 -08:00
FBirth 3b4b409c78 DShowPlugin: Add elgato IAMStreamConfig supportWWW
Elgato Game Capture supports IAMStreamConfig since v.2.20 which makes
some workarounds obsolete

- added flags elgatoSupportsIAMStreamConfig  and elgatoCanRenderFromPin
- added symbolic constant ELGATO_WORKAROUND
2015-02-18 16:18:40 -08:00
FBirth 9ade7de22c DShowPlugin: Updated to latest Elgato header
Updated to latest Elgato interface header file from
https://github.com/elgatosf/gamecapture
2015-02-18 16:18:39 -08:00
FBirth 1e5ec749ce DShowPlugin: Override some common fps values
Override some common fps values to avoid rounding errors (60.002 was
displayed instead of 60 fps for the Elgato GCHD60)
2015-02-18 16:18:39 -08:00
FBirth 7b3408daf1 DShowPlugin: Assign nullptr to mediatype pointers 2015-02-18 16:18:38 -08:00
FBirth b4fcca589a DShowPlugin: Log when buffering was forced 2015-02-18 16:18:38 -08:00
FBirth 6bf1d2a191 DShowPlugin: Prevent jerky playback with HD60
Prevent jerky playback with Elgato HD60 by forcing buffering for this
device type
2015-02-18 16:18:37 -08:00
FBirth 4a1cf7c415 DShowPlugin: Use CLSID as provided in header file
Use CLSID as provided in header file instead of redefining it in code
- added helper function GUIDToString() (although this functionality is
  already in n OBSNVEnc\src\nvmain: guidToString())
2015-02-18 16:18:37 -08:00
FBirth 344ffb11cb DShowPlugin: Fixed variable name typo ("eglato") 2015-02-18 16:18:37 -08:00
jp9000 581187130b DShow: Allow changing of device color space/range
Allow the ability for a user to force a specific color space or set the
YUV -> RGB conversion to use full range instead of partial
2015-01-23 13:35:50 -08:00
jp9000 1cdd85e1b0 Update to version 0.638b 2014-11-19 10:52:39 -08:00
jp9000 45b732a2f6 Update to 0.637 2014-10-04 12:28:04 -07:00
jp9000 07537497aa DShowPlugin: Choose closest elgato res 2014-10-03 00:26:10 -07:00
jp9000 d95c63ec0b Remove #if 1 2014-09-17 12:48:37 -07:00
FBirth 1c248ca827 Fixed crash when connecting audio pin from Elgato device with audio renderer 2014-09-17 12:37:41 -07:00
jp9000 81957351e1 Also directly connect audio pin for elgato 2014-09-16 14:26:55 -07:00
jp9000 e55f4c1a39 Use CaptureFilter pointer for audio capture filter 2014-09-16 14:26:27 -07:00
jp9000 ed8a37b576 Allow querying of the IAMFilterMiscFlags interface 2014-09-16 14:25:20 -07:00
jp9000 fa3429f50b Use 'else if' instead of multiple 'if' 2014-09-16 14:25:06 -07:00
jp9000 d99be83fb7 Fix resolution issue for elgato 1.x.x filter
If using the elgato 1.x.x filter it would not properly set resolution
changes due to intermediary filters.  Change to direct connect to
prevent that issue from occurring.
2014-09-16 13:18:31 -07:00
jp9000 e30108ed6a Always update source if elgato
The resolution changes can really cause confusion when updating, so if
the source is an elgato, just always reset the filter to ensure the
resolution changes.
2014-09-16 13:16:20 -07:00
jp9000 a77c286bd3 Add elgato resolution change support
Managed to make it so that the elgatos can change resolutions without
necessarily having to replace the entire subsystem.  I almost didn't
think this was doable but I made a workaround to be able to do so.
2014-09-14 21:07:48 -07:00
jp9000 11cc2ba097 Allow dynamic resolution changes in directshow 2014-09-14 21:07:39 -07:00
jp9000 26b2200a90 Update binary version numbers to 0.63 2014-09-07 15:15:03 -07:00
Richard Stanway b5b0aea62e Update project files for VS 2013 Update 3 2014-08-22 19:21:29 +02:00
Jack0r 2bdce16578 Settings_Hotkeys and Settings_QSV can now be navigated with the Keyboard 2014-08-14 23:23:47 +02:00
Jack0r 44d43672a2 Fix DShowPlugin and GraphicsCapture settings order. 2014-08-14 21:42:50 +02:00
Richard Stanway c055915218 Fix copy/paste error in audio device handling 2014-08-13 02:06:08 +02:00
Richard Stanway 6760bc22b0 Set soundOutputType to 0 if a device fails to initialize
Fixes a crash if the device is also a global source
2014-06-13 13:46:16 +02:00
Richard Stanway 9977a22646 Add VS2013 workaround to every project, since they all use static CRT. 2014-04-25 11:28:52 +02:00
jp9000 8fe24f103a Update to 0.622b
THE RIDE NEVER ENDS
2014-04-24 23:35:30 -07:00
jp9000 779bada57c Update version to 0.62b 2014-04-23 08:44:32 -07:00
jp9000 7cca8663a2 Game capture: Add anti-cheat compatibility
- Add an option in game capture to use SetWindowsHookEx instead of
   CreateRemoteThread to inject the library.

 - Add logging of what process game capture is trying to capture.

 - Rename "audio time offset" where it was used to "audio sync offset"

 - Adde logging for audio sync offsets

 - Update version to 0.62b test 1
2014-04-09 00:10:33 -07:00
palana 61846b069e Rewrite async shader interface to use the new blob functions
Each invocation of the async interface now ultimately produces a unique shader
object, so multiple users of the same shader file don't share the same shader
parameters and samplers
2014-03-21 22:23:05 +01:00
Richard Stanway aa57a2208a Some small D3D/DS safety checks 2014-03-13 18:21:55 +01:00
palana 03536720fc Convert project to VS2013 and add compiler flag for improved release debugging
See http://blogs.microsoft.co.il/sasha/2011/10/12/debugging-optimized-code-in-visual-studio-11/
for details on the compiler flag
2014-03-12 15:29:44 +01:00
palana 8053f5abb4 Use async shader compilation for deinterlacing shaders in DShowSource 2014-03-11 18:25:03 +01:00
palana 044ee4520b Fix unintended switch fall through in DShowSource
This shouldn't have any visible impact except for slightly lower memory usage
for retro deinterlacing
2014-03-11 18:25:02 +01:00
palana cc0a00075a Fix device source resolution with CPU based retro deinterlacing
Broken due to missing parentheses since 0a86949d29
2014-03-10 18:43:16 +01:00
jp9000 6a4f15f08f Update to version 0.613b 2014-03-07 20:38:50 -07:00
paibox b0c9349e7f Fix logging for DirectShow plugin
Write the information expected by the logging to the config file instead
of
writing the device ID twice.
2014-02-27 20:55:42 +01:00
palana f4ed09778e Add RTL-aware wrappers for DialogBox and CreateDialog
This makes previous RTL-changes (except for OBSMessageBox) obsolete
2014-02-26 07:07:13 +01:00