[vlc-devel] [PATCH] libvlc: add API for the transform filter
Rémi Denis-Courmont
remi at remlab.net
Sat Nov 29 14:56:03 CET 2014
Le 2014-11-29 16:50, Felix Paul Kühne a écrit :
> ---
> include/vlc/libvlc_media_player.h | 36
> ++++++++++++++++++++++++++++++++
> lib/libvlc.sym | 4 ++++
> lib/media_player.c | 1 +
> lib/video.c | 43
> +++++++++++++++++++++++++++++++++++++++
> 4 files changed, 84 insertions(+)
That's a bad idea in my opinion. There are two cases where you want to
rotate the video:
1/ The video was recorded side ways, but the demuxer does not specify
the correct orientation. That is not the right way to fix it: in this
case, the video should be rotated in the GPU.
2/ The display is side ways. Again, this should be done in hardware,
and needs an API from the display driver or the windowing system - not
LibVLC. Besides, the subpictures need to be rotated too, which the
rotate filter fails to take care of.
--
Rémi Denis-Courmont
More information about the vlc-devel
mailing list