StreamInformation getFullCodec method renamed as getCodecLong
This commit is contained in:
parent
ae8367fbd6
commit
68cbf69e80
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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());
|
||||
|
||||
|
@ -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.
|
||||
|
@ -68,7 +68,7 @@ NSString* const StreamKeyTags = @"tags";
|
||||
return [self getStringProperty:StreamKeyCodec];
|
||||
}
|
||||
|
||||
- (NSString*)getFullCodec {
|
||||
- (NSString*)getCodecLong {
|
||||
return [self getStringProperty:StreamKeyCodecLong];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user