xref: /haiku/src/add-ons/media/media-add-ons/demultiplexer/misc.h (revision fce4895d1884da5ae6fb299d23c735c598e690b1)
1 // misc.h
2 //
3 // Andrew Bachmann, 2002
4 //
5 // Some functions for general debugging and
6 // working around be media kit bugs.
7 
8 #if !defined(_MISC_H)
9 #define _MISC_H
10 
11 #include <MediaDefs.h>
12 
13 // -------------------------------------------------------- //
14 // lib functions
15 // -------------------------------------------------------- //
16 
17 void print_multistream_format(media_multistream_format * format);
18 
19 void print_media_format(media_format * format);
20 
21 bool multistream_format_is_acceptible(
22 						const media_multistream_format & producer_format,
23 						const media_multistream_format & consumer_format);
24 
25 bool format_is_acceptible(
26 						const media_format & producer_format,
27 						const media_format & consumer_format);
28 
29 #endif // _MISC_H
30 
31