StreamInformation getFullCodec method renamed as getCodecLong

pull/161/head
Taner Sener 4 years ago
parent ae8367fbd6
commit 68cbf69e80
  1. 4
      android/ffmpeg-kit-android-lib/src/main/java/com/arthenica/ffmpegkit/StreamInformation.java
  2. 6
      android/ffmpeg-kit-android-lib/src/test/java/com/arthenica/ffmpegkit/FFmpegKitTest.java
  3. 4
      apple/src/StreamInformation.h
  4. 2
      apple/src/StreamInformation.m

@ -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…
Cancel
Save