From c29b56fae9c52f90569e24da42b9c4b95405b059 Mon Sep 17 00:00:00 2001 From: Thomas Green Date: Sat, 13 Nov 2010 12:34:37 +0000 Subject: [PATCH] dvdreadsrc: fix handling of multi-angle streams We would output all angles interleaved instead of just the selected angle. https://bugzilla.gnome.org/show_bug.cgi?id=539254 --- ext/dvdread/dvdreadsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/dvdread/dvdreadsrc.c b/ext/dvdread/dvdreadsrc.c index 1eb298defb..a63fa35092 100644 --- a/ext/dvdread/dvdreadsrc.c +++ b/ext/dvdread/dvdreadsrc.c @@ -617,7 +617,7 @@ gst_dvd_read_src_get_next_cell (GstDvdReadSrc * src, pgc_t * pgc, gint cell) if (pgc->cell_playback[cell].block_type != BLOCK_TYPE_ANGLE_BLOCK) return (cell + 1); - while (pgc->cell_playback[cell].block_mode == BLOCK_MODE_LAST_CELL) + while (pgc->cell_playback[cell].block_mode != BLOCK_MODE_LAST_CELL) ++cell; return cell + 1; /* really +1? (tpm) */