* Handle the "mpegvideo" format name.
This commit is contained in:
parent
8e2d9a72e6
commit
1d56e95f94
@ -1044,9 +1044,9 @@ GetVideoMetadata(const char * path, char * name)
|
||||
{
|
||||
if( strcmp(ctx->iformat->name, "avi") == 0 )
|
||||
asprintf(&m.mime, "video/x-msvideo");
|
||||
else if( strcmp(ctx->iformat->name, "mpegts") == 0 )
|
||||
asprintf(&m.mime, "video/mpeg");
|
||||
else if( strcmp(ctx->iformat->name, "mpeg") == 0 )
|
||||
else if( strcmp(ctx->iformat->name, "mpegts") == 0 ||
|
||||
strcmp(ctx->iformat->name, "mpeg") == 0 ||
|
||||
strcmp(ctx->iformat->name, "mpegvideo") == 0 )
|
||||
asprintf(&m.mime, "video/mpeg");
|
||||
else if( strcmp(ctx->iformat->name, "asf") == 0 )
|
||||
asprintf(&m.mime, "video/x-ms-wmv");
|
||||
|
Loading…
x
Reference in New Issue
Block a user