mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Removed reversal of data (prevented by changing the way we select texture coordinates).
This commit is contained in:
@@ -122,14 +122,6 @@ bool MediaImpl::_videoPull()
|
||||
else
|
||||
convert24to32(_data, GST_BUFFER_DATA(buffer), size);
|
||||
|
||||
// Reverse data.
|
||||
uint* ptr = (uint*)_data;
|
||||
for (int i=0, j=size-1; i<size/2; i++, j--) {
|
||||
uint tmp = ptr[i];
|
||||
ptr[i] = ptr[j];
|
||||
ptr[j] = tmp;
|
||||
}
|
||||
|
||||
// Free buffer.
|
||||
gst_buffer_unref (buffer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user