Change hachoir targa and mpeg_ts mime parser tags so they validate.

This commit is contained in:
JackDandy 2018-03-28 11:55:21 +01:00
parent f0ffe9be12
commit 39f53bcea5
3 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,6 @@
### 0.16.0 (2018-xx-xx xx:xx:xx UTC)
* Change hachoir targa and mpeg_ts mime parser tags so they validate
* Update backports/ssl_match_hostname 3.5.0.1 (r18) to 3.7.0.1 (r28)
* Update cachecontrol library 0.12.3 (db54c40) to 0.12.4 (bd94f7e)
* Update chardet packages 3.0.4 (9b8c5c2) to 4.0.0 (b3d867a)

View file

@ -45,7 +45,7 @@ class TargaFile(Parser):
"id": "targa",
"category": "image",
"file_ext": ("tga",),
"mime": ("image/targa", "image/tga", "image/x-tga"),
"mime": (u"image/targa", u"image/tga", u"image/x-tga"),
"min_size": 18 * 8,
"description": "Truevision Targa Graphic (TGA)"
}

View file

@ -125,7 +125,7 @@ class MPEG_TS(Parser):
"category": "video",
"file_ext": ("ts", "m2ts", "mts"),
"min_size": 188 * 8,
"mime": ("video/MP2T",),
"mime": (u"video/MP2T",),
"description": u"MPEG-2 Transport Stream"
}
endian = BIG_ENDIAN