ext/dvdread/dvdreadsrc.c: Make titles > 0 work again (fixes #154834).

Original commit message from CVS:
Reviewed by: Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/dvdread/dvdreadsrc.c: (_read):
Make titles > 0 work again (fixes #154834).
This commit is contained in:
Ronald S. Bultje 2004-10-09 20:43:35 +00:00
parent d94eec2e18
commit 39563847c3
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2004-10-09 Tim-Philipp Müller <t.i.m@zen.co.uk>
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* ext/dvdread/dvdreadsrc.c: (_read):
Make titles > 0 work again (fixes #154834).
2004-10-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net> 2004-10-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst-libs/gst/riff/riff-media.c: * gst-libs/gst/riff/riff-media.c:

View file

@ -467,7 +467,7 @@ _read (DVDReadSrcPrivate * priv, int angle, int new_seek, GstBuffer * buf)
priv->cur_cell = priv->start_cell; priv->cur_cell = priv->start_cell;
} }
if (priv->next_cell < priv->cur_pgc->nr_of_cells) { if (priv->cur_cell < priv->cur_pgc->nr_of_cells) {
if (priv->new_cell) if (priv->new_cell)
priv->cur_cell = priv->next_cell; priv->cur_cell = priv->next_cell;