Skip to content

Commit cfdc32d

Browse files
fix getVideoDesc from InputStream not InputStreamVideo
1 parent fe1a073 commit cfdc32d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/avTranscoder/avTranscoder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ void transcodeVideo( const char* inputfilename, const char* outputFilename )
2929

3030
// init video decoders
3131
InputStreamVideo inputStreamVideo( input.getStream( 0 ) );
32-
Image sourceImage( inputStreamVideo.getVideoDesc().getImageDesc() );
32+
Image sourceImage( input.getStream( 0 ).getVideoDesc().getImageDesc() );
3333

3434
// init video encoder
3535
OutputStreamVideo outputStreamVideo;

0 commit comments

Comments
 (0)