Mercurial > libavformat.hg
changeset 4018:0c2f650d31bb libavformat
Electronic Arts demuxer: support TGQ video tags
author | pross |
---|---|
date | Sat, 08 Nov 2008 00:39:31 +0000 |
parents | b2a3ed76122e |
children | a2539db62994 |
files | electronicarts.c |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/electronicarts.c Thu Nov 06 01:57:17 2008 +0000 +++ b/electronicarts.c Sat Nov 08 00:39:31 2008 +0000 @@ -47,6 +47,8 @@ #define mTCD_TAG MKTAG('m', 'T', 'C', 'D') /* MDEC */ #define MADk_TAG MKTAG('M', 'A', 'D', 'k') /* MAD i-frame */ #define MPCh_TAG MKTAG('M', 'P', 'C', 'h') /* MPEG2 */ +#define TGQs_TAG MKTAG('T', 'G', 'Q', 's') /* TGQ i-frame (appears in .TGQ files) */ +#define pQGT_TAG MKTAG('p', 'Q', 'G', 'T') /* TGQ i-frame (appears in .UV files) */ #define MVhd_TAG MKTAG('M', 'V', 'h', 'd') #define MV0K_TAG MKTAG('M', 'V', '0', 'K') #define MV0F_TAG MKTAG('M', 'V', '0', 'F') @@ -341,6 +343,11 @@ ea->video_codec = CODEC_ID_MPEG2VIDEO; break; + case pQGT_TAG: + case TGQs_TAG: + ea->video_codec = CODEC_ID_TGQ; + break; + case MVhd_TAG : err = process_video_header_vp6(s); break; @@ -497,6 +504,8 @@ case MVIh_TAG: case kVGT_TAG: + case pQGT_TAG: + case TGQs_TAG: key = PKT_FLAG_KEY; case MVIf_TAG: case fVGT_TAG: