Commit a2aa3626 authored by Felix Paul Kühne's avatar Felix Paul Kühne

Fix runtime exception

parent ddc48247
......@@ -110,7 +110,8 @@
if (trackInfo) {
[trackInfo setValue:track[VLCMediaTracksInformationBitrate] forKey:@"bitrate"];
[trackInfo setValue:track[VLCMediaTracksInformationCodec] forKey:@"codec"];
[trackInfo setValue:[track[VLCMediaTracksInformationCodec] stringValue] forKey:@"codec"];
[trackInfo setValue:track[VLCMediaTracksInformationCodec] forKey:@"codecFourCC"];
[trackInfo setValue:track[VLCMediaTracksInformationCodecLevel] forKey:@"codecLevel"];
[trackInfo setValue:track[VLCMediaTracksInformationCodecProfile] forKey:@"codecProfile"];
[trackInfo setValue:track[VLCMediaTracksInformationLanguage] forKey:@"language"];
......
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