241 Commits

Author SHA1 Message Date
palana
044fac9043 Ignore stream button updates while shutting down 2014-09-24 14:47:55 +02:00
palana
a500f272d7 Restore Push-to-Talk checkbox 2014-09-10 01:16:04 +02:00
palana
b3817488b4 Add API support for Replay Buffer
Closes https://github.com/jp9000/OBS/issues/374
2014-09-01 05:03:10 +02:00
palana
0f668e132b Add Record from Replay Buffer
This basically saves the current replay buffer and continues recording
to the saved file. The recording uses the standard file path.
2014-08-21 21:18:19 +02:00
palana
38f96367d1 Separate Replay Buffer from normal file recording 2014-08-21 02:29:40 +02:00
palana
1660339ef3 Refactor status bar output status handling 2014-08-21 02:29:40 +02:00
palana
7b7b3b608e Fix toggling between Replay Buffer/Recording button when changing profile 2014-08-16 04:13:19 +02:00
palana
79208d174b Add support for encoder settings panes 2014-08-13 00:37:49 +02:00
palana
1560f5b9e7 Add Save Interval support to UI/recording logic 2014-08-13 00:37:23 +02:00
palana
0b5158d9e3 Streamline (settings) hotkey handling
This moves all hotkeys that were accessible in the audio/publish
settings panes to a new hotkeys settings pane

Also makes the push to talk hotkeys behave like all other (settings)
hotkeys, i.e. as long as a hotkey is configured the hotkey is active
2014-08-13 00:37:21 +02:00
Richard Stanway
0cd01d00ce Fix some warnings 2014-08-09 21:42:30 +02:00
palana
30d80eb997 Restore always on top setting on launch 2014-08-06 15:57:38 +02:00
palana
c8169988c7 Remove legacy scenes.xconfig from scene collection list 2014-08-06 15:37:02 +02:00
palana
8412373b58 Fix scene collection loading at startup 2014-08-01 22:25:52 +02:00
jp9000
8bfdd25b00 Copy scene collection to scenes.xconfig
This allows better backward compatibility with older versions.  This
will keep the current scene collection set to default if the user ever
decides to downgrade OBS versions for whatever reason.
2014-07-31 17:27:08 -07:00
jp9000
1047b129a6 Fix startup issues with scene collections
If a scene collection wasn't found at startup, it would create a
'(null)' scene due to a null pointer.

Also, moved scene collections to the scene collections folder rather
than the base folder to prevent conflicts with the older scenes.xconfig
file.
2014-07-31 17:27:08 -07:00
jp9000
70cb064d32 Implement scene collections in menu only
This hopefully resolves some conflicting opinions about how scene
collections should be handled, and removes it from the general settings
panel, where it felt a bit cluttered.

Actually, I would kind of like it if profiles were handled this way too.
This feels a lot cleaner than how profiles are handled in the general
settings.  The profiles thing in the general settings definitely feels
clunky.

In the main menu, the scene collections menu now has the following menu
items:

- New
- Duplicate
- Rename
- Remove
- Import
- Export

Duplicate was something I personally added - I felt like it might be a
nice thing to have for the sake of convenience.  Import/Export was
requested by dodgepong, and is also definitely nice to have.  Due to how
easy new scene collections are to set up it didn't take very long to put
in.
2014-07-30 19:28:27 -07:00
jp9000
92e407c5a4 Disable scene collections
We've decided not to release scene collections.  It caused some backward
compatibility issues, as well as some ease-of-use concerns.  We just
don't feel comfortable with it so we're just going to go with the
import/export style that will be implemented in OBS2.
2014-07-24 22:11:21 -07:00
palana
bafa55b754 Preserve default scenes.xconfig for compatibility with older versions 2014-07-25 04:09:16 +02:00
Richard Stanway
105f44ebce Increase timeout on waiting for hotkey thread to exit 2014-07-10 22:48:18 +02:00
palana
e541c5207d Update recording logic to better reflect ConfigFile settings
ConfigFile doesn't distinguish between non-existent keys and keys with
an empty (string) value; therefore we default to treating an empty
SavePath as default save path (and warn the user when setting an empty
SavePath)

Recording is now always enabled (unless previewing)
2014-07-08 18:25:36 +02:00
palana
d036faa33e Allow recording even when SaveToFile is disabled
This changes the semantics of SaveToFile from "disable all file output
when disabled" to "automatically save stream to file when enabled",
which allows the "Start Recording" button to be enabled even when
SaveToFile is disabled.

Having the "Start Recording" button enabled now depends on having a
non-empty SavePath
2014-07-03 16:22:40 +02:00
jp9000
c532ffbd1e Remember 1:1 preview mode enabled/disable state 2014-06-29 16:27:58 -07:00
Richard Stanway
c9814c0a66 Don't allow runtime changing of scene collections as this leaves dangling XElement pointers in all the current SceneItems which causes crashes.
Refresh the Sources list when changing scene collections.
2014-06-27 19:11:44 +02:00
Glought
98d18ba4fe Added "Scene Collection" Menu
Now able to Switch between different Scene collections.
All Scene ".Xconfig" files now stored in the "sceneCollection" folder.
Changed "GetApplicationName()"  added "Profile: SceneCollection: " to the beginning of the app name.

Added "Scene Collection" Combo Box in Settings General

Can add/rename/remove new scenes collections in settings general.
Can add/rename/remove new scene collections while streaming.
Can change scenes Collections while streaming.
2014-06-25 22:16:06 -07:00
palana
ea2faadbc6 Add "Open Recordings Folder" file menu item 2014-06-11 17:23:49 +02:00
jp9000
ad464d892c Keep unmuted volume values if volume muted
If a volume control was muted, the hidden 'unmute volume' value was not
saved to the configuration, meaning that if you exit while muted then
restart, it would unmute to 100% each time, causing annoyance for some
users.
2014-05-14 22:59:37 -07:00
Richard Stanway
5a36ca9984 Warn user if they installed a wrong architecture plugin DLL 2014-05-02 21:21:42 +02:00
Richard Stanway
902217e5ad \n at EOF 2014-04-23 01:13:49 +02:00
Richard Stanway
26f9c88495 Allow RTMPPublisher to reconnect without full Stop / Start
Based on the "keep recording" hack. Not compatible with DelayedPublisher because DelayedPublisher is nasty >:(
2014-04-23 00:56:20 +02:00
Richard Stanway
1b8b8482bc Fix issues with 0 second reconnect timer 2014-04-21 19:13:05 +02:00
Richard Stanway
8b519302c8 Avoid clipping controls at default / smallest window width 2014-04-21 18:31:07 +02:00
Richard Stanway
5d6cc218eb Some static analysis fixes via Coverity Scan 2014-04-09 00:47:39 +02:00
palana
eb4f3cd455 Increase limit on log window contents
This should make the log window have effectively infinite size
2014-03-18 15:58:04 +01:00
palana
622dea851e Move LogUpdateCallback to a more appropriate location 2014-03-14 18:51:39 +01:00
palana
3d13a9c5e7 Fix clearing first push to talk hotkey if two hotkeys were set
It was possible to bind an unlimited number of push to talk hotkeys via the first
push to talk hotkey edit box, and it was impossible to unbind those hotkeys
without restarting OBS
2014-03-01 14:18:05 +01:00
palana
f63a3b0e5e Align log window contents LTR in RTL locales 2014-02-28 17:50:41 +01:00
palana
02024ffcca Remove a whole bunch of tabs ...
Someone make Visual Studio remember that OBS1 uses spaces
2014-02-26 15:53:50 +01:00
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