annotate stream/rtp.h @ 36272:aa0011dfbfdc

Use again special value -1 to set original aspect ratio. With -1, the switch_ratio command does exactly the calculation being performed here. This reverts changes in setting the value for the aspect ratio made in r36358 and r36360.
author ib
date Sat, 27 Jul 2013 22:25:57 +0000
parents d3ba36f72b57
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30423
d3ba36f72b57 stream/rtp.h appears not to originate from dvbstream.
diego
parents: 26029
diff changeset
1 /*
d3ba36f72b57 stream/rtp.h appears not to originate from dvbstream.
diego
parents: 26029
diff changeset
2 * This file is part of MPlayer.
d3ba36f72b57 stream/rtp.h appears not to originate from dvbstream.
diego
parents: 26029
diff changeset
3 *
d3ba36f72b57 stream/rtp.h appears not to originate from dvbstream.
diego
parents: 26029
diff changeset
4 * MPlayer is free software; you can redistribute it and/or modify
d3ba36f72b57 stream/rtp.h appears not to originate from dvbstream.
diego
parents: 26029
diff changeset
5 * it under the terms of the GNU General Public License as published by
d3ba36f72b57 stream/rtp.h appears not to originate from dvbstream.
diego
parents: 26029
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
d3ba36f72b57 stream/rtp.h appears not to originate from dvbstream.
diego
parents: 26029
diff changeset
7 * (at your option) any later version.
15178
8dd7a656eaf8 Mark modified imported files as such to comply more closely with GPL ¡ø2a.
diego
parents: 12799
diff changeset
8 *
30423
d3ba36f72b57 stream/rtp.h appears not to originate from dvbstream.
diego
parents: 26029
diff changeset
9 * MPlayer is distributed in the hope that it will be useful,
d3ba36f72b57 stream/rtp.h appears not to originate from dvbstream.
diego
parents: 26029
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
d3ba36f72b57 stream/rtp.h appears not to originate from dvbstream.
diego
parents: 26029
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
d3ba36f72b57 stream/rtp.h appears not to originate from dvbstream.
diego
parents: 26029
diff changeset
12 * GNU General Public License for more details.
d3ba36f72b57 stream/rtp.h appears not to originate from dvbstream.
diego
parents: 26029
diff changeset
13 *
d3ba36f72b57 stream/rtp.h appears not to originate from dvbstream.
diego
parents: 26029
diff changeset
14 * You should have received a copy of the GNU General Public License along
d3ba36f72b57 stream/rtp.h appears not to originate from dvbstream.
diego
parents: 26029
diff changeset
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
d3ba36f72b57 stream/rtp.h appears not to originate from dvbstream.
diego
parents: 26029
diff changeset
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
15178
8dd7a656eaf8 Mark modified imported files as such to comply more closely with GPL ¡ø2a.
diego
parents: 12799
diff changeset
17 */
8dd7a656eaf8 Mark modified imported files as such to comply more closely with GPL ¡ø2a.
diego
parents: 12799
diff changeset
18
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25535
diff changeset
19 #ifndef MPLAYER_RTP_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25535
diff changeset
20 #define MPLAYER_RTP_H
3686
bed6226ffb46 RTP support patch by Brian Kuschak <bkuschak@yahoo.com>
arpi
parents:
diff changeset
21
18829
317e0fd394c5 added new native rtsp demuxer code for mpeg-ts over rtp (now both real and non-real servers should be handled)
ben
parents: 18803
diff changeset
22 int read_rtp_from_server(int fd, char *buffer, int length);
3686
bed6226ffb46 RTP support patch by Brian Kuschak <bkuschak@yahoo.com>
arpi
parents:
diff changeset
23
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25535
diff changeset
24 #endif /* MPLAYER_RTP_H */