Commit Graph

15 Commits

Author SHA1 Message Date
halx99 13d90b76ee Enable video player test case for windows 2022-02-24 18:30:58 +08:00
halx99 ae2fc24f78 Move video player implementation to a unique folder 2022-02-24 18:13:01 +08:00
deal 9afd478ea9 Add windows video play support [render video sample to texture2d] (#577)
* [Draft] Implement windows video player

Based on microsoft media foundation

* Delete pvd

* Shutdown MF media before release player

* Consider MFMediaPlayer ref leak

* Use Microsoft::WRL::ComPtr

* Simplify code

* Improve code and take care COM object refs

* Update UIVideoPlayer-win.cpp

* Delete unused code

* Add play from url support

* Update logic

* Rename ADXE_ENABLE_MFMEDIA to AX_ENABLE_MFMEDIA

* Rescale video render sprite to view node

* Fix warnings

* Don't shallow copy the video context, it's very dangerous

* Fix compile error CC_VIDEOPLAYER_DEBUG_DRAW=1

* Fixup

* [Window video player] play event dispatch

* support switch video file

* Update UIVideoPlayer-win.cpp

* [windows-video-player] keep aspect ratio and full screen support

* Improve code

* Update changelog [skip ci]

* Update README.md

* Update README.md

* Update README.md

* Update README_CN.md

* Update README_CN.md
2022-02-24 17:57:08 +08:00
deal 1028488de2 Fixup 2022-02-23 18:56:26 +08:00
halx99 ba56042bd5 Fix compile error CC_VIDEOPLAYER_DEBUG_DRAW=1 2022-02-23 18:39:02 +08:00
halx99 183b8f10c1 Don't shallow copy the video context, it's very dangerous 2022-02-23 17:38:21 +08:00
halx99 7ce188ebda Finish #578 2022-02-17 17:11:17 +08:00
halx99 d8ee872fe9 Fix #587
Note: New OS feature 'Beta: Use Unicode UTF-8 for worldwide language support' since win10/win11
- OFF: GetACP() equal to current system locale, such as chinese simplified is 936, english is 437
- ON: GetACP() always equal to 65001(UTF-8)

Remark:
The macro CP_ACP for ntcvt::from_chars works for converting chraset from current code page(936,437,65001) to utf-16
2022-02-16 11:56:33 +08:00
deal 885d99751b Merge: e7d683958b f0c91e38c1
Merge pull request #588 from DelinWorks/feature-proposals

Expose detach IME function for custom behaviors in UITextField
2022-02-16 06:54:38 +08:00
Delin 3799344fa3 Update README.md
Update README.md to version v1.0.0-beta6 badge
2022-02-15 17:42:19 +03:00
DelinWorks c350e5a628 Update UITextField.h 2022-02-15 17:19:26 +03:00
DelinWorks b19133e96d feature-expose-detach-function 2022-02-15 17:17:45 +03:00
halx99 bc1d0223c0 Remove unnecessary parameter 2022-02-06 13:06:49 +08:00
halx99 beb8606e16 Fix ci & update project url in sources 2022-01-04 12:36:20 +08:00
halx99 def5f9e2bc Rename core folder name 2021-12-31 14:39:08 +08:00