- 24 3月, 2015 10 次提交
-
-
由 kc5nra 提交于
-
由 kc5nra 提交于
Clears source video when the media stream ends.
-
由 kc5nra 提交于
A null frame send to the frame callback signals the end of media being played. Null frames are not sent for looped media
-
由 kc5nra 提交于
This is in preparation of an API change that will send null frames to signal the end of the media being played.
-
由 kc5nra 提交于
-
由 kc5nra 提交于
Silly code that pre-incremented a value while also assigning it to the same value.
-
由 kc5nra 提交于
Skip decode refresh scheduling if the abort flag is set when the timer fails to start. This avoids extraneous refresh scheduling when tearing down the decoders.
-
由 kc5nra 提交于
-
由 kc5nra 提交于
When compiling under mingw it was using the w32-pthreads instead of the shared mingw pthread library.
-
由 kc5nra 提交于
Since sws_getCachedContext possibly logs a message every time it is used (depending on the input), use our own caching logic to minimize log spam.
-
- 23 3月, 2015 30 次提交
-
-
由 jp9000 提交于
-
由 jp9000 提交于
Using LOG_ERROR here isn't really necessary, it just means that there's no blackmagic support.
-
由 jp9000 提交于
Fix a bug where when a source first starts up its async cache, it unintentionally resets its cache, which means that the first few frames would be lost.
-
由 jp9000 提交于
The name 'Monitor' is a bit inconsistent with what it's called by the operating system.
-
由 jp9000 提交于
-
由 jp9000 提交于
If the settings are reset to defaults or if the settings are just bad, the video would get stuck on the last frame that was displayed, which feels a bit awkward. Best to make it stop video output entirely rather than get stuck on the last video frame.
-
由 jp9000 提交于
Having devices not active by default may cause confusion for some users.
-
由 jp9000 提交于
-
由 jp9000 提交于
-
由 kc5nra 提交于
When hitting the Cancel button, cleanup code needs to go through the reject() callback as well.
-
由 jp9000 提交于
Ensures that ->deleteLater events are put in to the event queue before the destructor is called.
-
由 jp9000 提交于
Sometimes events with rogue source references are in the event queue when the program is shutting down. This can cause the program to reference freed data. Processing those remaining events before shutting down solves the issue.
-
由 jp9000 提交于
This prevents the save timer from unexpectedly going off during the middle of the save process.
-
由 jp9000 提交于
When an item is selected but not focused, it would be too similar to the non-selected color.
-
由 jp9000 提交于
Only store the last restored (non-maximized and non-minimized) window position and size on exit.
-
由 jp9000 提交于
Certain devices (particularly certain mixers and soundflower 64ch) would have an arbitrary number of channels, and wouldn't really be mappable to a specific speaker layout supported by libobs. So to fix this issue, if the channel count is above 8, force the data to stereo to ensure playback can still occur, rather than cause it to just fail.
-
由 jp9000 提交于
Prevents issues on specific locales, especially where decimal points are represented by commas rather than periods.
-
由 jp9000 提交于
This is just in case a filter is applied to a scene, filters will turn off the blending so it's necessary to set the blending.
-
由 jp9000 提交于
This optionally specifies that the int/float value should be displayed with a slider rather than and up/down control. UIs are not necessarily required to implement it, it's meant to be more of a hint.
-
由 jp9000 提交于
This fixes an issue primarily with filter rendering: when capturing windows and displays, their alpha channel is almost always 0, causing the image to be completely invisible unintentionally. The original fix for this for many sources was just to turn off the blending, which would be fine if you're not rendering any filters, but filters will render to render targets first, and that lack of alpha will end up carrying over in to the final image. This doesn't apply to any mac captures because mac actually seems to set the alpha channel to 1.
-
由 jp9000 提交于
This returns a common effect useful for rendering an image with the alpha channel overridden to 1.0.
-
由 jp9000 提交于
If negative was specified it would not parse the negative sign and thus would not interpret that number as negative, and would cause shader/effect parsing to simply fail on the file.
-
由 jp9000 提交于
This is particularly important for the filter pipeline in order to ensure that when the last filter is reached that the original blend state is properly reset.
-
由 jp9000 提交于
The linux window and monitor captures draw in a custom way, therefore they must be marked as types of sources that do custom rendering.
-
由 jp9000 提交于
Switching between shaders often can cause a performance hit, so cache effects so that they persist until the graphics subsystem is destroyed.
-
由 jp9000 提交于
If a render target was switched from one to another and then back consecutively, the texture would not get reattached at the last point due to the fact that the cur_render_target variable of the FBO storage structure would already be set to that texture, and then it would never get reattached because it thought it was already using that render target. So to fix this, any time a render target legitimately changes from one to another, it sets the cur_render_target and cur_zstencil_buffer variables of the FBO structure to null.
-
由 jp9000 提交于
I encountered a scenario where effects might reference shader parameters that may not potentially exist, this isn't particularly a bad thing that needs to return failure. It just needs to gracefully ignore it.
-
由 jp9000 提交于
When render targets are used, they output to the render target inverted due to the way that opengl works. This fixes that issue by inverting the projection matrix so that it renders the image upside down and inverting the front face from counterclockwise to clockwise.
-
由 jp9000 提交于
Texture units were not being properly associated with the shader uniform variables.
-
由 jp9000 提交于
obs_leave_graphics() may not be properly called if this returns null for whatever reason.
-