Skip to content

Commit

Permalink
+ MXF ULs refactoring
Browse files Browse the repository at this point in the history
More ULs, especially ISXD & IAB
  • Loading branch information
JeromeMartinez committed Nov 6, 2024
1 parent 07f916a commit b7764f0
Show file tree
Hide file tree
Showing 17 changed files with 13,956 additions and 6,236 deletions.
1 change: 1 addition & 0 deletions Project/CodeBlocks/Library/MediaInfoLib.cbp
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@
<Unit filename="..\..\..\Source\MediaInfo\Multiple\File_Mpeg_Psi.h" />
<Unit filename="..\..\..\Source\MediaInfo\Multiple\File_Mxf.cpp" />
<Unit filename="..\..\..\Source\MediaInfo\Multiple\File_Mxf.h" />
<Unit filename="..\..\..\Source\MediaInfo\Multiple\File_Mxf_Automated.h" />
<Unit filename="..\..\..\Source\MediaInfo\Multiple\File_Nsv.cpp" />
<Unit filename="..\..\..\Source\MediaInfo\Multiple\File_Nsv.h" />
<Unit filename="..\..\..\Source\MediaInfo\Multiple\File_Ogg.cpp" />
Expand Down
3 changes: 3 additions & 0 deletions Project/MSVC2013/Library/MediaInfoLib.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -1603,5 +1603,8 @@
<ClInclude Include="..\..\..\Source\MediaInfo\Text\File_Pac_Codepages.h">
<Filter>Header Files\Text</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\MediaInfo\Multiple\File_Mxf_Automated.h">
<Filter>Header Files\Multiple</Filter>
</ClInclude>
</ItemGroup>
</Project>
3 changes: 3 additions & 0 deletions Project/MSVC2015/Library/MediaInfoLib.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -1603,5 +1603,8 @@
<ClInclude Include="..\..\..\Source\MediaInfo\Text\File_Pac_Codepages.h">
<Filter>Header Files\Text</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\MediaInfo\Multiple\File_Mxf_Automated.h">
<Filter>Header Files\Multiple</Filter>
</ClInclude>
</ItemGroup>
</Project>
3 changes: 3 additions & 0 deletions Project/MSVC2017/Library/MediaInfoLib.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -1603,5 +1603,8 @@
<ClInclude Include="..\..\..\Source\MediaInfo\Text\File_Pac_Codepages.h">
<Filter>Header Files\Text</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\MediaInfo\Multiple\File_Mxf_Automated.h">
<Filter>Header Files\Multiple</Filter>
</ClInclude>
</ItemGroup>
</Project>
3 changes: 3 additions & 0 deletions Project/MSVC2019/Library/MediaInfoLib.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -1603,5 +1603,8 @@
<ClInclude Include="..\..\..\Source\MediaInfo\Text\File_Pac_Codepages.h">
<Filter>Header Files\Text</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\MediaInfo\Multiple\File_Mxf_Automated.h">
<Filter>Header Files\Multiple</Filter>
</ClInclude>
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions Project/MSVC2022/Library/MediaInfoLib.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,7 @@
<ClInclude Include="..\..\..\Source\MediaInfo\Multiple\File_Ism.h" />
<ClInclude Include="..\..\..\Source\MediaInfo\Multiple\File_Ivf.h" />
<ClInclude Include="..\..\..\Source\MediaInfo\Multiple\File_Lxf.h" />
<ClInclude Include="..\..\..\Source\MediaInfo\Multiple\File_Mxf_Automated.h" />
<ClInclude Include="..\..\..\Source\MediaInfo\Multiple\File_Nsv.h" />
<ClInclude Include="..\..\..\Source\MediaInfo\Multiple\File_P2_Clip.h" />
<ClInclude Include="..\..\..\Source\MediaInfo\Multiple\File_Pmp.h" />
Expand Down
3 changes: 3 additions & 0 deletions Project/MSVC2022/Library/MediaInfoLib.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -1603,5 +1603,8 @@
<ClInclude Include="..\..\..\Source\MediaInfo\Text\File_Pac_Codepages.h">
<Filter>Header Files\Text</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\MediaInfo\Multiple\File_Mxf_Automated.h">
<Filter>Header Files\Multiple</Filter>
</ClInclude>
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions Project/Qt/MediaInfoLib.pro
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ HEADERS += \
../../Source/MediaInfo/Multiple/File_MpegPs.h \
../../Source/MediaInfo/Multiple/File_MpegTs.h \
../../Source/MediaInfo/Multiple/File_Mxf.h \
../../Source/MediaInfo/Multiple/File_Mxf_Automated.h \
../../Source/MediaInfo/Multiple/File_Nut.h \
../../Source/MediaInfo/Multiple/File_Ogg.h \
../../Source/MediaInfo/Multiple/File_Ogg_SubElement.h \
Expand Down
2 changes: 2 additions & 0 deletions Source/MediaInfo/File__Analyse_Automatic.h
Original file line number Diff line number Diff line change
Expand Up @@ -1538,8 +1538,10 @@ enum other
Other_Format_Profile,
Other_Format_Compression,
Other_Format_Settings,
Other_Format_Settings_Wrapping,
Other_Format_AdditionalFeatures,
Other_MuxingMode,
Other_MuxingMode_MoreInfo,
Other_CodecID,
Other_CodecID_String,
Other_CodecID_Info,
Expand Down
11 changes: 11 additions & 0 deletions Source/MediaInfo/File__Analyze_Streams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,11 @@ void File__Analyze::Get_LightLevel(Ztring &MaxCLL, Ztring &MaxFALL, int32u Divis
//---------------------------------------------------------------------------
size_t File__Analyze::Stream_Prepare (stream_t KindOfStream, size_t StreamPos)
{
if (KindOfStream == Stream_Video && Count_Get(Stream_Video) == 1)
int A = 0;
if (KindOfStream == Stream_Other)
int A = 0;

//Integrity
if (KindOfStream>Stream_Max)
return Error;
Expand Down Expand Up @@ -871,6 +876,9 @@ bool ShowSource_IsInList(video Value)
//---------------------------------------------------------------------------
void File__Analyze::Fill (stream_t StreamKind, size_t StreamPos, size_t Parameter, const Ztring &Value, bool Replace)
{
if (StreamKind == Stream_Audio && Parameter == Audio_Format_Settings_Wrapping)
int A = 0;

// Sanitize
if (!Value.empty())
{
Expand Down Expand Up @@ -1712,6 +1720,9 @@ void File__Analyze::Fill_Measure(stream_t StreamKind, size_t StreamPos, const ch
//---------------------------------------------------------------------------
void File__Analyze::Fill (stream_t StreamKind, size_t StreamPos, const char* Parameter, const Ztring &Value, bool Replace)
{
if (string(Parameter) == "ovn_creation")
int A = 0;

//Integrity
if (StreamKind>Stream_Max || Parameter==NULL || Parameter[0]=='\0')
return;
Expand Down
2 changes: 2 additions & 0 deletions Source/MediaInfo/MediaInfo_Config_Automatic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5691,8 +5691,10 @@ void MediaInfo_Config_Other (ZtringListList &Info)
"Format_Profile;;;Y NTY\n"
"Format_Compression;;;Y NTY\n"
"Format_Settings;;;Y NTY\n"
"Format_Settings_Wrapping;;;Y YTY\n"
"Format_AdditionalFeatures;;;N YTY\n"
"MuxingMode;;;Y YTY\n"
"MuxingMode_MoreInfo;;;Y NT\n"
"CodecID;;;Y YTY\n"
"CodecID/String;;;Y NT\n"
"CodecID/Info;;;Y NT\n"
Expand Down
Loading

0 comments on commit b7764f0

Please sign in to comment.