Skip to content

Commit

Permalink
[MetadataExtractor] Add a StitchedContent360 metadata API
Browse files Browse the repository at this point in the history
  • Loading branch information
hsgwon committed Aug 27, 2024
1 parent d9b4f92 commit 869dad8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Tizen.Multimedia.Metadata/MetadataExtractor/Metadata.cs
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ internal Metadata(MetadataExtractor extractor)
DateRecorded = extractor.GetMetadata(MetadataExtractorAttr.RecordingDate);
Rotation = extractor.GetMetadata(MetadataExtractorAttr.Rotate);
Content360 = extractor.GetMetadata(MetadataExtractorAttr.ContentFor360);
StitchedContent360 = extractor.GetMetadata(MetadataExtractorAttr.StitchedContentFor360);

_description = new Lazy<string>(() => ObjectDescriptionBuilder.BuildWithProperties(this));
}
Expand Down Expand Up @@ -402,6 +403,16 @@ internal Metadata(MetadataExtractor extractor)
/// <value>A string representing the information for 360 content, or null if the information does not exist.</value>
public string Content360 { get; }

/// <summary>
/// Gets the information for stitched 360 content of the media.
/// </summary>
/// <value>
/// 0:None, 1:Non-stitched, 2:stitched
/// </value>
/// <since_tizen> 12 </since_tizen>
/// <value>A string representing the information for stitched 360 content, or null if the information does not exist.</value>
public string StitchedContent360 { get; }

private Lazy<string> _description;

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@ internal enum MetadataExtractorAttr
VideoCodec,
AudioCodec,
ContentFor360,
StitchedContentFor360,
}
}

0 comments on commit 869dad8

Please sign in to comment.