# HG changeset patch # User paulo@twcdns.fastsearch.net # Date 1285654404 25200 # Node ID ec2f201219ff41281fe83c3cffaf04c95bc56149 # Parent 3d971e53bcd5a38c08f40c2fc8df1cafb92bed03 add start title parameter diff -r 3d971e53bcd5 -r ec2f201219ff menus.c --- a/menus.c Fri Nov 13 01:01:20 2009 -0800 +++ b/menus.c Mon Sep 27 23:13:24 2010 -0700 @@ -79,6 +79,11 @@ return 2; } + /* start at title, if specified */ + if (argc > 1) { + int start_title = atoi(argv[1]); + dvdnav_title_play(dvdnav, start_title); + } /* the read loop which regularly calls dvdnav_get_next_block * and handles the returned events */