203 Commits

Author SHA1 Message Date
palana
b48ea145b5 Add RTL-flags to main and log window if necessary 2014-02-26 07:07:43 +01:00
palana
f302d4462e Fix OBS windows positions on launch if the taskbar is not at the bottom/right
The OBS windows would creep up/left by the taskbars height/width on every launch
2014-02-25 12:59:19 +00:00
jp9000
f83442633b Replace MessageBox with wrapper for RTL languages 2014-02-24 18:18:21 -07:00
palana
2088e99a69 Move encoder selection to encoding settings
This will automatically update profiles to the new encoder selection
according to the old setting resolution, i.e. UseQSV && UseNVENC results
in QSV being selected.

This should free up some space to allow more encoder troubleshooting and
diagnostics in the settings window (relevant QSV changes coming soon ...)

Also hopefully made supported encoder settings a bit more clear by
disabling more settings if the selected encoder doesn't support them
2014-02-23 13:19:42 +01:00
palana
2a9cf6e5d9 Add plugin callback for log update notifications
This should allow plugins to implement their own version of a log window
without having to worry about providing lightweight-ish and non-blocking
callback functions for OBSApi.
2014-02-15 18:02:03 +01:00
palana
aa3f78e514 Rename open log window on launch to show log window on launch
This improves consistency with the menu entry show log window, since
both perform the same action
2014-02-15 03:12:20 +01:00
palana
c4ae7b71af Add global setting to open log window on launch 2014-02-14 23:45:32 +01:00
palana
2c3d928427 Add localization for log window title 2014-02-14 05:14:48 +01:00
palana
7b3beebe1b Fix #53 "Openable log window while application is active"
@jp9000
Implement log window

Also made it so that the log window position/size is saved.  Defaults to
600x500, centered to the main monitor if no configuration found.

@palana
Log system integration and callback behavior
2014-02-14 00:21:44 +01:00
palana
a1c19fa961 Monitor log file directory and refresh log upload menu if necessary
No new log files will be added to prevent the current log file from
becoming the topmost entry, which would render the "Upload last Log File"
entry useless
2014-02-10 22:14:46 +01:00
palana
1a0f01fe81 Add UI for log file uploader
Also includes UI for opening specific log files directly from the OBS UI

On successful upload the resulting (non-API) URL is copied into the
clipboard and a message box signalling successful upload is displayed.
This should probably be expanded into a dialog with buttons to retry
copying the URL to the clipboard and maybe a text box with the URL
preselected.

Whether or not the upload URL should be cached (per log file) and reused
in case of duplicate upload (attempts) is still open for debate.
2014-02-09 08:15:28 +01:00
palana
6a46761c3c Add plugin events for start/stop streaming
These complement the new start/stop recording events as they are called
as soon as a network connection is initiated/severed regardless of
previous encoder state
2014-02-08 06:18:41 +01:00
palana
543b6d066b Add plugin events for start/stop recording 2014-02-07 01:25:08 +01:00
palana
48ff7ef943 Check whether recording is possible before processing recording hotkey
Fixes a bug where OBS would start an encoding session without any active
outputs, and with the stop recording button disabled
2014-02-05 05:36:24 +01:00
palana
c01843dea1 Add start/stop recording hotkeys 2014-02-05 02:14:26 +01:00
palana
e59312e905 Enable recording button even when not streaming with network mode 0 2014-02-04 21:51:51 +01:00
palana
a5f92b34b1 Extract streaming/record/test stream button UI calls 2014-02-04 21:35:27 +01:00
Richard Stanway
b5239f7ee7 Improved debug logging
Log if QPC timestamps go backwards
2014-01-20 21:46:08 +01:00
jp9000
b5d51f0552 Merge branch 'master' of https://github.com/jp9000/OBS 2014-01-13 20:08:02 -07:00
jp9000
9746254639 Add nvidia optimus hint if user selects nvidia
Right now, the state of things is that if the user was running an nvidia
laptop, he/she "had" to use the first adapter, and then fool with the
nvidia control panel to get the nvidia working properly.

