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
This commit is contained in:
parent
d128f5fab1
commit
c29b56fae9
@ -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)
|
if (pgc->cell_playback[cell].block_type != BLOCK_TYPE_ANGLE_BLOCK)
|
||||||
return (cell + 1);
|
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;
|
++cell;
|
||||||
|
|
||||||
return cell + 1; /* really +1? (tpm) */
|
return cell + 1; /* really +1? (tpm) */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user