Comments (8)
I don't see a Layout exception, I'm not familiar with viewbox at all. Can you provide more information and the exception message?
If you use the viewbox for the image then it should be inside VideoView and not outside.
from flyleaf.
just like this,and run the application
from flyleaf.
I have solved this problem. You can refer to my practice
WPF.zip
from flyleaf.
OK I see your point. Those two files are based on libvlcsharp from here and here
So the issue is with DPI? If you feel confident I will review it and I will update this to the next version.
from flyleaf.
not only DPI,the basic window size also affects the viewbox and indirectly the videoview
so you need to calculate the zoom ratio between the current screen and the design size of the base window
for example , your screen bound is 1920x1080,but base window size is design to 3840x2160,and system zoom layout is not 100% like this
under these circumstances,DPI and basic window size will all affect it
from flyleaf.
This probably means that Renderer should also consider those factors. And I need also to ensure that doesn't brake anything else.
from flyleaf.
Hey, I tried to add this on v3.2 but the fix that you suggest didn't work for me. I didn't have time to do more research on this. I will have a look at the next update
from flyleaf.
@huangli321456 I'm closing this as I cannot reproduce it anymore. Please re-open if you still have issues.
from flyleaf.
Related Issues (20)
- I would like to print a specific part of the image by blurring it, is this possible? HOT 1
- About ShowFramePrev HOT 2
- Overlaps and Refresh in SharedOverlay
- Stream synchronization issue HOT 7
- Possible handle leak when repeatedly create/play/stop/dispose flyleaf players HOT 13
- Open stream at current position HOT 6
- FlyleafSharedOverlay in wpf ViewBox HOT 3
- Renderer: Level/Gamma Support HOT 4
- crash by set curtime HOT 2
- SharedOverlay as the Visual of a VisualBrush
- Get FlyleafSharedOverlay DetachedContent as Visual HOT 9
- Decoder (Subtitles): Bitmap Support HOT 1
- Issues of brightness control HOT 1
- [New feature requests]Added multi-threading support for M3U8 HOT 3
- Demuxer: Blu-Ray Support HOT 8
- Subtitles seeking support HOT 2
- Memory Leakage HOT 11
- current subtitle disappear when resuming from pause HOT 1
- WPF FlyleafHost: Load/Unload should be symmetrical HOT 1
- Deadlock in Pause() HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flyleaf.