Skip to content

Commit 2509b6b

Browse files
author
Clement Champetier
committed
pyTest testTranscodeYUV420: transcode with the expected pixel format
1 parent 25b506e commit 2509b6b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/pyTest/testTranscoderTranscode.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,8 @@ def testTranscodeYUV420():
161161
customProfile[av.avProfileIdentificator] = "customProfile"
162162
customProfile[av.avProfileIdentificatorHuman] = "custom profile"
163163
customProfile[av.avProfileType] = av.avProfileTypeVideo
164-
customProfile[av.avProfileFrameRate] = "25"
165164
customProfile[av.avProfileCodec] = "mpeg2video"
166-
customProfile[av.avProfilePixelFormat] = "yuv422p"
165+
customProfile[av.avProfilePixelFormat] = "yuv420p"
167166

168167
transcoder.add( inputFileName, 0, customProfile )
169168

@@ -177,5 +176,5 @@ def testTranscodeYUV420():
177176
dst_videoStream = dst_properties.getVideoProperties()[0]
178177

179178
assert_equals( "mpeg2video", dst_videoStream.getCodecName() )
180-
assert_equals( "yuv422p", dst_videoStream.getPixelProperties().getPixelName() )
179+
assert_equals( "yuv420p", dst_videoStream.getPixelProperties().getPixelName() )
181180

0 commit comments

Comments
 (0)