StreamInformation getFullCodec method renamed as getCodecLong

This commit is contained in:
Taner Sener 2021-09-15 15:54:31 +01:00
parent ae8367fbd6
commit 68cbf69e80
4 changed files with 8 additions and 8 deletions

View File

@ -83,11 +83,11 @@ public class StreamInformation {
}
/**
* Returns full stream codec.
* Returns stream codec in long format.
*
* @return stream codec with additional profile and mode information
*/
public String getFullCodec() {
public String getCodecLong() {
return getStringProperty(KEY_CODEC_LONG);
}

View File

@ -703,7 +703,7 @@ public class FFmpegKitTest {
Assert.assertEquals(type, streamInformation.getType());
Assert.assertEquals(codec, streamInformation.getCodec());
Assert.assertEquals(fullCodec, streamInformation.getFullCodec());
Assert.assertEquals(fullCodec, streamInformation.getCodecLong());
Assert.assertEquals(bitrate, streamInformation.getBitrate());
}
@ -713,7 +713,7 @@ public class FFmpegKitTest {
Assert.assertEquals("audio", streamInformation.getType());
Assert.assertEquals(codec, streamInformation.getCodec());
Assert.assertEquals(fullCodec, streamInformation.getFullCodec());
Assert.assertEquals(fullCodec, streamInformation.getCodecLong());
Assert.assertEquals(sampleRate, streamInformation.getSampleRate());
Assert.assertEquals(channelLayout, streamInformation.getChannelLayout());
@ -726,7 +726,7 @@ public class FFmpegKitTest {
Assert.assertEquals("video", streamInformation.getType());
Assert.assertEquals(codec, streamInformation.getCodec());
Assert.assertEquals(fullCodec, streamInformation.getFullCodec());
Assert.assertEquals(fullCodec, streamInformation.getCodecLong());
Assert.assertEquals(format, streamInformation.getFormat());

View File

@ -70,11 +70,11 @@ extern NSString* const StreamKeyTags;
- (NSString*)getCodec;
/**
* Returns full stream codec.
* Returns stream codec in long format.
*
* @return stream codec with additional profile and mode information
*/
- (NSString*)getFullCodec;
- (NSString*)getCodecLong;
/**
* Returns stream format.

View File

@ -68,7 +68,7 @@ NSString* const StreamKeyTags = @"tags";
return [self getStringProperty:StreamKeyCodec];
}
- (NSString*)getFullCodec {
- (NSString*)getCodecLong {
return [self getStringProperty:StreamKeyCodecLong];
}