From 23aee9ab6c893f508e31e1a62466264c64df232b Mon Sep 17 00:00:00 2001 From: Thibaut Mattern Date: Thu, 30 Oct 2003 00:49:07 +0000 Subject: use info_helper functions. CVS patchset: 5638 CVS date: 2003/10/30 00:49:07 --- src/demuxers/demux_mpeg_pes.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/demuxers/demux_mpeg_pes.c') diff --git a/src/demuxers/demux_mpeg_pes.c b/src/demuxers/demux_mpeg_pes.c index 980f187f6..a2b168b35 100644 --- a/src/demuxers/demux_mpeg_pes.c +++ b/src/demuxers/demux_mpeg_pes.c @@ -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: demux_mpeg_pes.c,v 1.12 2003/10/12 13:40:43 jcdutton Exp $ + * $Id: demux_mpeg_pes.c,v 1.13 2003/10/30 00:49:07 tmattern Exp $ * * demultiplexer for mpeg 2 PES (Packetized Elementary Streams) * reads streams of variable blocksizes @@ -1236,9 +1236,9 @@ static void demux_mpeg_pes_send_headers (demux_plugin_t *this_gen) { this->status = DEMUX_OK; - this->stream->stream_info[XINE_STREAM_INFO_HAS_VIDEO] = 1; - this->stream->stream_info[XINE_STREAM_INFO_HAS_AUDIO] = 1; - this->stream->stream_info[XINE_STREAM_INFO_BITRATE] = this->rate * 50 * 8; + xine_set_stream_info(this->stream, XINE_STREAM_INFO_HAS_VIDEO, 1); + xine_set_stream_info(this->stream, XINE_STREAM_INFO_HAS_AUDIO, 1); + xine_set_stream_info(this->stream, XINE_STREAM_INFO_BITRATE, this->rate * 50 * 8); } -- cgit v1.2.3