This change makes it so that the nvidia optimus hint will be activated
and the first adapter will be forced if the user selects the nvidia
adapter in OBS' video adapter drop down, making it much easier for users
to deal with the nvidia laptop issue.
2014-01-13 20:05:25 -07:00
palana
14a615b8d7 Reload keep recording setting on profile change 2014-01-12 22:23:01 +01:00
paibox
e5e5f2a6ed Adjust keep recording settings
Move the keep recording setting from global.ini to Broadcast Settings
(profile dependent), make it default to off, comment out the old
dashboard link code for now.
2014-01-11 04:15:12 +01:00
palana
c88638739b Fixed crashes with plugins not deinitializing properly
Added a parameter to OBS::Stop to override keep recording behaviour in
exceptional cases like shutting down and encoder initialization problems
2014-01-07 00:04:55 +01:00
Richard Stanway
fe62c35f72 Show grey box in status bar when not connected 2014-01-06 01:04:39 +01:00
palana
72d788c9c2 Filter duplicate profile names
Works around the short names feature of FindFirstFile so foo.inibar is
not listed as an unloadable profile
2014-01-05 07:11:14 +01:00
jp9000
71b3830b64 Make record button primary when set to record only
When the user has set the mode to "record to file only", make it so
that the "Start/Stop Recording" button is enabled, and that the
"Start/Stop Streaming" button is disabled.  Having both buttons
enabled when in 'record only' mode is just a bit confusing.
2014-01-03 13:59:04 -07:00
jp9000
01df955967 Merged keep_recording branch
This branch fixes the issue of your recordings ending every time the
network stream is disconnection.

This commit is a squash of the following commits on the branch:

    tweak the button positions a little bit
    Added OnOBSStatus plugin callback
    Enables plugins to recreate the (LIVE + REC) display
    Skip ReportStreamStatus callbacks if there is no actual stream
    Fix the status bar for real this time
    Make the status bar keep updating when not live
    Fixed exit cleanup while streaming/recording
    Fix Stop() behavior and stream status message
    Continue recording even if the stream goes offline
    Requires setting KeepRecordingOnStopStreaming to 1 in global.ini to test
2014-01-03 09:23:46 -07:00
paibox
1f4bb46250 Change the idle description for the toggle recording button
Because it confused everyone. It's now just a grayed out "Start
recording" while it's disabled.
2013-12-31 09:22:03 +01:00
paibox
06f66dbcce Add stream status indicator next to current time
Display current recording/streaming status next to the current running
time. (LIVE)/(LIVE+REC)/(REC)/(Preview)
2013-12-31 00:55:07 +01:00
paibox
808bc49c73 Add a button to toggle recording on/off
Like the description says. Currently nukes the Dashboard button, not
quite sure where to put it. Allows you to toggle recording while
streaming, to split up videos or turn it off while you AFK in Orgrimmar
for ten hours.
2013-12-29 22:40:02 +01:00
Richard Stanway
62c9c10ae3 Don't fire plugin events during OBS shutdown 2013-12-11 21:38:47 +01:00
jp9000
49241dc400 Added ability to use input devices for desktop audio, added a 'point filtering' option to text output source 2013-12-05 17:22:24 -07:00
HomeWorld
be5e859c4d Fixed a small UI bug introduced by 78cfebc (sources listview columns not being resized properly) 2013-10-23 08:35:39 +03:00
jp9000
d4f54a3c5f add a 'stream up on startup' command line option, (-start) 2013-10-05 10:23:09 -07:00
Richard Stanway
921d7f5ac1 Add option to manually check for updates 2013-10-02 23:18:30 +02:00
HomeWorld
78cfebc527 Show main wnd after we're done with init stuff and not before 2013-09-29 01:26:02 +03:00
jp9000
25c8a4c1c7 changed some bad default values 2013-09-22 21:37:51 -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
Richard Stanway
89de3a6f70 Make 64 bit and 32 bit update check independent 2013-09-08 18:42:43 +02:00
jp9000
bbc084f2c7 fixed a display bug with the projector UI 2013-09-02 22:52:32 -07:00
jp9000
4475863468 fixed projector thread issues 2013-09-02 22:29:14 -07:00
jp9000
753156fb82 Make projector stuff thread safe 2013-09-02 21:19:25 -07:00
jp9000
0bcbc14fc0 Added UI stuff for projector 2013-09-02 19:38:03 -07:00
jp9000
8fd7282cb8 Added a "projector" mode to allow outputting the preview to a separate screen at the same time as the main window (differs from fullscreen preview in that you can do it to a separate monitor while still having the main OBS window open) 2013-09-02 17:34:36 -07:00
paibox
c1935ac882 Remember preview enabled/disabled setting
Store the state of the preview in the global configuration file.
2013-09-02 15:36:28 +02:00
jp9000
f17ddc84c6 Separated encoding to a separate thread to prevent constant framerate issues, and increased frame timing precision to nanosecond approximation 2013-08-31 13:13:50 -07:00
jp9000
8d1e222aeb Fixed a bad positional check when loading the window position on startup (thanks sapiens and goalitium for pointing it out) 2013-08-07 23:27:09 -07:00
shousa
ebce28fc60 enable window width more compact
enable window width more compact
2013-07-28 20:51:49 +09:00
Richard Stanway
40475c1346 Fix typo 2013-07-25 09:10:59 -04:00
Crehl
5bc55a6388 Correctly show/hide the dashboard button upon profile change, not just window resize. 2013-07-21 17:16:55 +01:00