diff options
author | cehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2011-02-20 18:07:48 +0000 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-04-12 18:43:52 +0300 |
commit | 76bc0055806ec9a0beb6f4631d072da99823094a (patch) | |
tree | 9c7c279bba7c8895f2f8b0e160ec568fe7578b36 /stream | |
parent | c246c09b0398e3a5a74b61ee40788a7508f54de3 (diff) |
stream_dvdnav: don't skip last title for dvdnav:// -identify
Patch by Mike Castle, dalgoda+mplayer gmail
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32944 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r-- | stream/stream_dvdnav.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_dvdnav.c b/stream/stream_dvdnav.c index 21522f8b6b..b6b8df4fc3 100644 --- a/stream/stream_dvdnav.c +++ b/stream/stream_dvdnav.c @@ -524,7 +524,7 @@ static void identify(dvdnav_priv_t *priv, struct stream_priv_s *p) uint32_t titles=0, i; if(p->track <= 0) { dvdnav_get_number_of_titles(priv->dvdnav, &titles); - for(i=0; i<titles; i++) + for(i=1; i<=titles; i++) identify_chapters(priv->dvdnav, i); } else |