82 Commits

Author SHA1 Message Date
Richard Stanway
aa57a2208a Some small D3D/DS safety checks 2014-03-13 18:21:55 +01: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
jp9000
f83442633b Replace MessageBox with wrapper for RTL languages 2014-02-24 18:18:21 -07:00
jp9000
a190a57e42 Fix elgato bug (surprise) (0.611b)
Also add QSVHelper to OSB.sln
2014-02-16 15:04:07 -07:00
jp9000
096f293707 Made a fix for certain bad directshow filters
This fix prevents the issue with certain directshow filters that do not
properly implement IPin::EnumMediaTypes.
2014-02-14 19:53:34 -07:00
paibox
64d9624e62 Use device ID for global source check
Use the device ID to check if a capture device has already been added as
a global source rather than the device name from the combo box.
2014-01-20 01:00:39 +01:00
paibox
ff2df13018 Enable toggling point filtering on the fly for DirectShow
I for some reason neglected to add something to actually handle this
back when I added point filtering in the first place.
2013-12-27 22:48:00 +01:00
paibox
0a86949d29 Minor DirectShow fix
Ensure that the DirectShow texture actually ends up being the red 32x32
texture rather than cx and cy somehow getting set to 1.#INF when
SetFormat fails.
2013-12-22 17:41:42 +01:00
paibox
70b5a7ca27 Add DirectShow device list to the plugin
Add a list with known device IDs to the DirectShow plugin. An attempt to
work around how Windows sometimes switches the order around for
installed capture devices, which could cause devices of the same model
to stop working once reconfigured. Virtual DirectShow devices are
unaffected by this, as they have no device ID to begin with.
2013-12-21 16:42:16 +01:00
paibox
2a41886993 DShow: Add option to use WaveOut audio renderer
Added an option to use the old WaveOut audio renderer setting for
capture devices to avoid audio desynch over long broadcasts. This only
affects capture device audio being output to desktop, direct stream
output is unaffected, caveats are the same as back in the olden days:
Adjusting sound volume for the capture device changes the volume slider
for OBS' system process, can only have one WaveOut output source per
scene.
2013-12-13 14:32:06 +01:00
Richard Stanway
3cd23e2274 Add directshow device compatibility warning on 64 bit build 2013-12-11 01:02:17 +01:00
paibox
d7645a016f Add option to preserve DirectShow source size
For when you want to make sure that your DirectShow capture source stays
in place and the same size even if you change the input resolution.
2013-11-26 23:27:50 +01:00
palana
c7965b4368 Removed unnecessary new 2013-09-08 01:04:49 +02:00
jp9000
7e8bd85d58 changed max delay of device audio to 20000 milliseconds 2013-09-02 16:36:27 -07:00
jp9000
20fa04accd allow negative audio offset for directshow devices to be up to 3 seconds 2013-07-23 05:58:57 -07:00
palana
0c9bf9eddf Avoid undefined behaviour in libc
re: comment on 21154dec190bcbd017040d050dbf1ff38d9ef9ae
2013-07-10 14:04:46 +02:00
palana
7c29a61324 Added GPU based deinterlacing and refactored interlacing code
Added deinterlacing modes:
- Blend (GPU)
- Linear (GPU)
- Yadif (GPU)
each with source framerate and double source framerate mode.
Also added GPU based Retro deinterlacing
2013-07-09 15:55:02 +02:00
jp9000
4287a54bd2 fix the previous commit's debugging stuff and make the elgato check case insensitive 2013-07-07 16:32:09 -07:00
jp9000
bc40ca3e87 Make it so that elgato devices automatically sets "use buffering" to true when selected 2013-07-07 16:29:37 -07:00
jp9000
c0438dacb4 when automatically determining FPS/resolution for devices, prioritize FPS rather than resolution 2013-07-07 16:11:15 -07:00
paibox
6faa5ee29d Add retro/scandoubling deinterlacing to the DirectShow plugin
Full frame rate deinterlacing for low resolution console games. You
know, the kind of games your grandfather used to play...!
2013-06-26 02:08:33 +02:00
paibox
99249e576d Enable localization of deinterlacing type names 2013-06-20 12:12:02 +02:00
paibox
e3dab2b5ca Add UI functionality for deinterlacing
Because comboboxes are great. Also fix my earlier brain fart. Just
enable point filtering for sharp field discard deinterlacing.
2013-06-19 19:58:04 +02:00
paibox
4909692812 Added simple field discard deinterlacing for DirectShow sources
Can currently only be toggled by directly editing scenes.xconfig, has
not been tested with 12-bit color devices, because I do not have any at
my disposal.
2013-06-18 11:50:28 +02:00
jp9000
37616ebd26 Merge remote-tracking branch 'origin/master' 2013-06-02 19:12:07 -07:00
jp9000
5054bea8fb figured out and added support for certain roxio devices 2013-06-02 19:11:27 -07:00
paibox
56e22768ff Fix DirectShow gamma again. (Forgot that not everything uses RGB.) 2013-06-02 03:36:19 +02:00
paibox
245614d323 Added gamma adjustment to DirectShow source. 2013-06-01 23:25:14 +02:00
jp9000
5ea47c34c7 made some minor alterations to a few artificial size limiations. saying 32 is too big is fine, but anyone who goes below 16 seriously needs to find a better way of doing things. 2013-05-10 19:59:54 -07:00
Richard Stanway
73f68bdc3f Static analysis cleanups 2013-04-30 23:11:08 -04:00
paibox
8e1b400d14 Do not attempt to force custom sound device when "(Use Device Audio)" is selected. 2013-04-21 21:28:07 +02:00
jp9000
82eea21991 direct show plugin: removed the "disable audio" radio button, added a "disable" item in the audio devices list box instead 2013-04-18 23:02:07 -07:00
jp9000
5bd39f407e made yet -another- god forsaken workaround for elgato filter crashes. 2013-04-10 21:18:59 -07:00
jp9000
ee36e0a63a fixed a crash in the dshow settings dialog 2013-04-06 02:12:17 -07:00
jp9000
a7a49d2c0c Directshow: Added a "buffering" option, now properly sorts data packets, made it so crossbar is available only if the current device shows it, and made some improvements to the audio devices combobox and moved it to the audio group 2013-04-05 16:54:07 -07:00
Richard Stanway
b7f4bbb71b Fix incorrect function name in log message 2013-04-01 20:14:20 -04:00
jp9000
abfef72d85 0.48.007 - removed circular list usage until I can verify it's 100% safe to use, removed a potential memory leak from directshow sources, other minor checks and tweaks 2013-03-31 05:47:11 -07:00
jp9000
1467fa6c04 Made devices that don't fill out VIDEOINFOHEADER properly for resolution to use the BITMAPINFOHEADER instead 2013-03-30 13:46:27 -07:00
jp9000
ba6b231942 tweaked how much you can offset device audio by 2013-03-27 07:05:13 -07:00
jp9000
2637472aab Added a "video delay" feature to directshow plugin, and fixed up the sample grabber code to copy the sample data rather than use IMediaSample objects 2013-03-25 21:33:55 -07:00
paibox
dbecafc553 Fix for when the audio input devices fail to enumerate or no devices are found in the DirectShow plugin. 2013-03-24 16:58:27 +01:00
paibox
eb1fa2f5ed Check if there are actually crossbars available, disable functionality if there are none. 2013-03-24 09:17:10 +01:00
jp9000
80055dd78a fixed a bug in directshow, and some positioning changes 2013-03-22 20:19:49 -07:00
paibox
c07ca6f541 Added point filtering option to DirectShow plugin, for non-blurry upscaling of low resolution VGA and other RGB capture sources. 2013-03-19 06:01:26 +01:00
paibox
35f7fc110a Fixed small oversight with the Refresh button code. (There was no entry for IDC_CROSSBARLIST in the wndproc, which caused it to fail in terrifying ways.) 2013-03-16 19:22:40 +01:00
jp9000
46f33bcdbf more fixes to the new device code, and some undos of my earlier code 2013-03-16 01:06:03 -07:00
paibox
222c1b3f9a Forgot to commit my last few config dialog fixes, apparently. Oops. 2013-03-16 00:49:35 +01:00
paibox
2b81b1e2ea Because leaving in debug message boxes is cool. 2013-03-13 21:14:53 +01:00
paibox
296fb45d59 Some minor fixes to the configuration dialog 2013-03-13 20:33:39 +01:00