summaryrefslogtreecommitdiff
path: root/src/xine-engine/buffer.h
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-04-04 19:00:22 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-04-04 19:00:22 +0200
commita800128f70a60ab7544d4ed4d3bf101c3d1839d2 (patch)
treeab1fba01c325b3e5045d702d723eccf62f620e85 /src/xine-engine/buffer.h
parent87b02ca94766b01bc71c6d55882fe9a6376cdf62 (diff)
downloadxine-lib-a800128f70a60ab7544d4ed4d3bf101c3d1839d2.tar.gz
xine-lib-a800128f70a60ab7544d4ed4d3bf101c3d1839d2.tar.bz2
Reorder and change public structures (breaking ABI).
With this changes, almost all the structures are now consolidated without holes. For xine_stream_s, transform a set of (internal) integers used as booleans into a bitmask, this reduces the size of the structure by about 36 bytes.
Diffstat (limited to 'src/xine-engine/buffer.h')
-rw-r--r--src/xine-engine/buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xine-engine/buffer.h b/src/xine-engine/buffer.h
index 64fe52a20..49f1f17fa 100644
--- a/src/xine-engine/buffer.h
+++ b/src/xine-engine/buffer.h
@@ -311,7 +311,6 @@ struct buf_element_s {
int32_t size ; /* size of _content_ */
int32_t max_size; /* size of pre-allocated memory pointed to by "mem" */
- uint32_t type;
int64_t pts; /* presentation time stamp, used for a/v sync */
int64_t disc_off; /* discontinuity offset */
@@ -329,6 +328,7 @@ struct buf_element_s {
void *source; /* pointer to source of this buffer for */
/* free_buffer */
+ uint32_t type;
} ;
/* keyframe should be set whenever possible (that is, when demuxer