Yup. subtitles in mkv's start at 0 also.

Evan

On 12/23/06, SourceForge.net <[EMAIL PROTECTED]> wrote:
> Bugs item #1619058, was opened at 2006-12-19 22:10
> Message generated for change (Comment added) made by reudeudeu
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1619058&group_id=46652
>
> Please note that this message will contain a full copy of the comment thread,
> including the initial issue submission, for this request,
> not just the latest update.
> Category: players
> Group: 1.7.0
> >Status: Open
> Resolution: Accepted
> Priority: 5
> Private: No
> Submitted By: Sylvain FABRE (reudeudeu)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: mplayer.py bug (and patch)
>
> Initial Comment:
> The management of the -aid option in mplayer.py is not correct with mkv 
> (Matroska file). To make it work, replace the lines 192 with :
>
> if item.selected_audio != None:
>     if item.mimetype == 'mkv':
>        additionnal_args += [ '-aid', str(item.selected_audio-1) ]
>     else:
>        additionnal_args += [ '-aid', str(item.selected_audio) ]
>
> This will allow selection of the first audio track (numbered from 0 in MKV 
> case).
>
> ----------------------------------------------------------------------
>
> >Comment By: Sylvain FABRE (reudeudeu)
> Date: 2006-12-23 09:25
>
> Message:
> Logged In: YES
> user_id=334676
> Originator: YES
>
> Thnaks, i will try it next week.
> BTW i suspect that this is the same for subtitles streams (ie numbered
> from 0), i will check that next week also.
>
> ----------------------------------------------------------------------
>
> Comment By: Duncan Webb (duncanwebb)
> Date: 2006-12-20 00:18
>
> Message:
> Logged In: YES
> user_id=104395
> Originator: NO
>
> Thanks for this.
>
> Your patch has been appled to rel-1-6 at r8747 and rel-1 at r8748
>
> ----------------------------------------------------------------------
>
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1619058&group_id=46652
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Freevo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to