Removed reversal of data (prevented by changing the way we select texture coordinates).

This commit is contained in:
Tats
2014-05-03 19:27:40 -04:00
parent ecce84194b
commit ad67794978
2 changed files with 1 additions and 9 deletions
-8
View File
@@ -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);