Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
ab8578b8
Commit
ab8578b8
authored
May 21, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AVI: display extra-data tags
parent
fd638b53
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
modules/demux/avi/avi.c
modules/demux/avi/avi.c
+21
-0
No files found.
modules/demux/avi/avi.c
View file @
ab8578b8
...
@@ -2568,6 +2568,27 @@ static void AVI_MetaLoad( demux_t *p_demux,
...
@@ -2568,6 +2568,27 @@ static void AVI_MetaLoad( demux_t *p_demux,
vlc_meta_Set
(
p_meta
,
p_dsc
[
i
].
i_type
,
psz_value
);
vlc_meta_Set
(
p_meta
,
p_dsc
[
i
].
i_type
,
psz_value
);
free
(
psz_value
);
free
(
psz_value
);
}
}
static
const
vlc_fourcc_t
p_extra
[]
=
{
AVIFOURCC_IARL
,
AVIFOURCC_ICMS
,
AVIFOURCC_ICRP
,
AVIFOURCC_IDIM
,
AVIFOURCC_IDPI
,
AVIFOURCC_IENG
,
AVIFOURCC_IKEY
,
AVIFOURCC_ILGT
,
AVIFOURCC_IMED
,
AVIFOURCC_IPLT
,
AVIFOURCC_IPRD
,
AVIFOURCC_ISBJ
,
AVIFOURCC_ISFT
,
AVIFOURCC_ISHP
,
AVIFOURCC_ISRC
,
AVIFOURCC_ISRF
,
AVIFOURCC_ITCH
,
AVIFOURCC_ISMP
,
AVIFOURCC_IDIT
,
0
};
for
(
int
i
=
0
;
p_extra
[
i
]
!=
0
;
i
++
)
{
avi_chunk_STRING_t
*
p_strz
=
AVI_ChunkFind
(
p_info
,
p_extra
[
i
],
0
);
if
(
!
p_strz
)
continue
;
char
*
psz_value
=
FromACP
(
p_strz
->
p_str
);
if
(
!
psz_value
)
continue
;
if
(
*
psz_value
)
vlc_meta_AddExtra
(
p_meta
,
p_strz
->
p_type
,
psz_value
);
free
(
psz_value
);
}
}
}
/*****************************************************************************
/*****************************************************************************
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment