Skip to content

Commit 8f7bf02

Browse files
author
Rajneesh Chowdury
committed
5106773 Can't export a movie - Error returned from OMX API in ducati
Video Editor engine wrongly set the profile in place of level. So level was always 1 (default value for Profile) Change-Id: I202f866d32e81869d9692174d59d9d777a772282
1 parent 890be6b commit 8f7bf02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

media/java/android/media/videoeditor/VideoEditorProfile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public static int getExportLevel(int vidCodec) {
9191
case MediaProperties.VCODEC_H263:
9292
case MediaProperties.VCODEC_H264:
9393
case MediaProperties.VCODEC_MPEG4:
94-
level = native_get_videoeditor_export_profile(vidCodec);
94+
level = native_get_videoeditor_export_level(vidCodec);
9595
break;
9696
default :
9797
throw new IllegalArgumentException("Unsupported video codec" + vidCodec);

0 commit comments

Comments
 (0)