97 Commits

Author SHA1 Message Date
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
da69a593fc DirectShow global source audio fix round 2
One more fix, because people sometimes apparently add the same global
video capture device source to the same scene twice.
2013-12-20 00:39:40 +01:00
paibox
3a21c7c12e DirectShow global source audio fix
Make it so that global DirectShow sources actually mute themselves when
you switch to a scene where they're not present again.
2013-12-20 00:08:05 +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
paibox
6a8fca466e Video capture device properties dialog fixes
Fix the properties dialog so it doesn't needlessly refresh the source if
no settings have been changed.
2013-11-26 21:32:02 +01:00
jp9000
adcf92fd0b woops that should probably be utf-8 2013-10-26 19:29:12 -07:00
jp9000
05c722f2af yet another device-specific fix. 2013-10-26 19:27:55 -07:00
jp9000
e93c809df3 directshow, if unable to find an appropriate resolution, use 'recommended' resolution, or just use whatever's available, if any (this mainly seems to happen only with the elgato) 2013-10-20 22:21:40 -07:00
jp9000
6fda31fc40 made some decklink/blackmagic specific adjustments, and made some improvements to the automatic fps/resolution selector 2013-10-06 16:20:14 -07:00
jp9000
a48f678d63 log buffering in dshow devices (not that it actually matters at this point) 2013-09-27 21:24:33 -07:00
jp9000
c28bb97810 made a tiny adjustment to the buffer max storage threshold (blame jim for not commenting this bad code) 2013-09-25 16:40:14 -07:00
jp9000
022448ae92 removed some debug code 2013-09-20 21:23:37 -07:00
jp9000
b95889d1b0 added a red message on the status bar if encoding is taking too long to process 2013-09-20 21:22:41 -07:00
jp9000
e40a9dd7c0 Fixed a bug where global sources would initialize when switching to a scene with an unchecked global source, also made it so that global sources regsiter as having "entered" and "left" the scene when checked and unchecked 2013-09-02 09:57:24 -07:00
Extrems
10f88c3740 Fix DShowPlugin pixel shaders 2013-08-30 06:52:12 -04:00
paibox
efe0d951bf Remove an unused line of code
Because it was never used. Unloved by all, it had to go.
2013-07-28 00:24:04 +02:00
paibox
dfea4c2902 Mute global source capture device audio when not on the current scene
Added some additional functionality in order to prevent capture devices
added as global sources to play audio across all scenes, regardless of
if that global source was present on the current scene or not.
2013-07-24 19:56:51 +02:00
jp9000
87b3ab9072 Removed some code around release macros that already did the exact same thing 2013-07-16 00:37:40 -07:00
palana
6fdc1273a0 Fixed crash in DShowPlugin with cpu retro deinterlacing and I420/YV12 input 2013-07-12 05:53:06 +02:00
palana
2fd5192485 Fixed failure states for DeviceSource
Fixed red output image on failure
Disabled allocation of additional textures for failure states
Stopped using unallocated deinterlacer texture
2013-07-09 22:40:22 +02:00
paibox
e8922e9024 Fixed an ancient memory leak in the DirectShow plugin 2013-07-09 17:55:46 +02:00
palana
4ec79648ba Fixed memory leak with deinterlacing in DeviceSource 2013-07-09 17:47:58 +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
c0438dacb4 when automatically determining FPS/resolution for devices, prioritize FPS rather than resolution 2013-07-07 16:11:15 -07:00
palana
d3102d28f5 Fixed a crash with thread creation in DShowPlugin 2013-07-06 23:45:57 +02:00
palana
b670a50273 Fixed vertical flip with deinterlacing 2013-07-03 20:52:49 +02:00
palana
b895bee6ad Fixed crash with missing DirectShowSource devices 2013-07-03 20:40:18 +02:00
palana
8e442fa210 Refactored deinterlacing to avoid copying frame data 2013-07-03 14:00:26 +02:00
jp9000
21bdc9b988 fixed a signed/unsigned mismatch warning 2013-06-27 21:29:34 -07:00
paibox
1a20510cc2 Minor improvement to the retro/scandoubling deinterlacing
Handle irregular frame rates a bit differently, helps a bunch with
devices such as the NTSC NES/SNES, which output at a frame rate of
60.10.
2013-06-26 09:52:32 +02: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
bdcdec1a29 Let's not spam the logs with NULL texture warning messages 2013-06-20 08:22:50 +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
3beb40b3c9 Some field discard deinterlacing updates
Allow user to select between image smoothing (type
1/deinterlace_Discard) and sharp pixels (type
2/deinterlace_Discard_Sharp, mostly suitable for low resolution stuff).
2013-06-19 17:30:25 +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
c25404da58 fixed "output to desktop" to use directsound instead of "basic audio", because basic audio was using the windows mixer for volume adjustment 2013-06-08 07:22:05 -07:00
paibox
56e22768ff Fix DirectShow gamma again. (Forgot that not everything uses RGB.) 2013-06-02 03:36:19 +02:00
paibox
8f23635228 DirectShow gamma adjustment fix. (Apparently I wasn't supposed to delete that shader.) 2013-06-02 00:56:57 +02:00
paibox
245614d323 Added gamma adjustment to DirectShow source. 2013-06-01 23:25:14 +02:00
jp9000
2d05e4edd3 reverted to memcpy because Jim apparently didn't do proper testing like he should have 2013-05-03 17:17:45 -07:00
jp9000
035f9eb076 dshowplugin - fixed a potential crash hazard where the device would think it has audio when it actually doesn't 2013-04-27 18:05:21 -07:00
jp9000
5296450ae4 fixed a minor bug where samples from capture devices could return no data 2013-04-25 19:19:03 -07:00
jp9000
dd77c94db0 properly resize sources when using double-click to configure 2013-04-21 12:31:02 -07:00
jp9000
164159b2ed dshow plugin: added debug output for a few reference counters 2013-04-19 12:31:40 -07: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
3b08f98fe0 for the sake of accuracy, increased the frequency at which samples are checked when buffering is enabled 2013-04-06 12:21:45 -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
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
paibox
d8760b06a2 Fix a small memory leak that would occur when enabling point filtering in Windows 7. (And possibly Vista.) 2013-03-31 14:36:32 +02:00