Attempt to add MJPEG support

Origin commit data
------------------
Branch: master
Commit: 6ef502de30
Author: samsamsam <samsamsam@o2.pl>
Date: 2019-02-02 (Sat, 02 Feb 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
samsamsam
2019-02-02 18:53:58 +01:00
committed by max_10
parent d690655ba0
commit 3efa9baa81
7 changed files with 157 additions and 1 deletions

View File

@@ -305,7 +305,9 @@ static char *Codec2Encoding(int32_t codec_id, int32_t media_type, uint8_t *extra
case AV_CODEC_ID_MPEG1VIDEO:
return "V_MPEG1";
case AV_CODEC_ID_MPEG2VIDEO:
return "V_MPEG1";
return "V_MPEG2";
case AV_CODEC_ID_MJPEG:
return "V_MJPEG";
case AV_CODEC_ID_H263:
case AV_CODEC_ID_H263P:
case AV_CODEC_ID_H263I: