Skip to content

Commit

Permalink
fix(mediainfo): Fix example code for API change.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkl1337 committed May 11, 2015
1 parent 381a7e1 commit 7ab7a0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/howtouse/howtouse.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func main() {
strconv.FormatInt(int64(mi.Count(mediainfo.StreamAudio)), 10))

s = append(s, "\nGet with Stream=General and Parameter=46\n",
mi.GetAt(mediainfo.StreamGeneral, 0, 46, mediainfo.InfoText))
mi.GetI(mediainfo.StreamGeneral, 0, 46, mediainfo.InfoText))

s = append(s, "\nGet with Stream=General and Parameter=\"AudioCount\"\n",
mi.GetKind(mediainfo.StreamGeneral, 0, "AudioCount", mediainfo.InfoText))
Expand Down

0 comments on commit 7ab7a0f

Please sign in to comment.