| Summary: | incorrect audio channel indexing | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] phonon-backend-vlc | Reporter: | siyuan cao <sycao> |
| Component: | general | Assignee: | Harald Sitter <sitter> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bcooksley, fabo, jb, martin.sandsmark, myriam |
| Priority: | NOR | ||
| Version First Reported In: | 0.4-git | ||
| Target Milestone: | 0.4.2 | ||
| Platform: | Unlisted Binaries | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 0.5 | |
| Sentry Crash Report: | |||
|
Description
siyuan cao
2011-08-24 03:20:29 UTC
Related review request: https://git.reviewboard.kde.org/r/102298/ Might be broken by the same way https://projects.kde.org/projects/kdesupport/phonon/phonon-vlc/repository/revisions/master/entry/src/mediacontroller.cpp#L322 is broken. Are you sure that your approach works for all sorts of audio channel enumerations (MKVs with audio, DVDs ...)? I can't say 100% sure when I have only checked some .mov, .mp4, .mkv files. however I've looked into vlc source code, and libvlc_audio_set_track( libvlc_media_player_t *p_mi, int i_track ) proves that libvlc use simply array index for track. ref: http://git.videolan.org/?p=vlc.git;a=blob;f=src/control/audio.c;h=c7d1ba125f0cd12e5c2061e341e1e336f1a3022d;hb=HEAD This should be fixed in git master now. I added it to the a major refactoring I did over the past days. Git commit 50f820c19c4986fe723a1c5f9be28cfd135d9154 by Harald Sitter. Committed on 29/08/2011 at 12:06. Pushed by sitter into branch 'master'. Fix refreshAudioChannels No idea how that slipped the refactor. REVIEW: 102298 BUG: 280681 FIXED-IN: 0.5 M +5 -1 src/mediacontroller.cpp http://commits.kde.org/phonon-vlc/50f820c19c4986fe723a1c5f9be28cfd135d9154 |