mirror of
https://github.com/mpv-player/mpv
synced 2024-11-03 03:19:24 +01:00
66e20ef8ad
The --flip option flipped the image upside-down, by trying to use VO support, or if not available, by inserting a video filter. I'm not sure why it existed. Maybe it was important in ancient times when VfW based decoders output an image this way (but even then, flipping an image is a free operation by negating the stride). One nice thing about this is that it provided a possible path for implementing video orientation, which is a feature we should probably support eventually. The important part is that it would be for free for VOs that support it, and would work even with hardware decoding. But for now get rid of it. It's useless, trivial, stands in the way, and supporting video orientation would require solving other problems first.
29 lines
1.1 KiB
C
29 lines
1.1 KiB
C
/* VFCAP_* values: they are flags, returned by query_format():
|
|
*
|
|
* This file is part of MPlayer.
|
|
*
|
|
* MPlayer is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* MPlayer is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License along
|
|
* with MPlayer; if not, write to the Free Software Foundation, Inc.,
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
*/
|
|
|
|
#ifndef MPLAYER_VFCAP_H
|
|
#define MPLAYER_VFCAP_H
|
|
|
|
// set, if the given colorspace is supported (with or without conversion)
|
|
#define VFCAP_CSP_SUPPORTED 0x1
|
|
// set, if the given colorspace is supported _without_ conversion
|
|
#define VFCAP_CSP_SUPPORTED_BY_HW 0x2
|
|
|
|
#endif /* MPLAYER_VFCAP_H */
|