video-converter: there is no need to apply x offset to temp lines
This commit is contained in:
parent
1a3e8395bb
commit
d001b10f29
@ -417,8 +417,7 @@ get_temp_line (GstLineCache * cache, gint idx, gpointer user_data)
|
||||
gpointer tmpline;
|
||||
|
||||
GST_DEBUG ("get temp line %d", idx);
|
||||
tmpline = (guint8 *) convert->tmplines[convert->tmplines_idx] +
|
||||
(convert->out_x * convert->pack_pstride);
|
||||
tmpline = (guint8 *) convert->tmplines[convert->tmplines_idx];
|
||||
convert->tmplines_idx = (convert->tmplines_idx + 1) % convert->n_tmplines;
|
||||
|
||||
return tmpline;
|
||||
|
Loading…
x
Reference in New Issue
Block a user