Commit 82ded4e4 authored by Paulo Vitor Magacho da Silva's avatar Paulo Vitor Magacho da Silva Committed by Jean-Baptiste Kempf
Browse files

Added bitrate information to TrackInfo class.

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent 2ced0955
......@@ -161,6 +161,7 @@ jobjectArray read_track_info_internal(JNIEnv *env, jobject thiz, libvlc_media_t*
setInt(env, item, "Type", p_tracks[i]->i_type);
setString(env, item, "Codec", (const char*)vlc_fourcc_GetDescription(0,p_tracks[i]->i_codec));
setString(env, item, "Language", p_tracks[i]->psz_language);
setInt(env, item, "Bitrate", p_tracks[i]->i_bitrate);
if (p_tracks[i]->i_type == libvlc_track_video)
......@@ -32,6 +32,7 @@ public class TrackInfo {
public int Id;
public String Codec;
public String Language;
public int Bitrate;
/* Video */
public int Height;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment