X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FTizen.Multimedia.MediaCodec%2FMediaCodec%2FMediaCodec.cs;h=f4b3f1fc743e926acfcf4ed660fe24d7311861f7;hb=refs%2Ftags%2Fsubmit%2Ftizen%2F20170928.150026;hp=b01f2452a39c515ce57048a5d72163ff9aa42236;hpb=973ec6e3ba15097e51ccb988ab6be17a6ed7ddfa;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git
diff --git a/src/Tizen.Multimedia.MediaCodec/MediaCodec/MediaCodec.cs b/src/Tizen.Multimedia.MediaCodec/MediaCodec/MediaCodec.cs
index b01f245..f4b3f1f 100644
--- a/src/Tizen.Multimedia.MediaCodec/MediaCodec/MediaCodec.cs
+++ b/src/Tizen.Multimedia.MediaCodec/MediaCodec/MediaCodec.cs
@@ -53,6 +53,12 @@ namespace Tizen.Multimedia.MediaCodec
#region IDisposable-support
private bool _isDisposed = false;
+ ///
+ /// Releases the resources used by the object.
+ ///
+ ///
+ /// true to release both managed and unmanaged resources; false to release only unmanaged resources.
+ ///
protected virtual void Dispose(bool disposing)
{
if (!_isDisposed)
@@ -72,6 +78,9 @@ namespace Tizen.Multimedia.MediaCodec
Dispose(false);
}
+ ///
+ /// Releases all resources used by the object.
+ ///
public void Dispose()
{
Dispose(true);
@@ -343,7 +352,7 @@ namespace Tizen.Multimedia.MediaCodec
/// Adds the packet to the internal queue of the codec.
///
/// The packet to be encoded or decoded.
- /// is null.
+ /// is null.
/// The current codec is not prepared yet.
/// Any attempts to modify the packet will fail until the event for the packet is invoked.
public void ProcessInput(MediaPacket packet)
@@ -385,7 +394,7 @@ namespace Tizen.Multimedia.MediaCodec
/// The value indicating encoder or decoder.
/// The mime type to query.
/// The values indicating which codec types are supported on the current device.
- /// is invalid.
+ /// is invalid.
public MediaCodecTypes GetCodecType(bool encoder, MediaFormatVideoMimeType type)
{
ValidateNotDisposed();
@@ -404,7 +413,7 @@ namespace Tizen.Multimedia.MediaCodec
/// The value indicating encoder or decoder.
/// The mime type to query.
/// The values indicating which codec types are supported on the current device.
- /// is invalid.
+ /// is invalid.
public MediaCodecTypes GetCodecType(bool encoder, MediaFormatAudioMimeType type)
{
ValidateNotDisposed();