Commit Graph

11890 Commits (b39d69e98c859a78b813abc70099372763a07bc8)
 

Author SHA1 Message Date
scrawl b39d69e98c Videoplayer fixes, play/pause & seeking
- Fix rindex overflow
 - Fix audio sample size bugs (was using sample_fmt and channel count of the decoder, instead of the resampled settings). We didn't notice this bug before, because the OpenAL MovieAudioFactory tries to resample to a format of the same byte size.
 - Add support for play/pause and seeking controls (not used by cutscenes in OpenMW)
 - Closing the video when arriving at the stream end is now handled by the user (we may also want to keep the video open and seek back)

The video player now has a standalone demo, at https://github.com/scrawl/ogre-ffmpeg-videoplayer
10 years ago
scrawl e2bad395e5 Leak fix 10 years ago
scrawl 2a3627b5a8 avresample wrapper fix 10 years ago
scrawl a9be8628b9 namespace fix, improve comment 10 years ago
scrawl 9da1c49276 Add missing header to CMakeLists, remove stale comment 10 years ago
scrawl eb1c24ffe6 Refactor video player engine to get rid of MWSound dependencies
- Split video player to separate source files.
 - Move video player engine sources to extern/ (repository will be set up on github soon).
 - Audio is handled in a MovieAudioFactory, implemented by the user (here in MWSound subsystem).
 - Handle conversion of unsupported channel layouts via ffmpeg's swresample.
10 years ago
scrawl bcb2d714c0 Add TODO comments for future videoplayer enhancements 10 years ago
scrawl 5711103322 Remove leftover comment 10 years ago
scrawl 202cfa879f Implement frame drop support in the videoplayer (Fixes #1343) 10 years ago
scrawl 290aacd2a6 Fix videoplayer crash on quit
The sound stream thread was trying to update the stream during/after destruction of the video state.
10 years ago
scrawl 8472695f89 Revert "Fix for compiler warnings and deprecated functions usage in videoplayer."
This reverts commit d77546b7dc.

Conflicts:
	apps/openmw/mwrender/videoplayer.cpp
10 years ago
scrawl de0e0fedff Revert "Fix for compiler warnings and deprecated functions usage in videoplayer."
This reverts commit f5589b42ea.

Conflicts:
	apps/openmw/mwrender/videoplayer.cpp
10 years ago
scrawl 681f3fa530 Revert "Removed a warning about comparision between signed and unsigned variable in ffmpeg_decoder."
This reverts commit b40c1ff26c.
10 years ago
scrawl bb10af64c0 Revert "Disable travis IRC spam until the OSX build is fixed"
This reverts commit 841d52f1f7.
10 years ago
Marc Zinnschlag 5fdd264d07 Merge remote-tracking branch 'origin/master' 10 years ago
Marc Zinnschlag 843493e90a fixed case-problem in OpenCS script compiler 10 years ago
scrawl 8b3755a770 Compile fix 10 years ago
scrawl f2877c69d7 Fix old alchemy apparatus still showing in alchemy window after removal 10 years ago
scrawl 192069a181 Add automatic potion naming 10 years ago
scrawl fd7c181e06 Fix alchemy producing potion IDs from content files 10 years ago
scrawl 4047e3c928 Properly handle DialInfo records that were marked as Deleted (Fixes #2035) 10 years ago
Marc Zinnschlag 154cac506c Merge remote-tracking branch 'emperorarthur/nif-cleanup' 10 years ago
Marc Zinnschlag 94ae222f0e Merge branch 'settings' 10 years ago
Marc Zinnschlag a5bbfff9e2 another layout correction 10 years ago
Marc Zinnschlag 5a1ce4943e added advance 3D rendering user settings section 10 years ago
Arthur Moore 38bcff2622 Moved base NIF classes into a separate file.
This resolves the dependency mess, and makes things more readable.
The dependency tree for nif records now looks like this:
Record.hpp
--base.hpp
----controlled.hpp
----controller.hpp
----data.hpp
----effect.hpp
----extra.hpp
----node.hpp

Node.hpp has many extra dependencies because nifogre only includes it instead of each of these files.
That should be fixed.
10 years ago
Arthur Moore 5abed1c32a Print a NIF file's version information when an error occurs 10 years ago
Arthur Moore 9ebf3f2f10 Provide more data when nifstream throws a runtime_error 10 years ago
Marek Kochanowicz 9213067aee created new branch as a simple solution to the /manual branch mess 10 years ago
scrawl bf0669e18c Ignore some extra string arguments to ShowMap (Fixes #2029)
Required for a dialogue result script in Morrowind.esm ("ShowMap Dren Plantation").
This must do the same as "ShowMap Dren", which actually does work properly, since ShowMap supports partial string matching.
10 years ago
scrawl 841d52f1f7 Disable travis IRC spam until the OSX build is fixed 10 years ago
scrawl deabc52c16 Treat "Root Bone" as the animation root if existing (Fixes #2019) 10 years ago
scrawl 5892fd9e65 Fix NpcAnimation non-existing skeleton crash (Fixes #2028) 10 years ago
scrawl f117a75747 Force walk animation when flying (Fixes #2015) 10 years ago
scrawl 6d7f4085a5 Add shader implementation of alpha test 10 years ago
scrawl 5f11ccc298 Show tooltip for non-affordable list items (Fixes #2025) 10 years ago
Marc Zinnschlag 49938182e8 silenced a compiler warning regarding null pointer dereferencing 10 years ago
Marc Zinnschlag a3c894c1e2 Merge branch 'cellmarker' 10 years ago
Marc Zinnschlag 994159fafd fixed broken iterator 10 years ago
Marc Zinnschlag 8a05c0e5c0 fixed overlay singleton 10 years ago
Marc Zinnschlag ba46bcad40 Revert "Don't allow viewing non-existent cells from the regionmap."
This reverts commit 7cdab41501.
10 years ago
Marc Zinnschlag 4b921c3876 user settings cleanup 10 years ago
Marc Zinnschlag c97845d35d better script compiler diagnostics 10 years ago
scrawl c3ef39eb6f Fix ItemWidget text cleanup (Fixes #2022) 10 years ago
scrawl 86280df55a DialInfo: Clear SelectStructs from previous loadings when a record is overwritten (Fixes #2017) 10 years ago
Marc Zinnschlag ed44f3ec7d added tooltip support to user settings UI 10 years ago
scrawl c4e81adb83 Fix settings window being too small for all tabs on some localizations 10 years ago
Marc Zinnschlag 7de6360695 Removed all content from opencs.ini
Not needed since we already have reasonable default values within the code. Keeping the file to allow global modifications to these values.
10 years ago
Marc Zinnschlag f4894deff1 removed special value text from spin boxes (broken feature, not used anyway) 10 years ago
Marc Zinnschlag dddd20ba1e added default values for display format settings 10 years ago