summaryrefslogtreecommitdiffstats
path: root/video/mp_image.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-18 13:49:28 +0200
committerwm4 <wm4@nowhere>2013-07-18 13:49:28 +0200
commitfcdb681822891dbd0f78b6f3dcfc7786de65c695 (patch)
treee9089cf02841b59acbb6cef1a85d4761dae34997 /video/mp_image.h
parentb606a6ce1a94017ee6519d884661ef828878226a (diff)
downloadmpv-fcdb681822891dbd0f78b6f3dcfc7786de65c695.tar.bz2
mpv-fcdb681822891dbd0f78b6f3dcfc7786de65c695.tar.xz
img_format: add a mask for color class
Using the term "color class" to avoid confusion with the other colorspace related concepts. Also get rid of MP_IMGFLAG_FMT_MASK, since it was unused.
Diffstat (limited to 'video/mp_image.h')
-rw-r--r--video/mp_image.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/mp_image.h b/video/mp_image.h
index 141483eedd..85595c5705 100644
--- a/video/mp_image.h
+++ b/video/mp_image.h
@@ -63,7 +63,7 @@ struct mp_image_params {
* image data. mp_image_make_writeable() will do that copy if required.
*/
typedef struct mp_image {
- unsigned int flags;
+ unsigned int flags; // same as fmt.flags
struct mp_imgfmt_desc fmt;
// fields redundant to fmt, for convenience or compatibility