mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
video-converter: there is no need to apply x offset to temp lines
This commit is contained in:
parent
1a3e8395bb
commit
d001b10f29
1 changed files with 1 additions and 2 deletions
|
@ -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…
Reference in a new issue