From: Bert Vermeulen Date: Fri, 30 Oct 2015 15:41:30 +0000 (+0100) Subject: Remove obsolete SR_INPUT_META_MIMETYPE metadata key. X-Git-Tag: libsigrok-0.4.0~136 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=d09a82a8fe04f9554f99c5141dd9eb7552612156;p=libsigrok.git Remove obsolete SR_INPUT_META_MIMETYPE metadata key. This was never really implemented, since getting the mimetype of a file or stream in a cross-platform way is a gigantic tangle. --- diff --git a/src/libsigrok-internal.h b/src/libsigrok-internal.h index 0e516e93..4f44b53b 100644 --- a/src/libsigrok-internal.h +++ b/src/libsigrok-internal.h @@ -223,8 +223,6 @@ enum sr_input_meta_keys { SR_INPUT_META_FILESIZE = 0x02, /** The first 128 bytes of the file, provided as a GString. */ SR_INPUT_META_HEADER = 0x04, - /** The file's MIME type. */ - SR_INPUT_META_MIMETYPE = 0x08, /** The module cannot identify a file without this metadata. */ SR_INPUT_META_REQUIRED = 0x80, @@ -280,7 +278,6 @@ struct sr_input_module { * SR_INPUT_META_FILENAME * SR_INPUT_META_FILESIZE * SR_INPUT_META_HEADER - * SR_INPUT_META_MIMETYPE * * If the high bit (SR_INPUT META_REQUIRED) is set, the module cannot * identify a stream without the given metadata.