ext/mpeg2dec/gstmpeg2dec.c: Fix initialisation dummy buffer, the offsets are relative to the start of the buffers. Fi...

Original commit message from CVS:
Patch by: Yves Lefebvre <ivanohe at abacom dot com>
* ext/mpeg2dec/gstmpeg2dec.c: (init_dummybuf):
Fix initialisation dummy buffer, the offsets are relative to the start
of the buffers. Fixes #356004.
This commit is contained in:
Yves Lefebvre 2006-09-15 16:14:15 +00:00 committed by Wim Taymans
parent d7ef17d7d2
commit e0a6d03502
3 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,11 @@
2006-09-15 Wim Taymans <wim@fluendo.com>
Patch by: Yves Lefebvre <ivanohe at abacom dot com>
* ext/mpeg2dec/gstmpeg2dec.c: (init_dummybuf):
Fix initialisation dummy buffer, the offsets are relative to the start
of the buffers. Fixes #356004.
2006-09-09 Tim-Philipp Müller <tim at centricular dot net>
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_read):

2
common

@ -1 +1 @@
Subproject commit d287125f93da692bc25d53b0b7b0e2f90424a212
Subproject commit a8c15b7a2c75fc2bd83850cb17cb05a1ee84ecaf

View file

@ -593,7 +593,7 @@ init_dummybuf (GstMpeg2dec * mpeg2dec)
mpeg2dec->dummybuf[0] = g_malloc (mpeg2dec->size);
mpeg2dec->dummybuf[1] = mpeg2dec->dummybuf[0] + mpeg2dec->u_offs;
mpeg2dec->dummybuf[2] = mpeg2dec->dummybuf[1] + mpeg2dec->v_offs;
mpeg2dec->dummybuf[2] = mpeg2dec->dummybuf[0] + mpeg2dec->v_offs;
}
static GstFlowReturn