Commit Graph
383 Commits
Author SHA1 Message Date
wang-bin e9c00a80cd GraphicsItemRenderer aspect ratio change state
It's seems right. but why other renderer do not have this problem?
2013-04-04 10:34:51 +08:00
wang-bin 0c7ae74f1f GraphicsItemRenderer use the same painting logic and api with others 2013-04-04 10:34:51 +08:00
wang-bin 95df26db3d gl: use drawXXX() api 2013-04-04 10:34:51 +08:00
wang-bin 9fca8b3139 new api: VideoRenderer::widget(), graphicsItem() 2013-04-04 10:34:51 +08:00
wang-bin 0702a4e6db new api drawXXX() to support custom osd/subtitle drawing on renderer.
subclass the existing renderer. logic is clear
TODO:
0. add constructor for with private class parameter
1. what if QPainter is needed
2. unifine the painting logic logic
3. set as pure virtual when other renderers done(gl, graphicsitem)
4. add final vo template
2013-04-04 10:34:51 +08:00
wang-bin 67e39d6a46 qmake: create cache if not exist. print how to recheck 2013-04-04 10:27:57 +08:00
wang-bin e0347716d1 d2d: some toolchains need _COM_interface definition 2013-03-31 01:50:21 +08:00
wang-bin af89e9161a update documents about building. add a Chinese document 2013-03-30 00:15:03 +08:00
wang-bin 6e63108651 fix debug linking
the debug library name is wrong. why i commented that line before?
2013-03-29 22:59:24 +08:00
wang-bin 080743f00e Fix compile warning about size_t 2013-03-29 00:41:13 +08:00
WangBin a66cd009c7 README: building QtAV 2013-03-28 23:57:34 +08:00
wang-bin 023fa3818e gl: do not include GLWidgetRenderer.h if gl is disabled
link error with msvc. why gcc is ok?
2013-03-25 11:31:52 +08:00
wang-bin 63c4ba25f1 README: building, player usage, FFmpeg projects etc 2013-03-25 02:08:32 +08:00
wang-bin 2a51457d8b Merge branch 'gl' 2013-03-24 14:37:54 +08:00
wang-bin f0dc3f4ff8 do not add qt opengl module if gl test failed 2013-03-24 14:36:14 +08:00
wang-bin 2dbc8f1baf gl: check gl1 support 2013-03-24 21:53:42 +08:00
wang-bin 9a7c9aefda qmake: correct Qt version detection. do not empty cache if recheck 2013-03-23 13:23:25 +08:00
LucasWang 466009b475 Merge branch 'x11' 2013-03-22 17:26:14 +08:00
LucasWang 98626064ba xv: black background 2013-03-22 17:25:11 +08:00
LucasWang 0a6b1ba401 Merge branch 'master' into x11
Conflicts:
	QtAV.pro
2013-03-22 13:57:13 +08:00
LucasWang 9b298eaf25 Add missing config test 2013-03-22 13:49:01 +08:00
LucasWang ada2c53194 fix qmake warning for back slash.
a back slash is '\\' for qmake
2013-03-22 10:18:58 +08:00
LucasWang d473cc2b92 force recheck if FFmpeg not detected
TODO: should we only recheck the part not pass the test?
2013-03-22 10:17:45 +08:00
LucasWang a1d317eddc fix desktop file link 2013-03-19 17:37:31 +08:00
wang-bin 5a43dbfb51 check whether we need glext.h 2013-03-17 23:06:37 +08:00
wang-bin 99cafdaefa Qt5 compile error fix: WID=>HWND 2013-03-16 13:22:01 +08:00
wang-bin b5e471c84d version 1.1.11
Changelog:
- OpenGL support. Only rendering now.
- OSD support.
- New shortcuts: Ctrl+O=>open, O=>switch OSD, Q/ESC=>quit
- Command line option: -vo gl/d2d/gdi/qt, -h|--help
- Fix wrong aspect ratio when resizing
- Better qmake project
- Building debian package support: make deb
- Bug fix
v1.1.11
2013-03-15 20:57:37 +08:00
wang-bin 21e5e7500f add command line help. build translations into binary. 2013-03-15 19:53:57 +08:00
wang-bin 4bbbbc03d3 make deb support 2013-03-15 19:16:28 +08:00
wang-bin 1b4dc331ec Merge branch 'master' into x11 2013-03-15 16:29:48 +08:00
wang-bin 5ad38b5e49 Merge branch 'filter'
Conflicts:
	i18n/QtAV_zh_CN.qm
	i18n/QtAV_zh_CN.ts
2013-03-15 16:21:13 +08:00
wang-bin f26b44aaf2 shortcut: Q or ESC to quit 2013-03-15 16:07:59 +08:00
wang-bin c40132c550 template: vo always use lock. add new files in pro 2013-03-15 15:53:48 +08:00
wang-bin aea6ae0dd4 scripts line ending 2013-03-15 15:49:06 +08:00
wang-bin c03a9401d2 initialize xvimage. use ugly rgb->yuv in XVRenderer
performance is bad now
2013-03-15 15:43:46 +08:00
wang-bin 912c04c185 add XV renderer. TODO: ImageConverter should output yuv data 2013-03-15 14:46:11 +08:00
wang-bin b02267475a Optimize time calculation 2013-03-15 10:59:52 +08:00
wang-bin ec0121d593 always lock in convertData() to make sure image data is safe
TODO:
for QPainterRenderer without lock like before, crashes if an image is in
OSDFilter::process(), why?
why crashes when resizing without lock?
In QPainterRenderer::convertData(), why image can be constructed from
data but not d.data? why d.data = data is required?
2013-03-15 01:31:41 +08:00
wang-bin f18d0f7527 templates: add base, derived and final class templates 2013-03-14 22:33:47 +08:00
wang-bin 5e6841a798 TODO: renderer on vo to fix osd position. other filters as well 2013-03-14 22:31:39 +08:00
wang-bin d80216506d translations 2013-03-14 22:23:28 +08:00
wang-bin 0cbae901b2 shortcut change: O is OSD, Ctrl+O is open a file 2013-03-14 22:17:50 +08:00
wang-bin 3378c3195f return if no osd etc. 2013-03-14 22:12:38 +08:00
wang-bin 897c8c7287 add osd 2013-03-14 21:38:06 +08:00
wang-bin d4c51d580c remove dependency of version.h. add runtime version string functions 2013-03-14 11:42:02 +08:00
wang-bin 9acdb113a5 pro: refine code 2013-03-13 14:12:04 +08:00
wang-bin 4e12e4d46e examples: renderer can be selected by player name 2013-03-12 23:05:25 +08:00
wang-bin f1c8d03add some notes for id 2013-03-12 15:35:47 +08:00
wang-bin 240d3b5cf4 examples: use factory instead of macro. we don't know macro value
HAVE_FEATURE should be used in library internally for building the
library. Those macros are not provided for users. Users can choose a
FEATURE in runtime. If the FEATURE is compiled into library, then you
can.
2013-03-12 15:31:21 +08:00
wang-bin 198e094f45 gl: vc does not have glext.h 2013-03-12 15:09:55 +08:00