lirc anc lircc are MPlayer-only, so add LDFLAGS for MPlayer link only.
[mplayer/glamo.git] / libmpdemux / demux_rtp.h
blobb60ec54fe1887147bb17783584c6b69e1a476577
1 #ifndef MPLAYER_DEMUX_RTP_H
2 #define MPLAYER_DEMUX_RTP_H
4 #include <stdlib.h>
5 #include <stdio.h>
7 #ifndef STREAM_H
8 #include "stream/stream.h"
9 #endif
10 #ifndef DEMUXER_H
11 #include "demuxer.h"
12 #endif
14 // Open a RTP demuxer (which was initiated either from a SDP file,
15 // or from a RTSP URL):
16 demuxer_t* demux_open_rtp(demuxer_t* demuxer);
18 // Test whether a RTP demuxer is for a MPEG stream:
19 int demux_is_mpeg_rtp_stream(demuxer_t* demuxer);
21 // Test whether a RTP demuxer contains combined (multiplexed)
22 // audio+video (and so needs to be demuxed by higher-level code):
23 int demux_is_multiplexed_rtp_stream(demuxer_t* demuxer);
25 // Read from a RTP demuxer:
26 int demux_rtp_fill_buffer(demuxer_t *demux, demux_stream_t* ds);
28 // Close a RTP demuxer
29 void demux_close_rtp(demuxer_t* demuxer);
31 #endif /* MPLAYER_DEMUX_RTP_H */