diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-07-10 14:01:26 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-07-10 14:01:26 +0000 |
commit | fb85e780f4b1a223bb9cd37986d96413ceeba04e (patch) | |
tree | 83b5595d3ce84025c07ff89c8d9b441e9615abed | |
parent | d53aff668489b040b8ef31a89e6a64e42e9132a7 (diff) | |
download | xine-lib-fb85e780f4b1a223bb9cd37986d96413ceeba04e.tar.gz xine-lib-fb85e780f4b1a223bb9cd37986d96413ceeba04e.tar.bz2 |
new special buffer type to replace hacky aspect change event sent from
xine-dvdnav to the ui to force a certain aspect
CVS patchset: 2245
CVS date: 2002/07/10 14:01:26
-rw-r--r-- | src/xine-engine/buffer.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/xine-engine/buffer.h b/src/xine-engine/buffer.h index 380c8b0e0..23fbe32cf 100644 --- a/src/xine-engine/buffer.h +++ b/src/xine-engine/buffer.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: buffer.h,v 1.56 2002/07/07 00:43:49 tmmm Exp $ + * $Id: buffer.h,v 1.57 2002/07/10 14:01:26 mroi Exp $ * * * contents: @@ -225,6 +225,19 @@ struct buf_element_s { */ #define BUF_SPECIAL_IDCIN_HUFFMAN_TABLE 2 +/* + * In a BUF_SPECIAL_ASPECT buffer: + * decoder_info[1] = BUF_SPECIAL_ASPECT + * decoder_info[2] = aspect ratio code + * decoder_info[3] = stream scale prohibitions + * This buffer is used to force mpeg decoders to use a certain aspect. + * Currently xine-dvdnav uses this, because it has more accurate information + * about the aspect from the dvd ifo-data. + * The stream scale prohibitions are also delivered, with bit 0 meaning + * "deny letterboxing" and bit 1 meaning "deny pan&scan" + */ +#define BUF_SPECIAL_ASPECT 3 + typedef struct palette_entry_s palette_entry_t; struct palette_entry_s { |