Commit 3fd064cf authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

AVI: support IFRM as TotalTrack

parent f659b744
...@@ -2542,6 +2542,7 @@ static void AVI_MetaLoad( demux_t *p_demux, ...@@ -2542,6 +2542,7 @@ static void AVI_MetaLoad( demux_t *p_demux,
{ AVIFOURCC_IRTD, vlc_meta_Rating }, { AVIFOURCC_IRTD, vlc_meta_Rating },
{ AVIFOURCC_IWEB, vlc_meta_URL }, { AVIFOURCC_IWEB, vlc_meta_URL },
{ AVIFOURCC_IPRT, vlc_meta_TrackNumber }, { AVIFOURCC_IPRT, vlc_meta_TrackNumber },
{ AVIFOURCC_IFRM, vlc_meta_TrackTotal },
{ 0, -1 } { 0, -1 }
}; };
for( int i = 0; p_dsc[i].i_id != 0; i++ ) for( int i = 0; p_dsc[i].i_id != 0; i++ )
...@@ -2565,7 +2566,7 @@ static void AVI_MetaLoad( demux_t *p_demux, ...@@ -2565,7 +2566,7 @@ static void AVI_MetaLoad( demux_t *p_demux,
AVIFOURCC_ISRF, AVIFOURCC_ITCH, AVIFOURCC_ISMP, AVIFOURCC_IDIT, AVIFOURCC_ISGN, AVIFOURCC_ISRF, AVIFOURCC_ITCH, AVIFOURCC_ISMP, AVIFOURCC_IDIT, AVIFOURCC_ISGN,
AVIFOURCC_IWRI, AVIFOURCC_IPRO, AVIFOURCC_ICNM, AVIFOURCC_IPDS, AVIFOURCC_IEDT, AVIFOURCC_IWRI, AVIFOURCC_IPRO, AVIFOURCC_ICNM, AVIFOURCC_IPDS, AVIFOURCC_IEDT,
AVIFOURCC_ICDS, AVIFOURCC_IMUS, AVIFOURCC_ISTD, AVIFOURCC_IDST, AVIFOURCC_ICNT, AVIFOURCC_ICDS, AVIFOURCC_IMUS, AVIFOURCC_ISTD, AVIFOURCC_IDST, AVIFOURCC_ICNT,
AVIFOURCC_ISTR, AVIFOURCC_IFRM, 0, AVIFOURCC_ISTR, 0,
}; };
for( int i = 0; p_extra[i] != 0; i++ ) for( int i = 0; p_extra[i] != 0; i++ )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment