Commit Graph

49 Commits

Author SHA1 Message Date
Max Preussner
71ae85b026 Media: Not loading media on dedicated servers (UE-19832)
[CL 2686792 by Max Preussner in Main branch]
2015-09-10 14:57:32 -04:00
Josh Markiewicz
70bdbe0758 [AUTOMERGE]
#UE4 - fixed crash in MediaTexture on dedicated servers during PostLoad
- needs investigation as to why this is being initialized on dedicated servers at all
#codereview Marcus.Wassmer, Bob.Tellez

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2649680 by Josh.Markiewicz on 2015/08/10 13:42:00.

[CL 2649681 by Josh Markiewicz in Main branch]
2015-08-10 13:43:12 -04:00
Marcus Wassmer
d4e748672c Fix MediaFramework GC problems.
Also fix a leak with PS4 moviestreamer.
#codereview Max.Preussner

[CL 2634271 by Marcus Wassmer in Main branch]
2015-07-27 14:36:39 -04:00
Max Preussner
ac960efd87 Forgot to check in
[CL 2624754 by Max Preussner in Main branch]
2015-07-17 15:45:48 -04:00
Marcus Wassmer
b174b812b7 Switch to Decoder2 and GPU conversion to RGBA for PS4 MediaFramework.
#codereview Max.Preussner

[CL 2624481 by Marcus Wassmer in Main branch]
2015-07-17 13:12:34 -04:00
Max Preussner
25f66e2835 Media: API refactor in preparation for performance improvements
This is an API breaking change. IMediaTrack has been renamed to IMediaStream. There are three new interfaces for tracks: IMediaAudioTrack, IMediaCaptionTrack and IMediaVideoTrack.

#CodeReview: chris.babcock, marcus.wassmer

[CL 2622306 by Max Preussner in Main branch]
2015-07-15 16:06:57 -04:00
Jeff Farris
9d8fad54b7 Fixed ctor init order warnings in MediaSoundWave.cpp and MediaTexture.cpp.
#codereview Max.Preussner

[CL 2603947 by Jeff Farris in Main branch]
2015-06-29 10:28:29 -04:00
Max Preussner
5e7a0d565a Media: Added support for tracks changing during playback or asynchronously after opening media
[CL 2603263 by Max Preussner in Main branch]
2015-06-27 09:08:05 -04:00
Max Preussner
dbfec7de75 Media: Refactored IMediaPlayer.Open to take an FArchive instead of byte array; removed pre-caching of media into memory
#UpgradeNotes: This is an API breaking change. If you implemented a plug-in for the Media Framework then you have to update your media player's Open() method to match the new signature. Take a look at the changes in the WmfMedia plug-in to see the differences between loading from a buffer and an archive.

[CL 2603213 by Max Preussner in Main branch]
2015-06-26 21:42:39 -04:00
Max Preussner
fa17c0304b Media: Exposed Close method on MediaPlayer class and blueprint
[CL 2534843 by Max Preussner in Main branch]
2015-05-02 06:43:02 -04:00
Max Preussner
c28bc94155 Media: Fixed MediaPlayer not handling web URLs and non-relative paths properly
[CL 2514384 by Max Preussner in Main branch]
2015-04-16 11:51:34 -04:00
Marc Audy
a509e739ad Fix shadow variables
[CL 2508945 by Marc Audy in Main branch]
2015-04-10 16:47:24 -04:00
Max Preussner
3e354ff2df Media: Removed AutoPlay feature in MediaPlayer assets.
#UpgradeNotes:
The AutoPlay feature turned out to be quite dangerous, because it causes media playback to start as soon as a MediaPlayer is loaded, thus consuming resources even if it is not used anywhere. Media should be played and stopped on demand using Blueprints (MediaPlayer.Play) or C++ instead.

[CL 2481728 by Max Preussner in Main branch]
2015-03-17 12:22:31 -04:00
Terence Burns
08ff5fa6d1 https://jira.ol.epicgames.net/browse/UEPLAT-514
Adding Texture LOD settings to Device Profiles
- this will improve how we currently edit and override lod settings on a per device type bases.
- LOD Settings can now be set in the Device Profile Editor
- Any device profiles with no values set for LOD Settings, will use the default objects.
- These can be found in BaseDeviceProfiles.ini in the /Script/Engine.TextureLODSettings section
- Appropriate defaults set for those groups not listed.

-Other fixes
- - Incorrect with_editor check in HTML5 target platform, changed to with_engine

[CL 2481510 by Terence Burns in Main branch]
2015-03-17 09:50:32 -04:00
Jaroslaw Palczynski
f23f29257b Back out changelist 2481333
Rob asked me to back out GENERATED_*_BODY -> GENERATED_BODY change for now until the "_Validate and _Implementation auto-generation" discussion is over.

#codereview Robert.Manuszewski

[CL 2481343 by Jaroslaw Palczynski in Main branch]
2015-03-17 05:38:32 -04:00
Jaroslaw Palczynski
fa31560e2d Enabled UHT to digest GENERATED_BODY instead of GENERATED_UCLASS_BODY, GENERATED_USTRUCT_BODY, GENERATED_UINTERFACE_BODY or GENERATED_IINTERFACE_BODY, changed every occurence to the new syntax and fixed every warning that have fallen out of this change.
#codereview Robert.Manuszewski

[CL 2481333 by Jaroslaw Palczynski in Main branch]
2015-03-17 05:19:11 -04:00
Marcus Wassmer
92f7d2cb83 First pass at UMF support on PS4.
#codereview max.preussner

[CL 2474242 by Marcus Wassmer in Main branch]
2015-03-10 16:09:27 -04:00
Max Preussner
05d5049eff Media: Rendering ClearColor while media is not playing/not paused
This prevents the last frame of video from being visible after a non-looping movie finished playing.

[CL 2454877 by Max Preussner in Main branch]
2015-02-21 14:56:12 -05:00
Max Preussner
5c8b0f7d25 MediaAssets: Fixed missing forward declarations for Media types
[CL 2447298 by Max Preussner in Main branch]
2015-02-16 12:16:22 -05:00
Max Preussner
5c52e47581 Media: Fixed media reloading when changing a MediaPlayer property in the Editor
[CL 2440284 by Max Preussner in Main branch]
2015-02-10 15:22:41 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Josh Adams
799e0a8d5e - Removed forward declaration of enum that breaks clang (and is not needed when it's declared 5 lines down)
#codereview max.preussner

[CL 2341712 by Josh Adams in Main branch]
2014-10-27 19:13:36 -04:00
Max Preussner
218b23e26e Media: Include what you use
[CL 2341685 by Max Preussner in Main branch]
2014-10-27 18:48:29 -04:00
Max Preussner
91f0abd671 Media: Tweaked some build rule files
[CL 2340749 by Max Preussner in Main branch]
2014-10-27 07:55:08 -04:00
Max Preussner
a2ddaaaf34 MediaAssets: Fixed formatting of parentheses
[CL 2332079 by Max Preussner in Main branch]
2014-10-16 16:24:33 -04:00