mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-04 15:19:57 +00:00
Fix getting MediaCodecList static methods
This commit is contained in:
parent
5de00b9ffb
commit
26ea6d7fbb
1 changed files with 2 additions and 2 deletions
|
@ -84,7 +84,7 @@ gst_amc_codeclist_static_init (void)
|
|||
}
|
||||
|
||||
media_codeclist.get_codec_count =
|
||||
gst_amc_jni_get_method_id (env, &err, media_codeclist.klass,
|
||||
gst_amc_jni_get_static_method_id (env, &err, media_codeclist.klass,
|
||||
"getCodecCount", "()I");
|
||||
if (!media_codeclist.get_codec_count) {
|
||||
GST_ERROR ("Failed to get android.media.MediaCodecList getCodecCount(): %s",
|
||||
|
@ -94,7 +94,7 @@ gst_amc_codeclist_static_init (void)
|
|||
}
|
||||
|
||||
media_codeclist.get_codec_info_at =
|
||||
gst_amc_jni_get_method_id (env, &err, media_codeclist.klass,
|
||||
gst_amc_jni_get_static_method_id (env, &err, media_codeclist.klass,
|
||||
"getCodecInfoAt", "(I)Landroid/media/MediaCodecInfo;");
|
||||
if (!media_codeclist.get_codec_count) {
|
||||
GST_ERROR
|
||||
|
|
Loading…
Reference in a new issue